4

I started using Ubuntu 20.04 two days ago, and this has been a nonstop issue. There would be constant screen tearing.

Now, I did come to this forum and tried the many solutions. Such as these two:

Screen tearing in Ubuntu with Nvidia/Intel graphics

Screen Tearing on Ubuntu Xorg 20.04 with Intel Graphics

However, none of them work. If anyone can help me out with this issue, I'd really appreciate it. Thank you.

Also, I'm still very new to Ubuntu, so please bear with me.

UPDATE: I did try the dri3 method. While it seems to work, the screen and mouse cursor needs to be absolutely still. I've given up at this point for now, but if anyone is still willing to help, I'd really appreciate it.

These are my specs:

  • CPU: Quad Core Intel Core i5-8265U (-MT MCP-) speed/min/max: 600/400/3900 MHz
  • Kernel: 5.4.0-33-generic x86_64 Up: 9m Mem: 1877.9/15899.4 MiB(11.8%)
  • Storage: 931.51 GiB (7.5% used) Procs: 278 Shell: bash 5.0.16 inxi: 3.0.38

       display                 
       description: VGA compatible controller
       product: UHD Graphics 620 (Whiskey Lake)
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:128 memory:a0000000-a0ffffff memory:80000000-9fffffff ioport:5000(size=64) memory:c0000-dffff
    
  • I guess you aren't using a discrete graphic card.Did you try adding nomodeset to the line in grub file GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" – Adupa Vasista Jun 01 '20 at 16:04
  • How do I do that? I haven't tried that. I'm just getting into Ubuntu, so please bear with me. – TheCrzM14 Jun 01 '20 at 16:41
  • edit the grub file by sudo vim /etc/default/grub In there you can see the line starting with GRUB_CMDLINE just add nomodeset at the last. Hope It helps – Adupa Vasista Jun 01 '20 at 16:49
  • 1
    Tried it. All it gave me was [sudo: vim: command not found] – TheCrzM14 Jun 01 '20 at 16:54
  • vim is not installed in your system try instead with sudo gedit .. after that do sudo update-grub and reboot the system – Adupa Vasista Jun 01 '20 at 16:56
  • I did that, and it currently shows me the text editor when I typed sudo gedit.. I apologize if I'm being a bit redundant, still learning. – TheCrzM14 Jun 01 '20 at 17:15
  • My bad, I should elaborate more. Here's what you need to do

    sudo gedit /etc/default/grub after that make the changes, and save by ctrl+s and close it. after that do sudo update-grub

    – Adupa Vasista Jun 01 '20 at 17:30
  • I'm there now. Thanks. I see 11GRUB_CMDLINE_LINIX" ". I see a blank spot at twelve as well. Do I type it next to the line of text or do I type it in the blank 12 spot? – TheCrzM14 Jun 01 '20 at 17:38
  • just add to the same line. It will be like quiet splash, change it to quiet splash nomodeset – Adupa Vasista Jun 01 '20 at 17:41
  • Alright. Did that. But when I did, I got this warning in the terminal.

    (gedit:4326): Tepl-WARNING **: 13:43:15.050: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.

    – TheCrzM14 Jun 01 '20 at 17:43
  • Nevermind that. After saving do the update sudo update-grub then sudo reboot – Adupa Vasista Jun 01 '20 at 17:45
  • Okay. I did the sudo update-grub command, and it read back Sourcing file `/etc/default/grub' /usr/sbin/grub-mkconfig: 10: /etc/default/grub: nomodeset: not found – TheCrzM14 Jun 01 '20 at 17:49
  • Can you copy and paste the line you edited, as a comment – Adupa Vasista Jun 01 '20 at 17:52
  • Here it is: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" nomodeset – TheCrzM14 Jun 01 '20 at 17:54
  • nomodeset should be in the quotes. "quiet splash nomodeset" – Adupa Vasista Jun 01 '20 at 17:55
  • Okay. Now it works. Gonna reboot and see if this worked. – TheCrzM14 Jun 01 '20 at 17:57
  • If It doesn't work check this https://learnubuntumate.weebly.com/screen-tearing-on-intel-graphics.html – Adupa Vasista Jun 01 '20 at 18:01
  • Unfortunately it didn't work, and I can no longer control the brightness, and it won't display on my TV either. I'll undo the settings to see if that'll fix it. Thank you so much for helping me out though. Really appreciate it. – TheCrzM14 Jun 01 '20 at 18:07
  • Glad to help. Feel free to upvote – Adupa Vasista Jun 01 '20 at 18:09
  • In the links you tried you may need to add other few extra option like Option "AccelMethod" "uxa" or Option "TripleBuffer" "true" in the 20-intel.conf file. As per: https://www.pcsuggest.com/fix-linux-screen-tearing/ – WinEunuuchs2Unix Jun 02 '20 at 00:49

1 Answers1

2

I have the same problem with Intel UHD 620 on Thinkpad T490. I don't know why but changing from Xorg to Wayland resolve the problem. However videos played with VLC/Chrome browser don't have this issue.

To fix the problem with Firefox you need to type in the URL about:config. After "Accepting the risk", type in the search bar layers.acceleration.force-enabled and set it on true.

I personally don't like this solution because it seems to be a system problem with Xorg. I checked on Xubuntu 20.04 and Kubuntu 20.04 and both don't have tearing at all.

Hoping to find a real solution soon.

Benno04
  • 53