Wayland multi-monitor screen freeze

Right now wayland multi-monitor is working mostly except this one intermittent issue. Sometimes one of my 3 monitors freezes. I can still right click the app icon on another monitor and move an app off the frozen screen to a non-frozen screen, but I can’t do anything with that monitor. I noticed this happens sometimes when I am playing games. That could be unrelated because that is what I do most the time on the computer now. I did notice though once Firefox crashes sometimes the screen will come back unfrozen. So not really sure where the issue comes from.

Operating System: Manjaro Linux
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.11.11-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X670E AORUS PRO X
System Version: -CF

nvidia-smi
Tue Dec 31 11:21:50 2024
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4090 Off | 00000000:01:00.0 On | Off |
| 36% 30C P0 50W / 450W | 3024MiB / 24564MiB | 0% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

Sorry to be the bearer of bad news, but that’s one of about a million known bugs in the driver. We’re a year or two away from working nvidia drivers yet.

The workaround is to switch to a TTY (ctrl+alt+F*) and back.

2 Likes

Hey that is somethin. Thanks for the work around info.

1 Like

You may check if you get a

kwin_wayland_drm: Pageflip timed out! This is a kernel bug

message at the syslog like i still occasionally do with such freezes (not even actively using my 4070 when that happens, so I can not really blame that driver).

Just tried that supposedly workaround and I can NOT recommend it as it caused everything to lockup and I had to force shutdown my Computer. Not recommended at all

What always worked for me was logout and back in.

My apologies, I read that trick elsewhere and it has worked for several people including myself and yours is the first problem I heard of it. It’s a bit quicker and easier than log out/in but next time, I’ll recommend people try it safely to be sure they don’t have this problem.

I can report this happens to me on bazzite but I have also seen cases of the exact same behavior as my video here. I don’t think I had this issue on X11 though. Despite that I get it is prob a nvidia driver error or whatever.

I initially made this video in the bazzite Discord looking for solutions but seems hard to come by.

I hope something happens sooner than later as it sucks to have this issue :frowning: .

youtu.be/eRXo-93kPwE

It’s not just probable, it is a bug in the ‘beta’ drivers. See the various reports of it on the nvidia linux forum: Linux - NVIDIA Developer Forums

Just use the stable 550 series drivers if you want to fix this.

Thank you! I will try that. Currently not had it for over 12 hours I am going to say or there about.

I think messing with the display manager can ever delay the impact or get rid of it all together. I had adaptive sync on always and I changed it to never then automatic and I have not had the issue since.

That said I have thought a lot of things would fix it only to have it come back.

Outside of maybe this community it feels like many people don’t find posts like this one where people have the knowledge already (I stumbled on quite a few). Glad I found this place and someone that has knowledge on this matter. Thank you and much appreciated.

1 Like

Just wanted to confirm that my solution was due to messing with display manager in one way or the other. Ultimately though I feel the most likely fixing of the solution comes from changing adaptive sync from always to off then automatic.

To add more detail I first changed my 2nd screens refresh rate to something lower which definitely seemed to decrease the occurrences but just as my hopes were high it happened and then happened a lot. After that I messed with adaptive sync which ultimately seemed to fix everything.

I have had a total of one screen freeze since I posted the issue and I believe that was whilst an application activated gsync and I was alt tabbing like sm1 taking LSD.

So if anyone has this problem just start by disabling gsync I guess and see if that solves it. If so you at least know what to look at other than having to go to an older driver if that is not an option for you.

1 Like

It should absolutely survive that, sounds not-fixed-yet… Oh well :frowning:

Regardless, thanks for the tip, it’s entirely harmless to try so why not.

1 Like

Yes I would say the driver issue exists but I found a way t o completely mitigate it which was not having adaptive sync always on and if adaptive sync just flat out disabled probably would not happen at all (at the cost of an amazing feature). At least for what caused it in my case.

I definitely know the situation has changed because it was happenign 5-10 times a day minimum lol. NOw one occurrence in 4 days is much better and I probably had gsync automatic for that crash. I feel it is defo related to adaptive sync or just changing display settings in general if I want to keep an open mind.