You are not logged in.

#1 2019-09-01 22:13:51

h3b
Member
Registered: 2019-09-01
Posts: 6

[SOLVED] Screen artifacts AMD Ryzen 5 3500u using AMDGPU drivers

Hello Arch community!

I recently installed Arch into a Lenovo S340 with AMD Ryzen 5 3500u with Radeon Vega 5.

I am experiencing screen artifacts in the parts of the screen that are  being updated.
example1
example2

I am using the AMDGPU open source driver.

Here is some gpu info:

glxinfo | grep OpenGL                   
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.32.0, 5.2.11-arch1-1-ARCH, LLVM 8.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.1.5
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
sudo lspci -vnn | grep VGA -A 22        
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Picasso [17aa:3802]
	Flags: bus master, fast devsel, latency 0, IRQ 67
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Memory at c0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at 1000 [size=256]
	Memory at c0700000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [64] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/4 Maskable- 64bit+
	Capabilities: [c0] MSI-X: Enable- Count=3 Masked-
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [200] Resizable BAR <?>
	Capabilities: [270] Secondary PCI Express <?>
	Capabilities: [2a0] Access Control Services
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Capabilities: [320] Latency Tolerance Reporting
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Things I've tried:

  • Installed AMDGPU Pro, this one solves the artifacts issue but makes unusable hardware video acceleration. So I uninstalled it.

  • Installed radeon-profile-git tried to change the profiles without much difference.

Any comment on how this could be solved is greatly appreciated!

Thanks!

h3b

Solution
It seems the problem was related to xfce compositor.

One workaround is to disable display compositing in settings>Window Manager Tweaks>Compositor

The other solution is to change vblank mode to xpresent and reboot:

 xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "xpresent" --create

As described here:

https://forum.xfce.org/viewtopic.php?pid=53797
https://forum.manjaro.org/t/graphical-g … 4/99049/15

Last edited by h3b (2019-09-08 00:12:19)

Offline

#2 2019-09-21 10:28:06

ragdoghead
Member
Registered: 2019-09-21
Posts: 2

Re: [SOLVED] Screen artifacts AMD Ryzen 5 3500u using AMDGPU drivers

Hey I have the EXACT same problem it started in August.

Lenovo AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx @ 8x 2.1GHz
GPU: AMD RAVEN

Disabling xfce window compositor fixed it too.

Thank you dude.

Offline

#3 2019-12-05 19:24:59

LeonardoSidney
Member
From: Brazil, SC
Registered: 2019-05-16
Posts: 6

Re: [SOLVED] Screen artifacts AMD Ryzen 5 3500u using AMDGPU drivers

i have the same problem, but in ryzen 3400g, probably on all ryzen 3000 using integrated graphics, also happens when I use ubuntu.
In my case, I resolved as follows:
In file:

sudo nano /etc/default/grub

I added the following arguments:

GRUB_CMDLINE_LINUX="amd_iommu=on iommu=pt"

followed by the command:

sudo grub-mkconfig -o /boot/grub/grub.cfg

and then restarted
I found this solution here:
https://bugs.launchpad.net/ubuntu/+sour … ug/1848741

Here's an example, it's simple, but it can extend to the whole screen.
https://i.imgur.com/OJM7xsJ.png?1

Offline

Board footer

Powered by FluxBB