You are not logged in.

#1 2021-07-11 13:06:58

jonathon
Member
Registered: 2016-09-19
Posts: 100

5.13.1 amdgpu black screen

I'm tracking down a regression with 5.13 and amdgpu. I saw this some time around 5.13rc6 but, as it was an early rc, I assumed it would be addressed in due course. 5.13.1 is now in testing and the same thing is happening:

Laptop internal panel display comes up as normal during boot, then "at some point" during boot (possibly kms?) goes dark and does not display anything (Xorg, TTY, ...). Display is still recognised (e.g. windows can be moved back and forth). External HDMI display remains working at all points.

Testing with linux, linux-zen, and linux-mainline (built against the 5.13.1 tag) all exhibit the same issues.

Booting with `amdgpu.dc=0` does work around the black screen, but there remain issues with resume (display doesn't come back).

There's a similar report in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1981039

Last edited by jonathon (2021-07-11 13:21:51)

Offline

#2 2021-07-13 02:27:49

jonathon
Member
Registered: 2016-09-19
Posts: 100

Re: 5.13.1 amdgpu black screen

Possibly this: https://gitlab.freedesktop.org/drm/amd/-/issues/1620 . I'm building a patched linux-zen=5.13.1 now to test.

Edit: Partially better. Now the internal panel doesn't blank until X starts/LightDM loads. big_smile

Edit 2: Also not this one, https://gitlab.freedesktop.org/drm/amd/-/issues/1635

Last edited by jonathon (2021-07-13 18:35:23)

Offline

#3 2021-07-20 20:25:23

jonathon
Member
Registered: 2016-09-19
Posts: 100

Re: 5.13.1 amdgpu black screen

It looks like this was triggered by my adding an "undetected resolution" (which for my laptop panel is a 75Hz refresh rate).

The additional modeline works fine with all kernels up to and including 5.12, but 5.13 does not like it at all...

Section "Monitor"
       Identifier "eDP"
       Modeline "1920x1080_75.00"  220.75  1920 2064 2264 2608  1080 1083 1088 1130 -hsync +vsync
       Option "PreferredMode" "1920x1080_75.00"
EndSection

hmm

Edit: even without this modeline, the screen doesn't come back after a blank (e.g. https://gitlab.freedesktop.org/drm/amd/-/issues/1656). amdgpu has some issues in 5.13...

Last edited by jonathon (2021-07-21 12:37:46)

Offline

#4 2021-07-22 02:27:32

nikofunk
Member
Registered: 2017-01-28
Posts: 6

Re: 5.13.1 amdgpu black screen

Hi,

Indeed, today I updated from 5.12.15 to 5.13.4 and, as always happens once in a year, amdgpu.dc = 1 broke the eDP monitor to black screen or an extreme multicolour flickering.

It seems a bug in 5.13 and it has been reported in several Linux distros (Fedora, Manjaro, Gentoo, etc)

I've bypassed this stuff by changing amdgpu.dc to 0 (amdgpu.dc = 0) and by downgrading to the latest 5.12 kernel.  (5.12.15)

In my experience, these bugs are always fixed in the next kernel release (in this case it will be, I hope so, 5.14). However, I will try in the next few days if a new release of the 5.13.X kernel fixes this odd issue, and I'll update the info.

The weird stuff of this bug is the fact that the HDMI-A-0 output still working flawlessly with amdgpu.dc = 1 option. That didn't happen in previously amdgpu.dc bugs.

Cheers,

Nico.

Last edited by nikofunk (2021-07-22 02:29:47)

Offline

#5 2021-07-26 11:50:33

jonathon
Member
Registered: 2016-09-19
Posts: 100

Re: 5.13.1 amdgpu black screen

Issue still present in 5.13.5, but seems to be resolved with 5.14rc3 (so fixed somewhere in the rc2->rc3 window).

There are 17 drm/amd- and amdgpu-related commits so, given the patches I tested above are included, I think it's resolved by combination of several of those patches rather than a single one.

Last edited by jonathon (Yesterday 11:23:47)

Offline

Board footer

Powered by FluxBB