Unbearable video glitching Intel GPU after clean install, Live USB runs OK

Hi,

I’m experiencing weird video glitches. It’s happening regardless of run applications, all screen, random areas. Please, see /watch?v=m0bB-xVKEqE

Does happen on kernel v5.9, and newer. Kernel v5.4 seems to be OK.

When I’m running LiveUSB with the same kernel v5.9, there’s no glitching at all. System video is crisp and smooth.

I’ve compared settings on LiveUSB and installed system and found no significant difference. I’ve compared specifically this:

inxi -G
Graphics:  Device-1: Intel UHD Graphics 605 driver: i915 v: kernel 
           Display: wayland server: X.org 1.20.10 driver: i915 note: n/a (using device driver) - try sudo/root 
           resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 20.3.1 
           
uname -a
Linux manjaro-gnome 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64 GNU/Linux

And here’s more information about the installed system:

inxi --full --admin --verbosity=7 --filter --no-host         INT ✘ 
System:
  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=ec18409d-d5ef-4fb0-8304-144002e250d4 ro quiet splash apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.38.2 tk: GTK 3.24.24 wm: gnome-shell dm: GDM 3.38.2.1 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop System: HARDKERNEL product: ODROID-H2 v: 1.0 
  serial: <filter> 
  Mobo: HARDKERNEL model: ODROID-H2 v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: 5.13 date: 04/27/2020 
Battery:
  Device-1: hidpp_battery_0 
  model: Logitech MX Vertical Advanced Ergonomic Mouse serial: <filter> 
  charge: 10% (should be ignored) rechargeable: yes status: Discharging 
