Bug 106718

Summary: On Ubuntu Bionic with kernels 4.15 and above, RX480 Displayport outputs don't work (dmesg reports "not connected")
Product: DRI Reporter: Pixie <icekhaos>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: harry.wentland
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg log on a working setup (kernel 4.14.35, latest stable mesa)
none
Xorg log on the same functional 4.14.35 setup.
none
dmesg from a broken 4.17-rc1 setup; look here for the errors
none
Xorg log on the broken 4.17-rc1 setup
none
Broken dmesg on 4.15
none
Broken Xorg log on 4.15 none

Description Pixie 2018-05-30 09:12:20 UTC
Anything from at least 4.15 up to 4.17-rc1 under Bionic makes the Displayport connections fail to even detect a display, while anything 4.14.x works and detects it perfectly.

Is the PCI ROM error related? Is this a duplicate? I can provide xorg logs later today.
Comment 1 Michel Dänzer 2018-05-30 09:48:42 UTC
Please attach the dmesg output as well as the Xorg log file.
Comment 2 Pixie 2018-05-30 10:58:08 UTC
Alright. Will do in a couple hours, when booted on newer kernels. Currently booted on an old one, probably good to include it as well for comparison's sake. Google turned up nothing on this issue either, so I came here.

Would a Displayport to DVI converter have anything to do with recent changes?
Comment 3 Alex Deucher 2018-05-30 14:55:35 UTC
Can you narrow down the regression or better yet bisect?
Comment 4 Pixie 2018-05-31 04:11:12 UTC
If instructed how, I would definitely be willing to bisect.

Power went out, fell asleep, no xorg logs during the day. Sorry for the delay, a working log/dmesg combo on 4.14.35 coming up shortly, for reference.

This breaks on any kernel 4.15 and above, by the way. Decided to report it against whatever is present in 4.17, since the issue still persists there.

And if I can get rc4 to install, I'll test that and provide the logs from that.
Comment 5 Pixie 2018-05-31 04:12:53 UTC
Created attachment 139875 [details]
dmesg log on a working setup (kernel 4.14.35, latest stable mesa)
Comment 6 Pixie 2018-05-31 04:13:27 UTC
Created attachment 139876 [details]
Xorg log on the same functional 4.14.35 setup.
Comment 7 Pixie 2018-05-31 04:13:46 UTC
Logs from working software submitted. Booting promptly into a newer kernel and salvaging logs from there.
Comment 8 Pixie 2018-05-31 04:15:23 UTC
Nope, fell flat on its face. rc1 logs coming shortly.
Comment 9 Pixie 2018-05-31 04:21:19 UTC
Created attachment 139877 [details]
dmesg from a broken 4.17-rc1 setup; look here for the errors
Comment 10 Pixie 2018-05-31 04:22:25 UTC
Created attachment 139878 [details]
Xorg log on the broken 4.17-rc1 setup

The broken Xorg log doesn't even seem to acknowledge the monitor exists through a quick grep.
Comment 11 Pixie 2018-05-31 04:25:31 UTC
Seems somewhere between what looks like versions 3.19 and 3.25.

Gonna guess 4.15 has an earlier version; gonna fetch logs from that shortly.
Comment 12 Pixie 2018-05-31 04:42:27 UTC
Seems like I had the right idea.

4.15 runs amdgpu 3.23. May install a Mesa git version from a PPA after this to check.

Really want the new kernels, so I'm probably gonna do that right away after posting the two logs.
Comment 13 Pixie 2018-05-31 04:43:20 UTC
Created attachment 139879 [details]
Broken dmesg on 4.15
Comment 14 Pixie 2018-05-31 04:43:42 UTC
Created attachment 139880 [details]
Broken Xorg log on 4.15
Comment 15 Pixie 2018-05-31 04:58:45 UTC
That Git install doesn't seem to have changed anything visible. Doesn't show in logs either, which is weird.
Comment 16 Pixie 2018-05-31 05:02:01 UTC
Running glxgears gives me a GL version of 3.1 Mesa 18.2.0-devel, that the one I'm looking for?
Comment 17 Michel Dänzer 2018-05-31 07:50:36 UTC
Does amdgpu.dc=0 on the kernel command line work around the problem?
Comment 18 Pixie 2018-05-31 08:19:05 UTC
Where would I enter that?
Comment 19 Alex Deucher 2018-05-31 13:19:50 UTC
on the kernel command line in grub.
Comment 20 Pixie 2018-06-04 11:07:41 UTC
Sorry for the late reply; yes, amdgpu.dc=0 fixes it.

What does that even do?
Comment 21 Martin Peres 2019-11-19 08:40:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/406.

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.