Steam for Linux

Steam for Linux

Steam for Linux > 総合掲示板 > トピックの詳細
Gustavo 2013年2月10日 11時30分
How to run steam games with apitrace (for OpenGL driver debugging)
After reproducing a bug in Counter Strike - Source ( https://github.com/ValveSoftware/steam-for-linux/issues/1333 ) that is supposed to be an Intel graphics driver issue ( https://bugs.freedesktop.org/show_bug.cgi?id=60447 ). I wanted to know if there is any way to run CS-S with apitrace ( http://apitrace.github.com/ )
最近の変更はGustavoが行いました; 2013年2月11日 21時46分
< >
1-7 / 7 のコメントを表示
Dra'bla 2013年2月10日 14時31分 
Hi,

what have you tried?
I did:
apitrace trace --api egl /home/username/.local/share/Steam/steam.sh
both with gl and egl to see a difference.

Steam starts in both cases and i can run CS:S

Sadly the trace always failed with:
ERROR: ld.so: objecc '/usr/local/lib/x86_64-linux-gnu/apitrace/wrappers/egltrace.so' from LD_PRELOAD cannot be preloaded: ignored. and no .trace file created.

A user with more experience with apitrace might see some usefull info in the console output this generates.

Looks to me like a permission thingy. Running the command with sudo generates a Steam Error (failed to create /home/root/ ).

Will have more time tomorrow. Would be nice if you could share your progress/experience.
lordheavy 2013年2月10日 16時16分 
because you need a lib32 apitrace, i've built one on archlinux.
Dra'bla 2013年2月11日 14時52分 
Yes lordheady, my mistake.

Compiled it now for 32bit. I do get some errors on startup (LD_PRELOAD failed) but it starts tracing.

Sadly when i now start a game from the steam library i get the following error in Steam:
sdl_gl_loadlibrary(null) failed: opengl context already created

Perhaps i shouldn't do this on an experimental debian ;) Tomorrow i'll try again on a 32bit ubuntu or arch.

lordheavy: you are able to get traces from cs:s (and other games)?
最近の変更はDra'blaが行いました; 2013年2月11日 14時53分
Gustavo 2013年2月11日 21時48分 
Dra'bla: I'm having the same problem as you mention:

sdl_gl_loadlibrary(null) failed: opengl context already created

under Kubuntu 12.10, 64 bits (but compiling apitrace for 32 bits. I can trace apps that I can run from the command line, but not when I run them through Steam.
gQuigs 2013年2月18日 18時30分 
I think I am getting closer.. first I:
export GAME_DEBUGGER="apitrace trace "

then I run the game, but it fails missing filesystem_steam.so
lordheavy 2013年2月19日 1時47分 
GAME_DEBUGGER="apitrace trace " steam works for me with Counter Strike: Source
kode54 2013年5月20日 12時48分 
Or apitrace32 if you're running 64-bit Arch Linux and installed lib32-apitrace from the AUR package.
< >
1-7 / 7 のコメントを表示
ページ毎: 15 30 50

Steam for Linux > 総合掲示板 > トピックの詳細
投稿日: 2013年2月10日 11時30分
投稿数: 7