You are not logged in.

#1 2020-03-01 13:32:30

djseban
Member
Registered: 2020-03-01
Posts: 2

[SOLVED] Navi GPU glitches/flickers after sleep

Hi there,

I recently swapped my GPU for a newer one (RX 5700 with XT BIOS) and stumbled upon an issue with sleep. After waking up from sleep the display starts glitching:
https://www.youtube.com/watch?v=T_pDGfDZ9fA
I already tried with kernel parameters like

amdgpu.dpm=0/1
amdgpu.aspm=0 amdgpu.runpm=0
amdgpu.dc=0

but it didn't have any effect or system didn't start (amdgpu.dc=0). Maybe someone had similar problem and cares to elaborate?

@edit: After some googling it turns out, that using LTS kernel (5.4) solves the issue.

Last edited by djseban (2020-03-01 16:02:39)

Offline

#2 2020-03-06 07:11:20

silnar
Member
Registered: 2011-11-03
Posts: 10

Re: [SOLVED] Navi GPU glitches/flickers after sleep

Hi, I experience the same problems.

Can you post a link to the page where you found the solution ?

I wonder whether I can find when it will be solved on non-lts linux.

Offline

#3 2020-03-06 12:45:06

LuxFerre
Member
Registered: 2010-03-01
Posts: 20

Re: [SOLVED] Navi GPU glitches/flickers after sleep

silnar wrote:

Hi, I experience the same problems.

Can you post a link to the page where you found the solution ?

I wonder whether I can find when it will be solved on non-lts linux.

I'm using the latest kernel, the problem is still present, so I use a workaround. Just run xrandr after every resume from suspend:
xrandr --output DisplayPort-0 --mode 1024x768; sleep 1; xrandr --output DisplayPort-0 --mode 2560x1440 -r 144
(obviously adapt to your display)

Offline

#4 2020-03-07 11:40:03

silnar
Member
Registered: 2011-11-03
Posts: 10

Re: [SOLVED] Navi GPU glitches/flickers after sleep

Just run xrandr after every resume from suspend:
xrandr --output DisplayPort-0 --mode 1024x768; sleep 1; xrandr --output DisplayPort-0 --mode 2560x1440 -r 144
(obviously adapt to your display)

This doesn't seem to be working.
Probably because I'm using Wayland.

 ~ xrandr                                                                  
Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
XWAYLAND0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   3840x2160     59.98*+

There is only one mode to set, and setting it seems to be ignored by xrandr.

Offline

#5 2020-03-07 18:15:03

LuxFerre
Member
Registered: 2010-03-01
Posts: 20

Re: [SOLVED] Navi GPU glitches/flickers after sleep

silnar wrote:

Just run xrandr after every resume from suspend:
xrandr --output DisplayPort-0 --mode 1024x768; sleep 1; xrandr --output DisplayPort-0 --mode 2560x1440 -r 144
(obviously adapt to your display)

This doesn't seem to be working.
Probably because I'm using Wayland.

 ~ xrandr                                                                  
Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
XWAYLAND0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   3840x2160     59.98*+

There is only one mode to set, and setting it seems to be ignored by xrandr.

I believe the problem was this.


In my case, changing the resolution to a lower one and then reverting right back was a temporary fix. With kernel 5.5.8 it seems fixed though, or at least I haven't noticed it since yesterday.

Last edited by LuxFerre (2020-03-07 18:15:21)

Offline

#6 2020-03-08 20:31:25

silnar
Member
Registered: 2011-11-03
Posts: 10

Re: [SOLVED] Navi GPU glitches/flickers after sleep

With kernel 5.5.8 it seems fixed though, or at least I haven't noticed it since yesterday.

I confirm. No glitches since last update.

Super smile

Offline

Board footer

Powered by FluxBB