[Bug 266007] x11-toolkits/qt5-gui: drop mesa-dri dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 23 13:21:07 GMT 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266007

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Denis Polygalov from comment #4)
> It was added because some users want to use qt5-gui in a scenario without Xorg stack:

I can't reproduce. X11, Wayland, remote (VNC), headless (offscreen) work fine
without mesa-dri.

  $ pkg install cage falkon-qtonly qterminal qt5-wayland
  $ pkg delete -f mesa-dri
  $ cage -d env -u WAYLAND_DISPLAY falkon # X11: works fine
  $ cage -d env -u WAYLAND_DISPLAY qterminal # X11: works fine
  $ cage -d env -u DISPLAY falkon # Wayland: works fine
  $ cage -d env -u DISPLAY qterminal # Wayland: works fine
  $ QT_QPA_PLATFORM=vnc falkon # works fine
  $ QT_QPA_PLATFORM=vnc qterminal # works fine
  $ QT_QPA_PLATFORM=offscreen falkon # fails in qt5-webengine
  $ QT_QPA_PLATFORM=offscreen qterminal # works fine

> want to use pdf-to-something or something-to-pdf conversion applications on a headless systems or run GUI application remotely.

deskutils/calibre calls OpenGL directly (see USE_GL=egl gl), so it wouldn't be
qt5-gui fault if mesa-dri is required. However, I couldn't reproduce bug 241485
- calibre works fine without mesa-dri. libEGL prints warnings about missing
swrast_dri.so but those are not critical (can be ignored).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list