EGL issue causing crashes

For the last few weeks, there’s been a problem I have no idea how to properly diagnose, but from what fiddling I’ve done, might be something to do with EGL and/or Mesa. This has been resulting in things such as:

  • FireDragon crashes if it ever tries to play video (Chromium-based browsers such as Vivaldi seem to be fine)
  • Kmail fails to render mail at all, showing only a white rectangle instead (both in preview and popped out into their own window)
  • OBS game capture causes programs to fail to start and hang indefinitely with the error libEGL warning: egl: failed to create dri2 screen (but only for some programs?)
  • inxi hangs indefinitely as soon as it reaches Graphics
  • eglinfo hangs indefinitely when it starts trying to pull information on Mesa OpenGL

Things that hang indefinitely will generally run fine as root, provided they run as root at all (for instance, BizHawk will refuse to run as root). Thus, the following output of garuda-inxi is run under sudo, as that’s the only way it’ll get through.

System:
  Kernel: 6.15.4-2-cachyos arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-cachyos
    root=UUID=a59ad0e7-ca03-4de3-909b-1543140f34a7 rw rootflags=subvol=@
    rd.luks.uuid=0aad11c6-cf6f-4db6-8384-c4f53d213620 loglevel=3
    systemd.unified_cgroup_hierarchy=1 intel_iommu=on nvidia-drm.modeset=1
    nvidia-drm.fbdev=1 splash ibt=off
  Desktop: KDE Plasma v: 6.4.2 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: ROG STRIX B660-A GAMING WIFI D4 v: Rev 1.xx
    serial: <filter> part-nu: SKU uuid: a0a32d12-72cd-c9ab-042d-50ebf69be63e
    UEFI: American Megatrends v: 3212 date: 05/24/2024
