Fractional scaling issues - laggy Gnome UI, video playback, animations

Hi,
When I have fractional scaling enabled, set to 150% instead of 200% or 100%, and I start watching a video on youtube or start playing chess, everything animation/video feels laggy, I see something similar to a low refresh rate, in all browsers. Also when an app is minimized and when I click to reopen it the reopening animation laggy and when I play a local video with the Videos app it feels the same as in Chrome, if not worse. A while ago I was using my monitor at 30hz, because I did not have a mini DPI cable, and it felt about the same. Here is some system information:
Chrome version - google-chrome (AUR) 104.0.5112.101-1
Firefox version - firefox (official) 103.0.2-1
Fractional scaling - mutter-x11-scaling (Official) 42.4-2

inxi -Fazy

 System:
  Kernel: 5.15.60-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=3e675b3b-c653-4534-b6b7-3d2587944a24 rw quiet
    cryptdevice=UUID=292b567e-ab91-4adc-81f4-7fb21a2e1af9:luks-292b567e-ab91-4adc-81f4-7fb21a2e1af9
    root=/dev/mapper/luks-292b567e-ab91-4adc-81f4-7fb21a2e1af9 splash
    apparmor=1 security=apparmor udev.log_priority=3
  Desktop: GNOME v: 42.4 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: GE72 6QD v: REV:1.0
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-1795 v: REV:0.A serial: <superuser required>
    UEFI: American Megatrends v: E1795IMS.11D date: 01/19/2018
