当我尝试加载 Psychonauts 时,它崩溃了,这是我从终端运行时得到的结果。任何帮助或建议都非常感谢。
shaneo@laptop:~$ cd psychonauts/
shaneo@laptop:~/psychonauts$ ./Psychonauts
STUBBED: fix up the rest of the SSE code first at DetectSSESupport
(/home/icculus/projects/psychonauts/Source/CommonLibs/DFMath/MathGeneral.cpp:32)
STUBBED: write me? at SetPCLanguage (/home/icculus/projects/psychonauts/Source/game/luatest/UnixMain.cpp:120)
STUBBED: fix up the rest of the SSE code first at DetectCPUCaps (/home/icculus/projects/psychonauts/Source/game/luatest/Game/PCGameApp.cpp:223)
STUBBED: check LANG envr var at _GetDefaultGameLanguage (/home/icculus/projects/psychonauts/Source/game/luatest/Game/GameApp.cpp:171)
Console created
Save path: /home/shaneo/.local/share/Psychonauts
Write path: WorkResource
STUBBED: inline asm at SSEMul_4x4_4x4_2arg
(/home/icculus/projects/psychonauts/Source/CommonLibs/DFMath/Matrix.cpp:710)
STUBBED: inline asm at SSEMul_4x4_4x4_3arg (/home/icculus/projects/psychonauts/Source/CommonLibs/DFMath/Matrix.cpp:698)
******** unit test failed ********
Transport started
DaveD: NCListenSocket: Listening on port 40001
STUBBED: VK_* at InitInputNames (/home/icculus/projects/psychonauts/Source/CommonLibs/DirectX/SDLInput.cpp:1173)
No joysticks detected
STUBBED: multisampling? at initPlatform (/home/icculus/projects/psychonauts/Source/CommonLibs/DFGraphics/OpenGLGraphics.cpp:1667)
ERROR: Missing required OpenGL extensions:
- GL_EXT_texture_compression_s3tc
Start Up completed in 0.13 seconds
Segmentation fault (core dumped)
shaneo@laptop:~/psychonauts$
答案1
Psychonauts 绝对可以在 Linux 下的 Intel 卡上运行,你只需强制卡允许 s3tc 纹理。要在命令行下执行此操作,你将使用:
force_s3tc_enable=true ./Psychonauts
它应该可以工作。您可能需要编辑安装程序创建的 .desktop 文件,以便它指向包含此命令的 psychonauts.sh 文件。这样您仍然可以从应用程序菜单运行游戏。
我的.sh 文件如下所示:
cd /home/mike/Custom/psychonauts
force_s3tc_enable=true ./Psychonauts
在 .desktop 文件中,我将 exec 从 更改"/home/mike/Custom/psychonauts/Psychonauts"
为sh /home/mike/Custom/psychonauts/psychonauts.sh
这什命令在这里是绝对必要的,否则游戏将无法正确加载并且您的桌面可能会被锁定。
提醒一句:虽然游戏可以在集成英特尔显卡上运行,但运行效果可能不是很好。您可以在游戏中调整图形设置以尝试提高性能,但至少还是会有点不稳定。
答案2
您的显卡可能不够好,无法玩这个游戏,如以下错误所示:
ERROR: Missing required OpenGL extensions: - GL_EXT_texture_compression_s3tc
如果您的显卡是 Nvidia 或 ATI 的,也有可能您忘记安装专有驱动程序。