Closed Rudloff closed 10 years ago
@Rudloff 3D acceleration is working? glxgears
Yes, it seems to work. I see the gears and it ouputs this:
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.496 FPS
@Rudloff What is the contents of the directory
~/.steam/SteamApps/common/Crypt of the NecroDancer/
data fmod libavutil.so.51 libsamplerate.so.0 libyaml-0.so.2 NecroDancer
essentia libavcodec.so.53 libfftw3f.so.3 libsteam_api.so license.txt steam_appid.txt
essentia-2.0.zip libavformat.so.53 libglfw.so.2 libtag.so.1 logs
@Rudloff Does the data
dir have any type of launch script?
I don't think so, mostly images and sounds: https://gist.github.com/Rudloff/1df9f4bef819e78ee3ee
@Rudloff Hmm... guess it's time to try some actual debugging!
strace -e trace=open -f -o steam-debian.log steam-debian
This will log the system calls made by steam-debian
and output the log to the file steam-debian.log
Try launching the game, and when it crashes paste the contents of steam-debian.log
Here is the log: https://gist.github.com/Rudloff/418f05541f98f89b0836
@Rudloff Have you tried steam-debian --reset
?
Yes, but it didn't change anything.
@Rudloff Alright. I'll analyze the log file and see what I can come up with.
@Rudloff Does cd'ing into ~/.steam/SteamApps/common/Crypt of the NecroDancer/
and executing ./NecroDancer
change anything?
Executing it directly does not work at all:
./NecroDancer: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
And if I run it with LD_LIBRARY_PATH=~/.steam/SteamApps/common/Crypt\ of\ the\ NecroDancer/:/usr/lib/steam/i386-linux-gnu/ ./NecroDancer
, it crashes instantly:
NecroDancer version 0.370 alpha loading...
OnCreate: Initializing Steam
Setting breakpad minidump AppID = 247080
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198045095461 [API loaded no]
Steam: Successful init
Steam: Initializing leaderboard object
Steam Leaderboards: Constructor
Steam: Initializing UGC remote storage object
Steam: ENSURING GAME WAS LAUNCHED VIA STEAM.
Steam: GAME WAS LAUNCHED WITH STEAM.
OnCreate: Updating screen size
OnCreate: Starting FMOD
Initializing FMOD values
OnCreate: Setting update rate
GLOBAL_SCALE_FACTOR: 2.0
Loading ControllerMainMenu...
DATA VERSION: 2
ControllerMainMenu: Loading images1...
ControllerMainMenu: Loading images3...
ControllerMainMenu: Loading ControllerIntro...
ControllerIntro: Loading images1...
ControllerIntro: Loading images2...
ControllerIntro: Initializing Audio...
ControllerIntro: Loading video...
ControllerMainMenu LOADED
*** stack smashing detected ***: ./NecroDancer terminated
======= Backtrace: =========
/usr/lib/steam/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xf71f00e5]
/usr/lib/steam/i386-linux-gnu/libc.so.6(+0x10409a)[0xf71f009a]
./NecroDancer[0x80ae094]
./NecroDancer[0x814b448]
./NecroDancer[0x814ba32]
./NecroDancer[0x814bcd0]
./NecroDancer[0x804ce5d]
/usr/lib/steam/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xf71054d3]
./NecroDancer[0x804dd15]
======= Memory map: ========
08048000-082df000 r-xp 00000000 08:06 22420214 /home/pierre/.steam/SteamApps/common/Crypt of the NecroDancer/NecroDancer
082df000-082e0000 r--p 00296000 08:06 22420214 /home/pierre/.steam/SteamApps/common/Crypt of the NecroDancer/NecroDancer
082e0000-082e1000 rw-p 00297000 08:06 22420214 /home/pierre/.steam/SteamApps/common/Crypt of the NecroDancer/NecroDancer
082e1000-082e2000 rw-p 00000000 00:00 0
09f28000-0a406000 rw-p 00000000 00:00 0 [heap]
e8b02000-e8fa6000 rw-p 00000000 00:00 0
e8fa6000-e8fa7000 ---p 00000000 00:00 0
e8fa7000-e9a00000 rw-p 00000000 00:00 0
e9a00000-e9a27000 rw-p 00000000 00:00 0
e9a27000-e9b00000 ---p 00000000 00:00 0
e9b00000-e9bb3000 rw-p 00000000 00:00 0
e9bb3000-e9c00000 ---p 00000000 00:00 0
e9c00000-e9c21000 rw-p 00000000 00:00 0
e9c21000-e9d00000 ---p 00000000 00:00 0
e9d0c000-e9d0d000 ---p 00000000 00:00 0
e9d0d000-e9d18000 rw-p 00000000 00:00 0
e9d18000-e9d19000 ---p 00000000 00:00 0
e9d19000-ea519000 rw-p 00000000 00:00 0
ea519000-ee51a000 rw-s 00000000 00:11 122292 /run/shm/pulse-shm-1090241725
ee51a000-ef464000 r-xp 00000000 08:06 21766432 /home/pierre/.steam/linux32/steamclient.so
ef464000-ef4be000 r--p 00f49000 08:06 21766432 /home/pierre/.steam/linux32/steamclient.so
ef4be000-ef4cf000 rw-p 00fa3000 08:06 21766432 /home/pierre/.steam/linux32/steamclient.so
ef4cf000-ef500000 rw-p 00000000 00:00 0
ef500000-ef521000 rw-p 00000000 00:00 0
ef521000-ef600000 ---p 00000000 00:00 0
ef601000-ef6ff000 rw-p 00000000 00:00 0
ef6ff000-ef700000 ---p 00000000 00:00 0
ef700000-eff00000 rw-p 00000000 00:00 0
eff00000-eff21000 rw-p 00000000 00:00 0
eff21000-f0000000 ---p 00000000 00:00 0
f0010000-f008f000 rw-p 00000000 00:00 0
f008f000-f4090000 rw-s 00000000 00:11 122279 /run/shm/pulse-shm-1365275728
f4090000-f4091000 ---p 00000000 00:00 0
f4091000-f4891000 rw-p 00000000 00:00 0
f4891000-f48a4000 r-xp 00000000 08:01 540971 /usr/lib/steam/i386-linux-gnu/libresolv-2.15.so
f48a4000-f48a5000 ---p 00013000 08:01 540971 /usr/lib/steam/i386-linux-gnu/libresolv-2.15.so
f48a5000-f48a6000 r--p 00013000 08:01 540971 /usr/lib/steam/i386-linux-gnu/libresolv-2.15.so
f48a6000-f48a7000 rw-p 00014000 08:01 540971 /usr/lib/steam/i386-linux-gnu/libresolv-2.15.so
f48a7000-f48a9000 rw-p 00000000 00:00 0
f48a9000-f4a0f000 r-xp 00000000 08:01 263913 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
f4a0f000-f4a20000 r--p 00165000 08:01 263913 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
f4a20000-f4a21000 rw-p 00176000 08:01 263913 /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
f4a21000-f4a6f000 r-xp 00000000 08:01 266796 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
f4a6f000-f4a70000 r--p 0004d000 08:01 266796 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
f4a70000-f4a71000 rw-p 0004e000 08:01 266796 /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
f4a71000-f4a87000 r-xp 00000000 08:01 540977 /usr/lib/steam/i386-linux-gnu/libnsl-2.15.so
f4a87000-f4a88000 r--p 00015000 08:01 540977 /usr/lib/steam/i386-linux-gnu/libnsl-2.15.so
f4a88000-f4a89000 rw-p 00016000 08:01 540977 /usr/lib/steam/i386-linux-gnu/libnsl-2.15.so
f4a89000-f4a8b000 rw-p 00000000 00:00 0
f4a8b000-f4a99000 r-xp 00000000 08:01 266865 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
f4a99000-f4a9a000 rw-p 0000e000 08:01 266865 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
f4a9a000-f4a9e000 r-xp 00000000 08:01 417277 /lib/i386-linux-gnu/libuuid.so.1.3.0
f4a9e000-f4a9f000 r--p 00003000 08:01 417277 /lib/i386-linux-gnu/libuuid.so.1.3.0
f4a9f000-f4aa0000 rw-p 00004000 08:01 417277 /lib/i386-linux-gnu/libuuid.so.1.3.0
f4aa0000-f4aa4000 r-xp 00000000 08:01 417250 /lib/i386-linux-gnu/libattr.so.1.1.0
f4aa4000-f4aa5000 r--p 00003000 08:01 417250 /lib/i386-linux-gnu/libattr.so.1.1.0
f4aa5000-f4aa6000 rw-p 00004000 08:01 417250 /lib/i386-linux-gnu/libattr.so.1.1.0
f4aa6000-f4aab000 r-xp 00000000 08:01 266696 /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
f4aab000-f4aac000 rw-p 00004000 08:01 266696 /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
f4aac000-f4b19000 r-xp 00000000 08:01 266844 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f4b19000-f4b1b000 r--p 0006c000 08:01 266844 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f4b1b000-f4b1c000 rw-p 0006e000 08:01 266844 /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
f4b1c000-f4b20000 rw-p 00000000 00:00 0
f4b20000-f4b28000 r-xp 00000000 08:01 417330 /lib/i386-linux-gnu/libwrap.so.0.7.6
f4b28000-f4b29000 r--p 00007000 08:01 417330 /lib/i386-linux-gnu/libwrap.so.0.7.6
f4b29000-f4b2a000 rw-p 00008000 08:01 417330 /lib/i386-linux-gnu/libwrap.so.0.7.6
f4b2a000-f4b2f000 r-xp 00000000 08:01 266875 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0
f4b2f000-f4b30000 rw-p 00004000 08:01 266875 /usr/lib/i386-linux-gnu/libXtst.so.6.1.0
f4b30000-f4b37000 r-xp 00000000 08:01 266754 /usr/lib/i386-linux-gnu/libSM.so.6.0.1
f4b37000-f4b38000 rw-p 00006000 08:01 266754 /usr/lib/i386-linux-gnu/libSM.so.6.0.1
f4b38000-f4b4e000 r-xp 00000000 08:01 266736 /usr/lib/i386-linux-gnu/libICE.so.6.3.0
f4b4e000-f4b50000 rw-p 00015000 08:01 266736 /usr/lib/i386-linux-gnu/libICE.so.6.3.0
f4b50000-f4b51000 rw-p 00000000 00:00 0
f4b51000-f4b52000 r-xp 00000000 08:01 263177 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f4b52000-f4b53000 rw-p 00000000 08:01 263177 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0
f4b53000-f4b57000 r-xp 00000000 08:01 417283 /lib/i386-linux-gnu/libcap.so.2.22
f4b57000-f4b58000 rw-p 00003000 08:01 417283 /lib/i386-linux-gnu/libcap.so.2.22
f4b58000-f4ba1000 r-xp 00000000 08:01 393594 /lib/i386-linux-gnu/libdbus-1.so.3.7.2
f4ba1000-f4ba2000 r--p 00049000 08:01 393594 /lib/i386-linux-gnu/libdbus-1.so.3.7.2
f4ba2000-f4ba3000 rw-p 0004a000 08:01 393594 /lib/i386-linux-gnu/libdbus-1.so.3.7.2
f4ba3000-f4c09000 r-xp 00000000 08:01 417404 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.0.so
f4c09000-f4c0a000 r--p 00065000 08:01 417404 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.0.so
f4c0a000-f4c0b000 rw-p 00066000 08:01 417404 /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.0.so
f4c0b000-f4c13000 r-xp 00000000 08:01 417373 /lib/i386-linux-gnu/libjson.so.0.1.0
f4c13000-f4c14000 r--p 00007000 08:01 417373 /lib/i386-linux-gnu/libjson.so.0.1.0
f4c14000-f4c15000 rw-p 00008000 08:01 417373 /lib/i386-linux-gnu/libjson.so.0.1.0
f4c15000-f4c63000 r-xp 00000000 08:01 266885 /usr/lib/i386-linux-gnu/libpulse.so.0.14.2
f4c63000-f4c64000 r--p 0004d000 08:01 266885 /usr/lib/i386-linux-gnu/libpulse.so.0.14.2
f4c64000-f4c65000 rw-p 0004e000 08:01 266885 /usr/lib/i386-linux-gnu/libpulse.so.0.14.2
f4c6c000-f4c6d000 rw-p 00000000 00:00 0
f4c6d000-f4c6e000 ---p 00000000 00:00 0
f4c6e000-f4c7e000 rw-p 00000000 00:00 0
f4c7e000-f4c81000 r-xp 00000000 08:01 266881 /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
f4c81000-f4c82000 r--p 00002000 08:01 266881 /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
f4c82000-f4c83000 rw-p 00003000 08:01 266881 /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
f4c83000-f4c85000 rw-p 00000000 00:00 0
f4c85000-f4c8c000 r--s 00000000 08:01 397853 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
f4c8c000-f4c8e000 rw-p 00000000 00:00 0
f4c8e000-f4c90000 rw-s 00000000 08:01 134830 /tmp/glSClc7Q (deleted)
f4c90000-f4e90000 rw-s 2c0ad000 00:05 7948 /dev/nvidia0
f4e90000-f4f90000 rw-s 3f5d7000 00:05 7948 /dev/nvidia0
f4f90000-f4f94000 rw-s 32158000 00:05 7948 /dev/nvidia0
f4f94000-f4fd4000 rw-s b5607000 00:05 7948 /dev/nvidia0
f4fd4000-f4ff4000 rw-s ce7a3000 00:05 7948 /dev/nvidia0
f4ff4000-f4ff5000 rw-s f6c0a000 00:05 7948 /dev/nvidia0
f4ff5000-f5035000 rw-s 32094000 00:05 7948 /dev/nvidia0
f5035000-f5055000 rw-s 3f47d000 00:05 7948 /dev/nvidia0
f5055000-f51a8000 rw-p 00000000 00:00 0
f51a8000-f51c5000 rw-s 1168c5000 00:05 7948 /dev/nvidia0
f51c5000-f5249000 rw-p 00000000 00:00 0
f5249000-f524e000 r-xp 00000000 08:01 263140 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
f524e000-f524f000 rw-p 00004000 08:01 263140 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
f524f000-f5251000 r-xp 00000000 08:01 263132 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
f5251000-f5252000 rw-p 00001000 08:01 263132 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
f5252000-f5253000 rw-p 00000000 00:00 0
f5253000-f525c000 r-xp 00000000 08:01 270055 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
f525c000-f525d000 rw-p 00008000 08:01 270055 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
f525d000-f527e000 r-xp 00000000 08:01 263149 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
f527e000-f527f000 r--p 00020000 08:01 263149 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
f527f000-f5280000 rw-p 00021000 08:01 263149 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
f5280000-f5287000 r-xp 00000000 08:01 540961 /usr/lib/steam/i386-linux-gnu/librt-2.15.so
f5287000-f5288000 r--p 00006000 08:01 540961 /usr/lib/steam/i386-linux-gnu/librt-2.15.so
f5288000-f5289000 rw-p 00007000 08:01 540961 /usr/lib/steam/i386-linux-gnu/librt-2.15.so
f5289000-f5290000 r-xp 00000000 08:01 269756 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
f5290000-f5291000 rw-p 00006000 08:01 269756 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
f5291000-f5292000 rw-p 00000000 00:00 0
f5292000-f5295000 r-xp 00000000 08:01 540966 /usr/lib/steam/i386-linux-gnu/libdl-2.15.so
f5295000-f5296000 r--p 00002000 08:01 540966 /usr/lib/steam/i386-linux-gnu/libdl-2.15.so
f5296000-f5297000 rw-p 00003000 08:01 540966 /usr/lib/steam/i386-linux-gnu/libdl-2.15.so
f5297000-f52a8000 r-xp 00000000 08:01 263476 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
f52a8000-f52a9000 rw-p 00010000 08:01 263476 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
f52a9000-f53dd000 r-xp 00000000 08:01 263162 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
f53dd000-f53e1000 rw-p 00133000 08:01 263162 /usr/lib/i386-linux-gnu/libX11.so.6.3.0
f53e1000-f706f000 r-xp 00000000 08:01 291271 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.304.117
f706f000-f70d4000 rwxp 01c8d000 08:01 291271 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.304.117
f70d4000-f70e7000 rwxp 00000000 00:00 0
f70e7000-f70ea000 r-xp 00000000 08:01 404866 /usr/lib/i386-linux-gnu/tls/libnvidia-tls.so.304.117
f70ea000-f70eb000 rw-p 00002000 08:01 404866 /usr/lib/i386-linux-gnu/tls/libnvidia-tls.so.304.117
f70eb000-f70ec000 rw-p 00000000 00:00 0
f70ec000-f728f000 r-xp 00000000 08:01 540969 /usr/lib/steam/i386-linux-gnu/libc-2.15.so
f728f000-f7291000 r--p 001a3000 08:01 540969 /usr/lib/steam/i386-linux-gnu/libc-2.15.so
f7291000-f7292000 rw-p 001a5000 08:01 540969 /usr/lib/steam/i386-linux-gnu/libc-2.15.so
f7292000-f7295000 rw-p 00000000 00:00 0
f7295000-f72b1000 r-xp 00000000 08:01 411907 /lib/i386-linux-gnu/libgcc_s.so.1
f72b1000-f72b2000 rw-p 0001b000 08:01 411907 /lib/i386-linux-gnu/libgcc_s.so.1
f72b2000-f72dc000 r-xp 00000000 08:01 540980 /usr/lib/steam/i386-linux-gnu/libm-2.15.so
f72dc000-f72dd000 r--p 00029000 08:01 540980 /usr/lib/steam/i386-linux-gnu/libm-2.15.so
f72dd000-f72de000 rw-p 0002a000 08:01 540980 /usr/lib/steam/i386-linux-gnu/libm-2.15.so
f72de000-f73be000 r-xp 00000000 08:01 262194 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
f73be000-f73c2000 r--p 000e0000 08:01 262194 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17Abandon
@Rudloff Contents of ~/.steam/SteamApps/common/Crypt of the NecroDancer/logs/
?
Every log file contains only this:
NecroDancer version 0.370 alpha loading...
OnCreate: Initializing Steam
Steam: Successful init
Steam: Initializing leaderboard object
Steam Leaderboards: Constructor
Steam: Initializing UGC remote storage object
Steam: ENSURING GAME WAS LAUNCHED VIA STEAM.
Steam: GAME WAS LAUNCHED WITH STEAM.
@Rudloff Try verifying the integrity of the game's cache: right-click the game from your library > Properties > LOCAL FILES > VERIFY INTEGRITY OF GAME CACHE...
I didn't find any problem and it still crashes.
@Rudloff How far does the game get before it crashes? Is it immediate?
The screen turns black for a split second, then it crashes immediately.
@Rudloff Have you tried launching the game in windowed mode?
Yes, same thing: blank window for a split second, then it crashes.
@Rudloff What graphics card do you have and what drivers are you using?
Here is my card:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2)
My driver is nvidia-kernel-dkms 304.117-1 (I also tried with 319.82-1~bpo70+2 but it did not work either).
@Rudloff Are you using a laptop?
No.
Have you tried any other games?
Yes, most of the games work well and I only get this kind of error with this specific game.
@Rudloff Have you tried using the drivers from Nvidia's website?
I have installed version 340.24 from the website, but I still get the same error.
I also tried with the Nouveau driver but I get the same result.
@Rudloff Honestly, I don't know what exactly could be causing this issue. I've ran the game several times on my own machine and even a couple times in a VM, and I cannot seem to reproduce this bug.
Do you have any packages from the testing or experimental repositories installed?
Thanks for you help. I will try to contact Steam and game support, maybe they can help.
I have nothing from testing or experimental, but I have a few packages from backports:
aircrack-ng
android-tools-adb
android-tools-fastboot
devscripts
dh-systemd
fonts-roboto
gyp
init-system-helpers
libocsync0
libowncloudsync0
libqtkeychain0
libv8-3.14-dev
libv8-3.14.5
node-uglify
nodejs
nodejs-legacy
owncloud-client
owncloud-client-cmd
owncloud-client-l10n
python3-debian
rarcrack
transmission-remote-gtk
@Rudloff I'm very sorry I wasn't able to help you. Hopefully Brace Yourself Games can help you uncover the culprit behind the bug.
Debugging closed-source applications is not fun; gdb
and strace
are your best shot at finding this issue.
When I try to launch Crypt of the NecroDancer, I get this error then it crashes:
ERROR: ld.so: object '/home/pierre/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
This does not happen on Ubuntu.
Here is the full log: https://gist.github.com/Rudloff/60a6610e6ffd5637d56c