Bug 502626 - On X11, visual artifacts on Konsole window after screen turns back on when using NVIDIA GPU
Summary: On X11, visual artifacts on Konsole window after screen turns back on when us...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2025-04-09 21:31 UTC by Vadym Krevs
Modified: 2025-07-07 15:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
example of visual artefacts after monitor turns back on (929.72 KB, image/jpeg)
2025-04-09 21:31 UTC, Vadym Krevs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2025-04-09 21:31:13 UTC
I have configured my monitor's power settings to automatically turn off (go blank) after 5 minutes (System Settings->Power Management, Display and Brightness,  Turn off screen: 5 min).

After upgrading my openSUSE 15.6 desktop to Plasma 6.3.4 from OBS, there are visual artefacts on the screen after it comes back on  - as a result of a key press or mouse move -  after turning off after a period of inactivity. See attached screenshot - red arrows point to the "artrfacts".  If I perform any action that causes some UI change, like resize a window or right-click to display context menu, etc - then the window with the artefacts gets repainted and they disappear.

This has never happened prior to upgrade to Plasma 6.3.4 (from 6.3.3).

Operating System: openSUSE Leap 15.6
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.4.0-150600.23.47-default (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4060 Ti
Manufacturer: ASUS
Comment 1 Vadym Krevs 2025-04-09 21:31:55 UTC
Created attachment 180136 [details]
example of visual artefacts after monitor turns back on
Comment 2 TraceyC 2025-04-09 22:12:48 UTC
The affected app in the screenshot is Konsole
I'm not able to reproduce this with git-master X11, on a system with an nvidia gpu
Comment 3 Vadym Krevs 2025-04-10 11:30:18 UTC
Actually yes, the issue only seems to affect Konsole. Does not matter what is running in that Konsole tab.
Comment 4 Nate Graham 2025-04-10 14:05:21 UTC
Some questions for you:
1. Does it happen on Wayland too, or only on X11?

2. Can you verify that your system is set up according to https://community.kde.org/Distributions/Packaging_Recommendations#Proprietary_NVidia_driver_configuration?

2a. If not, can you follow the advice there, reboot, and see if it's still happening?
Comment 5 Vadym Krevs 2025-04-10 17:28:44 UTC
1. Never used Wayland, only X11.
2. Yes
2a. Rebooted yesterday to install latest kernel update, the issue happened before reboot and keeps happenning after reboot.
Comment 6 Nate Graham 2025-04-10 17:31:32 UTC
> 1. Never used Wayland, only X11.
Sure but can you try?
Comment 7 Vadym Krevs 2025-04-10 18:18:46 UTC
(In reply to Nate Graham from comment #6)
> > 1. Never used Wayland, only X11.
> Sure but can you try?

Just tried. The issue does not appear to happen under Wayland. (Unrelated to this issue, but everything - fonts, icons, toolbars - looked larger under Wayland than under X11 - does  scaling work differently under Wayland than under X11? There is a weird gap between the taskbar panel and the bottom of the screen which is not present under X11.)
Comment 8 Vadym Krevs 2025-04-10 18:20:32 UTC
(then logged out of Wayland, logged back into Plasma X11 and my session was messed up).
Comment 9 Vadym Krevs 2025-07-06 17:42:46 UTC
This seems to have been fixed in Plasma 6.4.x. Definitely no longer happens with the following from openSUSE build service:

KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Comment 10 TraceyC 2025-07-07 15:51:50 UTC
That's good news, thanks for letting us know. I'll close this out for now. If the bug recurs, feel free to reopen this report.