I don't have Trine in library, but have som info might help you.
If you want to getn more log files, try to:
1 - Put steam_appid.txt file with contents of "35720" (id of trine in steam) in same directory with game binary.
2 - Run thought console like that: LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/ ~/.local/share/Steam/SteamApps/common/???
Now if you run game like that it's shoud run like though steam.
Other idea is to debug game.
Change launch options of Trine 2 to something like that: "strace %command% > /tmp/strace.out 2>&1" or even run game with "gdb".
Thank you for your reply.
1 - Put steam_appid.txt file with contents of "35720" (id of trine in steam) in same directory with game binary.
This file is there by default.
2 - Run thought console like that: LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/ ~/.local/share/Steam/SteamApps/common/???
Like I said, the game runs from the terminal like this, however it does NOT run through steam and does not detect my steam id. Error messages:
[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/frustbox/.steam/bin32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
SteamAPI failed to initialize.
Of course Steam is running.
Then it reports my username as hostnameLinux and does not find any online games, because it's not running through steam.
Strace does also not help, because I would need a way to trace the launch with the steamAPI enabled.
Generally, it's requested that the information requested at https://github.comValveSoftware/steam-for-linux#reporting-issues be provided so the developers can see more of what's going on.
Strace does also not help, because I would need a way to trace the launch with the steamAPI enabled.
So you need to do right click on Trine 2 in Steam Library -> Properties -> Set launch options:
And now you put here something like I said before: "strace %command% > /tmp/strace.out 2>&1"
So when you click "Play" steam will run gama like that: "strace /home/frustbox/.steam/SteamApps/common/XXX/binary > /tmp/strace.out 2>&1"
Thank you MrSchism, unfortunately there is not much I can tell.
System information:
Linux:
Steps to reproduce, I think I described it in depth. The game runs from the terminal, but not from within steam.
sxxx, thank you too. I tried it, but it does not generate a file. :(
Try to around with launch options, probably I there some specific for Trine 2, but you definitely could get extra information about launch.
This debug method is 100% work.
Also try to use Mesa debug vars:
http://www.mesa3d.org/envvars.html
So, today also the notebook updated steam and now there are the exact same symptoms described above. Well, the notebook isn't nearly powerful enough to run this game anyway, but it did load yesterday. There were no system updates, just a steam update.
Whatever was changed in the last steam update causes this issue for me.
I will attach two straces
Steam just updated and the game works again!
Consider this bug "fixed". :)
steamclient.dllx1 2013-02
Since yesterday Trine 2 does not launch on my system when started through steam, it worked before the last steam update. The game also successfully launches from terminal (¨/.local/share/Steam/SteamApps/common/Trine 2/trine2.sh) but I want to play Co-Op.
I noticed some differences between launching the game in terminal and launching it through steam, so I will point those out.
First, since I'm running archlinux, there is the warning about running on an unidentified distribution.
When I run the game in a terminal, then that message is readable.
Loading the game through steam shows the warning, but the text shows as rectangles: "▯▯▯▯▯" – the text is actually there, copy and paste reveals the text.
Next is the launcher window, selecting resolution, graphics settings etc.
When loading the game in a terminal, the buttons don't have any background. There's just black text on dark background, they are functional however.
Loading the game through steam shows the buttons with a gray theme that reminds me of windows 98 (ugly), they are functional as well.
Finally the game is supposed to be starting. When run in a terminal it launches perfectly and is playable. Through steam the game will crash/close as soon as the loading screen should show up.
There was an update to the graphics driver yesterday, but since the game runs, I don't think it's the issue. I even did roll back to make sure and it crashes with the old driver as well. Other system updates don't seem to be relevant.
Changing various graphics settings, enabling/disabling steam overlay did not change the problem. My guess is, that Steam messes with the environment. Maybe some variables that are not passed correctly.
Please let me know what additional information I could provide and thanks for bringing Steam on Linux.