protonscr

libGL driver unable to be loaded and (X error?)

steamclosed Distro Family: openSUSE
ValveSoftware/steam-for-linux#9294 · opened 2023-03-23 by clin1234 · updated 2023-03-29 · 4 comments · github
Cclin1234 2023-03-23 github

Your system information

  • Steam client version (build number or date):
  • Distribution (e.g. Ubuntu): OpenSUSE Tumbleweed
  • Opted into Steam client beta?: Y
  • Have you checked for system updates?: Y

The Steam client would crash with a SIGSEGV whenever I try to start it, after checking for updates to the Steam runtime.
The core dump:

           PID: 21331 (steam)
           UID: 1000 (cl)
           UID: 1000 (cl)
           GID: 1000 (cl)
        Signal: 11 (SEGV)
     Timestamp: Thu 2023-03-23 18:43:36 EDT (6min ago)
  Command Line: /home/cl/.local/share/Steam/ubuntu12_32/steam
    Executable: /home/cl/.local/share/Steam/ubuntu12_32/steam
 Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-gn>
          Unit: [email protected]
     User Unit: app-gnome-steam-21148.scope
         Slice: user-1000.slice
     Owner UID: 1000 (cl)
       Boot ID: 9a3005080671404c8656dafb9317f575
    Machine ID: 53d5c205a8044ae897fbf76fd2dada67
      Hostname: kello
       Storage: /var/lib/systemd/coredump/core.steam.1000.9a3005080671404c8656>
  Size on Disk: 8.2M
       Message: Process 21331 (steam) of user 1000 dumped core.
                
                Stack trace of thread 21331:
                #0  0x00000000f7ab7ef1 __strchr_ia32 (libc.so.6 + 0xb7ef1)
                #1  0x00000000f7de1464 _XLockDisplay (libX11.so.6 + 0x25464)
                #2  0x00000000ffe87318 n/a (n/a + 0x0)
                #3  0x00000000ea510aac n/a (/home/cl/.local/share/Steam/ubuntu>
                #4  0x00000000ea51ff1f n/a (/home/cl/.local/share/Steam/ubuntu>
                #5  0x00000000ecb3c56a n/a (/home/cl/.local/share/Steam/ubuntu>
                #6  0x00000000ec14b23b n/a (/home/cl/.local/share/Steam/ubuntu>
                #7  0x00000000565b9a59 n/a (/home/cl/.local/share/Steam/ubuntu>
                #8  0x00000000565ba96e n/a (/home/cl/.local/share/Steam/ubuntu>
                #9  0x00000000565a49a0 n/a (/home/cl/.local/share/Steam/ubuntu>
                ELF object binary architecture: Intel 80386

Also, lauching it with LIBGL_DEBUG=verbose yielded the following:

Couldn't import apt, please install python3-apt or update steamdeps for your distribution.
steam.sh[22525]: Running Steam on opensuse-tumbleweed 20230318 64-bit
steam.sh[22525]: STEAM_RUNTIME is enabled automatically
setup.sh[22635]: Steam runtime environment up-to-date!
steam.sh[22525]: Steam client's requirements are satisfied
[2023-03-23 18:52:37] Startup - updater built Mar 20 2023 22:18:25
[2023-03-23 18:52:37] Startup - Steam Client launched with: '/home/cl/.local/share/Steam/ubuntu12_32/steam'
[2023-03-23 18:52:37] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
Installing breakpad exception handler for appid(steam)/version(1679359315)/tid(22695)
libGL: using driver amdgpu for 9
libGL: pci id for fd 9: 1002:1636, driver radeonsi
libGL: MESA-LOADER: dlopen(/usr/lib/dri/radeonsi_dri.so)
libGL error: DRI driver not from this Mesa build ('23.1.0-devel-git-e20564cf' vs '23.0.0')
libGL error: failed to load driver: radeonsi
libGL: MESA-LOADER: dlopen(/usr/lib/dri/swrast_dri.so)
libGL: did not find extension DRI_Kopper version 1
libGL error: DRI driver not from this Mesa build ('23.1.0-devel-git-e20564cf' vs '23.0.0')
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151 (GLX)
Minor opcode of failed request:  3 (X_GLXCreateContext)
Value in failed request:  0x0
Serial number of failed request:  45
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-03-23 18:52:37] Loading cached metrics from disk (/home/cl/.local/share/Steam/package/steam_client_metrics.bin)
[2023-03-23 18:52:37] Using the following download hosts for Public, Realm steamglobal
[2023-03-23 18:52:37] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-03-23 18:52:37] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-03-23 18:52:37] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1679359315)/tid(22697)
[2023-03-23 18:52:37] Checking for update on startup
[2023-03-23 18:52:37] Checking for available updates...
[2023-03-23 18:52:37] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_publicbeta_ubuntu12
[2023-03-23 18:52:37] Manifest download: send request
Installing breakpad exception handler for appid(steam)/version(1679359315)/tid(22698)
[2023-03-23 18:52:37] Manifest download: waiting for download to finish
[2023-03-23 18:52:38] Manifest download: finished
[2023-03-23 18:52:38] Download skipped: /steam_client_publicbeta_ubuntu12 version 1679359315, installed version 1679359315, existing pending version 0
[2023-03-23 18:52:38] Nothing to do
[2023-03-23 18:52:38] Verifying installation...
[2023-03-23 18:52:38] Performing checksum verification of executable files
[2023-03-23 18:52:39] Verification complete
Loaded SDL version 3.0.0-1117-g727c7d4e2

