Bug 495345

Summary: Display monitor errors/issues after wake from sleep
Product: [Plasma] kwin Reporter: Roy <1q13wicth>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aleixpol, nate, xaver.hugl
Priority: NOR    
Version First Reported In: 6.2.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen error when window move to right side of screen

Description Roy 2024-10-25 13:46:07 UTC
Created attachment 175229 [details]
Screen error when window move to right side of screen

SUMMARY

When waking the pc from sleep, the following occurs:
1. The default lock screen wallpaper differs from what it was on the last successful reboot (not really a functional issue)
2. On logging in, the screen resolution changes from 5120x1440 to 3840x1440
3. On changing back to 5120, the 240hz option is not available anymore. It is available for all resolutions below 5120
4. The right 1/5th (ish) of the screen seems to become corrupted static when a window is place in that region. This region also seems to be variable, as in it follows specific elements of the window when moving it around.


STEPS TO REPRODUCE
1. Reboot PC and login, no screen issue present, no display setting issues present
2. Send PC to sleep
3. Wake PC and login, above issues occur

OBSERVED RESULT

Display setting issues and visual screen region issues occur after wake from sleep.

EXPECTED RESULT

No issues occur, all settings remain as they were before sleep. All screen regions remain usable and free from visual error.

SOFTWARE/OS VERSIONS
Arch Linux 6.11.5-arch1-1
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION

The resolution change and screen region errors only started occurring after my last system update within the last week or so. These issues were not occurring before then. It is possible this is an nvidia driver update issue, but I'm not totally sure.

These issues do not appear after rebooting.
Comment 1 Nate Graham 2024-10-28 03:15:01 UTC
It's almost always an NVIDIA driver issue 😩
Comment 2 Zamundaaa 2024-10-28 14:50:05 UTC
Yeah I don't see how KWin could cause either modes disappearing or static on the screen - it sounds a lot like the driver fails link training with the display. Please report them to https://forums.developer.nvidia.com/c/gpu-graphics/linux

About
> The default lock screen wallpaper differs from what it was on the last successful reboot
that's odd, and might be worth reporting to kscreenlocker
Comment 3 Roy 2024-10-28 18:28:16 UTC
(In reply to Zamundaaa from comment #2)
> Yeah I don't see how KWin could cause either modes disappearing or static on
> the screen - it sounds a lot like the driver fails link training with the
> display. Please report them to
> https://forums.developer.nvidia.com/c/gpu-graphics/linux
> 
> About
> > The default lock screen wallpaper differs from what it was on the last successful reboot
> that's odd, and might be worth reporting to kscreenlocker

Yea that sounds like it tracks. I'll see if it happens again, it seems potentially intermittent. If not I'll close this in a few days.
Comment 4 Roy 2024-11-02 16:31:40 UTC
This seems to have stopped happening, closing.