LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2020, 04:06 AM   #1
kukibl
Member
 
Registered: Jun 2008
Distribution: Gentoo
Posts: 88

Rep: Reputation: 28
AMD Ryzen Vega 11 tearing issue (amdgpu)?


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: amdgpu
Using 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"
EndSection
For 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.

Last edited by kukibl; 08-02-2020 at 04:09 AM.
 
Old 08-02-2020, 04:28 AM   #2
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
What if you change the parameter of

Option "TearFree" "on"

to

Option "TearFree" "true"

Because I don't think that "on" is a valid parameter in this case.

Last edited by deNiro; 08-02-2020 at 04:29 AM.
 
Old 08-02-2020, 06:36 AM   #3
kukibl
Member
 
Registered: Jun 2008
Distribution: Gentoo
Posts: 88

Original Poster
Rep: Reputation: 28
Changed it to "true", but the problem remains.

UPDATE:

I have found following link: https://askubuntu.com/questions/1208...phics-%C3%97-8

The workaround is to turn off the IOMMU in BIOS (which I did) or to use boot parameter (did not try it). No tearing now, everything is as it should be.

Last edited by kukibl; 08-02-2020 at 04:28 PM. Reason: Update
 
  


Reply

Tags
amd, amdgpu, ryzen



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Overclock your AMD Ryzen Mobile on Linux with Ryzen Controller LXer Syndicated Linux News 0 08-27-2019 06:31 PM
Ryzen 3200G/Vega 8 - GUI loading with no keyboard/mouse support xanas Linux - Desktop 5 08-02-2019 06:40 PM
LXer: Ryzen R1000 SoC offers dual Zen and triple Vega cores with a 12-25W TDP LXer Syndicated Linux News 0 04-17-2019 02:27 AM
AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx - *ERROR* amdgpu requires firmware installed angelsen Linux - Hardware 1 07-11-2018 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:14 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions