[Bug 260696] x11-toolkits/wlroots: Fullscreen OpenGL applications do not work after 0.15.0 update

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Dec 2021 13:51:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260696

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gitlab.freedesktop.
                   |                            |org/wlroots/wlroots/-/issue
                   |                            |s/3353

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to shamaz.mazum from comment #2)
>> Which apps in particular exhibit the glitch?
> 
> Xonotic, darkplaces, dhewm3 etc

All of these are SDL2-based. Did you force unstable (especially, without bug
252371) SDL_VIDEODRIVER=wayland or let it use Xwayland?

>> Can you reproduce with radeonsi from mesa-devel?
>
> I do not know why, mesa-devel does not work for me.

Sway debug log and/or LIBGL_DEBUG=verbose output under Sway maybe necessary.
For example, if it tries to use llvmpipe (disabled in mesa-devel) then your
setup is broken: wlroots requires DRM to start on console, so OpenGL should
always use hardware rendering.

>> Can you bisect wlroots commits?
>
> Oh yes, I can. It is 5dfaf5ea9ccaeddc236ca103147415b520f73d98.

Hmm, https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/5dfaf5ea9cca was
reworked in
https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/0817c52a2143 but
WLR_BACKENDS=drm (to run KMS console) still uses drmPrimeFDToHandle().

I wonder if https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6881
(part of mesa-devel) would help
https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/110

-- 
You are receiving this mail because:
You are on the CC list for the bug.