Skip to contentSkip to conversation

New: AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

Bug 199101 [email protected] 1 participant 28 messages Mar 13, 2018 – Apr 24, 2018

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=199101

            Bug ID: 199101
           Summary: AMDGPU Fury X random screen flicker on Linux kernel
                    4.16rc5
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.16rc5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I compiled and installed 4.16rc on Arch Linux via the linux-git AUR package today. After rebooting I noticed some random flickering. Every 20-30 seconds or so a single white flash would take up the entire screen. This occurs on the desktop and in full screen OpenGL Dota 2.

Here's some more system info

OpenGL version string: 3.0 Mesa 17.3.6

CPU hardware:
x86_64
AMD Ryzen 7 1800X Eight-Core Processor
Max Speed: 4100 MHz
Current Speed: 3600 MHz

Memory:
16 GB
Speed: 3200 MT/s

GPU hardware:
OpenGL renderer string: AMD Radeon (TM) R9 Fury Series (FIJI / DRM 3.23.0 /
4.15.8-1-ARCH, LLVM 5.0.1)
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Fiji [Radeon R9 FURY / NANO Series] [1002:7300] (rev c8)

Motherboard:
ASUSTeK COMPUTER INC.
CROSSHAIR VI HERO
BIOS Version: 3008

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Kevin McCormack ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Regression|No |Yes

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #1 from Michel Dänzer ([email protected]) --- Please attach the corresponding dmesg output.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #2 from Kevin McCormack ([email protected]) --- Created attachment 274825
--> https://bugzilla.kernel.org/attachment.cgi?id=274825&action=edit
Output from journalctl -k on 4.16.0-rc6

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #3 from Kevin McCormack ([email protected]) --- Still happening with rc6

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Thomas Crider ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Thomas Crider ([email protected]) ---
I'm also getting this with a fresh compile as of today (3-24). It's a screen flicker that occurs every few seconds.

OpenGL version string: 3.1 Mesa 18.1.0-devel (git-d60eaf7b1f)

CPU hardware:
x86_64
AMD Ryzen 7 1700X Eight-Core Processor
Current Speed: 3800 MHz

Memory:
16 GB
Speed: 3200 MT/s

GPU hardware:
OpenGL renderer string: Radeon RX Vega (VEGA10 / DRM 3.23.0 /
4.16.0-rc6-gd8a5b80568a9, LLVM 6.0.0)
0d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Vega 10 XT [Radeon RX Vega 64] (rev c1)

