State of Sound Development On Linux Not So Sorry After All
An anonymous reader writes "There have been past claims by Adobe and others that development on Linux is a jungle, particularly with regards to audio. However today, the author of the popular 'The Sorry State of Sound in Linux' has posted a follow up showing Adobe's claims to be FUD, as well as being a good update on where OSS and ALSA are holding today, and why PulseAudio isn't a good idea."
If Pulse Audio really sucks, then Linux Audio really is in a sorry state .
I commend you for at least customizing your troll to the story. So few bother these days.
Pulseaudio sucks so bad I can't use it with the player of MY choice to watch movies.
I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
When I no longer have to reboot into OS X to do real multimedia production work, then I'll agree that alsa has arrived. But this self-congratulation party is way premature. Linux has nothing that can even begin to rival GarageBand, what to speak of Logic Pro or Pro Tools. I surely wish it were otherwise. In fact, I just got done spending hours fooling with the Pro Audio overlay for Gentoo, and couldn't even get Hydrogen to play nice with or without jackd. Yes, my soundcard is listed as "supported".
Caveat Utilitor
I don't have any problems getting the modules to load, it's the quality of the output that's lacking for me (NForce4 chipset). Popping (DC bias) as you slide the volume fader up and down, as well as throughout playback is unbearable. Not to mention the state of media players on Linux...
Linux has no reason for such a core feature to be so lacking, let alone for a feature to get *worse* in time.
Really, it is.
It can be a pain in the ass to get working still, and is buggy.
I'm sure it works well for some, but many others still have problems.
In theory pulseaudio is great. In practice, it sucks. Nevermind, it sucks in theory too :(
Giving a troll any sort of encouragement makes me a bit nervous but I agree. Something akin to movies - why write good dialogue when it it so much easier to blow something up?
"The man who fears no truths has nothing to fear from lies." --Sir Francis Bacon
Yes, Linux audio sucks. If nothing else, we have three common and incompatible APIs to perform a single tasks, and none of them are definitively better than the others. So, my question: what exactly is it that we're trying to achieve? What's the end goal of creating newer APIs instead of perfecting the old ones, such as moving from OSS to ALSA to whatever they roll out this month?
For comparison, FreeBSD uses multi-channel OSS. You can have a whole passel of processes writing to /dev/dsp simultaneously, because whenever a process attempts to open it, the OS spawns off a new copy. It Just Works. I'm a little amazed that my FreeBSD server's sound handling is so much better than my Linux desktop's and requires approximate zero client configuration. So again, what was Linux hoping to achieve by dropping old "obsolete" OSS in favor of increasingly complex solutions?
Dewey, what part of this looks like authorities should be involved?
And that is that ALSA's way of handling mixing is completely moronic.
As an user, I care about hearing sound first of all. Sound quality (no pops or crackles) comes second, latency comes third.
There should always be sound mixing, with no ifs, buts, exceptions, or configuration required. It should be there by default for anything that tries to play sound, whether through ALSA or the OSS backwards compatibility.
The result of this nonsense is that crap like pulseaudio continues to exist, which is CPU hungry, often skips, fails to work with some programs and crashes frequently (what the hell is up with that?).
Is there any document out there which explains why /dev/dsp doesn't get mixing with ALSA? And why nobody tried to patch that yet?
Pulse Audio is a bloody disaster. It breaks just about every audio application I have, and even when its not running, it creates over runs and under runs in other ALSA and SDL audio applications (like ZSNES). ALSA, and SDL audio was the perfect sound abstraction system. Pulse Audio screws EVERYTHING up. I have to makle my own patched RPMs to get rid of Pulse Audio hooks in applications. Its bad. Its really bad.
Audio applications should use ALSA but not lock the card. Games should use SDL. Everyone else should follow suit.
If an application is locking a card its the drivers fault. Fix the driver, fix the over runs, and ditch Pulse Audio!
ALSA was a big mistake, from the same mold as the Netscape "Let's throw everything away and start again!" that Jamie Zawinski complained about all those years ago. For some reason the ALSA developers decided that OSS sucked but rather than fix the few issues that existed, they threw it all away and created this huge monster called ALSA. There are some nice ideas in there, such as generic PCM buffer management, but there is no reason those features could not have been added to the existing OSS implementation. OSSv4 proves that it was possible. Instead Linux has plumped for a system that is too complex, poorly supported, poorly documented and disliked by developers. If instead the effort had been applied to fixing OSS, sound on Linux would now be further ahead than it is now. Now that OSSv4 is fully GPL I'd love to see it back in the mainline tree, at least to give users better choice, but sadly I suspect there are some major egos and political posturing that will stop that happening.
The audio quality is disappointing on Linux. I don't know if it's the decoding or the playback, but audio sounds much better on Windows.
Until developers can write apps and be sure that they will behave as he expects when it comes to sound across the vast majority of distros, I am afraid that we in the Linux world will still be playing catch up when it comes to multimedia. Sadly, the article did not show that things are improving in any way!
So much for the so called "freedom of choice"...but what's wrong with choosing a technology and throwing all development efforts behind it?
Those who crave the freedom to do whatever they want can still do precisely that since Linux and most software that makes a distro is open source.
The mere fact that there are folks that "spread FUD" is indicative of a degree of problems when it comes to Linux and sound.
The real problem here was created when developers started trying to solve the mixing issue by writing software libraries instead of a specification.
Instead of attempting to write a one size fits all sound library that would interface directly with the sound hardware and provide the direct interface for applications who wish to play sound, what they should have been done was drafting a specification for an API that contains only the most basic audio features (creation of primary / secondary audio buffers, enumerating supported device buffer formats, etc.). The driver provides the implementation for the specification. If the device driver indicates the device is capable of hardware mixing, it should use hardware mixing internally, if it doesn't, it uses software mixing internally, if supports the use of hardware buffers for secondary buffers it can do so, but this all will take place within within the driver specific implementation of the standard specification. This should have been paired with a robust generic open source driver that (hopefully) supported as many generic audio devices as possible. Using the interface exposed by the spec directly might seem a little low level, but additional software libraries could be built on top of that interface for use by applications. The important advantage if they had gone down THIS road is that the single conduit, the arbiter of all things audio in the system would've been the device driver for the sound hardware, which would reside neatly in the kernel.
Not to mention the state of media players on Linux...
Going a little bit off-topic first: a cousin of mine had Ubuntu on his laptop (featuring a Geforce 9300M G) and couldn't get rid of image tearing in VLC. Who would be the culprit in this case? The video drivers or the media player? I have kept wondering since then and my enquiring mind would like to know.
At any rate, could you please elaborate? What makes media players bad under Linux?
"The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
Except the sound project names will be different.
The way they fail to match commercial OS sound systems will be somewhat different in detail but equally abysmal.
There will be the same "Works for me!(tm)" posts.
The only hope for Linux to get a commercial quality sound system is if one or more major commercial companies with competent grownups take on the task and have people sitting at desks 40 hours a week doing real work.
The open source "competing teams of bearded GNU freaks taking their sweet time working on competing projects because "choice is good(tm)" in their spare time between bong hits and World of Warcraft raids" isn't something anyone should be waiting around to start finally delivering commercial quality software engineering solutions.
I actually like the concept of PulseAudio. For the first time different applications that use the sound system can have their output levels adjusted individually, and most importantly for anyone new to Linux - easily. So there are no more surprises between a quiet application and a loud one.
As for stability, PulseAudio has been pretty rock solid, it hasn't crashed, but on boot VERY occasionally it decides to re-route all the outputs from the speakers to the USB headset, then you have to spend an age finding all the applications that play audio and set them back to the sound card.
The one major irritation is not a fault of PulseAudio as such, but with Skype. Being 32bit you have to have some 32bit parts of PulseAudio installed to hear the sounds of events like someone calling you. I un-installed the 32bit PulseAudio stuff, and can no longer hear these Skype events. So it's more of a critique on Skype totally ignoring Linux and 64bit (2 years and counting from the last Skype update for Linux).
So really, for me PulseAudio is very good, so long as the applications are compiled to use the 64bit sound system, and not just the 32bit like Skype is. For me, 32bit who cares!
Take Nobody's Word For It.
I hate PA. It's a complex mess and half the time it just doesn't want to work right. There is no way your average user could deal with it. Most of the time I have trouble with it not allowing multiple users to have audio at the same time seemingly due to some twisted sense of how security should work. ALSA is better than PA but still doesn't work a lot of the time.
It sounds like OSS is getting it's act together and just needs someone to hire the lead developer(s) and port all cards missing OSS support over. That sounds like a worthy goal for those selling distros or soundcards. If it works well and is easy for developers then it'll work well for end users. That is what matters. Sound has been my #1 embarrassment when pushing Linux. It has never worked well and it's time we get it fixed.
At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
Both the Adobe article and the "Sorry State Of Sound" article date from May 2007. The new article reinforces that the state *was* sorry then.
Troll. I lolled.
About a gazillion years of linux use lie behind that comment. I love linux to death, its the greatest thing to have happened to 'PC' since .... ever.
The irony lies in the fact that modprobe - in fact the whole, loading unloading kernal modules on the fly - is nothing short of amazing.
I can't think of anything more impressive (in context) than being able to dynamically modify the core OS behaviour through a simple set of command line tools.
The only problem that remains is that 'everyone else' doesn't ever want to even know that stuff is possible.
Invaders must die
So does anyone know how to get oss working in Fedora 11?
I am currently stuck with alsa, and after removing pulse audio, anything is more or less working. And xmms can even do it's own software mixing, but I would like to try oss4 so other applications also could do mixing. Does anyone know if there are ossV4 packages for fedora11 out there?
ps: I hate the name oss, it always make me think of "open source software" not an audio stack.
Troll?!? What the FUCK slashdot? This is a legitimate complaint and question, not a troll. Off-topic may have been a valid mod, but troll? Seriously, fanboys, take Linus' cock out of your mouth for a few seconds and get a breath of fresh air. You guys are just as bad as the worst apple and microsoft fanboys.
TFA says that the way sound is implemented in the kernel is basically okay, but there are problems with how the kernel's facilities are used at higher levels by applications, and with the way the whole thing is integrated by distros. I think he's basically correct.
As an example of what's not broke about the kernel, and doesn't need to be fixed, it's a good thing that we still have support for OSS. OSS allows you to do sound I/O in exactly the way you would expect to do sound I/O based on the fundamental design principles of unix. You just do open(), ioctl(), read() or write() on devices like /dev/dsp. If you couldn't do that, it would be a failure to do the obvious, straightforward stuff to handle sound in the Unix Way.
As an example of what is broken at higher levels: I run Ubuntu Jaunty. Sound works fine every time I boot the computer, and I get the bongo sound as the login screen comes up. Then when I log in, master playback is muted, and the volume is down at 1/31. Also, the way the Gnome icon shows me that sound is muted (a tiny red box with a white x in it) is the same as the way the network icon would show me that I'd disconnected my ethernet cable or something; in other words, it makes it look like it's not just muted, but actually broken. Here's my best attempt to characterize the bug: Here's a bug on launchpad that may or may not be the same thing:
Find free books.
...not so much "work for me" but "who cares?".
I am not an Audio professional. If someone whines about Qsynth taking
up 100% the CPU on Jaunty, I really can't relate to them. You might
as well whine at me about Gimp not being any good for making Matte
Paintings or somesuch.
A Pirate and a Puritan look the same on a balance sheet.
... when application developers or users express concern about a problem in your OS is to attack them, call them liars and FUD rakers, accuse them of being stooges for Microsoft or whatever.
I'm pretty sure the engineer who develops the Flash Linux player is probably on your side, and he was expressing a legitimate concern about a problem with Linux. As best I remember Adobe hired him out of the open source, Linux world. It would probably be more productive to listen to his concerns, and see if maybe, just maybe, there is a problem with audio on Linux. Having tried to write simple audio apps myself using OSS and ALSA I can assure you they have issues, OSS having no mixer at all was a nightmare to make play with more than one audio stream or more than one app at a time, that's why ESD, arts and pulse were created to hide these mixer deficiencies.
ALSA is a ridiculously overdone, convoluted audio API which makes it very painful for audio driver writers and application developers alike. It simply has too many knobs that can be tweaked and turned most of which never get implemented properly by driver writers and can't be trusted.
The simple fact that there must be a dozen different audio API's on Linux many of which exist solely to hide applications and users from the deficiencies in OSS and ALSA tells you something right there.
Rather than attacking this guy maybe you should have the empathy for the guy, he has to deploy an application that is used by probably millions of Linux users, most of whom are ticked off its not open source in the first place and then when it doesn't work perfectly they scream bloody murder. He has to try to make audio work in the face of the fact there are countless barely working or at least buggy ALSA drivers in the world, and there must be about a HUNDRED different ways to configure audio when you count OSS, ALSA, gstreamer, pulse, esd, arts, jack, OpenAL, and a MILLION different configurations when you count all the obscure options you can or in some cases HAVE to set on audio drivers.
As an end user I've suffered through painful, hard to fix audio bugs, in just about every PC I've owned over the last ten years due to audio driver bugs. Sure I could sift through "supported" hardware lists and try to find that rare new PC or laptop where everything is guaranteed to work on Linux, but I would actually prefer to just buy the hardware I want at the price I want. Of course in all fairness to the Linux developer community it is a total bitch to get working drivers on all the PC hardware being put out especially when the vast majority of hardware developers either just don't support Linux, support Linux badly, or actively obstruct Linux support.
You all seriously need to realize that if you want broader acceptance of your wonderful operating system:
A. You need applications and application developers to develop for your system, and not attack them if they point out problems deploying apps on your system. In a perfect world every app would be open source, but there may be some apps which aren't Linux would be better off having as closed source than not having at all.
B. it will have to actually work for ordinary people who aren't going to spend days/weeks/years fiddling with things to try to make it work right.
One of the beauties of the Mac is the hardware is tightly controlled. You may view that as confining and depriving you of your freedom, but it also helps insure the damn thing works out of the box, and most of the applications on it work pretty damn well. After years of fighting nagging bugs on Linux I decided it was in my own best interest to just switch to a Mac for my desktop system and I use my Linux box solely to develop code on. Linux on the desktop is a lot better than it was but unfortunately its just not a very good desktop experience by comparison.
Unless there is a major attitude adjustment in the Linux community that is unlikely to change. Either:
A. Be content that Linux is a niche OS for hardcore fans a
@de_machina
needs to be integrated into the Linux core and ALSA/PulseAudio need to die kthx
Wait. Claiming audio sucks on Linux is FUD because there's not one, not two, but three mutually incompatible and redundant APIs? How the hell is this not a clusterfuck?
Oh I'm sure there's some reason why someone prefers one to the other, but seriously. You're sending bits to a soundcard. That's it. Just make one API and be done with it. Got a beef with the API? Enhance it, don't just throw it away?
My god, audio was one of the reasons why I ditched Linux for a mac four years ago after running it as my primary OS for ten years prior. Frankly I got tired of having sound work in some applications, but not others. I got tired of guessing which mixer would adjust the sound, which mixer wouldn't. I got tired of seeing "No ALSA cards detected" in my startup, but someone how having `alsamixer` be the one mixer that worked most consistently.
This is a mess made by the developer community and developer community has so far failed to show that it is capable of solving it. If only there were a Benevolent Dictator or something...
I've never had trouble getting stereo output on a Linux box. At least, not in the last few years. 5.1 through a digital out, however... that's been a nightmare for me. I haven't tried the latest distributions, but Ubuntu just plain wouldn't do it through the digital out jack. Fedora will, but only outputs 2 channel. EVERYTHING I've tried hasn't worked, and no config file changes have changed my results. I'm going to try the latest Fedora and Ubuntu soon, so we'll see if it's gotten any better.
I don't know about you, but my servers run on the power of cotton candy and happy thoughts. -Anonymous Coward
Whoever modded you a troll is a moron.
The problem is most likely the video drivers. Download updates from NVidia's website. The free drivers for NVidia cards will get your display working, but it won't be fast.
Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
The developer of PulseAudio explains some of the rationale in this interview.
-- Ed Avis ed@membled.com
From reading the (very interesting) article, it sounds like he's still saying it is in a sorry state. Summary for those lazy people.
OSS3 was a bit crap and removed from the kernel in favour of ALSA
ALSA is also a bit crap because it does mixing in a stupid place, and sometimes not at all. Also it has an unnecessarily complicated API.
OSS4 was written, which is much better than ALSA - simpler API, lower latency, better mixing - but isn't included in the mainline kernel.
PulseAudio is a horrible horrible ugly evil stupid idiotic hack. Did they never use Arts?!?
So as it stands we have ALSA which is sub-par, being driven by PulseAudio which seems to do its best to cock things up.
When I've installed Ubuntu on other peoples the machines the first thing I do is remove PulseAudio. It offers no benefit for the average user and is the source of many headaches. Imagine being a new user and, when when discovering you can't do anything sound related, have to dive into a nasty tome of a HOWTO like this: http://ubuntuforums.org/showthread.php?t=789578. You'd be looking for your Windows install disk before you even started scrolling down.
The main reason why PulseAudio isn't a good idea:
It is just the best possible counterexample of "Just Works(tm)". In other terms: each time I try it, it just "Doesn't Work(tm)". Without it, sound works more often than not; I don't care why or how as long as it does work. Simple observation: "apt-get install pulseaudio" breaks audio, "dpkg --purge pulseaudio" repairs audio.
Hm. Maybe that's how Linux audio is supposed to be brought to a (relatively) sane state: by breaking it so terribly that rolling everything back to the previous state would almost look like a step forward.
No it doesn't - it works for me.
I use an obscure distro called "Ubuntu" that halfway switched to PulseAudio during the latest release, breaking half the audio on my system until I uninstalled it. PA might be a great thing but the current state of it, right now, today, on the most common Linux systems, ain't so hot.
You're an idiot and/or a Microsoft astroturfer.
Cute, kid. Run along.
Dewey, what part of this looks like authorities should be involved?
Over the years I had a lot of prolbems with ALSA, the biggest being the lack of sound mixing with the sound card on my motherboard. To get around it, I went out and bought a different sound card that supported hardware mixing. I still had problems where ALSA would just break periodically and require restarting it. Then at one point it just plain broke and nothing would fix it.
I had enough and installed OSS. What a difference. Latency is better and it just works. There is no excuse to not providing consistent audio mixing. I should have switched to OSS in the beginning rather than buy an expensive sound card because ALSA couldn't do software mixing.
A sound API should provide sufficient abstraction so that basic operations do not depend on the underlying hardware. Mixing, sample rate conversion (when needed) and per-application volume settings fall under basic operation as far as I'm concerned.
This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
My chief complaint, both on Windows and Linux is that probably 99% of applications have no concept of anything other than the default sound card, making multiple cards useless for all but a few niche applications. Apps that use sound need to provide a way to specify which device is used in case the user wants to use other than the default, period. None of the solutions for audio so far have really done anything to make this better (or they make it worse in the process) - granted, it's mostly an application issue, but control of device selection in the mixer as well would help.
I'm definitely not an authority on either Linux or Windows audio, but I see something wrong with this statement:
http://blogs.adobe.com/penguin.swf/linuxaudio.png
http://4.bp.blogspot.com/_vLES3KKBdaM/Sjsptq1kkCI/AAAAAAAAAGU/yITp1qKuHOU/s1600-h/windowsaudio.png
Looking at both graphs, there's a striking difference: I don't see any loops in the Windows one (though, not being complete, there could be some). I don't see any major problems with library diversity, but the fact that there is no apparent hierarchy does confuse me.
At least get your zealotry straight.
The "bearded GNU freaks" wouldn't dare touch World of Warcraft. It's proprietary! It certainly isn't "Free as in Freedom"!
Don't thank God, thank a doctor!
My guess is compiz. Install compizconfig-settings-manager, open it, go to "General" and tick "Sync to VBlank" in the "Display Settings" tab. The newer UXA-mode Intel driver may have problems with this, but for other cards this should make everything look better.
Bottomline for the topic under discussion: you never know.
The state you are in while your HEAD is detached... - wait, what?
For me, PulseAudio was a saviour when I got a pair of USB speakers to supplement the headphone out. It does actually just work, but there was a whole Linux Audio Jungle out there for me to hack through (couldn't find a simple explanation of the various options anywhere) before I got it working. When I finally installed the correct GUI packages (ubuntu) it was much easier to use than reconfiguring the output modules of each program (xmms, vlc etc) every time I wanted to use speakers (or headphones). No config files needed editing, it did Just Work.
It does crash now and again, and there doesn't seem to be a GUI option to restart the server.
The network capabilities look really cool too (see another post above) but I have no need at the moment.
Haven't noticed latency problems so far.
The irony lies in the fact that modprobe - in fact the whole, loading unloading kernal modules on the fly - is nothing short of amazing.
I can't think of anything more impressive (in context) than being able to dynamically modify the core OS behaviour through a simple set of command line tools.
It's a neat feature. But hardly novel or really that amazing. Other Unices offered this, and I'd be surprised if mainframe systems going back 30 years didn't. Heck, SunOS (the predecessor to Solaris) offered this, and it was end-of-life'd before Linux 0.1 was a gleam in any Finn's eye.
And really, it's not like you can swap out ANY component of the kernel - I think 90%+ of kernel modules are device drivers.
Not to say it isn't a cool feature, but you really don't need to have an orgasm about it.
Advice: on VPS providers
why write good dialogue when it it so much easier to blow something up?
You've been watching MythBusters, haven't you. :-)
LOL!
Every 'bearded GNU freak' has two machines:
1. And ideologically pure Linux machine that he posts +5 Insightful diatribes calling for blood with the smallest hint of GNU copyright infringing stories.
2. An unspoken Windows box that he plays World of Warcraft and other games on while downloading hundreds of gigs of copyright infringing music on.
I've spoiled my laptop speakers playing music on ubuntu. It takes elaborate tweaks to the equalizer and sacrificing the frequency range to get non speaker distorting sound. I REALLY wish I knew how to get around this.
Real men read Slashdot articles at -1, bottom up.
Don't care what anyone might say about this, Every day I have problems with sound over s/pdif and HDMI.
In EVERY update of ubuntu I had sound glitches. Since day one I hated pulseaudio... how cares about volume per application or sound servers across the network when you have to kill firebox in order to have sound in VLC?... yeah, that happens a lot.
Math is beautiful... e^(pi*i)+1=0
All modern operating systems offer this functionality, most from the command line (ie on OS X it's kextload/kextunload). It's not some amazing Linux thing.
Even something as simple as recording from the output of the computer doesn't work. I've tried PulseAudio, ALSA and OSS, all with a very simple conclusion: dead silence. It hasn't worked in Ubuntu in the last 3 years; I can't speak for the previous versions.
Is this ever going to work? And if it's currently working, what am I doing wrong?
It's a neat feature. But hardly novel or really that amazing. Other Unices offered this, and I'd be surprised if mainframe systems going back 30 years didn't. Heck, SunOS (the predecessor to Solaris) offered this, and it was end-of-life'd before Linux 0.1 was a gleam in any Finn's eye.
Linux 0.01 was released in September 1991. Linux 0.11 was released in December 1991.
The last release of SunOS (4.1.4) was in November 1994. It was supported by Sun until September 2003. Never underestimate the demand for long term commercial Unix support.
App -> libao -> OSS API -> OSS Back-end - Good sound, low latency.
App -> libao -> OSS API -> ALSA Back-end - Good sound, minor latency.
App -> libao -> ALSA API -> OSS Back-end - Good sound, low latency.
App -> libao -> ALSA API -> ALSA Back-end - Bad sound, horrible latency.
App -> SDL -> OSS API -> OSS Back-end - Good sound, really low latency.
App -> SDL -> OSS API -> ALSA Back-end - Good sound, minor latency.
App -> SDL -> ALSA API -> OSS Back-end - Good sound, low latency.
App -> SDL -> ALSA API -> ALSA Back-end - Good sound, minor latency.
App -> OpenAL -> OSS API -> OSS Back-end - Great sound, really low latency.
App -> OpenAL -> OSS API -> ALSA Back-end - Adequate sound, bad latency.
App -> OpenAL -> ALSA API -> OSS Back-end - Bad sound, bad latency.
App -> OpenAL -> ALSA API -> ALSA Back-end - Adequate sound, bad latency.
App -> OSS API -> OSS Back-end - Great sound, really low latency.
App -> OSS API -> ALSA Back-end - Good sound, minor latency.
App -> ALSA API -> OSS Back-end - Great sound, low latency.
App -> ALSA API -> ALSA Back-end - Good sound, bad latency.
Do you by any chance buy Monster cables, and a wooden volume knob, because it "sounds better"?
I'm sorry, but without proper ABX tests, I do not believe a single word of this table.
And about the latency: Please enlighten us, how you actually measured them?
Any sufficiently advanced intelligence is indistinguishable from stupidity.
I have a recording studio and I run Linux.
But not for recording.
I stumbled around for weeks just trying to figure out what the problem was and gave up. OSS, ALSA, JACK, PulseAudio, WTF?? There should be a mixer and that's it. Ardour looks nice, but if I have to screw around with a bunch of cryptic backend shit just to be able to record something it's not worth my time.
With Windows you install Cool Edit or Soundforge and off you go.
Is he running compiz? I could only get tearing to go away on mine if I turned off ALL transparency. See if it works with Compiz disabled. If so, then you need to disable all transparencies in Compiz.
Sheesh, the guy has *one* thing in his life that gives him joy, and you guys have to go and spoil it. Perhaps you could show a bit more courtesy if he ever brings up mounting/unmounting filesystems on the fly...
I'm sure from all the rave reviews it's technically superior and all, but right now it's controlled by a paranoid schizo who hasn't got a clue how open source works: after GPLing it and whining that he hasn't suddenly started making money, he now thinks he can dictate what license apps using his API have to be released under.
cool story, bro.
Try using a Linux machine as a digital audio workstation. I dare you.
I love Linux, too, and every time a new version of Ubuntu Studio comes out, I try to see if there's been any movement on the audio front. I don't know enough about driver design to understand why not, or even to say "Gee, I thought audio on PC hardware has been figured out." Still, I always end up disappointed but hopeful.
Considering the amount of crossover between the Linux geek community and the DIY music production community, one would think there'd have been a better solution than jack for getting audio apps talking to audio hardware.
I keep pressing the DAW application developers for Linux version of their programs whenever I run into them, which is several times a year. There are promises and encouragement exchanged but not much more. The low overhead and flexibility of Linux seems perfect for DAW application, so I wonder why it's not happening. The situation is similar with digital video production on Linux.
Forget about "linux on the desktop". Give me linux in the studio.
You are welcome on my lawn.
Try using the OpenGL output driver, and make sure 'wait for vertical blank' (vsync) or a similarly-worded option is enabled.
[OT]Nvidia Geforce 9300M?
For an acceptable video experience on Linux with nvidia card, you have no way but to use their closed driver. To fix the tearing, tick "Sync to VBlank" in X Server Video Setting, this should work. [/OT]
About Linux media player, IMO, they are very good, mplayer will play *anything* I have (more than 100 codecs), though the GUI may need some fixing, but I am using mplayer CLI version anyway.
I use the Nvidia drivers and also have tearing issues with any full screen video. I use Xfce with the Xfwm window manager. The tearing goes away if I both disable compositing (the Gnome equivalent would be to not use Compiz, I believe) and set vsync to the monitor the video is on in nvidia-settings under "X Server XVideo Settings". (I have two monitors with slightly different vsyncs -- I have yet to find a way to play full screen video on both monitors with no tearing on either but I have also yet to figure why I would want to do so other than testing my video card. ;-)
My current usage pattern involves disabling compositing (it's just a checkbox in the window manager settings for Xfwm) whenever I am watching a video with enough action for the tearing to bother me and reenabling it when I am done (as the window manager performance is significantly better with compositing enabled), which is annoying but works. Hopefully at some point to issue will be fixed -- or maybe there is already a way to get video without tearing while compositing is enabled that I am not aware of?
Centralization breaks the internet.
I use an obscure distro called "Ubuntu" that halfway switched to PulseAudio during the latest release, breaking half the audio on my system until I uninstalled it. PA might be a great thing but the current state of it, right now, today, on the most common Linux systems, ain't so hot.
I use that same obscure distribution. On my system, it did NOT install pulseaudio (I may have installed the day before the release or something) and I had to install it and follow PerfectSetup before audio stream mixing would even work (HP's implementation of snd-hda-intel hw == poop)
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Works as a DAW for me. Realtime kernel, Freebob, Jack, Qjackctl, Ardour. I wouldn't describe my audio work as taxing but it's certainly a capable setup. The only caveat is you probably need to understand more about how it's all plumbed together than on OS-X.
I didn't even read what they said. All I know is as an IT guy with many users that use Linux. It has issues. Adobe Flash causing a shit load of them. (especially peered with Skype)
I myself don't have many issues, but then again I take extra special care on what hardware I purchase.
As "Reboot" is the first step in support for Windows. In Linux I've found it's "alsa force-reload".
Looking at the charts, and looking in a few other places, it is clear to me that OSSv4 is the way to go.
So, when does this start to happen? I tried this a few months ago, and I had to patch my kernel and do all sorts of other things that ended up hosing sound completely (since I'm not a developer, asking me to do developer-ly things is trouble).
When will it be a simple switch in the kernel config, or a simple matter of installing a package in the major distros?
For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
First off, KDE and Gnome != Linux. Last time I checked they both ran on FreeBSD too. They are the real problem. When I first started playing with sound on Linux (probably 1996 or so), OSS was the established standard for the kernel. I think there were some other devices for compatibility, but Linux developers used OSS.
Then around 2000 or so, ALSA started to show up as a viable project. It supported low latency sound and was more reliable for syncing sound to video. Obviously, you want this for playing video games or watching movies. Quite a few distro maintainers jumped on it and added it to their distro before it was added into the mainline kernel. Eventually it was added, and they kept OSS for backwards compatibility.
Until recently, yes, Linux didn't support multichannel audio, but now ALSA does, and it does "just work." Most of those daemons were created to patch on support for multichannel and networking. I assume those must be the "incompatible APIs" you were talking about.
There is one daemon called jack which seems to be good for audio editing--it is a whole routing system for audio, but I doubt one would need to use it for just playing sound since ALSA seems to have all the features, and ALSA was never superseded by anything else like you implied. Jack, esd, pulseaudio, artsd (unless it uses esd), & etc all use ALSA.
I can't seem to find any such thing. My computer/media centre goes into my stereo amp which doesn't have L/R balance. I was hoping for a simple tool to do this in the computer. Couldn't find one. Does anyone have a suggestion?
Audio in Linux is hard. Audio is such a different direction from the original purpose of server. And part of the hardness is all the different systems Pulse, ALSA, OSS etc which many people (like me) can't understand the difference between. X.org is in way better shape than audio.
Stupidity is its own reward.
I'm having difficulty understanding where you're coming from regarding the media players in Linux. For audio, Amarok 1.4 is nothing short of amazing. Even the venerable Winamp and Foobar can't touch it for flexibility and keyboard friendliness. As for video players, mplayer is one of the programs I fire up to show Linux off to Windows using naysayers. It loads anything you throw at it and it's blazing fast at seeking, start-up, you name it. And if you just have to have a GUI, VLC is untouchable. Hell, Miro will play your local videos too and it has tons of features. I know that all of the video programs I mentioned run under Windows too but, to imply that media players on Linux suck is disingenuous at best.
The soylentnews experiment has been a dismal failure.
Pretty sure VLC doesn't do hardware acceleration on any platform period. Nvidia supports VDPAU in linux which allows you to play HD flawlessly with practically any card as long as the video player supports it (and a number do, mplayer and XBMC are two that come to mind off the top of my head).
See: http://www.phoronix.com/scan.php?page=article&item=nvidia_vdpau_gpu&num=1
I like to correct the Lemming driven mis-perception that "it's all broken".
Some people genuinely have bad luck with whatever configuration they happen to have.
Many others just like to spread completely bogus nonsense.
A Pirate and a Puritan look the same on a balance sheet.
Whats worse is that there were OSes doing it before Linux existed.
Hell I've seen dynamicly loaded kernel modules implemented on 8 bit microcontrollers in one form or another.
That doesn't actually make its multimedia support better, the fact that someone said 'modprobe' instead of 'use the XXX API which is standard to all Linux kernels', then it might have helped the multimedia experience.
I'm not a Linux user but ... is there one common API that all distros support, or at least all the standard 'desktop' distros that don't suck ass?
I know what API I can use on every version of OS X and Windows. They've seen some changes but for the most part, old apps still work fine with upgrades. Same for Windows. Whats Linux got? I have a ubuntu box, it uses PulseAudio I think as a sound daemon I think? (Pardon me if I'm confused, I really don't have a clue about Linux desktop type stuff so educate me :). I know ESD exists as another method as I've used it in FreeBSD (which has the same problem, but I don't think anyone ever claimed it was a desktop OS outside of Apples usages of bits of it).
So what are the functions I use to play sound in Linux, on any distro? Let me guess, Gnome has its own, KDE has its own, and there are several others that can be used as well, and each app has to have support for every possible combination in order to ensure its going to work across the board?
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
When ardour gets it own midi sequencer, and more editing features, it'll be on par with cubase/etc. I try hard to use linux, but I get frustrated by the lack of features in ardour and end up having to move back to cubase. I'm sure ardour will improve, and when it gets to the point where its featureset meets my needs, I'll be more than happy to use it.
What if Linux/BSD people did something completely opportunistic and implemented very same calls to API which will produce exact same results?
Something like ALSA 2/WINE hybrid but proper documentation, very same calls/usage. For example "Core Audio" of OS X?
I follow AVID guys and others and I don't think they are insane to leave all that work on writing software for 2 different operating systems having nothing to do with each other (except quicktime which helps a lot) and add "Linux" to the supported list. I am not a audio guy but I know their needs are way beyond "if it plays that mp3", to give a clue, one of the first parts of OS X to move to 64bit was sound system, Core Audio. The MIDI etc. are way beyond the Atari 1040 ST "plug the mini and it records, great" ages. Musicians do mad things now, connecting a lot of things together, add realtime effects etc.
Funny is, Audio is always under rated on computers. That is why Creative lives nightmare because of "integrated sound" while NVidia and ATI are enjoying even more profit since gamers really hated the integrated graphics system. Look to Apple and search for "Core Audio" which is said to be "state of the art" by industry. How many results? Now look for "Core Graphics" :) I bet it is same deal on Microsoft side regarding direct3d vs directsound.
Issue here is, people can't understand what professional audio guys needs. For them, "playing that mp3" or even (if exists) "6 channel game" is enough. For Pro audio, it is just the beginning.
I got it "for free" with the dist-upgrade. I didn't really have an opinion on PA before then (and still don't have much of one; Ubuntu making a few mistakes doesn't mean it's inherently bad) and only removed it because its new presence was breaking a lot of previously-working sound on my system.
Dewey, what part of this looks like authorities should be involved?
On Gentoo I just had to disable CONFIG_SOUND in the kernel and install the package from a repo, and that was last year (I think just as 2.6.28 came out, not entirely sure). I don't see why you'd need to patch your kernel as all you need should be in the modules.
What are we going to replace with? I want to hear what Linus and others have to say. Maybe it's time to really look at audio in Linux. We've had lots of framework overhauls in Linux. Alsa2 anyone?
Everyone wants a Tux in their life.
The nforce4 chipset provides which version of nvidia's GPU? That's using onboard memory? How did you verify that the module was loaded properly? That is the module that provides accelerated graphics rather than the generic graphics capabilities? Did you run nvidia-settings and verify that an nvidia GPU is present? Is it some other aspect of the nforce4 chipset that you dislike or believe is accounting for the lack of video playback quality?
Which media player are you talking about? Which media players have you tried? You looked at VLC for linux? You taken a look at XBMC, at Boxee, at any of the 20 or so media players available?
Media playback in Linux is top notch. In the past 2 years multimedia playback, including DVD, has not been an issue. If you are complaining about it then you are experiencing an exception. Your one experience doesn't justify saying that the state of media players on linux...
You can lead a man with reason but you can't make him think.
I agree. I think it has more to do with some kernel developers who refuse to consider OSS after OSS3.
The OSS kernel interface is simple and the audio mixing is performed in the kernel (if needed) where it should be. All an app needs to do is open /dev/dsp and perform a few ioctl calls and they're ready to go. They don't need to care whether some other application is also playing audio or not.
It's much cleaner than ALSA, which is a mess IMO. I've had a lot of problems with ALSA until I finally dumped it for OSS4 which solved the constant clicking, stuttering and lack of audio mixing. ALSA would often need to be restarted and it finally got to the point after a kernel upgrade where ALSA just plain refused to work at all.
With OSS I can basically choose the format of the audio, the sample rate and the volume and just set it and go. If the hardware doesn't support multi-stream mixing and volume then OSS does it in software. Similarly, if the hardware doesn't support the sample rate (i.e. 44100) then OSS will resample it to match the hardware, thus abstracting the hardware from the software, which is the way it should be.
This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
I have to wonder what program you are using to output the audio. On my desktop, there are settings that allow the audio to be routed immediately to output without processing in PulseAudio or anything.
But, more to the point, your latency relies on the program itself much more. I've been doing quite a bit of low-latency audio programming using both ALSA and PulseAudio, and they both get extremely small if you know what you're doing. With ALSA, I've gotten to around 1ms, while I can easily get PulseAudio to approximately 5ms. Using a PC that has two cores, I've gotten the numbers cut down to around 0.5ms and 2ms, respectively.
If you're having a real touchy time getting response that low, you likely have to bump up priority of the process. Using ALSA, simply setting the application to realtime scheduling will do it. With PulseAudio, you're going to need to set the audio server itself to realtime as well as the application (I haven't done too much testing with that, but that seems to be the consensus online). As a parent suggested, you probably want to look at using JACK. It does most of the dirty work for you.
I learned most of this working on a low-latency audio application. Just yesterday I got the thing to route a guitar at low latency using ALSA, and I'm looking to finish up the Pulse portion this next week or so.
s/and World of Warcraft raids/Nethack amulet retrievals
There you go.
Computers are useless. They can only give you answers.
-- Pablo Picasso
Somehow I don't think you have any idea about the topic you're writing about but bear with me if you do and you just have become lost somehow(??) Linux-only media players is superior in every way I can think of compared to Windows-only media players. Some of the best players for Windows started out being Linux-only. I just recently dropped Windows on our PC's, after a bit of Vista time, and my biggest problem with media players in Linux is that there's so damn many to chose from that are better than what I have used in years and years of agonizing bloated Windows software. Sure there's crap players in Linux too. It's just that you have to work hard to evade crappy software in Windows while in Linux you don't . And there isn't even a "Linux media player 18½ advanced version" forced on you at install that suck about as much as fanbois do. And popping sound? Don't even get me started about how much popping I have had in Windows. Creative Soundblaster surround cards in Windows anyone??
So we should be using OSS because the author doesn't use suspend on his computer?
The article is just a big rant about how difficult he finds ALSA to develop for, how he doesn't understand the benefits of a user-space audio stack as found in Windows Vista and with PulseAudio empowering Ubuntu and other distributions.
I had this too for several weeks, it was driving me mad. If I remember correctly, the fix was to change VLC's video output module to X11. Give it a go, hope it goes well.
This post was made in complete sincere seriousity; as such any attempts to derive humour are doomed to instant failure.
While Amarok is indeed the best Linux media player available, it's still terrible, sorry.
Reading comprehension. Get some.
This is something that has been bothering me for a while now. It's been a couple years since sound servers were in any way necessary. The sole purpose of ESD was to work around the fact that only one application could open /dev/dsp at a time. It was a horrible, nasty hack that was unfortunately necessary at one point in our history. Nobody really wanted it to be a long term solution, we just wanted something that would work until the people ho wrote the sound drivers got their sh*t together.
Yet here we are, years later, and not only have we never tried to phase out these horrid abominations, we keep adding new and more complicated ones. I have no words for how absurd this is. Why is it that we can't just fix the issues in the drivers where they belong rather than piling heap after steaming heap on top of them? And even when they do actually fix the issues, nobody ever tries to dig us back out of the pile...
If I don't put anything here, will anyone recognize me anymore?
Since you're the only one who asked politely, I'll share with you. Nothing necessarily makes media players bad under Linux, but similarly, nothing guarantees one will be good either. The reason I don't believe any Linux media players are good is simply that nobody has written one yet. While Amarok looks promising, that's all it looks, but next to a commercial offering like iTunes it's nothing. It's not that I particularly like iTunes, it's just that:
short version: bugs bugs bugs bugs bugs
All this ignoring the unacceptable quality of some sound drivers, the nForce4 AC97 being my current example, but most cards that I've used in the last ten years suffering OSS->esd->aRTS->ALSA and back again have exhibited artifacts, often DC bias in the output. I guess it's probably because a lot have been incompletely reverse engineered.
Believe me, I've never been a fan of iTunes either, but on the other hand it's given me no reason to hate it either. It does what's promised nice and smoothly, and stays out of my way. Ultimately, here's a hypotheical example of a key difference I believe to be between a commercial closed source player like iTunes and an OSS one like Amarok.
I accept that if you run Linux, Amarok is as good as you're going to get. Until a month ago, it was the best *I* had for about three years. (Before that was XMMS, but it became stable so Gentoo removed it). I hated every minute of it, and now that I've got the choice I'll never use it again.
I can't say I'm impressed with alsa, oss4 on the other hand is godlike ... simple fast and working
The free open source drivers for ATI card have been supporting tear free video for a long time now.
Have you tried Songbird? I'll be the first to admit i'm a Windows guy(quite happily on XP x64, thanks much) but if Firefox works good for you in Linux, I don't see why Songbird wouldn't too, as it is based on the Gecko engine.
I have been passing it to customers as well as using it myself and it is actually a pretty nice player. it has plenty of customizations and more importantly to me, none of those customization are by default which means I can have MY media player MY way. So give it a try, and maybe one of the Linux guys can chime in and tell us how it handles in Linux?
ACs don't waste your time replying, your posts are never seen by me.
If I could hug you right now, I would.
-- If you try to fail and succeed, which have you done? - Uli's moose
ALSA. It will work on any Linux version, on any distro since 2003. It can easily be made to work on earlier systems.
About Gnome/KDE: if you write a KDE- (Qt-) based application, you get an abstraction layer that won’t even let you see what sound system is used beneath. I have no experience with Gnome, but I guess the situation is the same.
If you want to write a DE-independent app, then all you have to support is ALSA.
And by the way, you never have to “modprobe” to get your sound card working. In fact, since the uevent subsystem was introduced in Linux, you never have to “modprobe” to get any hardware working. Every driver gets “modprobed” automagically when you plug the respective hardware in.
How the FUCK is this +5 Interesting?!? It's COMPLETELY offtopic, AS HE ADMITS.
And to answer the parent's question, it's probably the video driver, try out mplayer with opengl output.
"linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
Just a side note, I had a really bad audidgy driver on Linux, and it was Sooo bad that IT caused the video tearing. Switching to my onboard audio card made all sync issues vanish... try playing it without sound to see if it makes a difference.
Bye!
A single bad moderation doesn't make a bad community. Hell, they're modded 4 at the moment. Let the system do its job.
Bye!
It looks promising but having just had to use it to try and resolve a problem with a friends ipod and had problems with crashing and really slow performance on a c2d 2.4ghz and 2gigs of ram.. I prefer to use Rhythmbox, I like the retro look..
I use mplayer even on Mac OS X. It's a great player, low on resources and with a great support for all common and most exotic formats. With MPlayer OS X Extended, there's even a nice user interface wrapper for it.
The reality is this: it is already a difficult compromise choosing audio software to work with on PC or Mac platforms. Only people who aren't serious about their work really have time to worry about linux solutions here. Composers are only just now beginning to see anything like a move towards a merger of sequencers and notation programs, with Sibelius and Finale adding limited audio support and Cubase adding better support for orchestral articulations and some improved notation capabilities. Protools added some code taken from Sibelius but it's still rudimentary. Competition in terms of features is very tight between these various alternatives, and it's not like OpenOfficeâ'it can't just do 'more or less, the main tasks we need'. The open source software has to actually be *better* than the existing options. Whenever I wonder again about this I just compare the 'new' features in the most recent version of Cubase or Sibelius to the most recent features in the open source alternatives and I can only laugh...
Hi,
the problem is related compiz, in combination with nvidia drivers. Uninstalling compiz and (for example) metacity instead will solve the problem.
I'm pretty annoyed myself that the problem apparently STILL hasn't been solved after so many months. compiz sure isn't necessary, but it's nice to have.
All the best,
Till
Um, why would a bearded GNU freak ever work on Linux ? Its not idealogically pure at all. They'd sit on Hurd/Debian
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.slashdot.org Errors found while checking this document as HTML5!
So maybe this isn't a good time to mention that you can upgrade video drivers in Vista (and above), or recover from a video display crash, without even closing and reopening your windows, never mind the applications behind them?
That said, I don't know how to force WIndows to load or unload a kernel module (.sys file, typically) via command line. It's probably possible, but Linux certainly does make it easy.
There's no place I could be, since I've found Serenity...
In all fairness, a lot of BSD documentation with regard to drivers still ends with something like "... then recompile your kernel and reboot."
Also, XP (despite being 8 years old, it's still what a lot of people think when you say "Windows") will need to reboot after many driver changes. Vista and above are much better behaved in this regard, allowing installation/update/removal of most audio, video, input, and peripheral drivers without rebooting.
There's no place I could be, since I've found Serenity...
I do, actually after I post this I'll be using it to produce a Jazz album that I also recorded on a linux machine (Fedora, ccrma). I think Jack is great to hook up different audio applications and I think the resulting production process is a real step forward from existing digital mixing/mastering processes. Not perfect, sure, but I'm not certain it can be duplicated on Mac's and windows boxen.
I've produced three albums so far under linux and the software has come forwards significantly since I started playing around with it in 2003.
In recording mode - where it matters most - I have a machine that is stable because if there are any problems during the recording the musicians are not likely to be understanding. Usually the machine is set to record over a day or two with 16 channels of input and very little interference. The underlying features that a Linux box offers like LVM's, fast file systems like reiserfs, tunable kernels are a bit of a hassle to set up at first but the result is an exceptionally stable system.
There are shortcomings but I just develop new habits to overcome them. With the money I saved on a mac and protools I have bought some great recording equipment. I plan to start donating to the Ardour and jack projects because that is what they need to improve and make them progress a lot faster.
Without the Alsa project as a foundation I don't think any of the sound projects happening now under linux would have been possible.
My ism, it's full of beliefs.
If we switch to OSSv4, people will start whining because we will have three sound systems instead of two. A gift for all Linux FUD spreaders. Drivers quality will not improve in the switch from ALSA to OSS (why should it?) so people will keep complaining about cracks and pops and out-of-the-box hardware support, and new bugs will inevitably crawl in during the process of converting existing drivers from ALSA to OSS.
Of course, developers will have to support ALSA for a long time (dropping ALSA altogether would break nearly ALL the current linux applications, not just flash player) so the support burden for distributions maintainers would become even heavier.
All of this - because ALSA does not match the pipe dream about sound systems of TFA writer. In the end, the features offered to the end user by a OSSv4 stack would be less than those provided by a working ALSA + PulseAudio stack, as even the writer itself states (about hybernation support).
Not to mention the fact that nowadays many applications will make use of high level libraries that hide the details of the sound system from them, so they couldn’t care less about ALSA or OSS.
So no, thank you! Please report bugs, do complain as loud as you can, but yet another fork is the last thing we need now.
ALSA is Linux-only, you can't run it on BSDs.
incorrect. The proprietry nvidia drivers are not even installed by default, and never have been. There was talk about providing them out of the box but it never eventuated. They are, however, easily installable via the "hardware drivers" app.
being vague is almost as cool as doing that other thing...
vlc has options to change the way output is handled, try them, maybe you can find out more about what the problem is.
New things are always on the horizon
OSS. It's standard on all UNIX-like systems except OS X. The API is painfully simple. There are no libraries, the only dependency is a single header (soundcard.h). To play sound, you open() /dev/dsp and write() the data there. If you want to change the format (e.g. sample size, rate, or number of channels), then you issue an ioctl().
If you use FreeBSD, then you've had in-kernel sound mixing with OSS since around 2001. It was a bit difficult to use back then; you got a different device for each channel and had to configure each app to use a different one (I had one for each of KDE and GNOME's sound daemons, one for xmms, and one for games, for example). With FreeBSD 5 (January 2003), each app to open /dev/dsp got a new vchannel, so all sound-outputting apps got a trivial-to-use interface that supported mixing.
Now, both OpenSolaris and FreeBSD support the newer OSS API, which is backwards compatible but also provides per-channel volume controls and a few other nice things. Linux does if you install the 4Front OSS implementation (which the author of TFA is recommending), but by default ships with ALSA, which is a Linux-only API that is not backwards-compatible with OSS (which was the standard Linux sound API until ALSA shipped).
It amuses me that I've had multiple applications able to play sound on a cheap soundcard, using a simple, well-supported, API on FreeBSD for almost a decade, and yet people still claim Linux is ready for the desktop but FreeBSD isn't.
I am TheRaven on Soylent News
Which BSD are you talking about? All of the major BSDs have supported kernel modules for a long time, although only FreeBSD makes heavy use of them. The sound drivers on my FreeBSD systems are implemented in two kernel modules, one implementing shared, generic, functions relating to sound and one implementing support for the specific device.
I am TheRaven on Soylent News
Well, of course. 3D acceleration on Linux requires in-kernel drivers, and the kernel interface changes constantly, so the drivers need to be constantly updated to work with new kernels. Open-source drivers would solve the problem, but manufacturers don't want to provide them and Linux isn't anywhere big enough to force them to. The end result is a nightmare; for example, I can't update the kernel because the last drivers that work with my card (Geforce 2 MX) don't work with the new kernel. And while I got an old Radeon for free, it won't work with my motherboard (KT7A).
Forget magic. Any technology distinguishable from divine power is insufficiently advanced.
Does such thing as a "microsoft fanboy" exist (still)???
I like PA. I had to set it up myself, since I use Debian, but since I got it working (not too hard),it has been great. It fixed the "Flash locking the sound card" issues I had been having, and everything else continued working fine, and I got sound mixing out of it. That said, from everything I have found out about OSSv4, I would like to see it replace alsa and most of PA, but it seems unlikely.
Climate Progress - Hell and High Water
A single bad moderation doesn't make a bad community. Hell, they're modded 4 at the moment. Let the system do its job.
Which also means it is already too late for the system to do its job.
Its marked interesting now, some idiot must have marked it troll early on
Actually, I'm working on a theory that the mods are altered depending on viewer status, logged in or karma or maybe geolocation or even just plain ol' random (cleverly hashing your IP, so you don't notice ;)
Back to the point, I think when you say tearing, you possibly mean a lack of sync between video frame rate and display frame rate. This problem can be fixed with nVidia chipsets using the nvidia-settings tool. Under X Server XVideo Settings tick the box Sync to VBlank and read about how to automatically load these settings when you login.
This will work for any player that uses XVideo or xv for its graphics (vlc, mplayer etc...)
Actually, the world of free software has Jokosher, which is inspired by GarageBand, and to me seems as easy to use. Still at an early stage, but I recommend taking note of it! Note that it's actually not JACK-based, which would make it so much easier for new users (the crowd usually drawn to GarageBand) to get into. Perhaps in the not-too-distant future, Jokosher could be bundled into free operating system distributions, making them a nice alternative to Apple computers.
I also recommend Qtractor, which is more full-featured, but still not as intimidating as a full-blown DAW.
But, I must say, being a heavy user, that I feel that Ardour has come a long way in usability in that last two years, and these days it's almost as easy to use as all the above. It's not hard to get productive with it fairly quickly. If you gotta learn a piece of software in order to produce music, I would recommend Ardour right now. It can start you small, and take you very high up in features. Ardour's huge problem right now (if you ask me) is it's outdated and paltry documentation.
That said -- I fully agree with your statement that audio production on free software is not ready for self-congratulation. It's immensely powerful (there's nothing quite like JACK in the proprietary world, and there are some truly astounding LADSPA effects) but it's hardly rock solid, and definitely a mess.
Some versions of VLC do hardware acceleration.
How do I know? Because on some systems the video doesn't show when VLC is on the second display in a dual monitor config.
So I have to turn off hardware acceleration e.g. Tools, Preferences, Video, Accelerated video output -> unchecked.
Why not?
;).
In many cases offtopic stuff is more interesting, informative or insightful than the actual Slashdot summary or the article
Creative lives in a nightmare of their own making.
They produced lots of expensive crap that's worse than "integrated crap".
A friend of mine had an Audigy that caused crashes very often. When I saw what happened to him, I did some searches on the web and the results convinced me to not bother considering Creative for audio, even "consumer grade audio". FWIW I didn't have complaints about my SB Pro, but the industry has moved on since then.
On one computer we have onboard realtek sound and a creative labs "Live!" plugged into it, and guess what, the onboard sound has better sensitivity and lower noise when recording than the piece of shit Creative hardware that costs about the third of the price of the entire motherboard with the onboard sound. And the output latency is crap, ASIO is hard with it.
Do professional audio guys actually use Creative?
If Ubuntu sees it has a video card which the proprietary Nvidia drivers are available for, then it will prompt the user to permit it to download and install the drivers itself. It doesn't have the drivers installed by default.
I don't get what you're saying. Could you please summarize that?
No existe.
Some external models were good for semi professionals or pros without too much money in hand but no, Audigy etc. aren't suited for professional recording as far as I followed.
Whole marked seems to move to M-Audio which does have its own problems but at least, coming from same company making pro-tools (AVID) so they understand professional support requests. Of course, Mac is fully supported unlike Creative.
I mean, people doesn't tend to care for audio as long as it plays their mp3/movies. It is not the same deal as the GPU.
I moved to Mac long time ago and I know the SB Pro, AWE64, early Live were great cards but wasted with their horrible drivers and support policy.
The computer I am running right now has an NVidia graphics card, and I installed Ubuntu 9.04 only two weeks ago. The default driver used was nv and the compositing was disabled by default.
That's definitive enough for me, although of course I can't prove this to you.
There was a lot of talk about enabling proprietry nvidia drivers by default, I am fairly certain in the end for gutsy they backed down and decided to stick with the free driver by default at the last minute (I don't remember exactly, however, I could be wrong on this point. But it's definitely not included now)
being vague is almost as cool as doing that other thing...
OK, thanks for the info, I was about to search for a computer with an Nvidia card and try it out :)
"When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
Like Linus would care about what other people think. He doesn't and has proven it time and again.
No it doesn't. I just installed 9.04 and I have to specifically go to the restricted drivers application and check the box. I got no notification about installing restricted drivers.
It does seem like an arbitrary choice for the KDE team to develop Amarok as a KDE application. The rogues!
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
OSS is tolerable, if you've got a card that it has drivers for.
ALSA, on the other hand is overcomplex, unstable crap...and unfortunately, denial ain't just a river in Egypt.
It's not always the case that manufacturers "don't want" to release open-source drivers, but that they aren't allowed to because they use licensed technology from other companies.
C'est la vie Anonymous coward.
I'm sure it will get more robust with time, but the crashes are rare enough not to be too much of a pain, and the convenience of switching outputs on the fly (or simultaneous output) outweighs that anyway.
Since I started using Ubuntu at 7.10, the Restricted Drivers (now just "Hardware Drivers") icon would pop up in the panel telling me that there were drivers available shortly after logging in for the first time on a new install.
Great, but it doesn't happen for me on 9.04, there's no icon in the taskbar.
My wife's laptop runs Ubuntu 7.10 and setting up Pulseaudio took a bit of work.
The recipe at https://wiki.ubuntu.com/PulseAudio was a big help.
So which is it? Nevermind don't answer, I already know that no one uses that piece of shit ALSA API.
Following an upgrade from Ubuntu v8, I'm running Ubuntu v9.04 (Jackalope) on an EEE PC and sound was completely fraked. After doing some research, I uninstalled PulseAudio from my system and now it all works fine. Still a few tweaks required, but dang, it works.
Why the hell does PulseAudio exist if it's such a piece of crap? Why is it in Ubuntu by default?
Maybe it has great potential and could be a wonderful thing, but until "it just works" it should be an optional extra, not installed by default.
I left my body to science, but I'm afraid they've turned it down...
Well....to be more precise, I duel boot partitions, I do not have seperate machines.
Oh dear....please do not tell anyone.
-Hack
Got Geometrodynamics? Awe, too hard to figure out? Too bad.
It's possible to remove PA in Jaunty? I posted some audio questions to the forums and got replies that summed up to "suck it up and deal", which is quite unusual for the community. Why do so many people seem to gung-ho for PA?
Only two things are infinite, the universe and human stupidity, and I'm not entirely sure about the universe - Einstein
A really insightful article regarding this topic is this: http://0pointer.de/blog/projects/guide-to-sound-apis.html And this is what Lennart Poettering (Linux audio guru) had to say about this article: Nah, this is a complete and utter bullshit story. Slashdot just proved again that it is full of nonsense. Gah. Disgusting. I don't think that this deserves a real response. I mean really, this smells more like a astroturfing from 4front, with all that OSS4 fanboyism. This guys is just some lame fud blogger, not a technical guy who does any real the work, knows the technical details, works with the community and gets his stuff into the kernel or the distributions. Would be good if Slashdot would verify that the folks whose story they post actually know what they are talking about. Because this dude obviously hasn't. But I guess Slashdot is not the New York Times and asking some actual respected Linux developers or even just linux-audio-devel before publishing such FUD stories would be asking for too much. That famous Adobe jungle picture that was posted 2007 was grossly misleading already, and it still is. At least arts, nas, esd, oss were obsolete back then already, and mentioning almost unknown niche system such as Allegro or ClanLib doesn't make it any better. What I have to say about the situation of Linux audio APIs I posted here: http://0pointer.de/blog/projects/guide-to-sound-apis.html If you care enough about slashdot, then try to get them to bring a story about that blog story, even if it is already frm last year. As a change from their usual stories this one, as I dare to say, would be written by someone who has at least a bit insight into what's really going on. ;-)
Lennart