-
-
Couldn't load subscription status.
- Fork 2k
Wayland: Remove splash screen if HAVE_LIBDECOR_H to fix fullscreen on Auto monitor index #18252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I know the splash screen I removed was there as a workaround to obtain information about the active monitor for Vulkan on Wayland. For for some reason, removing it fixes the issue on KDE. But I am afraid it might cause issues on other compositors, so please if anyone can test it on as many compositors as possible, that would be nice. |
|
Do you have someone in mind who could test this? |
|
Also some testing advices for Wayland in this meta issue. It will work with or without libdecor ? Because there is a condition when doing the fullscreen. |
026637c to
757699c
Compare
|
@LibretroAdmin No, only the users affected by it on the #17372 issue. @gouchi With my previous changes, it looks like disabling libdecor makes Auto have the same behaviour as setting a monitor index manually. Before my change, Auto with libdecor disabled correctly filled the whole screen, but setting a monitor index manually results in the same bug as the picture above, so for libdecor disabled there must be another unrelated bug at work here. But since libdecor disabled + Auto was working fine, I have now pushed some changes in which I only disable the splash screen if libdecor is enabled. I hope the changes look better now. |
757699c to
a6c807b
Compare
… Auto monitor index
a6c807b to
0ef797d
Compare
|
@ColinKinloch could you perhaps test this please? |
|
pulling this and testing as well |
Will do. I added the splash screen when I didn't have a great understanding of Wayland. In any case I'm in favour of removing the splash completely and accepting that retroarch exposes a bug in gnome prior to the next stable version, 49.0. I have some incomplete work from December with a huge refactor, but it got too big and I got too busy. I'll try splitting it up and submitting it. |
|
Does #17320 change the behaviour in any way? |
|
That only fixes half the issue. It boots correctly now in full screen, but if you change the monitor index or do fullscreen toggle, i.e. press F and then F again. The issue presents it self again. |
|
RetroArch destroys the video driver and disconnects from the Wayland socket when transitioning between full screen and windowed modes. It should be equally broken on launch and transition. |
|
@zedhqx4 Interesting, that does not happen to me on KDE. |
|
Where are we with this pr? |
|
Testing with |

Description
This seems to be enough to fix the fullscreen issue that many people are having on KDE and Gnome on Wayland when
Monitor Indexis set toAuto.I have tested on KDE on my system and it seems to restore the
Autobehaviour back to how it was before the bug, which meansAutoopens RetroArch on the active monitor. In the case of KDE, "active monitor" means the monitor where the cursor is located.Please only merge this after verifying that the change does not cause issues on other DEs. I have only tested on my machine on KDE Plasma 6.4.5
Related Issues
This should fix #17372