-
Notifications
You must be signed in to change notification settings - Fork 100
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
X11 / XWayland Apps Freeze The Display When You Full Screen Them #702
Comments
Also seeing the same issue, also using the NVIDIA ISO. Was also seeing it in NixOS but re-installed the pop iso to see if it was a issue with my config. I was reproducing it by simply full screening a video in YouTube. Might work for a few seconds then would freeze the entire desktop. Audio would keep playing though. I have attached a snippet from the syslog where I can see cosmic-comp panic Hardware/OS stats
Syslog
|
This seems to be the same issue as:
So far what I have gathered this seems to affect only Xwayland apps running on nVidia (non-hybrid) systems. This is likely the underlying issue (a bug of the nvidia driver):
The result however is the display's thread in cosmic-comp freezing and panic'ing:
Rendering the output frozen until logging out. Interestingly this crash is the same, as an edge-case we discovered yesterday when sleeping and resuming on nvidia system. There is an open PR to fix this, could you try and see if that fixes this problem as well? #699 If you are on Pop!_OS (no matter the version) you can update using the following commands:
Then log out and back in or reboot. Please remove the test build again afterwards (and then update the system like normal):
|
I ran all of the commands in the terminal that you provided and restarted my computer and the same issue still persists. Here is my terminal output of apt-manage and apt update which I believe shows that I have the updated version of cosmic-comp installed, please let me know if I have done anything wrong:
|
No you do certainly have the updated build. Could you reproduce the issue and then run |
I also tried aplying that patch. Didn´t work. This is the output of the error i got:
With:
|
This seems to be more and more an issue with direct-scanout of Xwayland surfaces on the nvidia-driver. Thanks for the logs, very helpful. |
Issue found, downstream patch is necessary: Smithay/smithay#1501 This will be fixed once that (or an alternative approach to work around the buggy nvidia driver) is merged and cosmic-comp is updated to use the new version. |
I compiled a local version of |
Should be fixed by 0916d35 |
can confirm, fixed! thank you for the quick work! |
not fully fixed i updated to the newest and still have issues |
Final Fantasy XIV still freezes when switching from Borderless Windowed to Full Screen |
Could any of you then please share some cosmic-comp and kernel logs? |
The kernel isn't logging anything and While rendering itself is frozen, audio still plays and the in-game menu still seemingly reacts to input if I click where I'd expect buttons to be (the audio effect plays). |
@Drakulix I want to share the cosmic-comp and kernel logs but I want to do it in a safe way, don´t know what I might share with them, how do I get them to you? n00b here. |
There's not really any identifying information in these logs. It's relatively generic information about what kind of devices are connected to your computer and what the various components of your OS are doing. Unless you're maintaining super strict opsec, there's no risk in sharing these logs. |
I installed the first alpha of cosmic on Pop OS 24.04 using the download link on the official website: https://system76.com/cosmic
My GPU is an Nvidia 1660 and I downloaded the Nvidia ISO on this website so I assume I am using the proprietary drivers as I haven't changed them.
When I full screen X11 apps using the F11 key, the display the app is on completely freezes and if you click the workspaces button on another display, it freezes that as well and I have to restart my computer.
Video of full screen breaking on X11: https://github.com/user-attachments/assets/717d699d-33a9-4874-9265-25cf66a847d7
Video of full screen working fine on wayland with the same app: https://github.com/user-attachments/assets/56a2406a-8811-4f22-b7f1-99823ea5baf6
I have attached 2 videos below of this happening to the brave browser (Flatpak), on one video it is on X11 (I used the xlsclients command to verify this) which was the default for me and when you full screen it, move the mouse to my other display and move it back, the display freezes and i can no longer interact with it.
I then used the brave://flags/#ozone-platform-hint URL to change it to wayland and it full screen works just fine.
I tested this on Minecraft (Flatpak) which froze my screen and VSCode (system package) as I wanted to see if this issue was Flatpak specific which is wasn't as the same problem happened.
I hope this bug helps and it isn't a duplicate as I tried to look for this issue and couldn't find it and I apologize for the video quality.
The text was updated successfully, but these errors were encountered: