Bug 109122

Summary: blank screen on rx580 starting with kernel 4.19.9
Product: DRI Reporter: velemas
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium CC: harry.wentland, nicholas.kazlauskas
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg attachment with kernel 4.19.11 and amdgpu.dc=0
none
possible fix none

Description velemas 2018-12-20 21:13:13 UTC
After upgrading to kernel 4.19.9 in Arch Linux I have a blank screen. The system is unusable.

My system is Asus ROG GL702ZC with RX 580:

lspci output:
description: VGA compatible controller
product: Ellesmere [Radeon RX 470/480/570/570X/580/580X]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:0c:00.0
version: c1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0

dmesg:
[drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1043:0x1A60 0xC1).

The culprit is https://github.com/torvalds/linux/commit/07e3a1cfb0568b6d8d7862077029af96af6690ea

Reverting it fixed the issue. I also tried 4.20-rc7. There is no issue there. But 4.19.11 still has it.

Setting amdgpu.dc=0 also helps with 4.19.9 - 4.19.11

Related https://bugs.archlinux.org/task/61117
Comment 1 Michel Dänzer 2018-12-21 09:16:12 UTC
Please attach the corresponding output of dmesg.
Comment 2 velemas 2018-12-21 17:12:00 UTC
Created attachment 142872 [details]
dmesg attachment with kernel 4.19.11 and amdgpu.dc=0
Comment 3 Matej Lach 2018-12-27 12:08:57 UTC
I can confirm this bug is indeed present. 
Worth noting that the screen is only blank on the laptop built-in display, (after KMS), external monitors work fine. 

Adding `amdgpu.dc=0` to the kernel parameters resolves the issue for me, but this was not necessary before kernel 4.19.9, so it seems like a regression. [1] seems related.

1 - https://bugzilla.kernel.org/show_bug.cgi?id=200695
Comment 4 Nicholas Kazlauskas 2019-01-03 15:00:00 UTC
This should be fixed by: https://patchwork.freedesktop.org/patch/264792/

It's probably why you don't see the issue occur in 4.20-rc7.
Comment 5 Alex Deucher 2019-01-03 15:47:05 UTC
Created attachment 142958 [details] [review]
possible fix

Looks like the stable patch autoselect strikes again!  Does this backported patch fix the issue?
Comment 6 velemas 2019-01-03 19:29:43 UTC
Thank you! This patch fixes the issue.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.