Discussion:
[Bug 105744] New: randomly flashing screen with RX 580
b***@freedesktop.org
2018-03-26 08:56:45 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

Bug ID: 105744
Summary: randomly flashing screen with RX 580
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/AMDgpu
Assignee: xorg-driver-***@lists.x.org
Reporter: ***@gmail.com
QA Contact: xorg-***@lists.x.org

I recently bought a Sapphire Radeon RX 580 Nitro+ 4 GB GDDR5 and I'm using the
amdgpu drivers on ArchLinux with xmonad.

Unfortunately the entire screen flashes randomly, usually correlated with
clicking the mouse button in chrome. Enabling TearFree makes no difference,
disabling the hardware cursor makes no difference.

I do not wish to use amdgpupro, for ethical reasons.

I can perform more diagnostics if needed, but I appreciate that this is a very
difficult to reproduce problem so my hopes of a solution are low...


Version / info dumps:

xf86-video-amdgpu 18.0.1

4.15.12-1-ARCH #1 SMP PREEMPT Wed Mar 21 15:14:56 UTC 2018 x86_64 GNU/Linux

~ sudo lshw -C video
*-display
description: VGA compatible controller
product: Ellesmere [Radeon RX 470/480/570/580]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: ***@0000:01:00.0
version: e7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:123 memory:d0000000-dfffffff memory:e0000000-e01fffff
ioport:e000(size=256) memory:ef400000-ef43ffff memory:c0000-dffff


~ cat /etc/X11/xorg.conf.d/20-radeon.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "SWcursor" "on"
Option "DRI" "3"
Option "TearFree" "on"
Option "AccelMethod" "glamor"
EndSection


I version control my user-level dotfiles:

- https://gitlab.com/fommil/dotfiles
- plus machine specific customisations
https://gitlab.com/fommil/dotfiles/tree/master/Profiles/Samurai
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-03-26 15:46:26 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

--- Comment #1 from Alex Deucher <***@gmail.com> ---
Please attach your dmesg output and xorg log.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-03-26 20:35:25 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

--- Comment #2 from ***@gmail.com ---
Created attachment 138361
--> https://bugs.freedesktop.org/attachment.cgi?id=138361&action=edit
dmesg.log
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-03-26 20:35:43 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

--- Comment #3 from ***@gmail.com ---
Created attachment 138362
--> https://bugs.freedesktop.org/attachment.cgi?id=138362&action=edit
Xorg.0.log
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-05 10:38:24 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

Michel DÀnzer <***@daenzer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #138361|text/x-log |text/plain
mime type| |
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-05 10:38:35 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

Michel DÀnzer <***@daenzer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #138362|text/x-log |text/plain
mime type| |
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-05 10:40:25 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

--- Comment #4 from Michel DÀnzer <***@daenzer.net> ---
Does it also happen with amdgpu.dc=0 on the kernel command line?

Can you make a video showing what the flashes look like?
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-05 11:38:10 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

--- Comment #5 from ***@gmail.com ---
Unfortunately, making a video would be extremely difficult. The
flashes are completely random, I have not found any way to reproduce
it and sometimes it can be 30 minutes or an hour without a problem.

I have added this kernel parameter and have not seen any flashes since
the reboot 10 minutes ago. Fingers crossed we have isolated the issue
to the new DC logic!
Comment # 4 on bug 105744 from Michel DÀnzer
Does it also happen with amdgpu.dc=0 on the kernel command line?
Can you make a video showing what the flashes look like?
________________________________
You reported the bug.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-19 22:51:09 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

--- Comment #6 from ***@gmail.com ---
This seems to be much better in kernel build 4.16.2-2-ARCH and I no longer need
the amdgpu.dc=0 kernel flag.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-19 22:51:43 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-04-19 23:01:44 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---

--- Comment #7 from ***@gmail.com ---
sod's law... 5 minutes after closing the ticket I got a screen flash. *sigh*

At least it seems a lot less frequent than before.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freedesktop.org
2018-10-04 16:37:54 UTC
Permalink
https://bugs.freedesktop.org/show_bug.cgi?id=105744

Michel DÀnzer <***@daenzer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Product|xorg |DRI
Component|Driver/AMDgpu |DRM/AMDgpu
QA Contact|xorg-***@lists.x.org |
Assignee|xorg-driver-***@lists.x.org |dri-***@lists.freedesktop
| |.org

--- Comment #8 from Michel DÀnzer <***@daenzer.net> ---
Is this still happening with current kernels? Still only with DC?
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...