Display glitch around application windows

My laptop has intel/nvidia gpu. But I don’t have any nvidia drivers, open source or binary, installed. I’m running 100% off of intel GPU only. After the last major update I notice the below glitch time to time.

$ inxi -Fauxi                                                                                              ✔ ▓▒░
System:
  Host: DELL Kernel: 6.4.12-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1 clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4-x86_64
    root=UUID=7174802e-692b-470b-b427-772a56ab7aca rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 44.4 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 16 7610 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0599VR v: A00 serial: <superuser required> UEFI: Dell
    v: 1.17.0 date: 07/05/2023
Battery:
  ID-1: BAT0 charge: 44.2 Wh (100.0%) condition: 44.2/84.3 Wh (52.5%)
    volts: 12.0 min: 11.4 model: BYD DELL M59JH16 type: Li-poly serial: 1500
    status: full
CPU:
  Info: model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
    microcode: 0x46
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
    L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 2224 high: 2300 min/max: 800/4600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2300 2: 2300 3: 2300
    4: 2300 5: 2300 6: 2300 7: 2300 8: 2300 9: 2300 10: 2300 11: 1089 12: 2300
    13: 2300 14: 2300 15: 2300 16: 2300 bogomips: 73744
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB:
    conditional, RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
    active: HDMI-A-1 off: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Dell driver: N/A
    alternate: nouveau non-free: 535.xx+ status: current (as of 2023-08)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:25a2 class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-5:4 chip-ID: 0c45:6a10
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-1 model: Lenovo Q24h-10 serial: U5HGH682 built: 2021
    res: 2560x1440 dpi: 124 gamma: 1.2 size: 526x296mm (20.71x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: eDP-1 model: AU Optronics 0x9f91 built: 2020 res: 3072x1920
    dpi: 227 gamma: 1.2 size: 344x215mm (13.54x8.46") diag: 406mm (16")
    ratio: 16:10 modes: 3072x1920
  API: OpenGL v: 4.6 Mesa 23.1.6-2 renderer: Mesa Intel UHD Graphics (TGL
    GT1) direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Dell
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:43c8 class-ID: 0401
  Device-2: Plantronics Blackwire C3220 Headset
    driver: plantronics,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-2:7 chip-ID: 047f:c056 class-ID: 0300
    serial: 3F367FA0952DB942A34A70FE42854C19
  API: ALSA v: k6.4.12-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.78 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: dc:21:5c:3f:9a:bc
  IP v4: 192.168.29.138/24 type: dynamic noprefixroute scope: global
    broadcast: 192.168.29.255
  IP v6: 2405:201:e000:e086:6902:ee0b:beeb:3bfe/64
    type: dynamic noprefixroute scope: global
  IP v6: fe80::842a:d112:8dd4:4d07/64 type: noprefixroute scope: link
  IF-ID-1: br-5ad0cc10191e state: down mac: 02:42:2e:08:c4:9f
  IP v4: 172.20.0.1/16 scope: global broadcast: 172.20.255.255
  IF-ID-2: br-757ebdb246dc state: down mac: 02:42:3a:e3:62:7d
  IP v4: 172.27.0.1/16 scope: global broadcast: 172.27.255.255
  IF-ID-3: br-9ac55daf2599 state: down mac: 02:42:f0:d5:be:84
  IP v4: 172.22.0.1/16 scope: global broadcast: 172.22.255.255
  IF-ID-4: docker0 state: down mac: 02:42:60:5e:7f:4b
  IP v4: 172.17.0.1/16 scope: global broadcast: 172.17.255.255
  WAN IP: 49.37.209.185
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-14:6 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 152.49 GiB (16.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC711 NVMe 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: KDA8N471412308805 fw-rev: 41001131 temp: 50.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 452.34 GiB size: 444.17 GiB (98.19%)
    used: 152.49 GiB (34.3%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
    uuid: 7174802e-692b-470b-b427-772a56ab7aca
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 316 KiB (0.0%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5
    uuid: A59A-5B52
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 344 Uptime: 14h 8m wakeups: 5221 Memory: total: 64 GiB note: est.
  available: 62.55 GiB used: 4.16 GiB (6.6%) Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 15.0.7
  Packages: 1285 pm: pacman pkgs: 1275 libs: 331 tools: gnome-software,pamac
  pm: flatpak pkgs: 10 Shell: Zsh v: 5.9 running-in: gnome-terminal
  inxi: 3.3.29

This black border should actually be a shadow. It seems to have something to do with the 3D effects, but I can’t give you a general solution. In any case, a black bar appears when the OpenGL effects are disabled.

Try deleting the shader cache. Should be here:

~/.cache/mesa_shader_cache
1 Like

Thanks for the reply. But that didn’t seem to have helped. Just noticed that it happens with Firefox’s windows only.