https://bugs.winehq.org/show_bug.cgi?id=57800
Bug ID: 57800 Summary: Fullscreen OpenGL apps have unintended literal transparency Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winewayland Assignee: wine-bugs@winehq.org Reporter: lassebq.mine@gmail.com Distribution: ---
Created attachment 78009 --> https://bugs.winehq.org/attachment.cgi?id=78009 OpenGL game which is getting transparent regions
OpenGL surfaces under wayland should be rendered with EGL_EXT_present_opaque set to EGL_FALSE to avoid unintended transparency
https://bugs.winehq.org/show_bug.cgi?id=57800
--- Comment #1 from lassebq.mine@gmail.com --- Edit: EGL_EXT_present_opaque must be EGL_TRUE. Sorry for confusion.
https://bugs.winehq.org/show_bug.cgi?id=57800
alexandros.frantzis@collabora.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandros.frantzis@collabo | |ra.com
--- Comment #2 from alexandros.frantzis@collabora.com --- Thanks, this is known issue, see the description in https://gitlab.winehq.org/wine/wine/-/merge_requests/5264.
The TL;DR is that there was a bug in Mesa that could cause a crash when enabling this attribute, so I held off using it in winewayland. I fixed the bug in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28153, but the vulnerable Mesa versions are still used widely. I guess it's time to revisit, but we still need to figure out how to avoid crashing (checking against Mesa version?).
As a side note, the fact that the background is visible when an non-opaque app is in fullscreen mode is a compositor bug (e.g., see https://bugs.kde.org/show_bug.cgi?id=461063).
https://bugs.winehq.org/show_bug.cgi?id=57800
--- Comment #3 from lassebq.mine@gmail.com --- I see. I didn't know there were issues with older mesa versions.
By the way I'm using GNOME. So this seems more like a compositor decision to allow fullscreen transparency?
https://bugs.winehq.org/show_bug.cgi?id=57800
--- Comment #4 from alexandros.frantzis@collabora.com --- Fixed by https://gitlab.winehq.org/wine/wine/-/merge_requests/7500
https://bugs.winehq.org/show_bug.cgi?id=57800
Radko Krkoš krkos@mail.muni.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |krkos@mail.muni.cz
https://bugs.winehq.org/show_bug.cgi?id=57800
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |1c9cd1bfd75a3e8d022d46ec7ba | |fc3a546831035 Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to alexandros.frantzis from comment #4)
Merged as 1c9cd1bfd75a3e8d022d46ec7bafc3a546831035, marking FIXED. Feel free to reopen if you can still reproduce.
https://bugs.winehq.org/show_bug.cgi?id=57800
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.4.