Bug 207005

Summary: amd polaris (rx 470) strange instant artifacts/graphical corruptions
Product: Drivers Reporter: toki1990 (destekerdemonder)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.5.13 and 5.6rc7 Subsystem:
Regression: No Bisected commit-id:
Attachments: journalctl dump drm.debug=6 grub set
Video screenshot for instant artifact graphical corruption.
Video screenshot for game starting artifact graphical corruption

Description toki1990 2020-03-27 23:44:32 UTC
Created attachment 288099 [details]
journalctl dump drm.debug=6 grub set

my gpu: msi radeon rx 470 gaming x 4g
my cpu: amd r7 3700x
my motherboard: asus prime x370-pro

Tested kernels: user-pc 5.5.13-1-MANJARO, 5.6rc7, linux-next git, amd-staging-drm-next, drm-next from "https://cgit.freedesktop.org/~agd5f/linux/" link. 

Tried grub settings(not solution): "amdgpu.aspm=0 amdgpu.bapm=0 amdgpu.compute_multipipe=0 amdgpu.cwsr_enable=0 amdgpu.dpm=0 amdgpu.discovery=0 amdgpu.exp_hw_support=1 amdgpu.gpu_recovery=0 amdgpu.lbpw=0 amdgpu.msi=0 amdgpu.pcie_gen2=0 amdgpu.noretry=0 amdgpu.ras_enable=0 amdgpu.runpm=0 amdgpu.sched_policy=2 amdgpu.sdma_phase_quantum=0 ccp.max_devs=0 acpi_osi=Linux video=efifb:nobgrt"

Also tried add "export AMD_DEBUG=nodcc" to '/etc/environment' Not solution.

Also tried iommu grub settings. Not solution. 

I'm using picom compositor on startup of xfce. Problem (A) occurs when using picom.( picom stable version v7.5 from manjaro ) I will add a video's screenshot for this. I'm using manjaro xfce testing branch. 

Problem (B) occurs every time.

My other links for this problem:

https://forum.manjaro.org/t/amdgpu-polaris-opengl-vulkan-starting-artifact/130501

Video:

https://streamable.com/85qxm

(A) Instant graphic corruption occurs during login ( i will add a video's screenshot for this ) This problem occurs picom autostarted xfce or kde login. 

My startup setttings for picom:

"picom --experimental-backends --backend glx --use-damage --glx-no-rebind-pixmap --glx-no-stencil --unredir-if-possible --vsync -b"

I found temporary fix for this problem. I changed picom autostart with this: "sh -c "sleep 3 && picom --experimental-backends --backend glx --use-damage --glx-no-rebind-pixmap --glx-no-stencil --unredir-if-possible --vsync -b""

(B) Instant screen corruption or artifact for game starting. I see this on two games. Dote underlors and albion online. I will add a video's screenshot for this.

I'm added attachment. Dump of journalctl drm.debug=6 grub set.
Comment 1 toki1990 2020-03-27 23:46:47 UTC
Created attachment 288101 [details]
Video screenshot for instant artifact graphical corruption.
Comment 2 toki1990 2020-03-27 23:48:06 UTC
Created attachment 288103 [details]
Video screenshot for game starting artifact graphical corruption
Comment 3 Alex Deucher 2020-03-30 13:40:22 UTC
Is this a regression?  If so, can you bisect?
Comment 4 toki1990 2020-03-30 14:47:39 UTC
(In reply to Alex Deucher from comment #3)
> Is this a regression?  If so, can you bisect?

my English is not enough. I cant understand.
Comment 5 Alex Deucher 2020-03-30 15:39:09 UTC
Did this work correctly on an older kernel?  Did something break after an update?  If so, when did it last work correctly?
Comment 6 toki1990 2020-03-30 16:16:59 UTC
(In reply to Alex Deucher from comment #5)
> Did this work correctly on an older kernel?  Did something break after an
> update?  If so, when did it last work correctly?

Never worked correctly on an older kernel. I'm tried oldest kernel 4.19 serie.