Bug 194649

Summary: Graphical garbage r9 380
Product: Drivers Reporter: Roberth Sjonøy (roberth.sjonoy)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.9 Subsystem:
Regression: No Bisected commit-id:
Attachments: Picture of the corruption when rightclicking in websites in chromium
dmesg output
xorg log

Description Roberth Sjonøy 2017-02-21 17:52:52 UTC
Created attachment 254857 [details]
Picture of the corruption when rightclicking in websites in chromium

There is a graphical garbage in the dropdown menu when right clicking any plasma application, tooltips in any plasma application, it flashes very briefly and is very partial regardless if I move the mouse cursor.

Same with chromium, but it happens more often and is more severe when rightclicking inside a website. It doesn't disappear in this case until you move the mouse cursor anywhere over the dropdown menu, if I right click the ui itself in chromium(bookmarks bar) it flashes very briefly and is very partial regardless if I move the mouse cursor over the dropdown menu.

It sometimes happen very briefly across the whole window when opening a new window for Gwenview.

This started to happen after upgrading from kernel 4.8.13 to 4.9.6, it still happens in 4.10.0. Different mesa version makes no difference.
Comment 1 Roberth Sjonøy 2017-02-21 17:53:26 UTC
Created attachment 254859 [details]
dmesg output
Comment 2 Roberth Sjonøy 2017-02-21 17:53:48 UTC
Created attachment 254861 [details]
xorg log
Comment 3 Roberth Sjonøy 2017-02-21 17:56:16 UTC
The example shown in the image is easily reproducible for me by just right clicking over and over and it will appear.
Comment 4 Michel Dänzer 2017-02-22 09:49:24 UTC
I can't seem to reproduce this on my Tonga.

Was it really only the kernel that made the difference? No updates for kwin / Mesa / xf86-video-amdgpu / xserver / Mesa / ... in the meantime? What kwin compositor settings are you using?

If it's really only the kernel, can you bisect between 4.8.13 and 4.9.6?
Comment 5 Roberth Sjonøy 2017-02-22 19:54:41 UTC
I tested all the way to back to kwin 5.7.5, issue still appears, tested mesa from git, 13.0, 17.0 issue still persist. Xserver 1.19 and the latest xf86-video-amdgpu has been used long before this issue appeared. 
Tried different kwin compositor settings, no change either.
The only thing that helps is to downgrade to kernel 4.8.13.

I don't know how to bisect to be honest.
Comment 6 Alex Deucher 2017-02-22 20:55:50 UTC
Does the firmware here help?
https://people.freedesktop.org/~agd5f/radeon_ucode/tonga/
Comment 7 Roberth Sjonøy 2017-02-22 21:09:02 UTC
Unfortunatly no.
Comment 8 Alex Deucher 2017-02-22 21:20:38 UTC
Does reverting 646cccb55b26b95b981ea9a63512260d0c21cac3 help?
Comment 9 Roberth Sjonøy 2017-02-22 23:13:48 UTC
No. I applied it to 4.9.11, running the firmware files you suggested to try.
Comment 10 Roberth Sjonøy 2017-03-17 12:21:50 UTC
The issue became even more prevelant when upgrading from kernel 4.10.2 to 4.10.3.