(steam:22695): Gtk-WARNING **: 18:52:39.443: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'

(steam:22695): Gtk-WARNING **: 18:52:39.444: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf6152f60
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf6151600
libGL: using driver amdgpu for 25
libGL: pci id for fd 25: 1002:1636, driver radeonsi
libGL: MESA-LOADER: dlopen(/usr/lib/dri/radeonsi_dri.so)
libGL error: DRI driver not from this Mesa build ('23.1.0-devel-git-e20564cf' vs '23.0.0')
libGL error: failed to load driver: radeonsi
libGL: MESA-LOADER: dlopen(/usr/lib/dri/swrast_dri.so)
libGL: did not find extension DRI_Kopper version 1
libGL error: DRI driver not from this Mesa build ('23.1.0-devel-git-e20564cf' vs '23.0.0')
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  151
Serial number of failed request:  46
xerror_handler: X failed, continuing
crash_20230323185239_4.dmp[22731]: Uploading dump (out-of-process)
/tmp/dumps/crash_20230323185239_4.dmp
/home/cl/.local/share/Steam/steam.sh: line 798: 22695 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"
cl@kello:/home/shared> crash_20230323185239_4.dmp[22731]: Finished uploading minidump (out-of-process): success = yes
crash_20230323185239_4.dmp[22731]: response: CrashID=bp-8c88fa35-3b6c-4feb-9fb7-62f522230323
crash_20230323185239_4.dmp[22731]: file ''/tmp/dumps/crash_20230323185239_4.dmp'', upload yes: ''CrashID=bp-8c88fa35-3b6c-4feb-9fb7-62f522230323''

Steps for reproducing this issue:

  1. Start Steam
  2. Wait for the client to check whether the runtime is up to date.
Kkisak-valve maintainer 2023-03-23 github

Hello @clin1234, can you test if any 32 bit OpenGL application like glxinfo from Mesa-demo-x-32bit works?

libGL error: DRI driver not from this Mesa build ('23.1.0-devel-git-e20564cf' vs '23.0.0') libGL error: failed to load driver: radeonsi
This doesn't look healthy and could mean that your mesa install is in a halfway state between mesa 23.0.0 and a random git build.

Cclin1234 2023-03-24 github

Surprisingly, glxinfo coredumps after listing supported OpenGL extensions.

