Tremulous Forum

General => Troubleshooting => Topic started by: mirvel on July 07, 2009, 08:02:19 pm

Title: [SOLVED] No sound [Jaunty amd64 OSS]
Post by: mirvel on July 07, 2009, 08:02:19 pm
Hey. It's my first post here ( o.o not a very nice start).
I'm using ubuntu Jaunty amd64, oss.

The Tremulous console gives me a 'Sound initialized succesfully' message, though I hear nothing. I read many topics on different boards, but no solution worked for me: I tried switching on and off OpenAL usage, used the /s_alDriver and set it to libopenal.so.1 (accoring to apt it replaced libopenal.so.0), turned /s_useOpenAL, still no sound. Volume on 1, both effects and music, tried both libsdl1.2debian-oss and libsdl1.2debian-all.

Also I've noticed that Tremulous does not appear on my ossxmix.

Does anyone know what should i do? :O
Title: fuck whitey,
Post by: Archangel on July 07, 2009, 08:31:06 pm
kill pulseaudio!
Title: Re: No sound [Jaunty amd64 OSS]
Post by: mirvel on July 07, 2009, 08:49:29 pm
Console output:

Quote
Initializing SDL audio driver...
ALSA lib ../../src/confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib ../../src/confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib ../../src/confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib ../../src/conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib ../../../src/pcm/pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM default
SDL audio driver is "(UNKNOWN)".
SDL_OpenAudio() failed: No available audio device
Sound intialization failed.
Title: Re: No sound [Jaunty amd64 OSS]
Post by: PureNoob on July 07, 2009, 08:52:01 pm
I am not an expert but closing other open programs might fix it temporarily.
Title: Re: No sound [Jaunty amd64 OSS]
Post by: mirvel on July 07, 2009, 09:01:55 pm
You mean programs that might have sound output?

I'm not running any while playing. All i have is pidgin, firewall, ossxmix, gnome standart processes, etc. I'll try and turn them off, but i doubt it will help.

EDIT: Haha, that worked ^^. Thanks :D
Title: Re: No sound [Jaunty amd64 OSS]
Post by: Archangel on July 07, 2009, 09:03:28 pm
from your log it appears you haven't got any alsa devices. please paste the output of
Code: [Select]
ls -la /proc/asound
Title: Re: No sound [Jaunty amd64 OSS]
Post by: mirvel on July 07, 2009, 09:04:48 pm
Thx, Archangel, but shutting down programs did work :O You've posted while i was editing :D

EDIT: This +/or restarting the program with pulseaudio killed and openal (libopenal.so.1) on.
Terminal output:
Quote
Loading "libopenal.so.1"...
AL lib: alsa.c:785: no playback cards found...
AL lib: alsa.c:853: no capture cards found...
ALSA lib ../../src/confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib ../../src/confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib ../../src/confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib ../../src/conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib ../../../src/pcm/pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib ../../src/confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib ../../src/confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib ../../src/confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib ../../src/conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib ../../src/conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib ../../../src/pcm/pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: alsa.c:344: Could not open playback device 'default': No such file or directory
Allocated 96 sources.
OpenAL info:
  Vendor:     OpenAL Community
  Version:    1.1
  Renderer:   OpenAL Soft
  Extensions: AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_LOKI_quadriphonic
Sound intialization successful.

EDIT2: Yep, it doesn't work with pulseaudio on. Thanks, Archangel :D

EDIT3: Filler:
Quote
/bin$ ls -la /proc/asound
ls: cannot access /proc/asound: No such file or directory
Title: Re: No sound [Jaunty amd64 OSS]
Post by: Bissig on July 07, 2009, 09:04:57 pm
My openal isn't working either. Last dist update killed it. So, I simply set the sound driver to alsa after I deinstalled pulseaudio.