Memory:
  RAM: total: 15.46 GiB used: 2.58 GiB (16.7%) 
  RAM Report: 
  permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Celeron J4115 bits: 64 type: MCP 
  arch: Goldmont Plus family: 6 model-id: 7A (122) stepping: 1 microcode: 34 
  L2 cache: 4 MiB bogomips: 14288 
  Speed: 768 MHz min/max: 800/2500 MHz Core speeds (MHz): 1: 768 2: 794 
  3: 750 4: 720 
  Flags: 3dnowprefetch acpi aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art bts cat_l2 cdp_l2 clflush clflushopt cmov constant_tsc 
  cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est 
  flexpriority fpu fsgsbase fxsr ht ibpb ibrs ibrs_enhanced ida intel_pt 
  lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc 
  nopl nx pae pat pbe pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse 
  pse36 pti pts rdpid rdrand rdseed rdt_a rdtscp rep_good sdbg sep sha_ni 
  smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 
  tpr_shadow tsc tsc_adjust tsc_deadline_timer tsc_known_freq umip vme vmx 
  vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 605 driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:3185 
  Display: wayland server: X.org 1.20.10 compositor: gnome-shell 
  driver: i915 note: n/a (using device driver) - try sudo/root display ID: 0 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 20.3.1 
  direct render: Yes 
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci 
  bus ID: 00:0e.0 chip ID: 8086:3198 
  Device-2: Dell AC511 Sound Bar type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-1.2.2.1:9 
  chip ID: 413c:a503 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel port: e000 
  bus ID: 02:00.0 chip ID: 10ec:8125 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL8125 2.5GbE driver: r8169 v: kernel port: d000 
  bus ID: 03:00.0 chip ID: 10ec:8125 
  IF: enp3s0 state: down mac: <filter> 
  WAN IP: <filter> 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 1.05 TiB used: 391.7 GiB (36.3%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Transcend model: TS128GMTE110S 
  size: 119.24 GiB block size: physical: 512 B logical: 512 B 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: S1111B1L temp: 39.9 C 
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM024 HN-M101MBB 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B 
  speed: 6.0 Gb/s serial: <filter> rev: 0001 
  ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Kingston 
  model: DataTraveler 3.0 size: 29.31 GiB block size: physical: 512 B 
  logical: 512 B serial: <filter> rev: PMAP 
  Message: No Optical or Floppy data was found. 
Partition:
  ID-1: / raw size: 118.95 GiB size: 116.58 GiB (98.01%) 
  used: 8.21 GiB (7.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: ec18409d-d5ef-4fb0-8304-144002e250d4 
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: N/A uuid: 1439-00F7 
  ID-3: /run/media/vincenc/Data raw size: 931.51 GiB 
  size: 915.89 GiB (98.32%) used: 383.49 GiB (41.9%) fs: ext4 dev: /dev/sda1 
  maj-min: 8:1 label: Data uuid: 3c8c85fb-0d06-43a8-8928-0bae06dd4ff1 
  ID-4: /run/media/vincenc/MANJARO_GNOME_2021 raw size: 2.75 GiB 
  size: <superuser required> used: <superuser required> fs: iso9660 
  dev: /dev/sdb1 maj-min: 8:17 label: MANJARO_GNOME_2021 
  uuid: 2021-01-03-11-22-21-00 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Unmounted:
  ID-1: /dev/sdb2 maj-min: 8:18 size: 4 MiB fs: vfat label: MISO_EFI 
  uuid: 784C-16A2 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 9 rev: 2.0 
  speed: 480 Mb/s chip ID: 1d6b:0002 
  Hub: 1-1:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  chip ID: 05e3:0608 
  Hub: 1-1.1:4 info: ASIX AX68004 ports: 7 rev: 1.0 speed: 12 Mb/s 
  chip ID: 0b95:6804 
  Device-1: 1-1.1.1:6 info: Logitech Unifying Receiver 
  type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3 
  rev: 2.0 speed: 12 Mb/s chip ID: 046d:c52b 
  Device-2: 1-1.1.2:8 info: Cooler Master Storm Quick Fire XT 
  type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1 
  speed: 12 Mb/s chip ID: 2516:001a 
  Hub: 1-1.2:5 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  chip ID: 05e3:0608 
  Hub: 1-1.2.2:7 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 
  rev: 2.1 speed: 480 Mb/s chip ID: 0451:8142 
  Device-1: 1-1.2.2.1:9 info: Dell AC511 Sound Bar type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 
  speed: 12 Mb/s chip ID: 413c:a503 
  Hub: 1-1.2.2.4:10 info: Texas Instruments TUSB8041 4-Port Hub ports: 2 
  rev: 2.1 speed: 480 Mb/s chip ID: 0451:8142 
  Device-1: 1-4:3 info: Kingston DataTraveler 100 G3/G4/SE9 G2/50 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.1 
  speed: 480 Mb/s chip ID: 0951:1666 serial: <filter> 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 7 rev: 3.0 speed: 5 Gb/s 
  chip ID: 1d6b:0003 
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 202 Uptime: 10m wakeups: 2 Init: systemd v: 247 Compilers: 
  gcc: N/A Packages: pacman: 1208 lib: 367 flatpak: 0 Shell: Zsh v: 5.8 
  running in: gnome-terminal inxi: 3.2.01

Hi @vinca and welcome to the forum!

I see you are using GNOME, which by default uses Wayland as display server.
If you are not using Wayland for anything specific or important I would advise you to switch to Xorg and see if the problem persists.
You can easily do that by logging out and clicking on the little icon in the bottom right corner of the screen (it’s shaped like a little gear) and selecting “Gnome on Xorg”, then login with your credentials. The change is persistent, so you have to manually change your display server at logging if you need to do that.
Try and see if anything changes!

If you experience screen tearing on xorg there’s a pretty easy solution here specific to Intel UHD graphics, check it out!

Hi @Platonio14,

thanks for your response! Sadly, it did not work. But you’ve reminded me I forgot to add important details.

This happens on Wayland, Xorg, as well as Classic Gnome. I’ve switched to wayland because there the issue manifests the most. On Xorg and classic gnome the glitches happen every 20-40s. So it’s bearable, but still annoying a lot.

I’ve tried a few other things from archwiki Intel drivers page you mentioned. Specifically:

  1. tearing fix
  2. disabling DRI3
  3. screen flickering fix
    (Sorry forum still does not let me post links.)

None of those helped with the issue at all. I would not describe it as the “classic” screen tearing. I pass the youtube “tearing test” without problems.

I’m experienced with linux servers, but pretty new to linux desktops, so I might be overlooking a pretty basic thing.

Any help is appreciated.

That’s unfortunate…
You wrote that the issue doesn’t seem to happen on 5.4, is there a particular reason you want to use a newer Kernel?
I would stick to 5.4, it’s not EOL after all…
I myself would like to switch to 5.10 but it just kills my iGPU (I’m on intel too btw) so I’ll stick with 5.4 for now.

I would also suggest to take a look at gnome extensions: I recently installed manjaro gnome on a tablet pc and Dash to dock was giving me a lot of problems, lagging and freezing my computer constantly. You should have an app called “Extensions”, I would check if disabling some of the ones you don’t need makes any difference.