Screen tearing

So my laptop has noticeable tearing when browsing, watching a video or doing anything relatively fast or with movement.

My display stats are these

[Created at monitor.125]
Unique ID: rdCR.aVBCCfRz9V8
Parent ID: Ddhb.+j1EjZDys7D
Hardware Class: monitor
Model: “N156HGA-EA3 LCD Monitor”
Vendor: CMN “N156HGA-EA3”
Device: eisa 0x15f5
Resolution: 1920x1080@60Hz
Size: 344x193 mm
Year of Manufacture: 2017
Week of Manufacture: 15
Detailed Timings #0:
Resolution: 1920x1080
Horizontal: 1920 2000 2060 2250 (+80 +140 +330) -hsync
Vertical: 1080 1086 1094 1132 (+6 +14 +52) -vsync
Frequencies: 152.84 MHz, 67.93 kHz, 60.01 Hz
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #39 (VGA compatible controller)

Yet on kde its configured as 1080p 60hz, so i dont really know why i get this

What video card or cards???

Integrated amd vega 8, from a ryzen 5 3500u processor

Also, I tried now using an external monitor and im having the same issue, so doesnt look like its something about the monitor

Hi
Can you look at adding the following grub kernel command line options via YaST bootloader;


amdgpu.dc=0 amdgpu.ngg=1

Tried it, still tearing, is it normal to get no reply from the command?

Hi
Yes, you can check via;


grep  GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub

Remove the ngg one and try just with amdgpu.dc

Doesnt fix it either :frowning:

Hi
Then I would remove that on as well…

From the output from the following can you confirm display in use;


xrandr -q

Then try;


xrandr --ouput <display_from above> --set TearFree on

It says unexisting directory

xrandr -q
No protocol specified
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 16384 x 16384
HDMI-A-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 434mm x 236mm
1600x900 59.98*+
1280x1024 75.02 60.02
1440x900 59.98
1280x800 59.98
1152x864 75.00
1280x720 59.98
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
eDP connected (normal left inverted right x axis y axis)
1920x1080 60.01 +
1680x1050 60.01
1280x1024 60.01
1440x900 60.01
1280x800 60.01
1280x720 60.01
1024x768 60.01
800x600 60.01
640x480 60.01
nacho@nacho-Aspire-A515-43:~> xrandr --ouput <display_from above> --set TearFree on
bash: display_from: No existe el fichero o el directorio
nacho@nacho-Aspire-A515-43:~> xrandr --ouput <eDP connected> --set TearFree on
bash: eDP: No existe el fichero o el directorio

The 1600x900 screen is an external monitor, but im getting tearing as well

Hi
It would be;


xrandr --ouput HDMI-A-0 --set TearFree on
xrandr --ouput eDP --set TearFree on

Which Web Browser are you using?

  • If Firefox then, activate “gfx.webrender.all”.

https://forums.opensuse.org/showthread.php/540556-Борьба-с-разрывами-кадров-(тирингом)-на-AMD-графике

https://wiki.archlinux.org/index.php/AMDGPU

Create file


/etc/X11/xorg.conf.d/20-amdgpu.conf

that contains


Section "Device"
     Identifier "AMD" 
     Driver "amdgpu"
     Option "TearFree" "true"
EndSection

I got this on both

Invalid MIT-MAGIC-COOKIE-1 keynacho@localhost:~>

After introducing the first command it still says unexisting directory

Hi
Use touch or/and vi to create the file and add the contents…

Well I must say one of the solutions you guys offered has worked, dont know which. Although at first glace I thought neither had succesfully worked (due to what terminal said), the tearing is gone. Thx to all of you