KDE Plasma Wayland - Explicit sync driver bug

Hello,
There seems to be a driver bug in 555 where when kwin has explicit sync if the panel is set to dodge windows or auto hide and is hidden it freezes the entire desktop.
I have filed a report to kde which zamundaaa confirmed that this is an nvidia driver issue.

https://bugs.kde.org/show_bug.cgi?id=487728

1 Like

Hi @kodatarule
Thaks for reporting issue to us, I have filed a bug 4684578 internally for tracking purpose.
Could you please share nvidia bug report from repro state.

Here is the bug report:
nvidia-bug-report.log.gz (922.8 KB)

On a side note, explicit sync in kwin also creates slight performance drops when opening apps(unrelated to the GSP Firmware bug).

I have the same problem too, i also reported it to KDE: https://bugs.kde.org/show_bug.cgi?id=488042
They told me they were going to fix it in the next driver so it’s just matter of waiting i guess…

Have you also noticed the decrease in performance when opening tray widgets? I’m using the stock panel BTW

That is separate issue and I think from what I read is related to the dynamic triple buffering they implemented, I saw they implemented a fix but it will be for the final 6.1 release not in beta. I have reverted to 6.0.5 for the time being until 6.1 gets more polish.

Well, that’s expected. I always thought it was something to do with triple buffering. Gotta wait for the release of Plasma 6.1 in June 18th then…

Do you know the exact driver version you’re running? It looks like 555 recently came out of beta, have you tried to see if the issue is still there?

this seems fixed in the latest 555.58.02

Installed 555.58.02 yesterday. Plasma workspace is still freezing.

I am unable to reproduce the freeze with the panel being in dodge windows, everything is the latest version directly from Arch repo.

EDIT: that is on 555.58.02

Hello Nvidia, can you please confirm if this issue is officially fixed? I wonder if @kodatarule had a different issue that had similar symptoms. I’m using driver version 555.58 with KDE 6.1.1 on Bazzite 3.5.

the fix is in 555.58.02* and not in 555.58, if you are on arch linux it is in the testing repository(unless it’s moved now).

I am using driver 555.58.02 on plasmashell 6.1.2 and this bug is not fixed. I can also add that I have not enabled dodge windows or auto hide panel.

489438 – Freeze of plasma Same for me NixOS with NVIDIA 555.58.02 and plasma 6.1.2 @kodatarule issue still exist in my side

I am unsure how I can remove the solution, nvidia devs marked it as solved in 555.58.02 and most likely made some change for it to work at least on some system I guess.
Perhaps it’s best to open a new bug report with your file report attached.

EDIT: I Think I was able to re-open the issue.

EDIT2: Just to exclude are you guys using the open GSP firmware or you have that disabled ? (Though when I tested everything was fine with either)
Also which is the QT version perhaps that may be the culprit, on Arch it’s 6.7.2 for kde plasma.

Okay thx

EDIT:

Operating System: NixOS 24.11
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-zen1 (64-bit)
Graphics Platform: Wayland
Processors: 64 Ă— AMD Ryzen Threadripper 2990WX 32-Core Processor
Memory: 31.2 Gio of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 (555.58.02)

I use proprietary driver and i not use options nvidia NVreg_EnableGpuFirmware=0

@amrits Hello, this issue is present if you use egl-wayland with explicit sync patched in, if you have an older egl-wayland without explicit sync merged, the issue will not occur, so in that regard it still hasn’t been fixed in 555.58.02, that is with egl-wayland-git, the egl-wayland in the arch repo seems to not experience this behavior.

Just tested on an up to date Arch with Plasma 6.1.2 and Nvidia 555.58.02 (installed via the tkg nvidia-all pkgbuild) with a 3090TI. I am not using the testing repos.

I have plasma configured so that there are no desktop icons (not sure if this matters), right clicking on the background opens up a program menu, and the panel auto-hides. This makes encountering the bug really common, because the program menu (from right click) freezes when the panel hides. So any time you switch virtual desktop and go to open a program you’ll get a freeze until open the panel again. I tested plasma previously and quit using it because it was unusable (was difficult to navigate the program menu with it freezing and having to mouse away from it periodically). Not hiding the taskbar is not an option as I’m using an OLED display.

Testing again this time I had weird results. Initially that bug seemed to have gone away. I did have a lot of significant lag trying to open the program menu (via right click) whenever a program was being opened. Also, if I right clicked on the desktop a bunch it eventually stopped opening the menu and seemed to hang. However, after opening up the Plasma settings menu and looking around (didn’t change anything) the bug came back and once again right clicking would bring up the menu but it would stop reacting as soon as the panel hid until I unhid the panel again. I don’t know why the bug wasn’t showing up at first but then suddenly did.

I had a second possibly related issue while testing. After opening up Firefox and restoring my session I had a weird issue where Firefox windows would seemingly freeze and gray out. However, if I moused over to the top left corner to bring up the dialer the windows would start responding (also the windows were all unfrozen within the dialer). This bug would repeat itself after a few seconds making it virtually impossible to use Firefox (as I had to bring up the dialer every few seconds just to do basic things like scroll down). Not sure if it matters, but I checked about:support in Firefox and the “Window Protocol” section lists “wayland”. I did not have this bug last time I tested Plasma 6.1 with 555 drivers.

I should have GSP firmware enabled. I have the following bootloader parameters: nvidia_drm.modeset=1 nvidia.NVreg_UsePageAttributeTable=1 nvidia.NVreg_EnablePCIeGen3=1

I previously tested Plasma 6.1 with 550 drivers as well and didn’t have any of these issues or any of the flickering issues many complain about. I ran into another unrelated issue where the display device would stop being detected by my display after I turned off my display for an extended amount of time and it required me to reboot via SSH – so I switched back to XFCE so my testing experience with Plasma Wayland is limited.

Can anyone else confirm that this bug is is also happening with newest 560.28.03?