Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Is alsa REALLY better than OSS?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
Xiderpunk
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 149
Joined: Wed Mar 05, 2003 2:42 pm
Location: London, UK

Is alsa REALLY better than OSS?

  • Quote

Post by Xiderpunk » Sun May 30, 2004 6:34 pm

Since using the 2.6 kernel I have been using ALSA, the thing is I have had more problems than I ever had with OSS. For instance, at the moment I have sound, but I am unable to control volumes, tones etc from within KMix, accept by using the 3D surround control (which appears to map to master volume?!?).

I have alsa compiled into the kernel and DMESG correctly show the SB Live! being picked up as device #0. Permissions on /dev/sound/* are all root:audio and my user account belongs to the audio group. I have tried deleting all the kmix configuration files in ~/.kde/share/config and also /etc/asound.state, none of which made any difference.

alsamixer from alsa-utils correctly detects the SB Live card however suffers from the same problem as kmix, kmix reports in ~/.xsession-errors: kmix: ERROR: Alsa mixer cannot be found.

Is there one single BENEFIT that anyone can name why we should be using ALSA???
Gentoo-Portage - the only way to view/search/explore portage

Kernel: 2.6.7--rc1-mm1
gcc: 3.3.2
desktop: kde-3.2.2 / XFCE4
Top
teedog
Apprentice
Apprentice
Posts: 211
Joined: Tue Mar 09, 2004 3:53 am

  • Quote

Post by teedog » Sun May 30, 2004 6:48 pm

I'm a newbie to Linux, but here's what I found through Google:
http://www.linuxjournal.com/article.php?sid=7391
Top
wdreinhart
Guru
Guru
Posts: 569
Joined: Wed Jun 11, 2003 5:40 pm
Location: 4QFJ12345678

  • Quote

Post by wdreinhart » Sun May 30, 2004 7:43 pm

Yes, there is a benefit: dmix

ALSA lets me have more than one app playing sound at a time, without the annoying latency of ESD or arts. Heck, you can even have multiple USERS playing sound on the same device! (which is neat, but mostly useless on a desktop machine)
Top
searcher
Apprentice
Apprentice
User avatar
Posts: 175
Joined: Thu Mar 13, 2003 9:55 pm
Location: NL

  • Quote

Post by searcher » Sun May 30, 2004 9:54 pm

