Steam for Linux > Obecné diskuze > Detaily tématu
play3man 25. lis. 2012 v 2.58 dop.
Can't start Amnesia: The Dark Descent Demo
I just downloaded Amnesia demo. I clicked on PLAY and it opened a window. That's all.

http://img266.imageshack.us/img266/9937/obrazovkaz2012112511572.png

"Game update: AppID 57310 "Amnesia: The Dark Descent Demo ", ProcID 5282, IP 0.0.0.0:0
Checking libraries . done
Pre-Sort
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
geforce
mobile intel(r) series express chipset family
graphics media accelerator
radeon
radeon hd
amd
mesa
Post-Sort
mobile intel(r) series express chipset family
graphics media accelerator
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
radeon hd
geforce
radeon
amd
mesa
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
X_ChangeProperty: BadValue (integer parameter out of range for operation) 0x0"
Zobrazeno 1-15 z 20 komentářů
< >
blinken 25. lis. 2012 v 3.15 dop. 
Yep. Same for me. For some reason it is stuck in the Launcher window.
Mewt :< 25. lis. 2012 v 3.52 dop. 
+1 on this. I had to kill launcher.bin before the window would stop respawing.
blackout24 25. lis. 2012 v 4.09 dop. 
Amnesia is multi arch.
It requires libxmu glu as dependency.

The start script checks if it should start the 32 bit binary and check for 32 bit dependencies or if your system is 64 bit. It does that with the command "arch" which doesn't work on most linux boxes. If you type "arch" in your terminal it will probably not find the command. It should rather look for architecture with uname and some parameters.

To fix this go to your steamapps folder -> common -> Amensia Demo. There should be some shell script which gets called when you click play. Edit it and you will see something like

if ["arch" == i686]
./checkdepends32
./launchbin32

else {

if ["arch" == x86_64]
./checkdepends64
./launchbin64
}
etc.

I have not installed it anymore so I can't tell you how the script is called exactly just open some of the files with nano or gedit and see if they look like this.

Change this so that it just executes the right commands ( the ./abcd stuff) for your architecture but doesn't have to call "arch" in the if condition which will fail because there is no "arch" command. Now save it and click play it should work now.
Naposledy upravil blackout24; 25. lis. 2012 v 4.11 dop.
play3man 25. lis. 2012 v 4.30 dop. 
Sorry I'm not sure what I have to edit :D

This i have inside run_steam.sh file:


"#!/bin/bash

# Steam claims they are going to put us in the app directory.

if [ `arch` == "x86_64" ]; then
./checklibs.sh libs64 Amnesia.bin64
./Launcher.bin64
else
./checklibs.sh libs Amnesia.bin
./Launcher.bin
fi"

And this is in that folder http://img87.imageshack.us/img87/2685/obrazovkaz2012112513251.png

I have 32bit/Ubuntu system. When I type into terminal "arch":

play3man@play3man:~$ arch
i686
play3man@play3man:~$
Naposledy upravil play3man; 25. lis. 2012 v 4.43 dop.
blackout24 25. lis. 2012 v 5.37 dop. 
Mhh if the arch command works on your pc it should launch
./checklibs.sh libs Amnesia.bin
./Launcher.bin
anyway if you use 32 Bit Ubuntu.

Make a backup of that file and just have it contain.

"#!/bin/bash
# Steam claims they are going to put us in the app directory.
./checklibs.sh libs Amnesia.bin
./Launcher.bin

and see if that works. I had to do the things I mentioned for my my 64 Bit system so it would correctly use the 64 bit stuff.
Naposledy upravil blackout24; 25. lis. 2012 v 5.38 dop.
play3man 25. lis. 2012 v 6.05 dop. 
When I run ./Launcher.bin from terminal it works good despite the terminal output is the same

"play3man@play3man:~$ '/home/play3man/Steam/SteamApps/common/Amnesia The Dark Descent Demo/Launcher.bin'
Pre-Sort
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
geforce
mobile intel(r) series express chipset family
graphics media accelerator
radeon
radeon hd
amd
mesa
Post-Sort
mobile intel(r) series express chipset family
graphics media accelerator
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
radeon hd
geforce
radeon
amd
mesa
X_ChangeProperty: BadValue (integer parameter out of range for operation) 0x0"

