Do you prefer ALSA, PulseAudio or Open Sound System (OSS)?

Here you can discuss every aspect of Debian. Note: not for support requests!

Do you prefer, ALSA, PulseAudio or Open Sound System (OSS)?

ALSA
73
66%
PulseAudio
28
25%
Open sound System (OSS)
9
8%
 
Total votes : 110

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby kedaha » 2011-09-16 13:21

qjqqyy wrote:Alsa, pa or Oss is not a matter of preference, since alsa works perfectly and i had a bad experience of pa previously in butnut, i just stuck with the "default" alsa.

I have to say, having tried all three now, that on my hardware at least, OSS4 sound quality is superb, the best I've heard emanating from a computer soundcard.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
Desktop environment: Frankenwheezy with Mate desktop from backports
User avatar
kedaha
 
Posts: 2248
Joined: 2008-05-24 12:26

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby vbrummond » 2011-09-16 13:32

Lspci tells me I have this card but I know it is some sort of Via vt something that has terrible Linux support:
Code: Select all
Intel Corporation 82801I (ICH9 Family) HD Audio Controller


Last time I tried OSS4 it worked (music apps played) but I thought it was just muted and could not figure out how to unmute it with the cluttery oss4-gtk application, however I really think that I just have no support for my hardware.
vbrummond
 
Posts: 4343
Joined: 2010-03-02 01:42

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby Roel63 » 2011-09-16 13:58

vbrummond wrote:I really think that I just have no support for my hardware.


What kernel do you use? I had the same with a certain VIA card, recognised as HDA Intel, and it only started working after upgrading to 2.6.38 (and higher).
Roel63
 
Posts: 538
Joined: 2009-07-02 18:18
Location: Breda (Netherlands)

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby vbrummond » 2011-09-16 14:09

I am unable to compile OSS4 on anything except 2.6.32. DKMS always fails. I am using Linux 3.0 (compiled myself from Debian sources). I tried to install OSS manually but it always fails to compile. The error was annoying, if I disable regparm in oss4 it says unable to find regparm and fails to compile. If is enable it it tells me to disable and fails at the make install step.
vbrummond
 
Posts: 4343
Joined: 2010-03-02 01:42

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby Roel63 » 2011-09-16 14:13

Hmmm there my knowledge fails.

From memory, I have a Via VT1708s and this one needs > 2.6.32.
Roel63
 
Posts: 538
Joined: 2009-07-02 18:18
Location: Breda (Netherlands)

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby vbrummond » 2011-09-16 14:27

Yeah I have a VIA VT1708S. Aka: Crap. I will try to install oss4 from testing if its there or manually compile from source.
vbrummond
 
Posts: 4343
Joined: 2010-03-02 01:42

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby vbrummond » 2011-09-16 14:41

Yeah, with oss4 from testing and linux 3.0 I get:
Code: Select all
oss_hdaudio: HDA codec 0x11060397 not known yet
oss_hdaudio: HDA codec 0x11060397 not known yet


:(
vbrummond
 
Posts: 4343
Joined: 2010-03-02 01:42

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby kedaha » 2011-09-16 15:26

Yes, I notice that the opensound download site only offers debs for 2.6. Linux oses.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
Desktop environment: Frankenwheezy with Mate desktop from backports
User avatar
kedaha
 
Posts: 2248
Joined: 2008-05-24 12:26

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby phenest » 2011-09-16 18:22

eric1959 wrote:Alsa, works. Speakers : 2.1

Code: Select all
lspci | grep -i audio

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
. Onboard.
Webcam : Logitech Webcam C500, no issues.

Only problem : speakers not auto-muted when I plugin headphone....viewtopic.php?f=6&t=57796


Same setup as I have on my Dell Precision M90: 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
I can't use PA because of the asynchronous way the volume increases across the available channels. I also get crackling, and can exceed 100% volume (what's that all about?!). But I don't have any issues with ALSA.

It seems to me the PA devs only work with a stereo setup and fail to understand those with an LFE channel. I think PA should only be an optional plugin for those that need/want it.
Dell XPS 17 L702X - Compaq Mini 110c 1110SA
Debian Wheezy Gnome3
User avatar
phenest
 
Posts: 735
Joined: 2010-03-09 09:38
Location: Between the seat and the keyboard

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby kedaha » 2011-09-16 18:30

For anyone who's interested in trying OSS4, here's how I installed it on Squeeze 2.6.32-5-amd64. There is a forum howto posted here but it needs updating. [Edit 26 Sept 2011: See also my HOWTO: OSS4 on Debian Squeeze from source.] No need to use module-assistant since oss4-dkms will take care of this. Please see alternative method at end of post too before proceeding.
First example:
Code: Select all
# aptitude install oss4-base oss4-dkms oss4-gtk
# aptitude install libasound2-plugins flashplugin-nonfree-extrasound
# nano /etc/asound.conf

Cut & paste the code below
Code: Select all
pcm.oss {
   type oss
    device /dev/dsp
}

