Steam for Linux > Limited Beta > Подробности темы
Barbarian 19 ноя, 2012 @ 14:00
Issue Report: TF2 has unusable menus, not displaying images
When attempting to use the hl2.sh script from within the folder, I get this:

$ primusrun ./hl2.sh
/home/myusername/Steam/SteamApps/barbariandude/Team Fortress 2/hl2.sh: line 72: 20843 Segmentation fault ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

So I thought, no biggie, using your shell script as inspiration for what's needed, I'll make my own. I ended up with this after much trial and error and begging people on freenode for help:

#!/bin/bash

cd ~/Steam/SteamApps/barbariandude/Team\ Fortress\ 2/
export LD_LIBRARY_PATH=/home/myusername/Steam/SteamApps/barbariandude/Team\ Fortress\ 2/bin/:/home/myusername/Steam/ubuntu12_32/:/home/myusername/.steam/bin/:$LD_LIBRARY_PATH
export SDL_AUDIODRIVER=alsa
primusrun ./hl2_linux

Using that, my game ran and had sound, which was definitely a step in the right direction. However, it looks like this http://i.imgur.com/BClqr.png and the only buttons that work are options, advanced options and quit.

That's pretty much where I am now. Here's all the STDERR output from a launched TF2 session incase somebody sees something that I don't: (I tried copying over cef_gtk.pak from ~/Steam/ubuntu12_32/, and it got rid of the error but nothing changed, so I removed it again)

SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
Using breakpad crash handler
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(440)/version(5122_client)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197997477143 [API loaded yes]
Steam_SetMinidumpSteamID: Setting Steam ID: 76561197997477143
ConVarRef m_rawinput doesn't point to an existing ConVar
[1119/214826:ERROR:resource_bundle.cc(411)] Failed to load /home/myusername/Steam/SteamApps/barbariandude/Team Fortress 2/cef_gtk.pak
Some features may not be available.
[1119/214826:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
Loaded program cache file "glshaders.cfg", total keyvalues: 3, total successfully linked: 3
Precache: Took 44 ms, Vertex 64, Pixel 3
Game.so loaded for "Team Fortress"

Thanks in advance, really hoping to be able to play TF2 sometime soon.
Последний раз отредактировал Barbarian; 19 ноя, 2012 @ 14:10
Показано 11 из 1 комментариев
< >
pierinz 8 дек, 2012 @ 7:29 
Thanks, i made some little changes to your script and now i can run TF2 Beta (TF2 still segfaults). The beta is painfully slow to load, but at least it works.

#!/bin/bash
#Steam username
username=pierinz

cd ~/.steam/steam/SteamApps/$username/Team\ Fortress\ 2\ Beta/
export LD_LIBRARY_PATH=/home/$USER/.steam/steam/SteamApps/$username/Team\ Fortress\ 2\ Beta/bin/:/home/$USER/.steam/steam/ubuntu12_32/:/home/$USER/.steam/bin/:$LD_LIBRARY_PATH
# I have pulseaudio
#export SDL_AUDIODRIVER=alsa
primusrun ./hl2_linux -game tf_beta
Показано 11 из 1 комментариев
< >
На страницу: 15 30 50
Дата создания: 19 ноя, 2012 @ 14:00
Сообщений: 1