http://img217.imageshack.us/img217/4383/obrazovkaz2012112515021.png

And when I edit the script only on

"#!/bin/bash
./checklibs.sh libs Amnesia.bin
./Launcher.bin"

it won't start...

with only

#!/bin/bash
./checklibs.sh libs Amnesia.bin

too...
play3man 25. lis. 2012 v 6.38 dop. 
.... when I click on Launch Game, it crashed with

"*** glibc detected *** ./Amnesia.bin: free(): invalid pointer: 0x0a1c8024 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb7054ee2]
/usr/lib/i386-linux-gnu/libdricore9.1.0.so.1(+0x216289)[0xb5411289]
/usr/lib/i386-linux-gnu/libdricore9.1.0.so.1(+0x21626b)[0xb541126b]
/usr/lib/i386-linux-gnu/libdricore9.1.0.so.1(+0x21626b)[0xb541126b]
/usr/lib/i386-linux-gnu/dri/i965_dri.so(+0x4f51d)[0xb55fd51d]
/usr/lib/i386-linux-gnu/dri/i965_dri.so(+0x3c17f)[0xb55ea17f]
/usr/lib/i386-linux-gnu/dri/i965_dri.so(+0x93f54)[0xb5641f54]
/usr/lib/i386-linux-gnu/dri/i965_dri.so(+0x3c686)[0xb55ea686]
/usr/lib/i386-linux-gnu/dri/i965_dri.so(+0x69d34)[0xb5617d34]
/usr/lib/i386-linux-gnu/libdricore9.1.0.so.1(_mesa_glsl_link_shader+0x11e)[0xb542f52e]
/usr/lib/i386-linux-gnu/libdricore9.1.0.so.1(+0xebfdb)[0xb52e6fdb]
./Amnesia.bin(_ZN3hpl12cGLSLProgram4LinkEv+0x40)[0x85cbb60]
./Amnesia.bin(_ZN3hpl9cGraphics27CreateGpuProgramFromShadersERKSsS2_S2_PNS_19cParserVarContainerE+0xac)[0x84452bc]
./Amnesia.bin(_ZN3hpl17cRendererDeferred8LoadDataEv+0x2f18)[0x8419778]
./Amnesia.bin(_ZN3hpl9cGraphics4InitEiiiiiNS_17eGpuProgramFormatERKSsRKNS_8cVector2IiEEPNS_10cResourcesEj+0x3e2)[0x8445be2]
./Amnesia.bin(_ZN3hpl7cEngine8GameInitEPNS_20iLowLevelEngineSetupEjPNS_15cEngineInitVarsE+0x25a)[0x8559aba]
./Amnesia.bin(_ZN3hpl7cEngineC1EPNS_20iLowLevelEngineSetupEjPNS_15cEngineInitVarsE+0x89)[0x855b739]
./Amnesia.bin(_ZN3hpl15CreateHPLEngineENS_7eHplAPIEjPNS_15cEngineInitVarsE+0x5c)[0x855ba2c]
./Amnesia.bin(_ZN8cLuxBase10InitEngineEv+0x321)[0x8402d11]
./Amnesia.bin(_ZN8cLuxBase4InitERKSs+0x7c)[0x84065ec]
./Amnesia.bin(_Z7hplMainRKSs+0x33)[0x82b2b03]
./Amnesia.bin(main+0x14d)[0x8543a9d]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb6ff84d3]
./Amnesia.bin(ftell+0x49)[0x81969d1]
======= Memory map: ========
08048000-08843000 r-xp 00000000 08:03 6949438 /home/play3man/Steam/SteamApps/common/Amnesia The Dark Descent Demo/Amnesia.bin
08843000-08848000 rw-p 007fa000 08:03 6949438 /home/play3man/Steam/SteamApps/common/Amnesia The Dark Descent Demo/Amnesia.bin
08848000-0885a000 rw-p 00000000 00:00 0
09b72000-0a230000 rw-p 00000000 00:00 0 [heap]
b4249000-b424a000 rw-s 00000000 00:04 14274 /drm mm object (deleted)
b424b000-b424c000 rw-p 00000000 00:00 0
b424c000-b4258000 rw-s 00000000 00:04 14682 /drm mm object (deleted)
b4259000-b425a000 rw-p 00000000 00:00 0
b425a000-b425b000 rw-s 12733000 00:05 7538 /dev/dri/card0
b425b000-b425c000 rw-s 00000000 00:04 14253 /drm mm object (deleted)
b425c000-b519c000 rw-p 00000000 00:00 0
b519c000-b51cc000 r-xp 00000000 08:05 1182781 /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
b51cc000-b51cd000 r--p 0002f000 08:05 1182781 /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
b51cd000-b51ce000 rw-p 00030000 08:05 1182781 /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
b51ce000-b51d7000 r-xp 00000000 08:05 1182638 /usr/lib/i386-linux-gnu/libpciaccess.so.0.11.1
b51d7000-b51d8000 r--p 00008000 08:05 1182638 /usr/lib/i386-linux-gnu/libpciaccess.so.0.11.1
b51d8000-b51d9000 rw-p 00009000 08:05 1182638 /usr/lib/i386-linux-gnu/libpciaccess.so.0.11.1
b51d9000-b51f9000 r-xp 00000000 08:05 1182273 /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0
b51f9000-b51fa000 r--p 0001f000 08:05 1182273 /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0
b51fa000-b51fb000 rw-p 00020000 08:05 1182273 /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0
b51fb000-b5571000 r-xp 00000000 08:05 1180161 /usr/lib/i386-linux-gnu/libdricore9.1.0.so.1.0.0
b5571000-b557a000 r--p 00375000 08:05 1180161 /usr/lib/i386-linux-gnu/libdricore9.1.0.so.1.0.0
b557a000-b5581000 rw-p 0037e000 08:05 1180161 /usr/lib/i386-linux-gnu/libdricore9.1.0.so.1.0.0
b5581000-b5596000 rw-p 00000000 00:00 0
b55ae000-b5675000 r-xp 00000000 08:05 1185526 /usr/lib/i386-linux-gnu/dri/i965_dri.so
b5675000-b5676000 ---p 000c7000 08:05 1185526 /usr/lib/i386-linux-gnu/dri/i965_dri.so
b5676000-b5678000 r--p 000c7000 08:05 1185526 /usr/lib/i386-linux-gnu/dri/i965_dri.so
b5678000-b5679000 rw-p 000c9000 08:05 1185526 /usr/lib/i386-linux-gnu/dri/i965_dri.so
b5679000-b59d2000 rw-p 00000000 00:00 0
b59d2000-b5a29000 rw-p 00000000 00:00 0
b5acb000-b5ad4000 r-xp 00000000 08:05 1182097 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b5ad4000-b5ad5000 r--p 00008000 08:05 1182097 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b5ad5000-b5ad6000 rw-p 00009000 08:05 1182097 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b5aee000-b5aef000 ---p 00000000 00:00 0
b5aef000-b62f0000 rw-p 00000000 00:00 0 [stack:2473]
b62f0000-b62f7000 r--s 00000000 08:05 1183403 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b62f7000-b6315000 r--p 00857000 08:05 1186669 /usr/lib/locale/locale-archive
b6315000-b6515000 r--p 00000000 08:05 1186669 /usr/lib/locale/locale-archive
b6515000-b651a000 rw-p 00000000 00:00 0
b651a000-b652d000 r-xp 00000000 08:05 654877 /lib/i386-linux-gnu/libresolv-2.15.so
b652d000-b652e000 r--p 00013000 08:05 654877 /lib/i386-linux-gnu/libresolv-2.15.so
b652e000-b652f000 rw-p 00014000 08:05 654877 /lib/i386-linux-gnu/libresolv-2.15.so
b652f000-b6531000 rw-p 00000000 00:00 0
b6531000-b6697000 r-xp 00000000 08:05 1182814 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b6697000-b66a8000 r--p 00165000 08:05 1182814 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b66a8000-b66a9000 rw-p 00176000 08:05 1182814 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b66a9000-b66f7000 r-xp 00000000 08:05 1182011 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b66f7000-b66f8000 r--p 0004e000 08:05 1182011 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b66f8000-b66f9000 rw-p 0004f000 08:05 1182011 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b66f9000-b670f000 r-xp 00000000 08:05 654834 /lib/i386-linux-gnu/libnsl-2.15.so
b670f000-b6710000 r--p 00015000 08:05 654834 /lib/i386-linux-gnu/libnsl-2.15.so
b6710000-b6711000 rw-p 00016000 08:05 654834 /lib/i386-linux-gnu/libnsl-2.15.so
b6711000-b6714000 rw-p 00000000 00:00 0
b6714000-b6718000 r-xp 00000000 08:05 654904 /lib/i386-linux-gnu/libuuid.so.1.3.0
b6718000-b6719000 r--p 00003000 08:05 654904 /lib/i386-linux-gnu/libuuid.so.1.3.0
b6719000-b671a000 rw-p 00004000 08:05 654904 /lib/i386-linux-gnu/libuuid.so.1.3.0
b671a000-b673f000 r-xp 00000000 08:05 654795 /lib/i386-linux-gnu/libexpat.so.1.6.0
b673f000-b6741000 r--p 00025000 08:05 654795 /lib/i386-linux-gnu/libexpat.so.1.6.0"
blinken 25. lis. 2012 v 6.58 dop. 
I don't think you need to change any files.

