Summary: | KWin (desktop effects) shutters picture into triangles on Alt+Tab after sleep | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | ratijas <me> |
Component: | tabbox | Assignee: | Vlad Zahorodnii <vlad.zahorodnii> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | blankspruce, kde, kde, ro1y |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Journalctl logs |
Description
ratijas
2022-01-17 22:09:01 UTC
This is still highly relevant. Moving to tabbox component, because it seems to be the one which triggers the bug. Flickering always starts on Alt+Tab with my Big Icons switcher. Created attachment 150508 [details]
Journalctl logs
I've collected journalctl around the time issue occurs. At 12:14:02 I've pressed Alt+TAB, at 12:14:05 Ctrl+Alt+F2, at 12:14:06 Ctrl+Alt+F1. KWin was started with command:
QT_LOGGING_RULES="kwin_*.debug=true" kwin_x11 --replace &
System configuration:
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.10.126-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8300H CPU @ 2.30GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Part 3: https://www.youtube.com/watch?v=Xa5Dw2xzE04 Same bug, another video, just in case. (In reply to ratijas from comment #4) > Part 3: https://www.youtube.com/watch?v=Xa5Dw2xzE04 > > Same bug, another video, just in case. I was dealing with the same annoying issue and this seemed to fix it: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend . Not only that, it fixed other instabilities I was experiencing as well, like the X11 server completely crashing in rare cases, when the sound volume popup was shown. The driver discards the contents of the VRAM when suspending by default and tries to recostruct the previous state on wake up somehow(?). This fix instructs the driver to save the original contents and restore them on wake up. Here's a one liner fix: echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp" | sudo tee /etc/modprobe.d/nvidia-vram-fix.conf While this fixes the issue, I'm still not entirely sure, if this is 100% Nvidia's fault, as Gnome can handle the driver's default behavior. Does this still occur? Some context loss handling was cleaned up recently. > Does this still occur? Some context loss handling was cleaned up recently.
Haven't seem this in a while, although not sure when was it fixed. Let's assume it was.
|