因此,我最近在运行 12.04 LTS 的计算机上安装了 Bumblebee。我使用 optirun 命令启动 Steam,它运行得很好。我尝试在 Steam 中启动 Team Fortress 2,它会播放介绍视频的一个音符,然后崩溃。终端错误显示:
The program 'hl2_linux' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 139 error_code 3 request_code 15 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Missing shutdown function for DevShotGenerator_Init() : DevShotGenerator_Shutdown()
Missing shutdown function for MapReslistGenerator_Init() : MapReslistGenerator_Shutdown()
Missing shutdown function for COM_InitFilesystem( m_StartupInfo.m_pInitialMod ) : COM_ShutdownFileSystem()
Missing shutdown function for Steam3Client().Activate() : Steam3Client().Shutdown()
/home/kelerak/.local/share/Steam/SteamApps/common/Team Fortress 2/hl2.sh: line 67: 3248 Segmentation fault (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 440 "Team Fortress 2", ProcID 3248
然后它会重复这句话:
(steam:2816): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
有人知道发生了什么事吗?
答案1
我建议不要使用 optirun 运行整个 Steam,而是正常启动 Steam 并编辑程序设置以使用启动命令“optirun %command%”(不带引号)。这会限制显卡的内存仅供游戏本身使用。我不确定这是否有助于解决您遇到的其他问题,但可能会有所帮助。