Core:

           PID: 17828 (glxinfo)
           UID: 1000 (cl)
           GID: 1000 (cl)
        Signal: 11 (SEGV)
     Timestamp: Fri 2023-03-24 09:20:31 EDT (12min ago)
  Command Line: glxinfo
    Executable: /usr/lib64/mesa-demos/xdemos/glxinfo
 Control Group: /user.slice/user-1000.slice/[email protected]/session.slice/vte-spawn-0c58b6b6-8213-4f39-a27e-5cc9a0a80e22.scope
          Unit: [email protected]
     User Unit: vte-spawn-0c58b6b6-8213-4f39-a27e-5cc9a0a80e22.scope
         Slice: user-1000.slice
     Owner UID: 1000 (cl)
       Boot ID: 9a3005080671404c8656dafb9317f575
    Machine ID: 53d5c205a8044ae897fbf76fd2dada67
      Hostname: kello
       Storage: /var/lib/systemd/coredump/core.glxinfo.1000.9a3005080671404c8656dafb9317f575.17828.1679664031000000.zst (present)
  Size on Disk: 1.5M
       Message: Process 17828 (glxinfo) of user 1000 dumped core.
                
                Stack trace of thread 17828:
                #0  0x00007f1183c81335 glthread_nop (radeonsi_dri.so + 0x281335)
                #1  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #2  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #3  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #4  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #5  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #6  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #7  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #8  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                #9  0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#10](/issue/ValveSoftware/steam-for-linux/10) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#11](/issue/ValveSoftware/steam-for-linux/11) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#12](/issue/ValveSoftware/steam-for-linux/12) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#13](/issue/ValveSoftware/steam-for-linux/13) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#14](/issue/ValveSoftware/steam-for-linux/14) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#15](/issue/ValveSoftware/steam-for-linux/15) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#16](/issue/ValveSoftware/steam-for-linux/16) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#17](/issue/ValveSoftware/steam-for-linux/17) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#18](/issue/ValveSoftware/steam-for-linux/18) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#19](/issue/ValveSoftware/steam-for-linux/19) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#20](/issue/ValveSoftware/steam-for-linux/20) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#21](/issue/ValveSoftware/steam-for-linux/21) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#22](/issue/ValveSoftware/steam-for-linux/22) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#23](/issue/ValveSoftware/steam-for-linux/23) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#24](/issue/ValveSoftware/steam-for-linux/24) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#25](/issue/ValveSoftware/steam-for-linux/25) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#26](/issue/ValveSoftware/steam-for-linux/26) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#27](/issue/ValveSoftware/steam-for-linux/27) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#28](/issue/ValveSoftware/steam-for-linux/28) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#29](/issue/ValveSoftware/steam-for-linux/29) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#30](/issue/ValveSoftware/steam-for-linux/30) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#31](/issue/ValveSoftware/steam-for-linux/31) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#32](/issue/ValveSoftware/steam-for-linux/32) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#33](/issue/ValveSoftware/steam-for-linux/33) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#34](/issue/ValveSoftware/steam-for-linux/34) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#35](/issue/ValveSoftware/steam-for-linux/35) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#36](/issue/ValveSoftware/steam-for-linux/36) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#37](/issue/ValveSoftware/steam-for-linux/37) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#38](/issue/ValveSoftware/steam-for-linux/38) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#39](/issue/ValveSoftware/steam-for-linux/39) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#40](/issue/ValveSoftware/steam-for-linux/40) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#41](/issue/ValveSoftware/steam-for-linux/41) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#42](/issue/ValveSoftware/steam-for-linux/42) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#43](/issue/ValveSoftware/steam-for-linux/43) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#44](/issue/ValveSoftware/steam-for-linux/44) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#45](/issue/ValveSoftware/steam-for-linux/45) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#46](/issue/ValveSoftware/steam-for-linux/46) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#47](/issue/ValveSoftware/steam-for-linux/47) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#48](/issue/ValveSoftware/steam-for-linux/48) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#49](/issue/ValveSoftware/steam-for-linux/49) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#50](/issue/ValveSoftware/steam-for-linux/50) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#51](/issue/ValveSoftware/steam-for-linux/51) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#52](/issue/ValveSoftware/steam-for-linux/52) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#53](/issue/ValveSoftware/steam-for-linux/53) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#54](/issue/ValveSoftware/steam-for-linux/54) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#55](/issue/ValveSoftware/steam-for-linux/55) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#56](/issue/ValveSoftware/steam-for-linux/56) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#57](/issue/ValveSoftware/steam-for-linux/57) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#58](/issue/ValveSoftware/steam-for-linux/58) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#59](/issue/ValveSoftware/steam-for-linux/59) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#60](/issue/ValveSoftware/steam-for-linux/60) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#61](/issue/ValveSoftware/steam-for-linux/61) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#62](/issue/ValveSoftware/steam-for-linux/62) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                [#63](/issue/ValveSoftware/steam-for-linux/63) 0x00007f1183c81337 glthread_nop (radeonsi_dri.so + 0x281337)
                
                Stack trace of thread 17832:
                #0  0x00007f1185f6c9ee __futex_abstimed_wait_common (libc.so.6 + 0x8a9ee)
                #1  0x00007f1185f6f730 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d730)
                #2  0x00007f1183ab86eb util_queue_thread_func (radeonsi_dri.so + 0xb86eb)
                #3  0x00007f1183b083f7 impl_thrd_routine.lto_priv.0 (radeonsi_dri.so + 0x1083f7)
                #4  0x00007f1185f70444 start_thread (libc.so.6 + 0x8e444)
                #5  0x00007f1185ff7d0c __clone3 (libc.so.6 + 0x115d0c)
                
                Stack trace of thread 17829:
                #0  0x00007f1185f6c9ee __futex_abstimed_wait_common (libc.so.6 + 0x8a9ee)
                #1  0x00007f1185f6f730 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d730)
                #2  0x00007f1183ab86eb util_queue_thread_func (radeonsi_dri.so + 0xb86eb)
                #3  0x00007f1183b083f7 impl_thrd_routine.lto_priv.0 (radeonsi_dri.so + 0x1083f7)
                #4  0x00007f1185f70444 start_thread (libc.so.6 + 0x8e444)
                #5  0x00007f1185ff7d0c __clone3 (libc.so.6 + 0x115d0c)
                
                Stack trace of thread 17830:
                #0  0x00007f1185f6c9ee __futex_abstimed_wait_common (libc.so.6 + 0x8a9ee)
                #1  0x00007f1185f6f730 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d730)
                #2  0x00007f1183ab86eb util_queue_thread_func (radeonsi_dri.so + 0xb86eb)
                #3  0x00007f1183b083f7 impl_thrd_routine.lto_priv.0 (radeonsi_dri.so + 0x1083f7)
                #4  0x00007f1185f70444 start_thread (libc.so.6 + 0x8e444)
                #5  0x00007f1185ff7d0c __clone3 (libc.so.6 + 0x115d0c)
                
                Stack trace of thread 17831:
                #0  0x00007f1185f6c9ee __futex_abstimed_wait_common (libc.so.6 + 0x8a9ee)
                #1  0x00007f1185f6f730 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d730)
                #2  0x00007f1183ab86eb util_queue_thread_func (radeonsi_dri.so + 0xb86eb)
                #3  0x00007f1183b083f7 impl_thrd_routine.lto_priv.0 (radeonsi_dri.so + 0x1083f7)
                #4  0x00007f1185f70444 start_thread (libc.so.6 + 0x8e444)
                #5  0x00007f1185ff7d0c __clone3 (libc.so.6 + 0x115d0c)
                
                Stack trace of thread 17838:
                #0  0x00007f1185f6c9ee __futex_abstimed_wait_common (libc.so.6 + 0x8a9ee)
                #1  0x00007f1185f6f730 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d730)
                #2  0x00007f1183ab86eb util_queue_thread_func (radeonsi_dri.so + 0xb86eb)
                #3  0x00007f1183b083f7 impl_thrd_routine.lto_priv.0 (radeonsi_dri.so + 0x1083f7)
                #4  0x00007f1185f70444 start_thread (libc.so.6 + 0x8e444)
                #5  0x00007f1185ff7d0c __clone3 (libc.so.6 + 0x115d0c)
                
                Stack trace of thread 17837:
                #0  0x00007f1185f6c9ee __futex_abstimed_wait_common (libc.so.6 + 0x8a9ee)
                #1  0x00007f1185f6f730 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d730)
                #2  0x00007f1183ab86eb util_queue_thread_func (radeonsi_dri.so + 0xb86eb)
                #3  0x00007f1183b083f7 impl_thrd_routine.lto_priv.0 (radeonsi_dri.so + 0x1083f7)
                #4  0x00007f1185f70444 start_thread (libc.so.6 + 0x8e444)
                #5  0x00007f1185ff7d0c __clone3 (libc.so.6 + 0x115d0c)
                ELF object binary architecture: AMD x86-64
Kkisak-valve maintainer 2023-03-24 github

Executable: /usr/lib64/mesa-demos/xdemos/glxinfo
You're testing 64 bit OpenGL with the 64 bit variant of glxinfo, not 32 bit OpenGL, but regardless, this is a video driver issue that should be reported to your distro's package maintainer(s) for mesa or upstream mesa after you've verified that your system is otherwise healthy.

Cclin1234 2023-03-29 github

Error resolved: the packages that were causing me the crash was Mesa-libva and Mesa-libGL1-32bit. Installing the Git builds that lined up with the rest of my Mesa installation fixed the issue.

Nothing extracted yet.