The game will start if you run it from terminal:

cd /home/playerpawn/Steam/SteamApps/common/Amnes*
./run_steam.sh

That way it works.
play3man 25. lis. 2012 v 7.05 dop. 
Yes, but when I run game this way, it crashed with error above.
play3man 25. lis. 2012 v 10.46 dop. 
So, I get into menu when I ran game in terminal. But when I clicked on Start Game it after 3-4 seconds crashed with no error...
Naposledy upravil play3man; 25. lis. 2012 v 10.46 dop.
DaVince 30. lis. 2012 v 8.14 dop. 
I just found out the launcher window does work - it just doesn't display its contents properly. I went on a mad clicking spree inside the window and apparently I found the right hotspot near the bottom left-middle since the game actually started.
Blin 2. pro. 2012 v 3.12 dop. 
Try running "which arch" without the quotes.
On my machine it gives
$ which arch
which: no arch in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:~/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)

So there is no binary named "arch" in $PATH .

A portable solution would be to replace `arch` with `uname -m`. uname is part of coreutils, so it should be installed on every linux distribution.

So the final script should look like this:
#!/bin/bash

# Steam claims they are going to put us in the app directory.

if [ `uname -m` == "x86_64" ]; then
./checklibs.sh libs64 Amnesia.bin64
./Launcher.bin64
else
./checklibs.sh libs Amnesia.bin
./Launcher.bin
fi


