Gldriverquery crash -> Hyprland crash

Hello, I’m using the new Hyprland release of Garuda and am loving it! I’ve worked through a few initial issues on my own but this one has me stumped.

First my system info:

System:
  Kernel: 6.1.63-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=8c117702-5b71-406b-8996-6b735a4cc713 rw rootflags=subvol=@
    quiet rd.luks.uuid=995fd5a5-a78e-451b-906a-f8967bb362b1 loglevel=3
    ibt=off
  Desktop: Hyprland info: waybar dm: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX Z390-H GAMING v: Rev X.0x
    serial: <filter> UEFI: American Megatrends v: 3006 date: 10/12/2021
CPU:
  Info: model: Intel Core i7-9700K socket: LGA1151 bits: 64 type: MCP
    arch: Coffee Lake gen: core 9 level: v3 note: check built: 2018
    process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xC (12)
    microcode: 0xF4
  Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 800 min/max: 800/4900 base/boost: 3600/8300 scaling:
    driver: intel_pstate governor: powersave volts: 1.0 V ext-clock: 100 MHz
    cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
    bogomips: 57616
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 32 [Radeon RX 7700 XT / 7800 XT] vendor: ASRock
    driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm)
    built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: DP-1,DP-2 empty: DP-3,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:747e
    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-4:5 chip-ID: 046d:0825
    class-ID: 0102 serial: <filter>
  Display: server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
    compositor: Hyprland driver: X: loaded: amdgpu unloaded: modesetting,radeon
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :1
  Monitor-1: DP-1 model: Acer XF270HU serial: <filter> built: 2019
    res: 2560x1440 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: DP-2 model: Asus VH226 serial: <filter> built: 2010
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55")
    diag: 547mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: Vulkan Message: No Vulkan data available.
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Device-2: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30
    class-ID: 0403
  Device-3: PreSonus Audio AudioBox USB 96 driver: snd-usb-audio type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:4 chip-ID: 194f:0303
    class-ID: fe01 serial: <filter>
  Device-4: 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-4:5 chip-ID: 046d:0825
    class-ID: 0102 serial: <filter>
  Device-5: Logitech G535 Wireless Gaming Headset
    driver: cdc_acm,hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:6 chip-ID: 046d:0ac4
    class-ID: 0a00
  API: ALSA v: k6.1.63-1-lts status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.85 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 Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.47 TiB used: 561.11 GiB (22.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: PNY model: SSD2SC480G1CS1754D117-514
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1101 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: HD103SJ
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 0001 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: PNY model: SSD2SC240G1CS1754D117-820
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1101 scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 860 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 3B6Q scheme: GPT
Partition:
  ID-1: / raw-size: 446.63 GiB size: 446.63 GiB (100.00%)
    used: 32.29 GiB (7.2%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-995fd5a5-a78e-451b-906a-f8967bb362b1
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 5.8 MiB (1.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 446.63 GiB size: 446.63 GiB (100.00%)
    used: 32.29 GiB (7.2%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-995fd5a5-a78e-451b-906a-f8967bb362b1
  ID-4: /var/log raw-size: 446.63 GiB size: 446.63 GiB (100.00%)
    used: 32.29 GiB (7.2%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-995fd5a5-a78e-451b-906a-f8967bb362b1
  ID-5: /var/tmp raw-size: 446.63 GiB size: 446.63 GiB (100.00%)
    used: 32.29 GiB (7.2%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-995fd5a5-a78e-451b-906a-f8967bb362b1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.54 GiB used: 2.5 MiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 27.0 C mobo: N/A gpu: amdgpu temp: 55.0 C
    mem: 66.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Processes: 270 Uptime: 2h 35m wakeups: 0 Memory: total: 16 GiB
  available: 15.54 GiB used: 3.27 GiB (21.0%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1321 libs: 377 tools: paru Shell: garuda-inxi (sudo)
  default: Bash v: 5.2.21 running-in: foot inxi: 3.3.31
Garuda (2.6.19-2):
  System install date:     2023-11-12
  Last full system update: 2023-11-26 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Yes
  Failed units: 

The issue is that when launching some games through Steam with Proton compatibility (Snowrunner and Doom Eternal), the game launch procedure crashes in this graphics stack:

Nov 26 13:23:38 pelotron kernel: gldriverquery[11918]: segfault at 20 ip 00007fd605dab338 sp 00007ffed96cd940 error 4 in libLLVM-16.so[7fd60594d000+4363000] likely on CPU 1 (core 1, socket 0)
Nov 26 13:23:38 pelotron kernel: Code: 00 4d 39 c5 0f 85 a8 00 00 00 49 83 c4 08 4c 89 70 08 4d 39 e7 74 71 49 8b 04 24 8b b3 e0 00 00 00 31 d2 48 8b 8b d0 00 00 00 <4c> 8b 68 20 85 f6 75 b0 89 d6 48 89 ef e8 c6 fc ff ff 48 89 e2 4c
Nov 26 13:23:38 pelotron systemd[1]: Started Process Core Dump (PID 11934/UID 0).
Nov 26 13:23:38 pelotron systemd-coredump[11936]: [🡕] Process 11918 (gldriverquery) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 11918:
                                                  #0  0x00007fd605dab338 _ZN4llvm13PMDataManager23recordAvailableAnalysisEPNS_4PassE (libLLVM-16.so + 0xfab338)
                                                  #1  0x00007fd605dadcb6 _ZN4llvm13PMDataManager3addEPNS_4PassEb (libLLVM-16.so + 0xfadcb6)
                                                  #2  0x00007fd605daccab _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM-16.so + 0xfaccab)
                                                  #3  0x00007fd605dacc6b _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM-16.so + 0xfacc6b)
                                                  #4  0x00007fd60da14a5b n/a (radeonsi_dri.so + 0x814a5b)
                                                  #5  0x00007fd60da680ce n/a (radeonsi_dri.so + 0x8680ce)
                                                  #6  0x00007fd60df333ee n/a (radeonsi_dri.so + 0xd333ee)
                                                  #7  0x00007fd60df070f1 n/a (radeonsi_dri.so + 0xd070f1)
                                                  #8  0x00007fd60ddad593 n/a (radeonsi_dri.so + 0xbad593)
                                                  #9  0x00007fd60e551b8e n/a (radeonsi_dri.so + 0x1351b8e)
                                                  #10 0x00007fd60dabbed3 n/a (radeonsi_dri.so + 0x8bbed3)
                                                  #11 0x00007fd60d807263 n/a (radeonsi_dri.so + 0x607263)
                                                  #12 0x00007fd60d7e8219 n/a (radeonsi_dri.so + 0x5e8219)
                                                  #13 0x00007fd60e67f72a n/a (radeonsi_dri.so + 0x147f72a)
                                                  #14 0x00007fd60d80aed1 n/a (radeonsi_dri.so + 0x60aed1)
                                                  #15 0x00007fd60d4b9cc5 n/a (radeonsi_dri.so + 0x2b9cc5)
                                                  #16 0x00007fd60d2cc477 n/a (radeonsi_dri.so + 0xcc477)
                                                  #17 0x00007fd60f5d0e4d n/a (libEGL_mesa.so.0 + 0x1be4d)
                                                  #18 0x00007fd60f5c72dc n/a (libEGL_mesa.so.0 + 0x122dc)
                                                  #19 0x00007fd60f604cfd n/a (libEGL.so.1 + 0x4cfd)
                                                  #20 0x00007fd610126a1f n/a (libSDL2-2.0.so.0 + 0xcba1f)
                                                  #21 0x00007fd6101723ec n/a (libSDL2-2.0.so.0 + 0x1173ec)
                                                  #22 0x00007fd61013357f n/a (libSDL2-2.0.so.0 + 0xd857f)
                                                  #23 0x00007fd61013e4da n/a (libSDL2-2.0.so.0 + 0xe34da)
                                                  #24 0x00007fd61013e581 n/a (libSDL2-2.0.so.0 + 0xe3581)
                                                  #25 0x00007fd61008b815 n/a (libSDL2-2.0.so.0 + 0x30815)
                                                  #26 0x00007fd61008bd96 n/a (libSDL2-2.0.so.0 + 0x30d96)
                                                  #27 0x00007fd60feb9cc6 n/a (libc.so.6 + 0x40cc6)
                                                  #28 0x00007fd60feb9e10 exit (libc.so.6 + 0x40e10)
                                                  #29 0x00007fd60fea0cd7 n/a (libc.so.6 + 0x27cd7)
                                                  #30 0x00007fd60fea0d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                  #31 0x00005654ad20b5ba n/a (/home/zach/.local/share/Steam/ubuntu12_64/gldriverquery + 0xb5ba)
                                                  ELF object binary architecture: AMD x86-64
Nov 26 13:23:38 pelotron systemd[1]: systemd-coredump@3-11934-0.service: Deactivated successfully.

Then both my displays restart and I am presented with the Hyprland login screen again, so it seems that this gldriverquery crash also chains into a Hyprland crash:

Nov 26 13:25:02 pelotron dbus-daemon[892]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.119' (uid=0 pid=12448 comm="/usr/bin/sudo -n true")
Nov 26 13:25:02 pelotron dbus-daemon[892]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Nov 26 13:25:02 pelotron sudo[12448]:     zach : TTY=pts/0 ; PWD=/home/zach ; USER=root ; COMMAND=/usr/bin/true
Nov 26 13:25:02 pelotron sudo[12448]: pam_unix(sudo:session): session opened for user root(uid=0) by zach(uid=1000)
Nov 26 13:25:02 pelotron sudo[12448]: pam_unix(sudo:session): session closed for user root
Nov 26 13:25:41 pelotron systemd[1]: Started Process Core Dump (PID 12753/UID 0).
Nov 26 13:25:42 pelotron systemd-coredump[12754]: [🡕] Process 6600 (Hyprland) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 6600:
                                                  #0  0x00007f5a3a0ac83c n/a (libc.so.6 + 0x8e83c)
                                                  #1  0x00007f5a3a05c668 raise (libc.so.6 + 0x3e668)
                                                  #2  0x00007f5a3a0444b8 abort (libc.so.6 + 0x264b8)
                                                  #3  0x000055e34d2edd49 _Z25handleUnrecoverableSignali (Hyprland + 0xa6d49)
                                                  #4  0x00007f5a3a05c710 n/a (libc.so.6 + 0x3e710)
                                                  #5  0x00007f5a3a0ac83c n/a (libc.so.6 + 0x8e83c)
                                                  #6  0x00007f5a3a05c668 raise (libc.so.6 + 0x3e668)
                                                  #7  0x00007f5a3a0444b8 abort (libc.so.6 + 0x264b8)
                                                  #8  0x00007f5a3a0443dc n/a (libc.so.6 + 0x263dc)
                                                  #9  0x00007f5a3a054d26 __assert_fail (libc.so.6 + 0x36d26)
                                                  #10 0x00007f5a3aa31d92 wlr_xwayland_surface_restack (libwlroots.so.13032 + 0x9ad92)
                                                  #11 0x00007f5a3aa35433 n/a (libwlroots.so.13032 + 0x9e433)
                                                  #12 0x00007f5a3a98cae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
                                                  #13 0x00007f5a3a98d2d7 wl_display_run (libwayland-server.so.0 + 0xc2d7)
                                                  #14 0x000055e34d2d7071 main (Hyprland + 0x90071)
                                                  #15 0x00007f5a3a045cd0 n/a (libc.so.6 + 0x27cd0)
                                                  #16 0x00007f5a3a045d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                  #17 0x000055e34d2eb2b5 _start (Hyprland + 0xa42b5)
                                                  
                                                  ... snipped other thread stacks ...

Nov 26 13:25:42 pelotron systemd[1]: systemd-coredump@4-12753-0.service: Deactivated successfully.
Nov 26 13:25:42 pelotron foot[7079]: wayland: failed to read events from the Wayland socket: Broken pipe
Nov 26 13:25:42 pelotron foot[7079]: server: client FD=7: terminal still alive
Nov 26 13:25:42 pelotron sddm-helper[6341]: [PAM] Closing session
Nov 26 13:25:42 pelotron sddm-helper[6341]: pam_unix(sddm:session): session closed for user zach
Nov 26 13:25:42 pelotron sddm-helper[6341]: [PAM] Ended.
Nov 26 13:25:42 pelotron systemd[6568]: xdg-desktop-portal-hyprland.service: Consumed 13.939s CPU time.
Nov 26 13:25:42 pelotron sddm[1088]: Auth: sddm-helper exited with 6
Nov 26 13:25:42 pelotron foot[7079]: wayland: failed to roundtrip Wayland display: Broken pipe
Nov 26 13:25:42 pelotron sddm[1088]: Socket server stopping...
Nov 26 13:25:42 pelotron foot[7079]: wayland: failed to roundtrip Wayland display: Broken pipe
Nov 26 13:25:42 pelotron sddm[1088]: Socket server stopped.
Nov 26 13:25:42 pelotron foot[7079]: wayland: failed to roundtrip Wayland display: Broken pipe
Nov 26 13:25:42 pelotron sddm[1088]: Display server stopping...
Nov 26 13:25:42 pelotron systemd[1]: systemd-coredump@4-12753-0.service: Consumed 1.041s CPU time.
Nov 26 13:25:42 pelotron polkitd[897]: Unregistered Authentication Agent for unix-session:5 (system bus name :1.68, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Nov 26 13:25:42 pelotron sddm[1088]: Display server stopped.
Nov 26 13:25:42 pelotron sddm[1088]: Running display stop script  ("/usr/share/sddm/scripts/Xstop")
Nov 26 13:25:42 pelotron sddm[1088]: Removing display SDDM::Display(0x55c7175ab9e0) ...
Nov 26 13:25:42 pelotron sddm[1088]: Adding new display...
Nov 26 13:25:42 pelotron sddm[1088]: Loaded empty theme configuration
Nov 26 13:25:42 pelotron sddm[1088]: Xauthority path: "/run/sddm/xauth_WEAWaC"
Nov 26 13:25:42 pelotron sddm[1088]: Using VT 2
Nov 26 13:25:42 pelotron sddm[1088]: Display server starting...
Nov 26 13:25:42 pelotron sddm[1088]: Writing cookie to "/run/sddm/xauth_WEAWaC"
Nov 26 13:25:42 pelotron sddm[1088]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_WEAWaC -noreset -displayfd 18
Nov 26 13:25:42 pelotron systemd-logind[901]: Session 5 logged out. Waiting for processes to exit.
Nov 26 13:25:42 pelotron foot[7079]: wayland: failed to flush wayland socket: Broken pipe
Nov 26 13:25:42 pelotron systemd[1]: session-5.scope: Deactivated successfully.
Nov 26 13:25:42 pelotron systemd[1]: session-5.scope: Consumed 40min 3.588s CPU time.
Nov 26 13:25:42 pelotron systemd-logind[901]: Removed session 5.

Where should I begin in debugging this? I was previously using an NVidia 2080 on Kubuntu and ran these games, but upgraded to the AMD 7800XT at the same time as installing Garuda. So I’m not sure if using AMD graphics with Steam requires doing more than I did with NVidia?

Native Linux builds of Counter-Strike 2 and Dwarf Fortress have run fine in this Hyprland setup.

↻ ← means an update could solve your problem, but not always.

I move it to Unsupported Software (AUR & Other).

Check the Web/Github to see if the problem also affects others.

1 Like

I found that running these games with Proton 7.0-6 will run them successfully, but using newer releases causes the crash. This is not a distro issue so what project would be best to report this under? Proton, Mesa, or Hyprland?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.