Bug 207171

Summary: [regression][bisected] Ryzen PRO 2400G, firefox screen corruption in X
Product: Drivers Reporter: Florian Ziegler (florian.ziegler)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher, florian.ziegler
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.6.3 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: dmesg
possible fix

Description Florian Ziegler 2020-04-09 13:33:47 UTC
Created attachment 288297 [details]
dmesg

Hello,

I have a Ryzen PRO 2400G (HP EliteDesk 705 G4)

with kernel 5.6 I am experiencing screen corruption in firefox under X.
Symptoms are:
- black and white horizontal lines over the whole width of the firefox window
- displaced/duplicated renderings all over the screen
- black bars over the width of a moving object (sroll-over effect)

Only the firefox window is affected.
But when I move the window while there are corruptions, the whole screen is affected for 1(?) frame.
Windows decorations are not affected.

Symptoms vary form website to website, playing video or sites that heavily rerender when scrolling or clicking buttons seems to trigger or increase the symptoms.

The symptoms do not appear with weston and firefox.
The symptoms do not appear with chromium under X

Output of git bisect:

# first bad commit: [7af2a5771e0918cdadb1614c1f81dd67a58e00aa] drm/amdgpu: attempt to enable gfxoff on more raven1 boards (v2)

If you need pictures or further information, I can provide them.

The bug looks similar to this one: https://bugzilla.kernel.org/show_bug.cgi?id=207005
But the reporter claimed that it never worked.
My bug report is about a regression.
Comment 1 Alex Deucher 2020-04-09 13:42:57 UTC
Created attachment 288299 [details]
possible fix

Does this patch fix it?
Comment 2 Florian Ziegler 2020-04-09 15:32:24 UTC
> Does this patch fix it?
Yes, the patch fixes the issue. Thank you.