This fixed the problem described in the original post.

As for "crashes without output": it might be an issue with S3TC, see official forum[www.frictionalgames.com] for details.
play3man 2. pro. 2012 v 3.26 dop. 
Blin původně napsal:
Try running "which arch" without the quotes.
On my machine it gives
$ which arch
which: no arch in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:~/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)

So there is no binary named "arch" in $PATH .

A portable solution would be to replace `arch` with `uname -m`. uname is part of coreutils, so it should be installed on every linux distribution.

So the final script should look like this:
#!/bin/bash

# Steam claims they are going to put us in the app directory.

if [ `uname -m` == "x86_64" ]; then
./checklibs.sh libs64 Amnesia.bin64
./Launcher.bin64
else
./checklibs.sh libs Amnesia.bin
./Launcher.bin
fi


This fixed the problem described in the original post.

As for "crashes without output": it might be an issue with S3TC, see official forum[www.frictionalgames.com] for details.

play3man@play3man-Extensa-5630:~$ which arch
/usr/bin/arch
play3man@play3man-Extensa-5630:~$
shauder 6. pro. 2012 v 4.06 odp. 
Just do this

sudo nano /usr/bin/arch

enter this text in the new file
#!/bin/bash
uname -m

save the file

sudo chmod +x /usr/bin/arch

Fixed now for me.
Nch 7. pro. 2012 v 11.41 dop. 
Same play3man, I already have an arch in, and open it just shows weird stuff (pretty like when you open a binary)... So yeah, adding and compiling is no use for me :(
Zobrazeno 1-15 z 20 komentářů
< >
Na stránku: 15 30 50
Datum odeslání: 25. lis. 2012 v 2.58 dop.
Počet příspěvků: 20