aosc-os-abbs icon indicating copy to clipboard operation
aosc-os-abbs copied to clipboard

steam: glXChooseVisual failed, then segfaults

Open Artoria2e5 opened this issue 2 years ago • 3 comments

Bug description

Steam crashes with

[2023-09-05 09:34:40] Verifying installation...
[2023-09-05 09:34:40] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf7209370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf7207cc0
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier `direction', expected character `}'
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[13880]: Runtime for steamwebhelper: defaulting to /home/a2/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[13880]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Fontconfig warning: line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
glXChooseVisual failed
src/steamUI/spewmanager.cpp (136) : Assertion Failed: Error: glXChooseVisual failed
09/05 09:34:44 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(13870)
assert_20230905093444_7.dmp[13914]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230905093444_7.dmp
crash_20230905093444_8.dmp[13919]: Uploading dump (out-of-process)
/tmp/dumps/crash_20230905093444_8.dmp
/home/a2/.local/share/Steam/steam.sh: line 798: 13870 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20230905093444_8.dmp[13919]: Finished uploading minidump (out-of-process): success = yes
crash_20230905093444_8.dmp[13919]: response: CrashID=bp-9225bc37-3a18-4d0f-b739-a73c62230905
crash_20230905093444_8.dmp[13919]: file ''/tmp/dumps/crash_20230905093444_8.dmp'', upload yes: ''CrashID=bp-9225bc37-3a18-4d0f-b739-a73c62230905''

Steps to reproduce

Run steam from Konsole.

I can't remember whether the other errors (breeze theme and fontconfig stuff too new for steam runtime) has anything to do with this. I might have seen the fc errors before when steam was working normally, but I don't remember anything about Breeze.

glxgear from mesa-demos 8.4.0-4 works normally. AMD 6800 XT, 6.4.7-aosc-main.

Update channel(s)

stable

Package and version

Package: steam
Status: install ok installed
Section: non-free/games
Installed-Size: 3608
Maintainer: Mingcong Bai <[email protected]>
Architecture: amd64
Version: 1.0.0.71
Depends: curl (>= 7.78.0), dbus (>= 2:1.12.20-1), freetype (>= 2.10.4), gdk-pixbuf (>= 2.42.4), hicolor-icon-theme (>= 0.17-2), 32subsystem (>= 20161006-4), zenity (>= 3.32.0-1), liberation-fonts (>= 2.1.4)
Description: Application for managing and playing games on Steam
X-AOSC-ACBS-Version: 20210816
X-AOSC-Commit: 057e2d0e24-dirty
X-AOSC-Autobuild3-Version: 2:1.6.23

Artoria2e5 avatar Sep 05 '23 09:09 Artoria2e5

For non nvidia drivers, LD_LIBRARY_PATH should be set to /opt/32/lib:/usr/lib in order to make Steam happy, at least it worked for me.

Cyanoxygen avatar Sep 12 '23 13:09 Cyanoxygen

sounds reasonable, will test. Maybe that should go into the wrapper script?

Artoria2e5 avatar Sep 12 '23 20:09 Artoria2e5

Hi again,

Could you try creating a config file under /etc/ld.so.conf.d with the .conf extension and with the following contents:

/opt/32/lib

and run ldconfig as root?

That should make ld.so aware of our i686 libraries, without setting the LD_LIBRARY_PATH.

I tried and Steam launched successfully.

Cyanoxygen avatar Oct 11 '23 03:10 Cyanoxygen

No longer a problem with the latest steam package. Closing.

MingcongBai avatar May 06 '24 20:05 MingcongBai