Bug 473235 - screen artefacts don't disappear anymore after switching tty
Summary: screen artefacts don't disappear anymore after switching tty
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.27.7
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 05:24 UTC by sk.griffinix
Modified: 2023-08-11 20:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sk.griffinix 2023-08-10 05:24:32 UTC
SUMMARY
***
In many cases after hibernating/waking from sleep, I get a blank screen. In past kde versions, switching tty session usually solved the issue. For example, switching back and forth once would lead to screen with artefacts, then repeating it couple of times restored the display. In the latest version, no amount of switching helps, since I can only get screen with artefacts, and only solutions appear to be restarting kwin, or resetting AMD driver, both of which end the applications running in that session (which is undesirable).
***


STEPS TO REPRODUCE
1. Wake from hibernate to get a blank screen (not dependably reproducible. Occurs about half the time with no particular trigger I can identify.
2. Switch tty sessions back and forth (ctrl+alt+F3 followed by ctrl+alt+F2)
3. Repeat multiple times

OBSERVED RESULT
The tty2 session continues to show screen artefacts (its unusable with horizontal banding in entire screen)

EXPECTED RESULT
tty2 session showed normal display

SOFTWARE/OS VERSIONS
Linux Kernel Version: 6.4.6-1-MANJARO (64-bit)
AMD driver: amdgpu
Mesa version: 23.0.2-2
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
GPU: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]

ADDITIONAL INFORMATION
I know the main issue is display not restoring after hibernating, but I have made peace with that issue and I don't expect it to be resolved easily or anytime soon. However, the workaround of switching tty sessions was okay since it restored the display while preserving the running applications. However some change in the latest plasma release broke the workaround, and I end up losing my running applications. Hence, I would be very thankful if it was somehow restored
Comment 1 Nate Graham 2023-08-11 20:31:49 UTC
> I know the main issue is display not restoring after hibernating, but I have made
> peace with that issue and I don't expect it to be resolved easily or anytime soon. 
I appreciate the honesty here, but bug reports are reporting the bugs themselves, and not when the workarounds for those bugs break. We can't offer support for workarounds, but we can potentially offer support for the bugs they're being used to work around. So please submit a new bug report for the actual bug. Thanks!