Error running game with sound enabled

Technical support for the Linux and Mac platforms for all Trine games.
User avatar
mangue
Posts: 3
Joined: Fri Sep 30, 2011 4:50 am

Error running game with sound enabled

Postby mangue » Fri Sep 30, 2011 4:57 am

I am able to run all humble bundle games without problem, but trine won't run.

The game only runs if I disable sound on launcher.

If I have sound enabled. This happens:

Code: Select all

ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
Got signal 11 at 0xbcd6 from 0xbcd6
Abortado


As you can see I have this file.

Code: Select all

[email protected] ~/Programas/Trine $ locate libasound_module_pcm_pulse.so
/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so


Running Linux Mint Debian Edition 64 bits.

Code: Select all

[email protected] ~/Programas/Trine $ uname -a
Linux nobunaga 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux


I have an AMD videocard with fglrx drivers.

alt_turo
Posts: 195
Joined: Mon Dec 13, 2010 11:06 am

Re: Error running game with sound enabled

Postby alt_turo » Fri Sep 30, 2011 10:46 am

mangue wrote:If I have sound enabled. This happens:

Code: Select all

ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
Got signal 11 at 0xbcd6 from 0xbcd6
Abortado


This crash is not inside the game binary but rather in some library.

Do you have PulseAudio enabled? Try disabling it.

What's the last thing in the log (~/.frozenbyte/trine/logs/log.txt)

Have you tried manually launching the 32-bit version?

Paste the output of "ldd trine-bin64"
Turo Lamminen
Alternative Games

User avatar
mangue
Posts: 3
Joined: Fri Sep 30, 2011 4:50 am

Re: Error running game with sound enabled

Postby mangue » Thu Oct 06, 2011 8:43 pm

Yes I have pulseaudio enabled. I am now able tu run with sound using padsp.

Here's the output you wanted.

Code: Select all

[email protected] ~/Programas/Trine $ tail -20 ~/.frozenbyte/trine/logs/log.txt
7f95df7e5000-7f95df800000 r-xp 00000000 08:06 15336218                   /home/eden/Programas/Trine/lib64/libavformat.so.52
7f95df800000-7f95dfa00000 ---p 0001b000 08:06 15336218                   /home/eden/Programas/Trine/lib64/libavformat.so.52
7f95dfa00000-7f95dfa01000 rw-p 0001b000 08:06 15336218                   /home/eden/Programas/Trine/lib64/libavformat.so.52
7f95dfa01000-7f95dfafb000 r-xp 00000000 08:06 15336199                   /home/eden/Programas/Trine/lib64/libavcodec.so.52
7f95dfafb000-7f95dfcfa000 ---p 000fa000 08:06 15336199                   /home/eden/Programas/Trine/lib64/libavcodec.so.52
7f95dfcfa000-7f95dfd02000 rw-p 000f9000 08:06 15336199                   /home/eden/Programas/Trine/lib64/libavcodec.so.52
7f95dfd02000-7f95dfd4b000 rw-p 00000000 00:00 0
7f95dfd4b000-7f95dfd6a000 r-xp 00000000 08:05 922969                     /lib/x86_64-linux-gnu/ld-2.13.so
7f95dfda5000-7f95dfdac000 r--s 00000000 08:05 652171                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f95dfdac000-7f95dfdc7000 rw-p 00000000 00:00 0
7f95dfdc7000-7f95dfe3d000 r-xp 00000000 08:06 15336204                   /home/eden/Programas/Trine/lib64/libCgGL.so
7f95dfe3d000-7f95dff3d000 ---p 00076000 08:06 15336204                   /home/eden/Programas/Trine/lib64/libCgGL.so
7f95dff3d000-7f95dff42000 rw-p 00076000 08:06 15336204                   /home/eden/Programas/Trine/lib64/libCgGL.so
7f95dff42000-7f95dff4b000 rw-p 00000000 00:00 0
7f95dff50000-7f95dff51000 r�5
INFO: ---------------------------------
INFO: Trine
INFO: Version 1.08
INFO: DEBUG Build Trine
INFO: ---------------------------------


Code: Select all

[email protected] ~/Programas/Trine $ ./trine-bin32
ALSA lib ../../src/dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib ../../src/dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib ../../src/dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
AL lib: alsa.c:344: Could not open playback device 'default': No such device or address


Code: Select all

