protonscr

[Ubuntu 19.10] Segmentation fault

steamclosed Distro Family: Ubuntu
ValveSoftware/steam-for-linux#6535 · opened 2019-09-27 by leinardi · updated 2020-11-22 · 5 comments · github
Lleinardi 2019-09-27 github

Your system information

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

Please describe your issue in as much detail as possible:

Steam crashes almost instantly after starting it, with a segmentation fault:

Running Steam on ubuntu 19.10 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1568860339)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1568860339)
Installing breakpad exception handler for appid(steam)/version(1568860339)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

(steam:30121): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/main.rc:775: error: unexpected identifier `direction', expected character `}'

(steam:30121): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  151
Serial number of failed request:  52
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151
Value in failed request:  0x0
Serial number of failed request:  51
xerror_handler: X failed, continuing
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:  53
xerror_handler: X failed, continuing
crash_20190927224820_1.dmp[30160]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190927224820_1.dmp
/home/jd/.local/share/Steam/steam.sh: riga 720: 30121 Errore di segmentazione (core dump creato) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190927224820_1.dmp[30160]: Finished uploading minidump (out-of-process): success = yes
crash_20190927224820_1.dmp[30160]: response: CrashID=bp-4a074523-0d9a-480f-b110-93ce62190927
crash_20190927224820_1.dmp[30160]: file ''/tmp/dumps/crash_20190927224820_1.dmp'', upload yes: ''CrashID=bp-4a074523-0d9a-480f-b110-93ce62190927''

The theme warnings seems to be independent from the theme selected:

Running Steam on ubuntu 19.10 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1568860339)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1568860339)
Installing breakpad exception handler for appid(steam)/version(1568860339)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

(steam:31057): Gtk-WARNING **: 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:31057): Gtk-WARNING **: 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
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  151
Serial number of failed request:  52
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  151
Value in failed request:  0x0
Serial number of failed request:  51
xerror_handler: X failed, continuing
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:  53
xerror_handler: X failed, continuing
crash_20190927224917_1.dmp[31096]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190927224917_1.dmp
/home/jd/.local/share/Steam/steam.sh: riga 720: 31057 Errore di segmentazione (core dump creato) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190927224917_1.dmp[31096]: Finished uploading minidump (out-of-process): success = yes
crash_20190927224917_1.dmp[31096]: response: CrashID=bp-a18c67c4-ca94-491b-893e-e39232190927
crash_20190927224917_1.dmp[31096]: file ''/tmp/dumps/crash_20190927224917_1.dmp'', upload yes: ''CrashID=bp-a18c67c4-ca94-491b-893e-e39232190927''

Steps for reproducing this issue:

  1. Install Ubuntu 19.10
  2. Download and install the latest steam_latest.deb from the official Steam website
  3. Start Steam
Kkisak-valve maintainer 2019-09-27 github

Hello @leinardi, swrast is mesa's slower software renderer and the fact that Steam is trying to use it hints that you're using an nvidia card with the nvidia proprietary driver, but don't have a sane 32 bit opengl driver stack.

Does any 32 bit opengl application like glxinfo from mesa-utils:i386 work?

What video card / driver version are you using? If it is an nvidia card like I suspect, please verify that the 32 bit userspace is installed for the same major driver series as the 64 bit stack with something like apt policy libnvidia-gl-435:i386 for the 435.xx nvidia driver series.

Lleinardi 2019-09-27 github

Hi @kisak-valve, thanks for the super quick response! I notice that in #6098 they had the very same issue with Mint 19.1. I tried the suggested solution and worked for me too!

What I have done :

  • launched Ubuntu Software & Updates
  • installed Nouveau drivers
  • installed back 435 proprietary drivers (I used Synaptic)
  • rebooted my computer

Now steam works fine.

Still is strange that this is required. I noticed that Ubuntu 19.10 installed the Nvidia proprietary drivers during the OS installation and the first boot of the OS was already using the 435. Perhaps this automated installation is slightly different form the one you do if you install them manually.

Kkisak-valve maintainer 2019-09-27 github

Sounds like whatever Ubuntu has for driver installer logic was in a pure 64 bit environment during the system install, and didn't install nvidia's 32 bit opengl drivers until it was rerun in the multiarch environment.

Ggreshilov 2020-01-11 github

I faced this problem on Arch Linux after changing mesa to nvidia drivers.

Solved by installing multilib/lib32-nvidia-utils.

Rrealfoodman 2020-11-22 github

Leinardi's fix worked for me, though I also had to run the command in this reply and reboot after switching to the Neouveau driver.

Nothing extracted yet.