-
Notifications
You must be signed in to change notification settings - Fork 98
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
NVIDIA instability with fullscreen apps #419
Comments
Sounds like this may be related to explicit sync. Explicit sync support in upstream XWayland was only merged three days ago: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967 cosmic-comp will need to support explicit sync (Mutter had an MR a few weeks ago, and KWin merged theirs two days ago). An updated NVIDIA driver will also be required-- I've heard the 555 beta coming next month will add support, so hopefully that line will reach non-beta status before COSMIC does (if not, I'm tempted to say we'd ship the NVIDIA beta rather than shipping COSMIC Epoch to general users without that fix, but the decision would need to be made later). |
Yeah. #411 has an implementation of the explicit sync protocol; with some things that still need to be fixed before merging it. When the 555 beta driver is released next month we can see if that helps with some XWayland issues. This also requires unreleased XWayland changes. However... that should only help with things involving rendering corruption. Not a freeze and error like this.
Is the client here running on the Nvidia GPU, or the Intel GPU? Is it somehow trying to do direct scanout of an Intel buffer on the Nvidia card? That isn't expected to work, and will probably result in pitch alignment issues (among other things) which might be what this is about. |
My iGPU should be disabled, so I don't think it's doing anything with it. |
Some additional info that maybe should've been in the main post. Even with one monitor you can could still execute commands, just blindly. |
At least for OpenGL clients, Not sure what the problem would be if it's only using the Nvidia GPU. But if the driver complains about |
output from
|
Can confirm that my Intel GPU is disabled in bios. |
I've tested Terraria with the native SDL wayland driver and the same instability is present there, renaming to account for this. |
Hello, I do have the same exact thing. Funny thing is, it only happens when I full screen yt videos, which I almost never do. Everything else works extremely well. PC Info: CPU: AMD Ryzen 3200g The AMD ryzen APU is also disabled on bios. here are the logs from journalctl.
|
I'm experiencing the same issue on Fedora Atomic 40 using the COPR build. I've got an Nvidia 3080 Ti and I'm unable to play any fullscreen game or fullscreen any youtube video. I get the exact same symptom where the picture is frozen on screen and I can't see anything, but I can interact. I end up having to restart to get things working again. |
Since Smithay/smithay#1501 this is fixed for me. |
I'm not sure if this is a big priority at the moment but since there are no other issues like it reported yet, I figured I should make one.
The monitor output can freeze, with the image stuck on the whatever was output at the time of the freeze, whilst giving the error below.
The only way to fix this seems to be by restarting the computer.
This mainly happens when you try to start a xwayland application in fullscreen mode, or attempting to swap to fullscreen mode.
Starting in windowed borderless or windowed is usually safe, though continuously resizing the window with
super + shift + arrow keys
can lead to the same error as seen below rarely.I haven't observed this behaviour in any native wayland application yet but I don't have too many of those to test.
Mainly, it's firefox and emulation software that I run natively on wayland.
The moment of the freeze
System Info:
Cosmic: Updated to latest git as of today 14:30 (CEST)
OS: Pop!_OS 22.04 LTS x86_64
Kernel: 6.8.0-76060800daily20240311-g
DE: GNOME 42.5
CPU: Intel i7-6700 (8) @ 4.000GHz
GPU: NVIDIA GeForce RTX 2060 Rev. A
GPU Driver: 550.67
Memory: 32024MiB
The text was updated successfully, but these errors were encountered: