8

Steam's client is still 32-bit. Ubuntu 20.04 has now removed 32bit arch support. Cannot install lib32bz2-1.0. Steam is not running.

Running Steam on ubuntu 20.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/black/.steam/ubuntu12_32/steam -nominidumps -nobreakpad
[2020-04-25 01:22:21] Startup - updater built Apr  4 2020 00:37:13
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
[2020-04-25 01:22:21] Checking for update on startup
[2020-04-25 01:22:21] Checking for available updates...
[2020-04-25 01:22:21] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
[2020-04-25 01:22:22] Download skipped: /client/steam_client_ubuntu12 version 1586022601, installed version 1586022601
[2020-04-25 01:22:22] Nothing to do
[2020-04-25 01:22:22] Verifying installation...
[2020-04-25 01:22:22] Performing checksum verification of executable files
[2020-04-25 01:22:22] Verification complete

Tried

sudo dpkg --add-architecture i386
sudo apt install lib32z1 lib32ncurses6

And

sudo apt-get install lib32bz2-1.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by glob 'lib32bz2-1.0'
E: Couldn't find any package by regex 'lib32bz2-1.0'

Manually found it's the package here: https://ubuntu.pkgs.org/14.04/ubuntu-main-amd64/lib32bz2-dev_1.0.6-5_amd64.deb.html Says unmet dependencies.

I have Nvidia 2060, it is working fine, even with CUDA. When I was on 18.04, I was playing CS:GO. And now steam/CS:GO won't open.

Pilot6
  • 90,100
  • 91
  • 213
  • 324
Black Chase
  • 445
  • 1
  • 5
  • 16

4 Answers4

11

This worked for me.

sudo apt-get install libnvidia-gl-440:i386

This worked because the issue was with the graphics and Ubuntu 20.04 combined. This library has 32bit files for Nvidia's gpu. These 32bit files were removed while upgrading from 18.04 to 20.04.

Though they asked about it, on which most people just clicked on ok continue. I did the same.

Edit: as of 26, July 2020, nvidia's driver 450 is available but it's i386 is having issues. So until then stick with 440.

Edit: It works with nvidia's driver 450 i386 as well now.

Black Chase
  • 445
  • 1
  • 5
  • 16
  • I am currently on 455.38 and still having an issue when I try to launch CS:GO – VnC Dec 08 '20 at 21:16
  • The issue is in running CSGO or steam overall? I heard 450 is not causing issues anymore. If it is, try using an older version of nvidia libraries like 440s. And don't forget to install 32-bit libs. – Black Chase Jan 12 '21 at 07:08
2

As was my case, it is highly probable that you have missing 32 bit libraries.

Installing the following libraries made it work for me:

$ sudo dpkg --add-architecture i386
$ sudo apt update
$ sudo apt install libxtst6:i386 libxrandr2:i386 libgtk2.0-0:i386 libsm6:i386 libpulse0:i386 ffmpeg:i386
Mohsin
  • 187
  • 1
    This one worked for me. I added the i386 arch and reinstalled the drivers with 32-bit compatibility, but until I added these libraries, steam wouldn't start. – Ubica Jan 21 '21 at 09:04
  • 1
    Also fixed it for me, although I didn't install ffmpeg:i386, as that wanted to remove ffmpeg and a bunch of other things. – Álex Apr 02 '21 at 19:29
  • unfortunately this didn't seem to fix my install – Erik Aug 04 '21 at 16:26
0

I have the 450 driver version and libnvidia-gl-450:i386 does not exists.

But sudo ubuntu-drivers autoinstall worked!

Credits: This worked for me

https://askubuntu.com/a/1134739/1072841

Gianmar
  • 101
0

I posted this dead-simple solution here, since I have had this happen a couple of times now: https://askubuntu.com/a/1301424/787088

  • sudo apt remove steam
  • restart
  • sudo apt install steam (re-add any steam customizations (i.e., I have a non-root drive steam library)).