Steam 无法打开(ubuntu 14.04)

Steam 无法打开(ubuntu 14.04)

我正尝试在新电脑上安装 steam,但它就是无法运行。

Running Steam on ubuntu 14.04 64-bit  
STEAM_RUNTIME is enabled automatically  
Installing breakpad exception handler for appid(steam)/version(0)  
libGL error: No matching fbConfigs or visuals found  
libGL error: failed to load driver: swrast

我尝试过一些在网上找到的解决方案(比如在 Ubuntu 15.04+ 上安装 Steam 时出现问题或者Steam 无法在 Ubuntu 15.10 中打开)大多数人似乎都认为这是 Steam 尝试使用旧库时出现的问题,应该删除一些文件。

我试过了,还是不行。这是文件夹 ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/ 的内容

libfreetype.so.6        libXau.so.6.0.0    libXinerama.so.1  
libfreetype.so.6.8.0    libxcb.so.1        libXinerama.so.1.0.0  
libstdc++.so.6.0.18     libxcb.so.1.1.0    libXrandr.so.2  
libstdc++.so.6.disable  libXdmcp.so.6      libXrandr.so.2.2.0  
libX11.so.6             libXdmcp.so.6.0.0  libXrender.so.1  
libX11.so.6.3.0         libXext.so.6       libXrender.so.1.3.0  
libXau.so.6             libXext.so.6.4.0

如您所见,我尝试重命名 libstdc++.so.6,因为它对某些人有用,并且我也删除了 ~/.steam/steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/ 中的 libgcc_s.so.1,但问题仍然存在。

我有一台 GTX 1070,我从 nvidia 网站手动安装了 NVIDIA-Linux-x86_64-367.27.run(我不知道这是否重要)

我开始感到绝望了。如果不能运行 Steam,游戏 PC 有什么用处 :'( 有人有解决办法吗?我不想回到 Windows ><

答案1

好的,我移除了 steam 然后使用

sudo apt-get install steam-launcher

代替

sudo apt-get install steam

它下载了一个更新,现在当我运行 steam 时它会告诉我

Steam needs to install these additional packages: 
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386

并要求我输入密码。然后

 .........................................................................................
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6)
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Press return to continue: 

然后当我按下回车键时,会出现一个窗口说

You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6
libstdc++.so.6

然后我点击“确定”并且终端显示

/home/user/.local/share/Steam/ubuntu12_32/steam: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
/home/user/.local/share/Steam/steam.sh: line 444: no match: ssfn*
user@user-desktop:~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-lin

答案2

好的,我成功了:D

我基本上重新安装了 ubuntu,我没有从他们的网站获取 nvidia 的驱动程序,而是从存储库中获取

sudo apt-get install linux-source
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-367

相关内容