Steam 无法在 Ubuntu 20.04 上运行

Steam 无法在 Ubuntu 20.04 上运行

Steam 的客户端仍为 32 位。Ubuntu 20.04 现已删除 32 位架构支持。无法安装 lib32bz2-1.0。Steam 未运行。

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

尝试过

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

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'

手动发现它是这里的包:https://ubuntu.pkgs.org/14.04/ubuntu-main-amd64/lib32bz2-dev_1.0.6-5_amd64.deb.html说未满足的依赖关系。

我有 Nvidia 2060,它运行良好,甚至使用 CUDA 也是如此。当我使用 18.04 时,我正在玩 CS:GO。现在 steam/CS:GO 无法打开。

答案1

这对我有用。

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

这有效,因为问题出在图形和 Ubuntu 20.04 的组合上。此库包含 Nvidia 的 gpu 的 32 位文件。从 18.04 升级到 20.04 时删除了这些 32 位文件。

尽管他们询问了这个问题,但大多数人只是点击了“确定”继续。我也这么做了。

编辑:截至 2020 年 7 月 26 日,nvidia 的驱动程序 450 可用,但其 i386 存在问题。因此在此之前,请继续使用 440。

编辑:它现在也可以与 nvidia 的驱动程序 450 i386 一起使用。

答案2

正如我的情况一样,您很可能缺少 32 位库。

安装以下库使它对我有用:

$ 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

答案3

我有 450 驱动程序版本,但libnvidia-gl-450:i386不存在。

sudo ubuntu-drivers autoinstall有效!

致谢:这对我有用

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

答案4

我在这里发布了这个非常简单的解决方案,因为我已经遇到过几次这种情况了:https://askubuntu.com/a/1301424/787088

  • sudo apt 删除 steam
  • 重新开始
  • sudo apt install steam(重新添加任何 steam 定制(即,我有一个非根驱动器 steam 库))。

相关内容