SUMMARY On some cases kwin re-renders a previous frame in some unknown cases. A link to a recorded video is attached below, in the video I repeatedly run `vim /etc/pacman.conf` and :q, you can see in konsole's window there're sometimes glitches. https://vimeo.com/889705276 STEPS TO REPRODUCE 1. use plasma 6 beta 1 (alpha also has this bug) 2. do something (e.g. open a konsole window, run some command that'll output something) 3. observe the glitch OBSERVED RESULT vim's output flashes in konsole EXPECTED RESULT nothing SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 Kernel Version: 6.6.3-arch1-1 (64-bit) Graphics Platform: X11 Processors: 32 × 13th Gen Intel® Core™ i9-13900HX Memory: 62.6 GiB of RAM Graphics Processor: llvmpipe Manufacturer: LENOVO Product Name: 82WK System Version: Legion Y9000P IRX8 ADDITIONAL INFORMATION kwin_wayland is indeed using my NVIDIA gpu but idk why it's reporting "llvmpipe"
ok after rebooting kinfocenter reports the correct senario: Operating System: Arch Linux KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 Kernel Version: 6.6.3-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 32 × 13th Gen Intel® Core™ i9-13900HX Memory: 62.6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4050 Laptop GPU/PCIe/SSE2 Manufacturer: LENOVO Product Name: 82WK System Version: Legion Y9000P IRX8 --- but misrendering still exists
Output from KInfoCenter: Window Manager: https://pastebin.com/LTd0FaQy Wayland: https://pastebin.com/NdPRd1NQ Vulkan: https://pastebin.com/380GuVnV
I can reproduce the problem in another way. Steps to produce: 1. Leave PC alone until it got into sleep mode. 2. Touch keyboard to wake it up. 3. See the lock screen more than one minute. 4. I found the screen is black but a time number, and the new time number was draw before the old one. Information of my machine: Operating System: Arch Linux KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 Kernel Version: 6.6.3-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 32 × 13th Gen Intel® Core™ i9-13900HX Memory: 46.8 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2 Manufacturer: COLORFUL Product Name: X15 AT 23
This should be fixed in the Beta 1 release. But feel free to re-open if you find that it's not. Thanks!
Hi, I *am* using Beta 1, and I'm experiencing the bug :) ``` ~ > kwin_wayland --version kwin 5.90.0 ```
Hah, oops. From #kwin chat, apparently this is an issue with the NVIDIA driver. So please report it to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-graphics/linux. It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!
See also: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1317 There's work being done to resolve it, albeit slowly.
Actually, this probably isn't the xwayland issue, as Konsole shouldn't be using it. Might be a different issue I'm not aware of.
Possibly Bug 477199, which I also can't reproduce.
given the problem doesn't occurs in kwin 5.*, is there any relevant changes/MRs/commits in kwin 6 that I can reference?
I still suspect this is a kwin issue. because (at least) it's not experienced on GNOME (from my 10-min test flight)
upstream forum post: https://forums.developer.nvidia.com/t/nvidia-card-sometimes-renders-a-previous-frame-on-wayland/274771