AMD Ryzen Vega 11 tearing issue (amdgpu)?
by kukibl from LinuxQuestions.org on (#56ECP)
Hello Slackers!
I've been off Linux for quite long/some time. Now with recently custom-built PC with AMD Ryzen, I have decided to try to get back and use it as my main system at home.
I have installed Slackware current using latest AlienBob's iso image. Everything works fine (UEFI thing and eLilo were actually an adventure), except there is issue with screen tearing in Firefox and SeaMonkey, mainly when I open dynamic pages like YouTube. Bunch of horizontal lines would appear in the window and something rendering it completely unusable. You can see the screenshot here: https://i.imgur.com/q9J4ayW.png
I have researched a little bit and found out wiki pages for AMD GPU at Gentoo and Arch, but the tips I have found there are not working for me.
Some details: it is custom built PC with AMD Ryzen 5 3400 GPU (with Vega 11 integrated graphics). Slackware64-current with all the latest updates. lspci shows this:
Code:07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c8) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Picasso
Flags: bus master, fast devsel, latency 0, IRQ 87, IOMMU group 1
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at fcb00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
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] Physical Resizable BAR
Capabilities: [270] Secondary PCI Express
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: amdgpuUsing the tips found online, I have also made configuration file for Xorg, but without any results (there are no other configurations for Xorg except this one, because it started without any issue):
Code:bash-5.0# pwd
/etc/X11/xorg.conf.d
bash-5.0# cat 20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "on"
Option "DRI" "3"
Option "AccelMethod" "glamor"
EndSectionFor comparison: I booted Xubunutu 20.04 and the issue is present there, but much much less (rarely noticeable). When I disable smooth scrolling in Firefox, on Xubuntu this tearing is neglect-able, but on Slackware does not make any difference.
Any tip/help would be appreciated. Thank you.


I've been off Linux for quite long/some time. Now with recently custom-built PC with AMD Ryzen, I have decided to try to get back and use it as my main system at home.
I have installed Slackware current using latest AlienBob's iso image. Everything works fine (UEFI thing and eLilo were actually an adventure), except there is issue with screen tearing in Firefox and SeaMonkey, mainly when I open dynamic pages like YouTube. Bunch of horizontal lines would appear in the window and something rendering it completely unusable. You can see the screenshot here: https://i.imgur.com/q9J4ayW.png
I have researched a little bit and found out wiki pages for AMD GPU at Gentoo and Arch, but the tips I have found there are not working for me.
Some details: it is custom built PC with AMD Ryzen 5 3400 GPU (with Vega 11 integrated graphics). Slackware64-current with all the latest updates. lspci shows this:
Code:07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c8) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Picasso
Flags: bus master, fast devsel, latency 0, IRQ 87, IOMMU group 1
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at fcb00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
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] Physical Resizable BAR
Capabilities: [270] Secondary PCI Express
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: amdgpuUsing the tips found online, I have also made configuration file for Xorg, but without any results (there are no other configurations for Xorg except this one, because it started without any issue):
Code:bash-5.0# pwd
/etc/X11/xorg.conf.d
bash-5.0# cat 20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "TearFree" "on"
Option "DRI" "3"
Option "AccelMethod" "glamor"
EndSectionFor comparison: I booted Xubunutu 20.04 and the issue is present there, but much much less (rarely noticeable). When I disable smooth scrolling in Firefox, on Xubuntu this tearing is neglect-able, but on Slackware does not make any difference.
Any tip/help would be appreciated. Thank you.