protonscr

Steam segfaults on launch under Arch Linux. Possibly related to Nvidia drivers or Xorg.

steamclosed NVIDIA driversDistro Family: Arch
ValveSoftware/steam-for-linux#7395 · opened 2020-10-07 by prismz · updated 2020-10-07 · 3 comments · github
Pprismz 2020-10-07 github

Your system information

  • Steam client version (build number or date): Arch package version 1.0.0.66-1
  • Distribution (e.g. Ubuntu): Arch
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

Steam should launch normally, but instead flashes the "updating" window, and then segfaults and exits.

Steps for reproducing this issue:

Launch the latest version of Steam under Arch Linux
Receive the error

GPU: Nvidia Geforce GTX 1060 3gb
CPU: AMD fx-3600
RAM: 16GB DDR3

logs:

Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/hasan/.local/share/Steam/ubuntu12_32/steam
[2020-10-07 00:54:25] Startup - updater built Sep  3 2020 21:18:09
Installing breakpad exception handler for appid(steam)/version(1599174997)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request:  GLXBadContext
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
Major opcode of failed request:  151 (GLX)
Minor opcode of failed request:  6 (X_GLXIsDirect)
Serial number of failed request:  46
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
Installing breakpad exception handler for appid(steam)/version(1599174997)
[2020-10-07 00:54:25] Checking for update on startup
[2020-10-07 00:54:25] Checking for available updates...
[2020-10-07 00:54:25] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1599174997)
[2020-10-07 00:54:26] Download skipped: /client/steam_client_ubuntu12 version 1599174997, installed version 1599174997, downloaded version 0
[2020-10-07 00:54:26] Nothing to do
[2020-10-07 00:54:26] Verifying installation...
[2020-10-07 00:54:26] Performing checksum verification of executable files
[2020-10-07 00:54:26] Verification complete
Loaded SDL version 2.0.13-5919606

(steam:8242): Gtk-WARNING **: 00:54:27.127: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Nordic-darker/gtk-2.0/main.rc:729: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Nordic-darker/gtk-2.0/apps/chrome.rc:50: error: invalid string constant "button", expected valid string constant
/usr/share/themes/Nordic-darker/gtk-2.0/apps/xfce.rc:78: error: invalid string constant "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:  48
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:  47
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:  49
xerror_handler: X failed, continuing
assert_20201007005425_1.dmp[8280]: Uploading dump (out-of-process)
/tmp/dumps/assert_20201007005425_1.dmp
assert_20201007005425_1.dmp[8280]: Finished uploading minidump (out-of-process): success = yes
assert_20201007005425_1.dmp[8280]: response: CrashID=bp-e3044d03-11ef-4cf6-8e90-748722201006
assert_20201007005425_1.dmp[8280]: file ''/tmp/dumps/assert_20201007005425_1.dmp'', upload yes: ''CrashID=bp-e3044d03-11ef-4cf6-8e90-748722201006''
/home/hasan/.local/share/Steam/steam.sh: line 750:  8242 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"```
Kkisak-valve maintainer 2020-10-07 github

Hello @HasanQZ, swrast is mesa's slower software renderer. The fact that Steam is trying to uses it typically indicates there's an issue with your nVidia driver install. The nVidia driver requires that the running kernel module, 64 bit, and 32 bit userspace libraries all have exactly the same versions to work properly. Please verify that nvidia-dkms, nvidia-utils and lib32-nvidia-utils are all installed and their versions match. If you recently updated the driver, then the loaded kernel module may still be the older version and a reboot should straighten that out.

Pprismz 2020-10-07 github

I think i know the problem. When i installed steam from pacman, there was an option to "choose a provider", which, by default, is AMD. Looking at the package's page (https://www.archlinux.org/packages/multilib/x86_64/steam/), there is "lib32-vulkan-driver", which has 4 options (lib32-nvidia-utils, lib32-vulkan-intel, lib32-vulkan-radeon, lib32-amdvlk). Removing all of them (if installed) and switching to nvidia should fix the problem.

I'll see if this is the problem when i get home.

Pprismz 2020-10-07 github

This was the issue. Thank you for your help.

Nothing extracted yet.