If you have `alsa' in your USE-flags and you recompile arts it will give you the option to use the alsa sound system from within arts. That should solve most of your mixing problems from within KDE.

~searcher
Top
theturner
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Fri Mar 12, 2004 6:44 pm
Location: United Socialist Republic of Europe

  • Quote

Post by theturner » Sun May 30, 2004 11:00 pm

Is alsa REALLY better than OSS?
yes.
ARTS is crap.
Top
Xiderpunk
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 149
Joined: Wed Mar 05, 2003 2:42 pm
Location: London, UK

  • Quote

Post by Xiderpunk » Sun May 30, 2004 11:42 pm

I have ALSA in my USE flags and am able to select ALSA as the sound system inside KDE, I have sound inside KDE just the mixing doesn't work, thereby currently is working less well then the old OSS.

Will take a look into dmix, thanks.

Incidentally, don't get me wrong, I want to like ALSA and like the engineering principals behind it.. however so far it seems to have proven to be problematic. My argument is that OSS just 'works' with few problems.

theturner: arts has nothing to do with OSS v ALSA, aRts is the core sound system for KDE, and is short for "analog realtime synthesizer". aRts is designed to create or process sound using small specialized modules. These may create a waveform, play samples, filter data, add signals, perform effects (like delay, flanger or chorus), or output the data to the soundcard. So please enlighten me as to what you mean??
Gentoo-Portage - the only way to view/search/explore portage

Kernel: 2.6.7--rc1-mm1
gcc: 3.3.2
desktop: kde-3.2.2 / XFCE4
Top
sindre
Guru
Guru
Posts: 315
Joined: Fri Nov 01, 2002 7:40 pm
Location: Norway

  • Quote

Post by sindre » Mon May 31, 2004 12:29 am

A soundblaster live shouldn't need dmix as alsa supports hardware mixing on the soundblaster live.
Top
roothorick
Tux's lil' helper
Tux's lil' helper
Posts: 83
Joined: Sun May 30, 2004 6:58 pm

  • Quote

Post by roothorick » Mon May 31, 2004 12:36 am

I still remember a developer in one of the projects I work on (StepMania) comment about just how hard it is to get decent audio sync using the OSS APIs. That's reason enough for me.

Anyway, it sounds to me like Kmix has little/nothing to do with aRts and only supports OSS. My guess is it's trying to play with the soundcard through ALSA's OSS emulation, which apparently doesn't work very well. I recommend using the usual alsamixer or find a good GUI ALSA mixer utility.
Top
Sotol
Apprentice
Apprentice
User avatar
Posts: 192
Joined: Fri Apr 09, 2004 10:04 pm

  • Quote

Post by Sotol » Mon May 31, 2004 5:51 am

I have the exact same problem. No matter how much I try I can't
get the same sound as when I used the emu10k1 driver.
Top
jmercer
Tux's lil' helper
Tux's lil' helper
Posts: 95
Joined: Fri Nov 15, 2002 1:53 am
Location: Newfoundland, Canada

  • Quote

Post by jmercer » Mon May 31, 2004 5:08 pm

Yeah, I was having a lot of problems over the weekend too. Upgraded to 2.6.7 from a 2.4 kernel and decided to try this Alsa thing. Result: Only sounds as root or sound as my normal user if I plug the speakers into the rear out. I eventually recompiled the alsa drivers from the kernel, not from alsa-drivers, unloaded all the old ones and reloaded the new ones, switched to the standard sound jack on my card (sound blaster live!), goofed around with /etc/security/console.perms and then went back into kde. I found that my pcm volume slider was way down in alsamixer so I brought it up to about 66% and magically I had sound again and I'm able to control it with kmix's volume sliders and also get my left/right fade.

This may be the first thread ever to be moved _from_ off the wall into a real section, of course that's assuming this stuff helps.

Symptoms of my problem: Everything would appear to play, noatun would tick off the seconds of an mp3 but no sound would come out. No actual errors, just no sound.

When I was in the rear-channel jack, I could control it with the 3d sound slider, unmute (or mute, I forget) the SB Live Analog/Digital Output Jack in alsamixer, turn up PCM, don't touch the captures unless you want feedback that drives your landlords dogs crazy.
Top
outspoken
Guru
Guru
User avatar
Posts: 464
Joined: Sat Feb 14, 2004 10:03 pm
Location: orlando, fl
Contact:
Contact outspoken
Website

  • Quote

Post by outspoken » Tue Jun 01, 2004 3:30 am

thanks for the advice.. im installing a new machine with a sb-live! and im going to use alsa.

btw, kittytime - awesome icon.. kids in the hall rocks!
Top
drhirsch
n00b
n00b
Posts: 66
Joined: Sat May 08, 2004 1:00 pm
Location: Germany

  • Quote

Post by drhirsch » Tue Jun 01, 2004 11:27 am

sindre wrote:A soundblaster live shouldn't need dmix as alsa supports hardware mixing on the soundblaster live.
So does oss.

Since I'm not able to use 5.1 sound properly with alsa, I will go back to oss again (the second time). For me, it is simply not usable since I can't get a proper low pass for the subwoofer and a high pass for the 5 other speakers to work. It wasn't that simple in OSS either, but at least there exists a solution.
Top
geordie
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 99
Joined: Fri Apr 16, 2004 6:25 pm
Location: Newcastle UK

  • Quote

Post by geordie » Tue Jun 01, 2004 9:34 pm

yes more than one app can access the soundcard
regards
geordie
Linux User No 315723
Top
hw-tph
l33t
l33t
User avatar
Posts: 768
Joined: Thu Jan 08, 2004 12:06 am
Location: Uppsala, Sweden

  • Quote

Post by hw-tph » Tue Jun 01, 2004 10:06 pm

A reason why Alsa is better than OSS? I'll give you one:
Alsa + Jack + Ardour = Digital audio workstation

My Windows box running Logic in my studio is getting tough competition from my old desktop with Ardour.


Håkan
Top
Woody
Guru
Guru
User avatar
Posts: 591
Joined: Sat Nov 30, 2002 12:32 am
Location: Milwaukee

  • Quote

Post by Woody » Tue Jun 01, 2004 11:03 pm

There is nothing to stop one from using an oss output plugin for
jack and hence use any jack application without alsa.
Top
hw-tph
l33t
l33t
User avatar
Posts: 768
Joined: Thu Jan 08, 2004 12:06 am
Location: Uppsala, Sweden

  • Quote

Post by hw-tph » Tue Jun 01, 2004 11:43 pm

And OSS/Free supports the STAudio C-Port 2000 / DSP2496 Mk.I, like Alsa does? ;)


Håkan
Top
Post Reply

16 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic