protonscr

Steam not running on Ubuntu 20.04.2 LTS

steamclosed NVIDIA driversDistro Family: Ubuntu
ValveSoftware/steam-for-linux#7949 · opened 2021-07-29 by Dainted · updated 2021-07-30 · 4 comments · github
DDainted 2021-07-29 github

(Modified) Acer Nitro 5, 12 GB RAM, nVidia G-Force GTX 1050 Ti (4GB VRAM), Intel i5 (unknown version(8700k i believe?)

  • Steam client version: Latest? (It did download updates upon first launch)
  • Distribution: Ubuntu 20.04.2 LTS
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

All I did was launch Steam, it downloaded updates as usual, but when it got to the "verifying install" part after restarting the client after updates, all it did was show the steam start-up window for about a second before closing, when I opened the terminal and started Steam through the terminal I got this output:

Running Steam on ubuntu 20.04 64-bit
STEAM_RUNTIME is enabled automatically
Steam runtime environment up-to-date!
Steam client's requirements are satisfied
WARNING: Using default/fallback debugger launch
/home/anas/.local/share/Steam/ubuntu12_32/steam
[2021-07-26 17:47:48] Startup - updater built Jul 20 2021 22:25:51
Installing breakpad exception handler for appid(steam)/version(1626824053)
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: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 51
xerror_handler: X failed, continuing
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 52
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-07-26 17:47:48] Loading cached metrics from disk (/home/anas/.local/share/Steam/package/steam_client_metrics.bin)
[2021-07-26 17:47:48] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-07-26 17:47:48] Using the following download hosts for Public, Realm steamglobal
[2021-07-26 17:47:48] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1626824053)
[2021-07-26 17:47:48] Checking for update on startup
[2021-07-26 17:47:48] Checking for available updates...
[2021-07-26 17:47:48] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1626824053)
[2021-07-26 17:47:48] Download skipped: /client/steam_client_ubuntu12 version 1626824053, installed version 1626824053, existing pending version 0
[2021-07-26 17:47:48] Nothing to do
[2021-07-26 17:47:48] Verifying installation...
[2021-07-26 17:47:48] Performing checksum verification of executable files
[2021-07-26 17:47:48] Verification complete
Loaded SDL version 2.0.15-6655637
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"

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

(steam:96293): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Yaru-dark/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: 152
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: 152
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: 152
Serial number of failed request: 53
xerror_handler: X failed, continuing
assert_20210726174748_1.dmp[96341]: Uploading dump (out-of-process)
/tmp/dumps/assert_20210726174748_1.dmp
/home/anas/.local/share/Steam/steam.sh: line 772: 96293 Segmentation fault (core dumped) $STEAM_DEBUGGER $DEBUGGER_ARGS "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20210726174748_1.dmp[96341]: Finished uploading minidump (out-of-process): success = yes
assert_20210726174748_1.dmp[96341]: response: CrashID=bp-1bbbdc74-c051-4f9c-949b-82d312210726
assert_20210726174748_1.dmp[96341]: file ''/tmp/dumps/assert_20210726174748_1.dmp'', upload yes: ''CrashID=bp-1bbbdc74-c051-4f9c-949b-82d312210726''

Steps for reproducing this issue:

To be honest, I don't know how to, as far as I know, this is an issue that is also known in the snap version too, it seems to only be with 20.04.2 LTS as far as I can tell

Kkisak-valve maintainer 2021-07-29 github

Hello @Dainted, swrast is mesa's slower software renderer, and the fact that Steam is trying to use it hints that you're using nVidia's proprietary driver, but don't have the driver's 32 bit userspace support installed. The nVidia proprietary driver requires that the running kernel module, 64 bit userspace, and 32 bit userspace versions are installed and have exactly the same version to work properly.

Please figure out what nVidia driver series you're using, then run something like sudo apt install libnvidia-gl-470:i386 (replacing 470 with the driver series you're using) to install the missing userspace support.

DDainted 2021-07-30 github

Please figure out what nVidia driver series you're using

How do I even start to try and figure that out? All the Additional Drivers menu tells me is "You're running a manually installed driver", I didn't even manually install the driver, it was the Ubuntu installer that did and usually it doesn't say that.

Last time that it did show me what driver i was running it reported it as driver version 470, I am unable to verify this though because when I run the nVidia Control Panel it breaks my drivers and upon the next boot, my GPU will not output any display.

Edit: Ok, so with some better searching (turns out I was using the wrong search terms), I found out that I should run nvidia-smi in the terminal, it reported nVidia Driver 460.91.03, do I replace sudo apt install libnvidia-gl-470:i386 with sudo apt install libnvidia-gl-460:i386 or sudo apt install libnvidia-gl-460.91.03:i386? I'm assuming it is sudo apt install libnvidia-gl-460:i386 but I don't want to make any mistakes lol.

Kkisak-valve maintainer 2021-07-30 github

Ubuntu packages the nVidia driver by series, so sudo apt install libnvidia-gl-460:i386 makes sense.

DDainted 2021-07-30 github

Ubuntu packages the nVidia driver by series, so sudo apt install libnvidia-gl-460:i386 makes sense.

Well I started Steam via the terminal to see what it does and that seems to have worked!

Thank you!

Nothing extracted yet.