Portal 2 无法启动

Portal 2 无法启动

通常我可以自己解决这个问题,但是这个问题却难住了我:

当我尝试在 Steam 中打开 Portal 2 时,我收到准备启动 Portal 2 的消息,该消息关闭,然后什么都没有。游戏没有启动,没有错误消息。我尝试验证游戏文件,成功了。但我仍然无法启动 Portal。我尝试在终端中运行 portal2.sh 文件。这是输出:

libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
SDL video target is 'x11'
SDL video target is 'x11'

SDL failed to create GL compatibility profile (whichProfile=0!
SDL failed to create GL compatibility profile (whichProfile=0!

PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0!
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.

我可以很好地玩 Team Fortress 2,所以我不认为 openGL 是问题所在。我读到过更新显卡驱动程序可能会有帮助,但我不知道如何在 ubuntu 上更新我的驱动程序。我的显卡是:NVIDIA Corporation GT218 [GeForce 8400 GS Rev. 3] (rev a2)

更新:我刚刚确认我有 openGL 10.3.2。这很容易满足 portal 2 的 2.0.0 或更高版本的要求。

答案1

我在 64 位 Ubuntu 14.04 上遇到了这个问题,并通过执行以下操作修复了它

  1. 删除 SteamApps/common/Portal 2/bin/libstdc++.so.6
  2. 运行 Steam 客户端
  3. cd“SteamApps/common/Portal 2”
  4. LD_LIBRARY_PATH=bin./portal2_linux-game portal2-windowed

通过这种方式运行一次后,我就可以从普通库窗口启动它

很抱歉,我不记得这个答案的归属,但如果你愿意的话,你可以用谷歌搜索一下。

相关内容