Skip to contentSkip to conversation

RX560, 5k@60Hz, Xorg: Black screen, “soft” kernel lockup

Bug 106427 [email protected] 1 participant 13 messages May 7, 2018 – Oct 27, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106427

Bug ID: 106427
Summary: RX560, 5k@60Hz, Xorg: Black screen, “soft” kernel
lockup
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Kernel: 4.16.7

My monitor’s native mode is (some variant of) 5120x2880 at 60Hz. When amdgpu is loaded during startup, it picks up this mode from the monitor and switches to it just fine.

However, when I start a minimal X (X.Org X server 1.19.5, amdgpu 1.3.0) without /etc/X11/xorg.conf and just an xterm and no window manager, I can see the for a fraction of a second the xterm window in the upper left corner of the screen before the monitor turns black. It’s not turned off, the monitor’s power LED shows that it’s on.

When I try to switch to another Linux console with Alt+Tab+F6, nothing happens; the console is not switched (I can verify this because typing “echo -en '\a'” doesn’t beep).

After ca. 1:30 min the console finally *is* switched but remains black. The kernel spews out messages about timeouts, and I have to reboot the machine (from ssh or Ctrl+Alt+Del).

I can use X with 5K if I restrict the refresh rate to 30 Hz (from “cvt 5120 2880 30”).

This bug is present since kernel 4.15.10 or thereabouts, which was the first version where amdgpu would work with dc = 1.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

--- Comment #2 from [email protected] ---
Created attachment 139403
--> https://bugs.freedesktop.org/attachment.cgi?id=139403&action=edit
Xorg.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

--- Comment #3 from [email protected] ---
I would like to mention that “cvt 4096 2304 -r” is a mode that works under X so it may not be the 60 Hz as such but rather the increased bandwidth, which needs DisplayPort 1.3 instead of just 1.2.

(However, when X is terminated the Linux console goes black because it seems that the driver cannot switch back to 5k@60Hz.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #139403|Xorg.log                    |Xorg.log 5k@60
        description|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #139402|dmesg-4.16.7                |dmesg-4.16.7 5K@60
        description|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

--- Comment #4 from [email protected] ---
Created attachment 139514
--> https://bugs.freedesktop.org/attachment.cgi?id=139514&action=edit
dmesg-4.16.7 4K@60

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

--- Comment #5 from [email protected] ---
Created attachment 139515
--> https://bugs.freedesktop.org/attachment.cgi?id=139515&action=edit
Xorg.log 4k@60

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

--- Comment #8 from [email protected] ---
I have always wondered why 5k works in the frame buffer but not Xorg. 4.19 bring some progress in this regard and made things more consistent: Now the console stays blank too.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

--- Comment #9 from [email protected] ---
Created attachment 142235
--> https://bugs.freedesktop.org/attachment.cgi?id=142235&action=edit
dmesg-4.19.0 with drm.debug=0x1ff

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106427

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel