Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

No sound in Mandriva 2007.1

Mishay Panacek
Registered User
Join date: 18 Mar 2007
Posts: 4
08-20-2007 01:29
Hi all,

I have Mandriva Linux 2007. I ran SL under KDE, the sound system was turned to ALSA drivers.
My soundcard: ‎nVidia Corp. ‎MCP2S AC'97 Audio Controller, driver: snd-intel8x0

SL didn't produce any sound at all.

Maybe it's only a conflict in the use of the sound device by the KDE system and the SL client. I had had such experience i. e. with mplayer before (it stole the sound device from KDE). Any clues?

Mishay
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
08-20-2007 07:20
try uncommenting the lines
export LL_BAD_OSS=x
and
export LL_BAD_ESD=x
in the secondlife start-script
Mishay Panacek
Registered User
Join date: 18 Mar 2007
Posts: 4
08-20-2007 12:14
I have just done a little investigation.

Under Gnome, everything has worked OK, including the sound.

Under KDE, I experience many additional kinds of bugs.

Nearly every start the SL client behaves other way, mostly a wrong way :-(

I tried to uncomment the lines in the startup script but it didn't work out.
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
08-20-2007 18:20
Try going into kmix and looking to see if the proper channels are enabled and the volumes turned up. Sometimes these distros inexplicably disable critical stuff by default.

Adamas
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
08-20-2007 19:51
mandrivia pushing the 3d window manager it seems like pulling teeth to get anything else working, you have to do some fiddle farting, like above i would check the mixer, and that the services are actually being started
Mishay Panacek
Registered User
Join date: 18 Mar 2007
Posts: 4
08-24-2007 23:58
In my KMix, all possible devices are checked and turned on.

alsad and artsd are running.

Any other necessary services?
Adamas Carter
Registered User
Join date: 2 Jun 2007
Posts: 192
08-25-2007 01:34
This sort of thing is the reason I switched from Mandriva to OpenSUSE. Try setting the sound system to OSS (Open Sound System) as opposed to ALSA (Advanced Linux Sound Architecture) in KDE Control Panel. SUSE detects and sets for the correct sound system automatically, but Mandriva may not. I think (but am not sure) that the SL client uses OSS.

Adamas
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
08-25-2007 03:41
I prefer esd myself (Enlightened Sound Daemon), since it can mix audio from different sources without one source hogging all the sound output to itself. You might want to try that one too. I had the best of (sound)results with it in SL.

-Asriazh
Mishay Panacek
Registered User
Join date: 18 Mar 2007
Posts: 4
Success
08-25-2007 10:44
ESD is buggy in Mandriva, it doesn't produce any sound, only by stopping the ESD(-aemon) from kcontrol it plays all the accumulated sounds... or so. Maybe it was caused by the real time priority I set in the control center. Nevermind.

But with OSS, I first got to hear some sound from SL :-)
I just switched to OSS in the Control Center recently.

And I also set the sound system enabling lines in the startup script this way:

## - Avoids using the ESD audio driver.
export LL_BAD_ESD=x

## - Avoids using the OSS audio driver.
#export LL_BAD_OSS=x

## - Avoids using the ALSA audio driver.
export LL_BAD_ALSA=x


And it works perfectly!

Many thanks to everybody for your help!

Mishay