Skip to contentSkip to conversation

RX580: screen turns black or flickers until forced reconfiguration

Bug 110217 [email protected] 1 participant 9 messages Mar 21, 2019 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 110217
Summary: RX580: screen turns black or flickers until forced
reconfiguration
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]

Created attachment 143754
--> https://bugs.freedesktop.org/attachment.cgi?id=143754&action=edit
dmesg output

I have a Radeon RX560 and VGA monitor (with broken EDID) connected via a cheap HDMI-to-VGA converter (with its own broken EDID).

The system starts up normally. During boot up, it should change display resolution as specified in the kernel command line (video=1280x1024-32@75, monitor native). Screen turns black instead, and resolution remains unchanged. But after I plug HDMI out and in, the monitor gets new resolution and shows console login prompt, as expected. (X isn’t configured to start at bootup).

Then, when I startx, it chooses the same resolution but wrong frequency (85 Hz, too much for my monitor). That’s probably due to converter supplying the EDID. After I run xrandr --rate 75, it switches to the correct mode.

I wouldn’t even mention such small nuisance, but if I specify exactly the same mode (as reported by xrandr --verbose) explicitly (as a Modeline), it works but flickers, despite the TearFree option enabled. Moreover, when the monitor is turned off and then on, it wakes up in the same mode *but flickers.* Changing mode back and forth (xrandr --output HDMI-A-0 --preferred ; xrandr --rate 75) helps.

I usually have compton running. Without it, flicker is tolerable but still present.

OS: Arch Linux
Kernel: Linux 5.0.1-arch1-1-ARCH
X driver: xf86-video-amdgpu 19.0.0-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=110217

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

If I uncomment the proper Output-... option, Xorg starts in the correct mode but with flicker. That’s true both for amdgpu and modesetting drivers IIRC.

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=110217

Michel Dänzer <[email protected]> changed:

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

 Attachment #143754|text/x-log                  |text/plain
          mime type|                            |
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=110217

Michel Dänzer <[email protected]> changed:

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

 Attachment #143755|text/x-log                  |text/plain
          mime type|                            |
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=110217

--- Comment #3 from [email protected] ---
New information:

1. Screen turns black at module insertion, be it during bootup or later. But resuming from hibernation works.

2. On the system, the converter I use is problematic itself. When I connect it to another PC, HDMI port is shown as “connected” *until* I connect a monitor to the converter. Then, everything works but HDMI port is displayed as “disconnected” in xrandr.

After updating the system, flicker seems to happen in X only, despite the “TearFree” option. Virtual consoles work well, albeit use the same mode (i.e. no mode change on VT switch). Not sure was that the case earlier.

Also, after last hibernation, the old trick with resetting mode didn’t help, flicker continues. New X instances flicker as well.

New kernel: Linux 5.1.2-arch1-1-ARCH
New X driver: xf86-video-amdgpu 19.0.1-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

#7 lore raw
In reply to [email protected]

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

--- Comment #5 from [email protected] ---
The flicker seems to be due to
https://bugs.freedesktop.org/show_bug.cgi?id=102646, despite the fact Arch wiki tells that affects 120+ Hz only (my monitor runs at 75 Hz). At least fixing clocks fixes the problem.

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

#8 lore raw
In reply to [email protected]

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

Martin Peres <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from Martin Peres <[email protected]> --- -- 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/733.

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