pcm.!default {
    type oss
    device /dev/dsp
}

ctl.oss {
    type oss
    device /dev/mixer
}

ctl.!default {
    type oss
    device /dev/mixer
}

Now:
Code: Select all
# /etc/init.d/alsa-utils stop
# aptitude remove alsa-base alsa-utils
# dpkg-reconfigure linux-sound-base

You will be informed: Choosing the ALSA sound system is strongly recommended but I didn't let that put me off and selected OSS4 regardless. This completes it and now, when you reboot you'll have OSS4, although you may have to make a few minor adjustments.
There are a number of tests you can make such as typing osstest in a terminal but keep the volume low before trying it since it can be amazingly loud!
To revert to ALSA, reinstall alsa-base alsa-utils and execute the last command above to select the default and also remove /etc/asound.conf.

Alternative way:
To install the deb available from the Open Sound System Driver Download page all the following packages are necessary:
Code: Select all
# aptitude install binutils cpp-4.3 dkms gcc-4.3 gcc-4.3-base libglib2.0-0 libgtk2.0-0 linux-headers-2.6-amd64 linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 make

Followed by:
Code: Select all
$ wget http://www.4front-tech.com/release/oss-linux-4.2-2005_amd64.deb

The deb can then installed by opening the deb with the gdebi package installer or with dpkg -i .
Well, I hope this post inclines the preferences a little towards OSS4!
* For flash support:
Code: Select all
# aptitude install flashplugin-nonfree-extrasound

* Edited 24 Oct 2011 for note about flash.
Last edited by kedaha on 2011-10-24 09:26, edited 3 times in total.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
Desktop environment: Frankenwheezy with Mate desktop from backports
User avatar
kedaha
 
Posts: 2248
Joined: 2008-05-24 12:26

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby ivanovnegro » 2011-09-16 18:55

For what stands this flashplugin-nonfree-extrasound, as I do not have it installed on my system and it seems I do not need it either?

Edit: I think, I got it.
ivanovnegro
 
Posts: 729
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby kedaha » 2011-09-16 19:03

ivanovnegro wrote:For what stands this flashplugin-nonfree-extrasound, as I do not have it installed on my system and it seems I do not need it either?

Edit: I think, I got it.

Yes, I couldn't find that package either and was pleased to find it isn't necessary anymore.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
Desktop environment: Frankenwheezy with Mate desktop from backports
User avatar
kedaha
 
Posts: 2248
Joined: 2008-05-24 12:26

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby milomak » 2011-09-16 23:17

i experienced pa in its earliest incarnation given i run sid. it wasn't up to the task then.

i would concede that today it is probably much better. but i ask myself the question - why change configurations when my current solution works perfectly?

so even if pa is now fully functional, why would i change from alsa? except for the shorter pa.
Laptop (64-bit) - Debian Sid and Win8
Desktop (64-bit) - Debian Sid, ArchLinux, Win8 and Fedora 19
MythTV BE/FE - Debian Stable
MythTV FE - Debian Sid
milomak
 
Posts: 1406
Joined: 2009-06-09 22:20

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby kedaha » 2011-09-17 05:11

milomak wrote:i experienced pa in its earliest incarnation given i run sid. it wasn't up to the task then.

i would concede that today it is probably much better. but i ask myself the question - why change configurations when my current solution works perfectly?

so even if pa is now fully functional, why would i change from alsa? except for the shorter pa.

I suppose PulseAudio will become the default, not in opposition to Alsa but in a complementary manner.Why change configurations when ones own solution works perfectly? Well, I thought that but - perhaps more out of curiosity than any dissatisfaction with the default ALSA - I decided to try both pa and OSS4: while I was able to achieve very good 5.1 surround sound with pa I've found that the gain in sound quality from using OSS4 is really quite extraordinary, much better than ALSA in fact on my hardware. I have set up OSS4 on both my laptop and desktop as posted above and consider that changing the configurations was well worth the time but if it doesn't work, it's easy to change back to the defaults.
Desktop, laptop and server: Stable: 3.2.0-4-amd64, 7.6 "wheezy"
Raspberry Pi, Raspbian (LXDE)
Desktop environment: Frankenwheezy with Mate desktop from backports
User avatar
kedaha
 
Posts: 2248
Joined: 2008-05-24 12:26

Re: Do you prefer ALSA, PulseAudio or Open Sound System (OSS

Postby phenest » 2011-09-17 18:08

I've just installed OSS4 as per the above HowTo, but can anyone tell me how to enable my LFE channel. I have a sub-woofer on my Dell Precision M90 which works with ALSA. Am I missing something?

EDIT: And my laptop speakers don't mute when I plug in my headphones.
Dell XPS 17 L702X - Compaq Mini 110c 1110SA
Debian Wheezy Gnome3
User avatar
phenest
 
Posts: 735
Joined: 2010-03-09 09:38
Location: Between the seat and the keyboard

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable