Dynamite Jack

Dynamite Jack

Linux (64bit) sound problem
If anyone else is having problems with sound using pulseaudio on a 64bit system. Here's a solution:

I use Funtoo, so the packages/paths you need might have a slightly different name depending on the distro.

do following as root or sudo

Install emul-linux-x86-soundlibs

Create
/etc/ld.so.conf.d/alsa32.conf
and
/etc/ld.so.conf.d/alsa64.conf

open
alsa32.conf
with an editor and insert
/usr/lib32/alsa-lib
and into
alsa64.conf
insert
/usr/lib/alsa-lib

run the command
ldconfig

edit
/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf
and replace:

lib "/usr/lib/alsa-lib/libasound_module_conf_pulse.so"
with
lib "libasound_module_conf_pulse.so"



< >
113/13 megjegyzés mutatása
I have had this problem on Arch Linux. Solving for me:
pacman -S lib32-alsa-plugins
Legutóbb szerkesztette: ziggi; 2013. jan. 16., 14:07
Anyone have a solution for those of us using pure ALSA? I run a Gentoo amd64 and I have no need for pulse as I have an Audigy 4 card which supports hardware mixing.
Have you tried just emerging emul-linux-x86-soundlibs? I don't have the time to try it out myself right now, but that would be my first guess.
Yeah I have all of the emul-linux-x86 packages installed. It seems to provide the needed libs.

main: linux-gate.so.1 (0xf77c6000) libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf771f000) libGL.so.1 => /usr/lib32/libGL.so.1 (0xf763f000) libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf75be000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf75a2000) libdl.so.2 => /lib32/libdl.so.2 (0xf759d000) ./libIrrKlang.so (0xf750c000) libsteam_api.so => ./libsteam_api.so (0xf74f9000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/libstdc++.so.6 (0xf7411000) libm.so.6 => /lib32/libm.so.6 (0xf73d1000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/libgcc_s.so.1 (0xf73b5000) libc.so.6 => /lib32/libc.so.6 (0xf7210000) libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7152000) libpulse-simple.so.0 => /usr/lib32/libpulse-simple.so.0 (0xf714d000) libpulse.so.0 => /usr/lib32/libpulse.so.0 (0xf7105000) libnvidia-tls.so.310.19 => /usr/lib32/libnvidia-tls.so.310.19 (0xf7101000) libnvidia-glcore.so.310.19 => /usr/lib32/libnvidia-glcore.so.310.19 (0xf53e0000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf52c5000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf52b6000) /lib/ld-linux.so.2 (0xf77c7000) librt.so.1 => /lib32/librt.so.1 (0xf52ac000) libjson.so.0 => /usr/lib32/libjson.so.0 (0xf52a4000) libpulsecommon-1.1.so => /usr/lib32/libpulsecommon-1.1.so (0xf5250000) libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf524d000) libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf5232000) libICE.so.6 => /usr/lib32/libICE.so.6 (0xf5219000) libSM.so.6 => /usr/lib32/libSM.so.6 (0xf5211000) libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf520b000) libsndfile.so.1 => /usr/lib32/libsndfile.so.1 (0xf51a3000) libFLAC.so.8 => /usr/lib32/libFLAC.so.8 (0xf516b000) libvorbisenc.so.2 => /usr/lib32/libvorbisenc.so.2 (0xf4ff4000) libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf4fcb000) libogg.so.0 => /usr/lib32/libogg.so.0 (0xf4fc4000) libgdbm.so.3 => /usr/lib32/libgdbm.so.3 (0xf4fbd000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf4fb9000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf4fb2000) libuuid.so.1 => /lib32/libuuid.so.1 (0xf4fad000) libXi.so.6 => /usr/lib32/libXi.so.6 (0xf4f9e000)
Try doing the steps I described above up to and including
ldconfig
, if it still doesn't work run the game in console (without steam) and paste the output (just the head, no need for the resource loading part).
for fedora 18 x64 you need to install 32 bit alsa pulseaudio plugin
sudo yum install alsa-plugins-pulseaudio.i686
enjoy!
I'm having the no-sound issue on my 64-bit Fedora 17 install... There's no errors on the console related to sound (it just says "Using ALSA driver"), and if I strace the binary I see that it's loading libasound.so properly and is reading in a whole bunch of ALSA config files, etc. I don't actually run PulseAudio on my system - if I install "alsa-plugins-pulseaudio.i686" I do get an error on the console saying that it couldn't contact the PA server (of course), so that's not going to work in my case.

