Screen shots and screen capture corrupted

I’m not sure if this actually a desktop environment / window manager issue or a graphics driver / acceleration issue, but the most similar previous posts were here.

I just installed Manjaro Budgie on a new Dell XPS 9310 with Intel Iris Xe integrated graphics and a ~3.5k screen. I consistently have issues taking screen shots or sharing my screen. When I do, the screen capture shows fragments of previously closed or minimized windows or sections of pure black. While sharing my screen via Zoom I see these fragments glitch in and out along with the currently open windows.

This behavior is mostly consistent between all of the screen shot and sharing tools I’ve tried including:

  • gnome-screenshot
  • gnome-screenshot --window
  • xwd -root
  • Zoom (screen sharing)
  • Zoom (window sharing)
  • Firefox (screen sharing)
  • Firefox (window sharing)

The one exception is that screenshots taken with shutter seem to work and gnome-screenshot --area sometimes works.

Here’s my inxi -SGxxx output:

System:
  Host: grant-xps13 Kernel: 5.12.16-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 11.1.0 Desktop: Budgie 10.5.3 info: budgie-panel wm: budgie-wm 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300 
  Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus-ID: 3-6:3 chip-ID: 0c45:672a class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: budgie-wm driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa 
  resolution: 3456x2160~60Hz s-dpi: 96 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.1.4 
  direct render: Yes 

This is possibly the the same as or related to issues observed on the forums before:
Screenshot tools capture garbage with Iris Xe graphics
Manjaro Desktop Environment Malfunction Causing Screenshot and Zoom Glitches

I did try closing all of my virtual desktops as suggested in the second topic, but that did not resolve the problem. I also attempted to switch window managers as suggested in the first thread (specifically to matter), but it seems anything other than budgie-wm causes other parts of Budgie to crash.

The presence of very similar issues on KDE and Xfce makes me think this might be a graphics issue and not a Budgie issue, but I’m not sure. Any help or suggestions on other things to try would be greatly appreciated.

Full output of inxi
$ inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.12.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64 
  root=UUID=03c478d8-df69-48b5-ae3f-9237a8fff5b0 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Budgie 10.5.3 info: budgie-panel wm: budgie-wm dm: LightDM 1.30.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: Dell product: XPS 13 9310 v: N/A serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: Dell model: 0DMPXV v: A00 serial: <filter> UEFI: Dell v: 2.2.0 
  date: 04/06/2021 
Battery:
  ID-1: BAT0 charge: 12.3 Wh (24.1%) condition: 51.0/51.0 Wh (100.0%) 
  volts: 7.4 min: 7.6 model: BYD DELL FP86V0B type: Li-poly serial: <filter> 
  status: Discharging 
Memory:
  RAM: total: 31.08 GiB used: 10.01 GiB (32.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP 
  arch: Tiger Lake family: 6 model-id: 8C (140) stepping: 1 microcode: 88 
  cache: L2: 12 MiB bogomips: 47936 
  Speed: 1049 MHz min/max: 400/4800 MHz Core speeds (MHz): 1: 1049 2: 646 
  3: 1441 4: 942 5: 1085 6: 835 7: 1188 8: 1038 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art avx avx2 avx512_bitalg avx512_vbmi2 avx512_vnni 
  avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f 
  avx512ifma avx512vbmi avx512vl bmi1 bmi2 bts cat_l2 cdp_l2 clflush 
  clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl 
  dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma 
  fpu fsgsbase fsrm fxsr gfni ht hwp hwp_act_window hwp_epp hwp_notify 
  hwp_pkg_req ibpb ibrs ibrs_enhanced ida intel_pt invpcid invpcid_single 
  lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr 
  nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge 
  pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdt_a rdtscp rep_good 
  sdbg sep sha_ni smap smep smx split_lock_detect ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tme tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq 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 status: Not affected 
  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 TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300 
  Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus-ID: 3-6:3 chip-ID: 0c45:672a class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: budgie-wm driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 3456x2160 s-dpi: 96 s-size: 914x571mm (36.0x22.5") 
  s-diag: 1078mm (42.4") 
  Monitor-1: eDP1 res: 3456x2160 hz: 60 dpi: 303 size: 290x180mm (11.4x7.1") 
  diag: 341mm (13.4") 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.1.4 
  direct render: Yes 
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound 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:a0c8 class-ID: 0401 
  Sound Server-1: ALSA v: k5.12.16-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.31 running: no 
Network:
  Device-1: Qualcomm QCA6390 Wireless Network Adapter [AX500-DBS ] 
  vendor: Rivet Networks driver: ath11k_pci v: kernel port: efa0 
  bus-ID: 72:00.0 chip-ID: 17cb:1101 class-ID: 0280 
  IF: wlp114s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 953.87 GiB used: 35.99 GiB (3.8%) 
  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 rotation: SSD serial: <filter> rev: 41001131 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%) used: 35.4 GiB (3.8%) 
  fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A 
  uuid: 03c478d8-df69-48b5-ae3f-9237a8fff5b0 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 304 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: D145-A16B 
  ID-3: /run/user/1000/keybase/kbfs raw-size: N/A size: 250 GiB 
  used: 602 MiB (0.2%) fs: fuse dev: /dev/fuse label: N/A uuid: N/A 
Swap:
  Alert: No swap data was found. 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-3:2 info: Shenzhen Goodix FingerPrint type: <vendor specific> 
  driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 27c6:533c class-ID: ff00 
  Device-2: 3-6:3 info: Microdia Integrated_Webcam_HD type: Video 
  driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0c45:672a class-ID: 0e02 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 fan-2: 0 
Info:
  Processes: 296 Uptime: 3h 56m wakeups: 9953 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1450 pacman: 1440 lib: 431 
  snap: 10 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.05 
1 Like

:+1: Welcome to Manjaro! :+1:

Does this also happen on 5.10 LTS (Long Term Support) and 5.4 LTS?

:thinking:

Do you have a custom xorg-config for your intel? There is an option (uxa, I believe) that creates this errors.

1 Like

try lowering the resolution.

Still happens on 5.10.49. My WiFi doesn’t work on 5.4, so I wasn’t able to try that easily.

Also didn’t help at all. I tried both changing the resolution and scaling.

No custom xorg-config, but you might be on to something here. I tried creating a custom config and setting the AccelMode to UXA (instead of the default SNA) and the issue goes away. It also makes my desktop so slow it is nearly unusable, so that’s not a very useful workaround for me. It does suggest that the SNA graphics acceleration is involved though.

1 Like

That’s an interesting result, I will try to test it in a week when time permits. :slight_smile:

The ArchWiki has some hints about the different Acceleration Methods Intel graphics - ArchWiki .
My xorg-conf has none, so I guess I’m using the default. However, your device is much newer than mine, so I suggest waiting for new kernel/driver versions.

I think, the problem is solved in Kernel 5.14!

edit: Sorry, just caught it again…