Fractional scaling introduces screen tear

Bug #1956851 reported by Marc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorin OS
New
Undecided
Unassigned

Bug Description

Screen tearing is obvious when fractional scaling set to 125%.

System:
  Kernel: 5.11.0-44-generic x86_64 bits: 64 compiler: N/A
  Desktop: Gnome 3.38.4 Distro: Zorin OS 16 base: Ubuntu 20.04 LTS Focal
Machine:
  Type: Laptop System: LENOVO product: 20L8S23W00 v: ThinkPad T480s
  serial: <filter>
  Mobo: LENOVO model: 20L8S23W00 v: SDK0J40697 WIN serial: <filter>
  UEFI: LENOVO v: N22ET71W (1.48 ) date: 10/19/2021
Battery:
  ID-1: BAT0 charge: 50.8 Wh condition: 50.9/57.0 Wh (89%)
  model: LGC 01AV478 status: Unknown
CPU:
  Topology: Quad Core model: Intel Core i5-8350U bits: 64 type: MT MCP
  arch: Kaby Lake rev: A L2 cache: 6144 KiB
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 30399
  Speed: 2495 MHz min/max: 400/3600 MHz Core speeds (MHz): 1: 2742 2: 3071
  3: 2495 4: 2400 5: 2559 6: 3382 7: 3499 8: 2916
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
  bus ID: 00:02.0
  Display: x11 server: X.Org 1.20.13 driver: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.0.3
  direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3
  Sound Server: ALSA v: k5.11.0-44-generic
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
  port: efa0 bus ID: 00:1f.6
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: efa0
  bus ID: 3d:00.0
  IF: wlp61s0 state: up mac: <filter>
Drives:
  Local Storage: total: 492.07 GiB used: 13.68 GiB (2.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-000L7
  size: 476.94 GiB
  ID-2: /dev/sda type: USB vendor: Generic model: SD MMC size: 15.13 GiB
Partition:
  ID-1: / size: 160.31 GiB used: 11.22 GiB (7.0%) fs: ext4
  dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 274 Uptime: 3m Memory: 23.23 GiB used: 2.05 GiB (8.8%)
  Init: systemd runlevel: 5 Compilers: gcc: N/A Shell: fish v: 3.1.0
  inxi: 3.0.38

Revision history for this message
Marc (shulasharuba) wrote :

This fixed my issue on Intel UHD Graphics 620:

sudo mkdir /etc/X11/xorg.conf.d/
echo -e 'Section "Module"\n\tLoad "dri3"\nEndSection\n\nSection "Device"\n\tIdentifier "Intel Graphics"\n\tDriver "intel"\n\tOption "TearFree" "true"\n\tOption "TripleBuffer" "true"\n\tOption "AccelMethod" "sna"\n\tOption "DRI" "3"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf

Screen tear is gone and no artifacts

https://wiki.archlinux.org/title/Intel_graphics#Tearing
https://askubuntu.com/questions/225356/how-can-i-enable-the-sna-acceleration-method-for-intel-cards-under-ubuntu-12-04

Revision history for this message
Marc (shulasharuba) wrote :

Just encountered a new bug when trying to fullscreen video using Plex client for Linux. Same issue as this: https://www.reddit.com/r/Ubuntu/comments/iesevz/fractional_scaling_full_screen_video_causes_this/

Here is the bug report: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1890141

The extension fix also worked in this case: https://extensions.gnome.org/extension/1873/disable-unredirect-fullscreen-windows/

Install from here: https://github.com/kazysmaster/gnome-shell-extension-disable-unredirect

If the connector is not functioning follow this: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation
(chrome installation works for firefox too)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.