You are not logged in.

#1 2011-11-21 19:01:45

spiralarrowz
Member
Registered: 2011-09-21
Posts: 7

Couldn't open audio: Couldn't open audio device or ESD

Got the Heroes of Might & Magic III for Linux, from Loki-games,
When I run the game, the terminal shows that 'Couldn't open audio: Couldn't open audio device or ESD connection'
and, of course, the game has no sound ; o
Does anyone play this under linux?
thanks

Offline

#2 2011-11-21 19:08:36

jiyuu
Member
Registered: 2010-04-13
Posts: 63

Re: Couldn't open audio: Couldn't open audio device or ESD

Are you using pulseaudio ?

Offline

#3 2011-11-21 19:59:47

usagi
Member
Registered: 2011-11-21
Posts: 62

Re: Couldn't open audio: Couldn't open audio device or ESD

I was having sound issues with a game on a fresh Arch install, until i realised that pulseaudio had failed to start because dbus wasn't running.

So, i started dbus

# /etc/rc.d/dbus start

Then i started avahi-daemon

# /etc/rc.d/avahi-daemon start

then i started pulseaudio manually.

$ pulseaudio --start

also, make sure you're a member of the group 'audio'. If you're not, sound may not work properly, or at all.

If these steps work, be advised that, in all probability it will only work until reboot. But that's a story for another post.

HTH,
--Aaron

Last edited by usagi (2011-11-21 20:01:11)

Offline

#4 2011-11-22 00:49:31

spiralarrowz
Member
Registered: 2011-09-21
Posts: 7

Re: Couldn't open audio: Couldn't open audio device or ESD

I don't know  about the pulseaudio, The only thing I remember is, I installed the ALSA and it works flawlessly : D And yes I am in the audio group

Ha I found that, in the arch wiki page of pulseaudio: If you are on Arch x86_64 and want to have sound for 32 bit programs (like Wine), make sure to install lib32-libpulse and lib32-alsa-plugins as well.

The HeroesIII is exactly a 32 bit programs, So I have to install this and that XD

Last edited by spiralarrowz (2011-11-22 00:56:52)

Offline

#5 2020-11-23 23:00:57

dklovedoctor
Member
Registered: 2011-08-23
Posts: 5

Re: Couldn't open audio: Couldn't open audio device or ESD

NO SOUND

Download old libraries and unzip: http://www.improbability.net/loki/loki_ … .5.tar.bz2

cd Heroes3
cp /path/Loki_Compat /path/Heroes3
LD_PRELOAD=Loki_Compat/libstdc++-3-libc6.2-2-2.10.0.so:Loki_Compat/libsmpeg-0.4.so.0.1.3:Loki_Compat/libsmjpeg-0.2.so.0.0.1:Loki_Compat/libSDL_mixer-1.2.so.0.2.5 /home/user/Games/Heroes3/heroes3.dynamic
add "-w" to the end of last line to use windowed mode.

Offline

Board footer

Powered by FluxBB