Battery:
  ID-1: BAT1 charge: 38.4 Wh (100.0%) condition: 38.4/53.4 Wh (71.8%)
    volts: 12.3 min: 10.9 model: MSI BIF0_9 type: Li-ion serial: N/A
    status: full
  Device-1: hidpp_battery_0 model: Logitech G603 Wireless Gaming Mouse
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: Intel Core i7-6700HQ bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 900 min/max: 800/3500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 7: 900
    8: 900 bogomips: 41621
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  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: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: DP-1
    off: HDMI-A-2,eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:191b
    class-ID: 0300
  Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Micro-Star MSI
    driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-08) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:139b
    class-ID: 0302
  Device-3: Acer MSI Integrated Webcam type: USB driver: uvcvideo
    bus-ID: 1-11:6 chip-ID: 5986:014c class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5120x2880 s-size: <missing: xdpyinfo>
  Monitor-1: DP-1 pos: primary model: LG (GoldStar) HDR 4K serial: <filter>
    built: 2020 res: 5120x2880 hz: 60 dpi: 217 gamma: 1.2
    size: 600x340mm (23.62x13.39") diag: 690mm (27.2") ratio: 16:9 modes:
    max: 3840x2160 min: 640x480
  Monitor-2: HDMI-A-2 mapped: HDMI-2 note: disabled
    model: Panasonic Panasonic-TV serial: <filter> built: 2012 res: 5120x2880
    gamma: 1.2 size: 698x392mm (27.48x15.43") modes: max: 1920x1080
    min: 640x480
  Monitor-3: eDP-1 note: disabled model: ChiMei InnoLux 0x1735 built: 2014
    res: 5120x2880 dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46")
    diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 22.1.6
    direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:a170 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.60-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:3165 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet
    vendor: Micro-Star MSI driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 1969:e0a1 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
  IF-ID-2: nordlynx state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-10:5 chip-ID: 8087:0a2a class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 24.87 GiB (1.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD Blue
    SN570 1TB size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 234100WD
    temp: 48.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: A3J0 scheme: GPT
Partition:
  ID-1: / raw-size: 402.27 GiB size: 394.88 GiB (98.16%) used: 24.85 GiB
    (6.3%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-292b567e-ab91-4adc-81f4-7fb21a2e1af9
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.4 MiB
    (26.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 50.0 C pch: 71.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 326 Uptime: 50m wakeups: 4 Memory: 15.51 GiB used: 6.24 GiB
  (40.2%) Init: systemd v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.1.1 clang: 14.0.6 Packages: 1253 pm: pacman pkgs: 1248 libs: 296
  tools: gnome-software,pamac pm: flatpak pkgs: 5 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.21

Intel GPU benchmark with glmark2

glmark2                                                   ✔  BG  
=======================================================
    glmark2 2021.12
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel
    GL_RENDERER:   Mesa Intel(R) HD Graphics 530 (SKL GT2)
    GL_VERSION:    4.6 (Compatibility Profile) Mesa 22.1.6
=======================================================
[build] use-vbo=false: FPS: 1276 FrameTime: 0.784 ms
[build] use-vbo=true: FPS: 1500 FrameTime: 0.667 ms
[texture] texture-filter=nearest: FPS: 1023 FrameTime: 0.978 ms
[texture] texture-filter=linear: FPS: 559 FrameTime: 1.789 ms
[texture] texture-filter=mipmap: FPS: 1792 FrameTime: 0.558 ms
[shading] shading=gouraud: FPS: 2012 FrameTime: 0.497 ms
[shading] shading=blinn-phong-inf: FPS: 2294 FrameTime: 0.436 ms
[shading] shading=phong: FPS: 1645 FrameTime: 0.608 ms
[shading] shading=cel: FPS: 2308 FrameTime: 0.433 ms
[bump] bump-render=high-poly: FPS: 1069 FrameTime: 0.935 ms
[bump] bump-render=normals: FPS: 1761 FrameTime: 0.568 ms
[bump] bump-render=height: FPS: 2486 FrameTime: 0.402 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 872 FrameTime: 1.147 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 474 FrameTime: 2.110 ms
[pulsar] light=false:quads=5:texture=false: FPS: 857 FrameTime: 1.167 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 64 FrameTime: 15.625 ms
[desktop] effect=shadow:windows=4: FPS: 744 FrameTime: 1.344 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 451 FrameTime: 2.217 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 317 FrameTime: 3.155 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 269 FrameTime: 3.717 ms
[ideas] speed=duration: FPS: 1458 FrameTime: 0.686 ms
[jellyfish] <default>: FPS: 257 FrameTime: 3.891 ms
[terrain] <default>: FPS: 93 FrameTime: 10.753 ms
[shadow] <default>: FPS: 1972 FrameTime: 0.507 ms
[refract] <default>: FPS: 459 FrameTime: 2.179 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 2264 FrameTime: 0.442 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1402 FrameTime: 0.713 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1092 FrameTime: 0.916 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2570 FrameTime: 0.389 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 2461 FrameTime: 0.406 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2143 FrameTime: 0.467 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2778 FrameTime: 0.360 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1219 FrameTime: 0.820 ms
=======================================================
                                  glmark2 Score: 1331 
=======================================================

glmark2 with the NVIDIA GPU, the benchmark is not accurate as I averaged 90 FPS in CS GO and my integrated Intel GPU can’t even go close to that:

prime-run glmark2                                         ✔  BG  
=======================================================
    glmark2 2021.12
=======================================================
    OpenGL Information
    GL_VENDOR:     NVIDIA Corporation
    GL_RENDERER:   NVIDIA GeForce GTX 960M/PCIe/SSE2
    GL_VERSION:    4.6.0 NVIDIA 515.65.01
=======================================================
[build] use-vbo=false: FPS: 1050 FrameTime: 0.952 ms
[build] use-vbo=true: FPS: 508 FrameTime: 1.969 ms
[texture] texture-filter=nearest: FPS: 1126 FrameTime: 0.888 ms
[texture] texture-filter=linear: FPS: 2574 FrameTime: 0.389 ms
[texture] texture-filter=mipmap: FPS: 1570 FrameTime: 0.637 ms
[shading] shading=gouraud: FPS: 568 FrameTime: 1.761 ms
[shading] shading=blinn-phong-inf: FPS: 1660 FrameTime: 0.602 ms
[shading] shading=phong: FPS: 1548 FrameTime: 0.646 ms
[shading] shading=cel: FPS: 1014 FrameTime: 0.986 ms
[bump] bump-render=high-poly: FPS: 613 FrameTime: 1.631 ms
[bump] bump-render=normals: FPS: 558 FrameTime: 1.792 ms
[bump] bump-render=height: FPS: 2265 FrameTime: 0.442 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1297 FrameTime: 0.771 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 692 FrameTime: 1.445 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1413 FrameTime: 0.708 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1065 FrameTime: 0.939 ms
[desktop] effect=shadow:windows=4: FPS: 1455 FrameTime: 0.687 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 681 FrameTime: 1.468 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 678 FrameTime: 1.475 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 640 FrameTime: 1.562 ms
[ideas] speed=duration: FPS: 1758 FrameTime: 0.569 ms
[jellyfish] <default>: FPS: 1544 FrameTime: 0.648 ms
[terrain] <default>: FPS: 375 FrameTime: 2.667 ms
[shadow] <default>: FPS: 1896 FrameTime: 0.527 ms
[refract] <default>: FPS: 642 FrameTime: 1.558 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 2402 FrameTime: 0.416 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 2958 FrameTime: 0.338 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 2827 FrameTime: 0.354 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2961 FrameTime: 0.338 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 2774 FrameTime: 0.360 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2356 FrameTime: 0.424 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2852 FrameTime: 0.351 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2743 FrameTime: 0.365 ms
=======================================================
                                  glmark2 Score: 1547 
=======================================================

And started doing it again with the Intel GPU.

I also tried running Chrome with the different GPUs with these commands:
DRI_PRIME=0 google-chrome-stable
DRI_PRIME=1 google-chrome-stable

But I did not see any difference. devicetests has confirmed my refresh rate to be 59 Hz, so that is not the issue. I couldn’t confirm it with testufo, due to this error on their website “VSYNC is not available on the Linux platform.”, but It confirmed my FPS to be 60, also confirmed with devicetests, so that shouldn’t be the issue.

I’ve noticed that the issue occurs when the CSS transform: translate() operation is done on webpages and extensions, but that does not explain why the youtube video feed feels laggy.

I’ve installed Manjaro a few weeks ago and this is the 3rd time I am using it, and I haven’t installed anything that is related to Chrome in any way, all packages are up to date.

I am using the recommended NVIDIA driver proprietary as per Arch’s Wiki, and the latest one according to:
mhwd -l -d --pci

PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0302:10de:139b)
  Display controller nVidia Corporation GM107M [GeForce GTX 960M]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.12.18
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	7
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-hybrid-intel-nvidia-390xx-bumblebee
   ATTACHED:	PCI
   VERSION:	2021.11.26
   INFO:	Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-nvidia
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	5
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-nvidia-470xx
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	4
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-nvidia-390xx
   ATTACHED:	PCI
   VERSION:	2021.11.26
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	3
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:191b)
  Display controller Intel Corporation HD Graphics 530
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.12.18
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:	PCI
   VERSION:	2021.11.04
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	7
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-hybrid-intel-nvidia-390xx-bumblebee
   ATTACHED:	PCI
   VERSION:	2021.11.26
   INFO:	Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

Any ideas on where the issue could be coming from?

Hi @dartbeam, and welcome!

While I don’t use Chrome, so have no idea if this is correct, it sounds like a hardware decoding problem to me. Check if it’s enabled or not and enable it if not:

  • In Chrome, go to Chrome Menu > Settings > Advanced. Under System, enable Use hardware acceleration when available.
  • To force acceleration, enter chrome://flags in the search bar. Under Override software rendering list, set to Enabled, then select Relaunch.
  • You can check whether hardware acceleration is turned on in Chrome by typing chrome://gpu into the address bar at the top of the browser.

Reference: How to Turn Hardware Acceleration On and Off in Chrome

Hi @Mirdarthos,
Thanks for your prompt reply, however It turns out the issue is system wide, for some reason it was not so noticable in Firefox when the window was smaller, when I maxed it out the issues appeared there too and when I clicked on an app after minimization just to test the UI animations I noticed its everywhere, I’ve now editted the post.

1 Like

Just some hints:

  1. DRI_PRIME=1 is only for amdgpu, radeon, i915 and nouveau. That excludes nvidia, since it has its own method.
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia glmark2

or short:

prime-run glmark2
  1. Maybe it is laggy because it runs with powersave.

Also maybe switch the cpu driver: intel_pstate → acpi-cpufreq.

  1. There are information like:

For xorg config:

man intel

For the driver itself:

modinfo i915 | egrep "^parm:"

If you don’t understand it, just search the web.

I added the benchmark for my NVIDIA GPU into my first post and the score is about the same as the Intel one, so there is possibly some kind of issue with the NVIDIA driver. I tried running Chrome with the NVIDIA GPU and its a bit better but its still lagging, changing from balanced to performance mode did not change anything.

I found out that when I turn off the display scaling or set it to 200% the issue dissapears, however still I’d like to scale my screen a bit. Currently I am scaling with mutter-x11-scaling, any ideas on how to fix this issue?