Bug 213917 - Screen starts flickering when laptop(amdgpu) wakes up after suspend.
Summary: Screen starts flickering when laptop(amdgpu) wakes up after suspend.
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-30 01:10 UTC by Utkarsh Verma
Modified: 2023-10-05 05:28 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.13.6
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Utkarsh Verma 2021-07-30 01:10:35 UTC
I have an ASUS FX505DT with an AMD Ryzen 3550H APU. This is not a new bug and it was fixed in kernel v5.6 with commit hash:
eb916a5a93a64c182b0a8f43886aa6bb4c3e52b0


I haven't had the time to test out each of the kernel versions individually, but this bug isn't there in Linux v5.12.6 and only appeared after I updated to v5.13.5.


## Steps to reproduce
1. Let the laptop suspend.
2. Wake it up with some keypresses or something.
3. After waking up, the screen starts flickering on/off every second.
Comment 1 Samuel Sieb 2021-09-09 03:56:17 UTC
I've just run into this as well.  I upgraded the laptop to 5.13.12 and the display doesn't resume properly as described.  The cpu is "AMD A10-9600P RADEON R5".  The only relevant messages in the journal are 4 lines like: 
amdgpu 0000:00:01.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x10aa25720 flags=0x0070]
with a different value for address in each one.
Comment 2 Samuel Sieb 2021-09-09 18:41:57 UTC
I just tried with 5.14.1 and resuming works again.  I still get those messages in the log, so apparently they aren't relevant to this issue.
Comment 3 kernel 2023-10-05 05:28:35 UTC
When I change the resolution or come back from suspend it flickers with random dots.  https://youtu.be/9hXqSQjU080

It works again when I either switch the mode back to the old resolution or press ctrl-alt-f8 & alt-f2

It's only a problem on the laptop eDP display, external usb-c display is ok.

In kernel 6.5.5, it goes away when I press ctrl-alt-f8 & alt-f2 or when I switch the mode back.

In kernel 6.5.1, I couldn't fix it with ctrl-alt-f8 & alt-f2, it only goes away when I switch back to the previous mode.

AMD Ryzen 7 4800U with Radeon Graphics

Note You need to log in before you can comment on or make changes to this bug.