QuantiCode games • View topic - How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

QuantiCode games

Zero Ballistics, Full Metal Soccer

Skip to content

How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Post any problems related to the beta version of Zero Ballistics

Moderators: Michael, Bernhard, Christian

How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Postby xendon on 16 Feb 2011, 19:03

Today i started whit "Zero Ballistics" and had the sound problem like:

AL lib: alsa.c:344: Could not open playback device 'default': No such file or directory
ERROR : Sound OpenAL:
context: after initializing devices
ERROR : OpenAL was not able to find any sound device on this computer!!
ERROR : Sound OpenAL:
context: SoundManager::createALSoundSources
Warning : There are less than 8 sound sources available! Available sources: 0
SoundManager::SoundManager ->
Unable to create any OpenAL Sound Source!!

or:

AL lib: alsa.c:344: Could not open playback device 'hw:0,0': Invalid argument
ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Unknown field hint
ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Unknown field hint

So what to do? To fix it is really simple we have to set a symbolic link to the right libasound.so.2

Example on Debian x64 based system

On a x86 system you maybe need to change lib32 to lib.

Code:
1. Switch user to root
su root
sudo su root (on Ubuntu)

2. check for libasound

ls -alh /usr/lib32/ | grep libasound

Output:
lrwxrwxrwx 1 root root 18 2010-12-26 15:44 libasound.so.2 -> libasound.so.2.0.0
-rw-r--r-- 1 root root 787K 2010-10-14 09:03 libasound.so.2.0.0

!!! If libasound isn't installed please install it via:

apt-get install lib32asound2 libasound2-plugins

3. remove or move the libasound.so.2 in the "shared_libs" (game directory)

cd /the/place/my/game/is/located/
cd shared_libs
rm libasound.so.2 (optional do: mv libasound.so.2 libasound.so.2_old)

ln -s /usr/lib32/libasound.so.2 libasound.so.2

4. check if it works

ls -alh | grep libasound

Output:

lrwxrwxrwx 1 root root 25 2011-02-16 18:41 libasound.so.2 -> /usr/lib32/libasound.so.2

5. Enjoy Game play

Well at last let me tell you that my terminal still told me:

AL lib: alsa.c:344: Could not open playback device 'hw:0,0': Device or resource busy
AL lib: alsa.c:344: Could not open playback device 'hw:1,0': No such file or directory
AL lib: oss.c:179: Could not open /dev/dsp: No such file or directory

But the sound works well.

Greetings Xendon
xendon
 
Posts: 2
Joined: 16 Feb 2011, 18:44
Location: Germany

Re: How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Postby Michael on 18 Feb 2011, 17:22

thanks a lot for this fix!
Michael
Developer
 
Posts: 204
Joined: 29 Mar 2008, 17:19

Re: How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Postby neiljakson on 12 Jan 2018, 08:41

Restarting the Pulseaudio Daemon; Interrupting play in Amarok when running Skype; Sound level is low or suddenly becomes too loud; Missing playback devices or audio capture; Front Panel Jacks not working; Stuttering and audio interruptions; Excessive CPU usage and distortion; Various problems with ...phd dissertation writing service
neiljakson
 
Posts: 5
Joined: 12 Jan 2018, 08:34
Location: United Kingdom

BachJohann

Postby BachJohann on 04 Mar 2018, 09:20

It was thought that overly sexually active women would lead themselves into diabolic trouble and that they should not feel sexual urges. LAHORE ESCORTS
BachJohann
 
Posts: 129
Joined: 10 Dec 2017, 09:13
Location: hyderabad

Re: How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Postby mehul on 08 Mar 2018, 06:24

This is very great and brilliant information.
cancer mesothelioma symptoms
mehul
 
Posts: 2
Joined: 12 Jan 2018, 08:17
Location: united state

Re: How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Postby panistefanin on 15 May 2018, 18:08

Hello! Very interesting topic, thank you raised it. 192.168.1.10
panistefanin
 
Posts: 35
Joined: 20 Apr 2018, 07:54
Location: Portugal

BachJohann

Postby BachJohann on 23 Jun 2018, 13:21

Much appreciated you all that much to share these connections. Will look at this.. Lawtally
BachJohann
 
Posts: 129
Joined: 10 Dec 2017, 09:13
Location: hyderabad

Re: BachJohann

Postby cambodia45 on 30 Jun 2018, 12:02

BachJohann wrote:Much appreciated you all that much to share these connections. Will look at this.. Lawtally


https://www.insectpestfacts.com/bed-bugs-bite/
cambodia45
 
Posts: 2
Joined: 30 Jun 2018, 12:00
Location: cambodia

Re: How to Fix sound problem in Linux (Ubuntu,Mint,Debian)

Postby cambodia45 on 30 Jun 2018, 12:04

cambodia45
 
Posts: 2
Joined: 30 Jun 2018, 12:00
Location: cambodia


Return to Support

Who is online

Users browsing this forum: No registered users and 7 guests