In the strace, after loading libasound.so and the config files, it does open up a bunch of devices inside /dev/snd as well... The last one opened is /dev/snd/pcmC0D0p, and doesn't appear to be closed at any point. I do see that a call to mmap2 failed for some reason, I wonder if that's what's getting in the way:

open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
close(5) = 0
ioctl(6, AGPIOC_ACQUIRE or APM_IOC_STANDBY or SNDRV_PCM_IOCTL_INFO, 0xfffffffffff5a35c) = 0
fcntl64(6, F_GETFL) = 0x80802 (flags O_RDWR|O_NONBLOCK|O_CLOEXEC)
ioctl(6, AGPIOC_INFO or SNDRV_PCM_IOCTL_PVERSION, 0xfffffffffff5a2c4) = 0
clock_gettime(CLOCK_MONOTONIC, {3731803, 844890616}) = 0
ioctl(6, AGPIOC_SETUP or SNDRV_PCM_IOCTL_TTSTAMP, 0xfffffffffff5a2cc) = 0
mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 6, 0x80000) = -1 ENXIO (No such device or address)
ioctl(6, SNDRV_PCM_IOCTL_SYNC_PTR, 0xfffffffffff5a2d8) = 0

(a bunch more ioctl calls follow after that)

Anyway, if anyone's got any further suggestions, I'd love to hear 'em. I'll keep poking around as well.
I have sound, but it's crackling and noisy. I'm using Arch Linux 64 and have lib32-alsa-plugins installed. It's strange...
Broekel, use Steam Beta. It's helps
Just a quick update on my particular issue here - it seems that the irrKlang example applications distributed with irrKlang itself (irrKlang is the audio library used by DJ) also don't play any sound on my system, so it's definitely an issue related to the audio library itself. I've got a thread open over there - if I discover anything useful I'll post in here.
Legutóbb szerkesztette: apocalyptech; 2013. márc. 6., 10:30
apocalyptech eredeti hozzászólása:
Just a quick update on my particular issue here - it seems that the irrKlang example applications distributed with irrKlang itself (irrKlang is the audio library used by DJ) also don't play any sound on my system, so it's definitely an issue related to the audio library itself. I've got a thread open over there - if I discover anything useful I'll post in here.

I know this is an old thread but I had a similar problem with sound on Arch 64-bit that I was able to somewhat resolve. Here's what I did (copied from another thread):

Anyway, the error message was:
error while loading shared libraries: libSDL-1.2.so.0
The solution was to install lib32-sdl1.2. The package for the lib is on the Arch AUR at: https://aur.archlinux.org/packages/lib32-sdl1.2/ and a description of the fix is at: https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting#Dynamite_Jack

I still get pops and hisses the first few times I start the game but it seems to go away if I restart the game once or twice.
Legutóbb szerkesztette: POINTS:; 2013. dec. 10., 3:46
If anyone is still alive in this forum, I got this to work with native alsa by just downloading libirrklang 1.5 from http://www.ambiera.com/irrklang/downloads.html and overwriting the libraries in the game's bin/ directory. You want the files from irrKlang-1.5.0/bin/linux-gcc/ in the zipfile called irrKlang-32bit-1.5.0.zip
That worked perfectly Mikachu. Thanks! All this time and I can finally try this game out.
< >
113/13 megjegyzés mutatása
Laponként: 1530 50