CPU:
  Info: model: 12th Gen Intel Core i9-12900K socket: LGA1700 bits: 64
    type: MST AMCP arch: Alder Lake gen: core 12 level: v3 note: check
    built: 2021+ process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151)
    stepping: 2 microcode: 0x3A
  Topology: cpus: 1x dies: 1 clusters: 10 cores: 16 threads: 24 mt: 8 tpc: 2
    st: 8 smt: enabled cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32
    KiB, 8x64 KiB L2: 14 MiB desc: 8x1.2 MiB, 2x2 MiB L3: 30 MiB
    desc: 1x30 MiB
  Speed (MHz): avg: 800 min/max: 800/5100:5200:3900 base/boost: 4851/5200
    scaling: driver: intel_pstate governor: powersave volts: 1.3 V
    ext-clock: 100 MHz cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800 15: 800 16: 800
    17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800 24: 800
    bogomips: 152985
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] vendor: ASUSTeK
    driver: nvidia v: 575.64.03 alternate: nouveau,nvidia_drm
    non-free: 550-570.xx+ status: current (as of 2025-04; EOL~2026-12-xx)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    off: DP-1,DP-3,HDMI-A-1 empty: DP-2,HDMI-A-2 bus-ID: 01:00.0
    chip-ID: 10de:2504 class-ID: 0300
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9.3.3:18
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Device-3: AVerMedia Live Gamer MINI driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9.4.2:16
    chip-ID: 07ca:3311 class-ID: 0102 serial: <filter>
  Display: unspecified server: X.Org v: 24.1.8 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1524x286mm (60.00x11.26")
    s-diag: 1551mm (61.05")
  Monitor-1: DP-1 note: disabled pos: primary,center model: Gigabyte G24F 2
    serial: <filter> built: 2023 res: mode: 1920x1080 hz: 120 scale: 100% (1)
    dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 595mm (23.4")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Monitor-2: DP-3 note: disabled pos: left model: HP E223 serial: <filter>
    built: 2017 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 102 gamma: 1.2
    size: 476x268mm (18.74x10.55") diag: 546mm (21.5") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  Monitor-3: HDMI-A-1 note: disabled pos: right model: HDMI LCD TV
    serial: <filter> built: 2007 res: mode: 1920x1080 hz: 60 scale: 100% (1)
    dpi: 101 gamma: 1.2 size: 484x272mm (19.06x10.71") diag: 1014mm (39.9")
    ratio: 15:9 modes: max: 1360x768 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 575.64.03
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
    memory: 11.72 GiB
  API: Vulkan v: 1.4.313 layers: 13 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3060 driver: nvidia v: 575.64.03
    device-ID: 10de:2504 surfaces: N/A device: 1 type: cpu name: llvmpipe
    (LLVM 20.1.7 256 bits) driver: mesa llvmpipe v: 25.1.5-arch1.1 (LLVM
    20.1.7) device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl, nvidia-settings,
    nvidia-smi wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
  Device-3: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:6
    chip-ID: 0b05:1a16 class-ID: 0300
  Device-4: C-Media Blue Snowball driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9.3.2:17
    chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
  Device-5: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9.3.3:18
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Device-6: AVerMedia Live Gamer MINI driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9.4.2:16
    chip-ID: 07ca:3311 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.15.4-2-cachyos status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.4.6 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 05:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: proton0 state: unknown speed: N/A duplex: N/A mac: N/A
  IF-ID-2: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-3: virbr0 state: down mac: <filter>
  Info: services: NetworkManager, smbd, sshd, systemd-timesyncd,
    wpa_supplicant
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: 1-14:11 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: N/A
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 6.41 TiB used: 3.08 TiB (48.0%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SKC3000D2048G
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EIFK31.6 temp: 39.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 2y 252d 7h cycles: 76
    read-units: 7,041,495,570 [3.60 PB] written-units: 1,413,682,187 [723 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD40EZAZ-19SF3B0 family: Blue (SMR) size: 3.64 TiB block-size:
    physical: 4096 B logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD
    rpm: 5400 serial: <filter> fw-rev: 0A80 temp: 37 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 2y 250d 14h cycles: 76
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD10JMVW-11AJGS3 family: Elements / My Passport (USB, AF)
    size: 931.48 GiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 sata: 3.0 speed: 3.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 1072 drive-rev: 01.01A01
    temp: 41 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 8y 89d 19h cycles: 1221
Partition:
  ID-1: / raw-size: 583.61 GiB size: 583.61 GiB (100.00%)
    used: 309.13 GiB (53.0%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 253:0 mapped: luks-0aad11c6-cf6f-4db6-8384-c4f53d213620
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 32.5 MiB (33.9%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
  ID-3: /home raw-size: 583.61 GiB size: 583.61 GiB (100.00%)
    used: 309.13 GiB (53.0%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 253:0 mapped: luks-0aad11c6-cf6f-4db6-8384-c4f53d213620
  ID-4: /var/log raw-size: 583.61 GiB size: 583.61 GiB (100.00%)
    used: 309.13 GiB (53.0%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 253:0 mapped: luks-0aad11c6-cf6f-4db6-8384-c4f53d213620
  ID-5: /var/tmp raw-size: 583.61 GiB size: 583.61 GiB (100.00%)
    used: 309.13 GiB (53.0%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 253:0 mapped: luks-0aad11c6-cf6f-4db6-8384-c4f53d213620
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.53 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB available: 62.53 GiB used: 9.74 GiB (15.6%)
  Processes: 658 Power: uptime: 19m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 24.91 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: 2253 pm: dpkg pkgs: 0 pm: pacman pkgs: 2240 libs: 591
    tools: octopi,paru pm: flatpak pkgs: 13 Compilers: clang: 20.1.7 gcc: 15.1.1
    Shell: garuda-inxi (sudo) default: Bash v: 5.2.37 running-in: konsole
    inxi: 3.3.38
Garuda (2.7.3-1):
  System install date:     2025-05-30
  Last full system update: 2025-07-04
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Yes
  Failed units:            clamav-clamonacc.service 

Please

  • ONE issue per topic.
1 Like

I have Similar problems with my system Should I make Five different post. asking so I dont get banned.

All of the problems I’m experiencing, I suspect to have a common root, which is why they’re all posted to the same thread. It doesn’t make sense to post multiple threads when one solution could fix all of them.

update: Firedragon appears to be fine now, at least. All of the other problems listed still persist.