You are not logged in.

#1 2024-11-28 21:14:26

Enkidu9
Member
Registered: 2024-11-28
Posts: 6

[SOLVED] Screen corruption after sleep

I have an annoying problem which is easy to circumvent. However I'd like to fix it.

I have Arch Linux running on a desktop with AMD Ryzen processor in a Gigabyte MB. If i leave the computer it goes into sleep mode just fine.

When I hit a key to wake it up, the screen is corrupted, but it is easy to recover from this situation.

1) Hit Alt+Ctrl+F3 to get to a console.
2) Without doing anything else, hit Alt+Ctrl+F1 to return to the graphic screen.

Does anyone have any ideas? I use Wayland, not XOrg.

Thanks.

Last edited by Enkidu9 (2024-12-05 22:45:40)

Offline

#2 2024-11-29 01:43:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,204

Re: [SOLVED] Screen corruption after sleep

Which GPU?

Offline

#3 2024-11-30 09:48:34

Enkidu9
Member
Registered: 2024-11-28
Posts: 6

Re: [SOLVED] Screen corruption after sleep

"Info Center" says KAVERI. It's part of the Ryzen R7

Offline

#4 2024-11-30 19:22:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,712

Re: [SOLVED] Screen corruption after sleep

https://bbs.archlinux.org/viewtopic.php?id=301280 ?
Same w/ the LTS kernel?
If yes, please post your complete system journal for such boot, eg.

sudo journalctl -b | curl -F 'file=@-' 0x0.st

for the current one.

Online

#5 2024-12-01 02:22:33

Enkidu9
Member
Registered: 2024-11-28
Posts: 6

Re: [SOLVED] Screen corruption after sleep

On further thought I am going to try X11 rather than Wayland, though I doubt that's the issue.

[Update: The problem doesn't seem to exist when I use X11. I will switch back to Wayland and if the problem still exists, I will gather the requested info.]

Issue #3787 looks interesting. I don't get artifacts. I just get corrupt screen on return from sleep.

Operating System: Arch Linux
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.12.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G
Memory: 14.6 GiB of RAM
Graphics Processor: KAVERI
Manufacturer: Gigabyte Technology Co., Ltd.

Last edited by Enkidu9 (2024-12-02 08:19:15)

Offline

#6 2024-12-02 22:02:25

Enkidu9
Member
Registered: 2024-11-28
Posts: 6

Re: [SOLVED] Screen corruption after sleep

So, the issue doesn't seem to happen under X11, so I collected the journal for the latest boot. Here's the timetable:

1) 9:40 Booted the system.
2) Some time before 10:15 the system went to sleep.
3) 10:15 I woke the system by hitting a key. The screen was corrupted.
4) Ctrl+Alt+F3, Ctrl+Alt+F1 restores the screen.

The journal for the current boot is at https://0x0.st/X7NK.txt

Offline

#7 2024-12-02 22:23:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,712

Re: [SOLVED] Screen corruption after sleep

Ah, that's a sea island…
Try whether amdgpu behaves better than radeon: https://wiki.archlinux.org/title/AMDGPU … K)_support and also try this w/ the LTS kernel

Online

#8 2024-12-04 21:48:33

Enkidu9
Member
Registered: 2024-11-28
Posts: 6

Re: [SOLVED] Screen corruption after sleep

Here's the situation at the moment. I will review that article and maybe try some thing.

You talk about 'LTS kernel'. I will look into that too.

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
        Subsystem: Gigabyte Technology Co., Ltd Device d000
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu

Offline

#9 2024-12-05 22:39:50

Enkidu9
Member
Registered: 2024-11-28
Posts: 6

Re: [SOLVED] Screen corruption after sleep

Ah, thanks Seth, that fixed it.

Specifical I took the steps in the doc linked to by Seth's post, above. The amdgpu does behave better than the radeon one.

Link repeated here: https://wiki.archlinux.org/title/AMDGPU … K)_support

Offline

Board footer

Powered by FluxBB