[email protected] ~/Programas/Trine $ ldd trine-bin64
   linux-vdso.so.1 =>  (0x00007fff3a9ff000)
   libavcodec.so.52 => ./lib64/libavcodec.so.52 (0x00007f03f9039000)
   libavformat.so.52 => ./lib64/libavformat.so.52 (0x00007f03f8e1c000)
   libavutil.so.50 => ./lib64/libavutil.so.50 (0x00007f03f8c0a000)
   libswscale.so.0 => ./lib64/libswscale.so.0 (0x00007f03f89d6000)
   libz.so.1 => /usr/lib/libz.so.1 (0x00007f03f87a3000)
   libcv.so.1 => ./lib64/libcv.so.1 (0x00007f03f84c5000)
   libboost_thread-mt.so.1.35.0 => ./lib64/libboost_thread-mt.so.1.35.0 (0x00007f03f82b4000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f03f8098000)
   libSDL-1.2.so.0 => ./lib64/libSDL-1.2.so.0 (0x00007f03f7de1000)
   libSDL_image-1.2.so.0 => ./lib64/libSDL_image-1.2.so.0 (0x00007f03f7bc5000)
   libSDL_ttf-2.0.so.0 => ./lib64/libSDL_ttf-2.0.so.0 (0x00007f03f79c0000)
   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f03f7373000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f03f7121000)
   libvorbisfile.so.3 => ./lib64/libvorbisfile.so.3 (0x00007f03f6f1a000)
   libopenal.so.1 => ./lib64/libopenal.so.1 (0x00007f03f69d2000)
   libPhysXLoader.so.1 => ./lib64/libPhysXLoader.so.1 (0x00007f03f67c5000)
   libGLEW.so.1.5 => ./lib64/libGLEW.so.1.5 (0x00007f03f6563000)
   libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f03f635c000)
   libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f03f60ef000)
   libCg.so => ./lib64/libCg.so (0x00007f03f518d000)
   libCgGL.so => ./lib64/libCgGL.so (0x00007f03f500e000)
   libstdc++.so.6 => ./lib64/libstdc++.so.6 (0x00007f03f4d02000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f03f4a80000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f03f4869000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f03f44e5000)
   libcxcore.so.1 => ./lib64/libcxcore.so.1 (0x00007f03f41ab000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f03f3fa7000)
   libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f03f3d9a000)
   librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f03f3b92000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f03f9385000)
   libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f03f389e000)
   libdirectfb-1.0.so.0 => ./lib64/libdirectfb-1.0.so.0 (0x00007f03f3627000)
   libfusion-1.0.so.0 => ./lib64/libfusion-1.0.so.0 (0x00007f03f341e000)
   libdirect-1.0.so.0 => ./lib64/libdirect-1.0.so.0 (0x00007f03f3208000)
   libvga.so.1 => ./lib64/libvga.so.1 (0x00007f03f2fa9000)
   libpng12.so.0 => ./lib64/libpng12.so.0 (0x00007f03f2d83000)
   libjpeg.so.62 => ./lib64/libjpeg.so.62 (0x00007f03f2b61000)
   libtiff.so.4 => ./lib64/libtiff.so.4 (0x00007f03f2905000)
   libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f03f2667000)
   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f03f23b2000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f03f21a5000)
   libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f03f1e65000)
   libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f03f1c63000)
   libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f03f1a61000)
   libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f03f185a000)
   libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f03f1637000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f03f1376000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f03f1156000)
   libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f03f0e29000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f03f0bfd000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f03f09af000)
   libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f03f0779000)
   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f03f0576000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f03f0371000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007f03f0080000)
   libvorbis.so.0 => ./lib64/libvorbis.so.0 (0x00007f03efe52000)
   libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f03efc38000)
   libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f03efa29000)
   libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f03ef815000)
   libx86.so.1 => /lib/libx86.so.1 (0x00007f03ef5f3000)
   libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f03ef3e8000)
   libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f03ef1e6000)
   libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f03eefde000)
   libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f03eedd3000)
   libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f03eebb7000)
   libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f03ee948000)
   libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f03ee746000)
   libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f03ee53e000)
   libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f03ee327000)
   libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f03ee109000)
   libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f03edee0000)
   libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f03edca4000)
   libogg.so.0 => ./lib64/libogg.so.0 (0x00007f03eda9e000)
   libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f03ed839000)
   libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f03ed636000)
   libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f03ed430000)
   libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f03ed229000)
   libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f03ed00d000)
   libuuid.so.1 => /lib/libuuid.so.1 (0x00007f03ece09000)

alt_turo
Posts: 195
Joined: Mon Dec 13, 2010 11:06 am

Re: Error running game with sound enabled

Postby alt_turo » Wed Oct 12, 2011 11:51 am

mangue wrote:

Code: Select all

ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so

ldd trine-bin64
   libopenal.so.1 => ./lib64/libopenal.so.1 (0x00007f03f69d2000)
   libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f03f389e000)


So the libasound library is there but the plugin isn't. Do you have package "libasound2-plugins" installed? Do you have the latest version of Trine (update 4)? Some early versions crashed if they couldn't initialize audio.
Turo Lamminen
Alternative Games

User avatar
mangue
Posts: 3
Joined: Fri Sep 30, 2011 4:50 am

Re: Error running game with sound enabled

Postby mangue » Fri Oct 14, 2011 8:10 pm

Yes, I have it installed.

Code: Select all

[email protected] ~ $ dpkg -l | grep libasound
ii  libasound2                            1.0.24.1-2                        shared library for ALSA applications
ii  libasound2-plugins                    1.0.24-2                          ALSA library additional plugins


Don't know about update four. But if I count the "patch" entries in the Trine_updates.txt file, I have the eighth patch update.

Code: Select all

[email protected] ~/Programas/Trine $ head -14 Trine_updates.txt
TRINE patch history



patch 1.08:

* adds support for NVIDIA 3D Vision

* tweaks the antialiasing method, works better now (enabled in the Launcher or "/antialias_samples 8" etc in the game console)
* tweaks the last level once again, now no enemies on Very Hard

* fixes minor item description text errors

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Error running game with sound enabled

Postby fb_joel » Mon Oct 17, 2011 3:54 pm

The installer file for the game should be named "TrineUpdate4.bin" when you downloaded it from the Humble download page. So please check that was the name, and/or redownload the game and try again.
// Joel, Frozenbyte team


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 2 guests