Motherboard:
ASUSTeK COMPUTER INC.
ROG STRIX X370-F GAMING
BIOS Version: 3803

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #5 from Thomas Crider ([email protected]) --- Created attachment 274921
--> https://bugzilla.kernel.org/attachment.cgi?id=274921&action=edit
Output from journalctl -k on 4.16.0-rc6-VEGA

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Thorsten Leemhuis ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Thorsten Leemhuis ([email protected]) --- (In reply to Kevin McCormack from comment #3)

Quoted 1 line

Still happening with rc6

Kevin: Is this still happening? And is this working with 4.15 (that's unclear from the initial report)? Just wondering, because I have this issue on the regression reports for 4.16

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #7 from Kevin McCormack ([email protected]) --- It's not a problem on 4.15. It was still a problem on the last rc I tried.

Quoted 21 lines · On March 26, 2018 4:58:42 AM EDT, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Thorsten Leemhuis ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Thorsten Leemhuis ([email protected]) --- (In reply to Kevin McCormack from comment #3)

Quoted 1 line

Still happening with rc6

Kevin: Is this still happening? And is this working with 4.15 (that's unclear
from the initial report)? Just wondering, because I have this issue on the
regression reports for 4.16

Signature · 2 lines
You are receiving this mail because:
You reported the bug.
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #8 from Thorsten Leemhuis ([email protected]) --- @Michel Dänzer: Any progress with this? It's on the list of regressions for 4.16

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #9 from Alex Deucher ([email protected]) --- Can you bisect?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #10 from Thomas Crider ([email protected]) --- just fyi I do not get the flicker on 4.16 rc3, this may help to shorten the time it takes to bisect

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Samuel Grahn ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from Samuel Grahn ([email protected]) --- I get the same issue on arch kernels: linux (4.15), linux-mainline, and from linux-git(4.16rc6) on my Vega 64 when using both latest mesa-git (18) and stable mesa (17) from arch repos.

It seemed not to appear when using fullscreen Vulkan rendering, pointing at GL issues (right?), can examine further later.

Crosshair VI x370 mobo
Ryzen 1800X
16GB DDR4
STRIX Vega 64

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Berillions ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #12 from Berillions ([email protected]) --- I confirm that i have this issue too with final kernel 4.16, Rx560 and mesa-git.
The issue does not appears with the Kernel 4.15.15

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Martin Babutzka ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #13 from Martin Babutzka ([email protected]) --- I can confirm this issue also exists for the latest (from 2.4.2018) amd-staging-drm-next kernel and for the R9 380 with amdgpu dc. The issue is also reported and commented on my repo:
https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/50

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Paweł ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #14 from Paweł ([email protected]) --- Since nobody cared I bisected the issue:

Quoted 22 lines

commit 36cc549d59864b7161f0e23d710c1c4d1b9cf022

Author: Shirish S <[email protected]>
Date:   Wed Feb 28 12:14:58 2018 +0530

drm/amd/display: disable CRTCs with NULL FB on their primary plane (V2)

The below commit

"drm/atomic: Try to preserve the crtc enabled state in

Quoted 1 line

drm_atomic_remove_fb, v2"

introduces a slight behavioral change to rmfb. Instead of disabling a crtc when the primary plane is disabled, it now preserves it.

This change leads to BUG hit while performing atomic commit on amd driver.

As a fix this patch ensures that we disable the CRTC's with NULL FB by

Quoted 1 line

returning

-EINVAL and hence triggering fall back to the old behavior and turning off

Quoted 1 line

the

crtc in atomic_remove_fb().

Quoted 9 lines

V2: Added error check for plane_state and removed sanity check for crtc.

:040000 040000 9b8fd67908699d2651daa93fab59b21e7a76b1c6

Quoted 1 line

21bbcb69561e67e5acf63d56344c7ba7ac4146a6 M drivers

It makes my AMD Radeon RX 480 flicker a lot.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #15 from Harry Wentland ([email protected]) --- We reproduced the issue and have someone looking into it.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#17 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Sergey Kondakov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #16 from Sergey Kondakov ([email protected]) --- (In reply to Harry Wentland from comment #15)

Quoted 1 line

We reproduced the issue and have someone looking into it.

Too bad a fix doesn't seem to be included in 4.16.1. I myself got this on RX 580 (but on old FX-6100 / PCI-e v.2 system), wasn't able to revert commit above and just resorted to disabling DC with amdgpu.dc=0 boot option.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #17 from Berillions ([email protected]) --- Still exist for me on kernel 4.16.2 but I have less randome flickering than kernel 4.16/4.16.1 ...

Rx560 - 4Go
Mesa-Git
llvm 5.0.1

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#19 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #18 from Martin Babutzka ([email protected]) --- Okay the AMD devs reverted the corresponding commit in amd-staging-drm-next
(https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next&id=fc0644eddd2d5f77aac44ad2ab5a3edae08d11c2).
I rebuild and tested them
(https://github.com/M-Bab/linux-kernel-amdgpu-binaries) and can confirm the issue is fixed for now.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#20 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #19 from Kevin McCormack ([email protected]) --- Thanks for testing, Martin. This doesn't appear to be included in 4.16.3 looking at https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.3 and Arch just bumped the kernel from 4.15 to 4.16.3 so I'm holding back updating.

Are we likely to see this included in 4.16.4?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#21 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #20 from Alex Deucher ([email protected]) --- The revert is cc'ed to stable so it will show up in the 4.16 stable tree as well.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#22 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #21 from Kevin McCormack ([email protected]) --- Thank you, Alex!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#23 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #22 from Kevin McCormack ([email protected]) --- Flickering seems to be gone on 4.17rc2!

However, there's a new issue :/
https://bugs.freedesktop.org/show_bug.cgi?id=106194

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#24 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #23 from [email protected] ---
I experienced the flicker on 4.16.3 & I had to use amdgpu.dc=0 to suppress the flicker (but it also disabled audio over HDMI) on my RX 560.

The flicker seems to be gone on 4.16.4 for me (amdgpu.dc=0 was also removed), and audio over HDMI is working too.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#25 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #24 from Harry Wentland ([email protected]) --- Kevin, can you mark this as resolved?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#26 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

--- Comment #25 from Thomas Crider ([email protected]) --- I can also confirm the flicker is gone with 4.17rc2

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#27 lore raw

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=199101

Kevin McCormack ([email protected]) changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #26 from Kevin McCormack ([email protected]) --- It looks like this commit has made it into 4.16.4

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.4

Thanks all!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel