Forums » Linux

Segfault When Choosing OSS Audio Driver with OSS4 Installed

Feb 24, 2009 Plexor link
Distro: Ubuntu Intrepid 8.10
Kernel: 2.6.27-11 x86_64
Audio Driver: OSS4 (4.1)
Gfx: ATI Radeon Mobility x1700 with fglrx 8.57.2

VO loads fine, when I try to change the sound driver from alsa to OSS, upon clicking 'ok' VO segfaults.

Anyone else having this problem?
Feb 24, 2009 Lolin link
Not me when I last tried. Do you have a reason to use the OSS driver instead of ALSA?
Feb 26, 2009 Plexor link
OSS4 is far more solid and efficient than the clunky ALSA... ALSA requires some sound server such as pulseaudio to allow multiple apps to access the card. with oss, any app can connect directly to the standard /dev/dspXX device nodes and play/record.

Plus, most apps already include support for oss.. oss3 may be deprecated, but oss4 is a whole different story.

Lolin, did you actually try using VO with oss installed? or with the ALSA OSS compatibility layer?
Feb 26, 2009 Lolin link
I've tried both of them, the OSS driver and Alsa driver and I've noticed no difference. Are you sure your sound card is supported by OSS?

Also, I often listen to music while playing or watching a movie, all using the ALSA driver and without any problem.
Feb 27, 2009 Plexor link
My audio device is standard, it is Intel HD Audio controller (AD1986A) and all other apps work fine. Only VO segfaults when i configure it to use OSS.

Which version of OSS were you using? Are you running a 64bit kernel?
Feb 27, 2009 Lolin link
I'm using the default version that came with Ubuntu 8.10, I have no idea which version that is. And no, I'm using the 32bit Ubuntu.

Do you have pulseaudio installed?
Mar 04, 2009 Plexor link
No need for Pulseaudio with OSS installed.

I have disabled pulseaudio.

Ubuntu 8.10 does not include OSS4. Ubuntu has Alsa+pulseaudio installed. Alsa has an oss compatibility layer allowing apps to interface via /dev/dsp.

I have replaced ALSA+Pulseaudio with OSS4 similar to:
https://help.ubuntu.com/community/OpenSound

Literally every other piece of software on my system works great with OSS. The only problems I am having is with VO.
Mar 04, 2009 Plexor link
When I installed OSS I disabled pulseaudio...
I just went and checked to see if pulseaudio daemon was running--and it was! One of the ubuntu updates must have reenabled pulseaudio.

I killed pulseaudio and VO no longer crashes and sound works fine now!
Mar 07, 2009 Lolin link
Great :-)