Skip to contentSkip to conversation

schedule obsolete OSS drivers for removal

PATCH In review Adrian Bunk 54 participants 317 messages Jul 26, 2005 – Jan 10, 2006 2 messages not in the archive Page 2 of 2

Subsystems (2)
lore
Share & tools
lore
#290 lore raw
In reply to Lee Revell
Quoted 8 lines · Lee Revell
Quoted 1 line

And btw, with 2.6.15 the usb-speakers only produce noise most of the

time.

Quoted 1 line

Known regression, this is being worked on. It was known and posted to LKML before the 2.6.15 release, unfortunately 2.6.15 was released with this bug anyway.

If you'd like to help debug this:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id85

There's a workaround patch available. We still don't know the exact nature of the bug.

Lee

#291 lore raw
Quoted 8 lines · Lee Revell
Quoted 7 lines
Quoted 3 lines

And btw, with 2.6.15 the usb-speakers only produce noise most of the time.

Known regression, this is being worked on. It was known and posted to LKML before the 2.6.15 release, unfortunately 2.6.15 was released with this bug anyway.

Quoted 6 lines

If you'd like to help debug this:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id85

There's a workaround patch available. We still don't know the exact nature of the bug.

Well, the problem I had was not exactly the same (I get loud noise, as if the samples are byte-swapped) but

alsa-usbaudio-2.6.15-revert-008.patch

seems to fix that. Thanks.

But now (alsa-1.0.9 userspace):

  alsaplayer -i text -d hw:0 ...    --> ok
  alsaplayer -i text -d hw:1 ...    --> ok
  alsaplayer -i text -d dmix:0 ...  --> ok
  alsaplayer -i text -d dmix:1 ...  --> no error, no sound, just total

silence. But the clock's running.

with 2.6.13 all 4 are ok.

Ciao, ET.

PS: Someone reported on bugzilla that his usb-audio is not always detected. Just for the record - happens here too, usually when cold-booting.

#292 lore raw
Quoted 29 lines · Edgar Toernig
Quoted 8 lines · Lee Revell
Quoted 7 lines
Quoted 3 lines

And btw, with 2.6.15 the usb-speakers only produce noise most of the time.

Known regression, this is being worked on. It was known and posted to LKML before the 2.6.15 release, unfortunately 2.6.15 was released with this bug anyway.

Quoted 6 lines

If you'd like to help debug this:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id85

There's a workaround patch available. We still don't know the exact nature of the bug.

Well, the problem I had was not exactly the same (I get loud noise, as if the samples are byte-swapped) but

   alsa-usbaudio-2.6.15-revert-008.patch

seems to fix that. Thanks.

But now (alsa-1.0.9 userspace):

  alsaplayer -i text -d hw:0 ...    --> ok
  alsaplayer -i text -d hw:1 ...    --> ok
  alsaplayer -i text -d dmix:0 ...  --> ok
  alsaplayer -i text -d dmix:1 ...  --> no error, no sound, just total
Quoted 9 lines

silence. But the clock's running.

with 2.6.13 all 4 are ok.

Ciao, ET.

PS: Someone reported on bugzilla that his usb-audio is not always detected. Just for the record - happens here too, usually when cold-booting.

OK. This is getting a bit much for LKML, can you open a new bug and set it related to #1585?

Lee

#293 lore raw
In reply to Lee Revell
Quoted 4 lines · Lee Revell
Quoted 2 lines · Edgar Toernig
Quoted 1 line · Lee Revell
Quoted 8 lines
Quoted 5 lines
Quoted 1 line

If it does not Just Work it's a bug and we need to hear about it.

So then: xawtv4 (dvb-app) works with hw:0 but not with 1.0.9's dmix default. It works with /dev/dsp1 (usb-speakers) but not with /dev/dsp0 (atiixp ac'97). vdr's softdevice (another dvb-app) works with dmix-default but not with hw:0.

Come on, this is LKML, you should know that "it doesn't work" is not a useful bug report.

xawtv4 with dmix is just silent and aborts when its queue of outstanding pcm data is filled up.

Trying to use /dev/dsp0 starts fine for a fraction of a second but then either stays silent or stutters until its audio-queue overflows again.

With vdr its similar: when using hw:0 it only stutters (and fills the log with xrun errors). I had a short look once - it uses a very small buffer (iirc about 4kb) and gets constant underruns which it tries to handle via prepare-something but it's unable to recover. With dmix it works fine, probably because of the bigger mixing buffer.

Quoted 3 lines

Sure, maybe badly written apps but there must be something wrong if so many developers have problems with Alsa. I've even resigned to grok the config files :-(

Ciao, ET.

#294 lore raw
Quoted 17 lines · Edgar Toernig
Quoted 4 lines · Lee Revell
Quoted 2 lines · Edgar Toernig
Quoted 1 line · Lee Revell
Quoted 8 lines
Quoted 5 lines
Quoted 1 line

If it does not Just Work it's a bug and we need to hear about it.

So then: xawtv4 (dvb-app) works with hw:0 but not with 1.0.9's dmix default. It works with /dev/dsp1 (usb-speakers) but not with /dev/dsp0 (atiixp ac'97). vdr's softdevice (another dvb-app) works with dmix-default but not with hw:0.

Come on, this is LKML, you should know that "it doesn't work" is not a useful bug report.

xawtv4 with dmix is just silent and aborts when its queue of outstanding pcm data is filled up.

Quoted 8 lines

Trying to use /dev/dsp0 starts fine for a fraction of a second but then either stays silent or stutters until its audio-queue overflows again.

With vdr its similar: when using hw:0 it only stutters (and fills the log with xrun errors). I had a short look once - it uses a very small buffer (iirc about 4kb) and gets constant underruns which it tries to handle via prepare-something but it's unable to recover. With dmix it works fine, probably because of the bigger mixing buffer.

Broken app. It needs to set a sane buffer size and not rely on the driver default.

Lee

#295 lore raw
In reply to tapas
Quoted 2 lines · tapas

ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide software mixing. As aoss cannot provide OSS emulation to all OSS apps

Why not?

Quoted 2 lines

,
the kernel level OSS emu must be fixed.

Wrong, if an app doesn't work with aoss it's a bug and we need to hear about it. I mentioned this previously in the thread and apparently no one cares about it enough to file a useful bug report (we got one report that the *kernel level* emulation didn't work which is a different issue).

By far the most common bug report is "Skype does not work with aoss". We would LOVE to see a reproducible test case using an *open source* app (kiax might be a good place to start).

Lee

#296 lore raw
Quoted 5 lines · On Thu, 05 Jan 2006 02:16:35 -0500 Lee Revell <[email protected]> wrote:
Quoted 2 lines · tapas

ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide software mixing. As aoss cannot provide OSS emulation to all OSS apps

Why not?

I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that resolve the system call symbols at build time cannot be made to use these calls from a different lib (which is what LD_PRELOAD tries to do). A famous example is libc for which a workaround was added (as libc offers its own mechanism to intercept fopen() et al.). Others can lurk in the background, too. It would even be trivial to write an app that aoss will not work with - ever (unless the code be modified - which is not an option for closed source apps).

It simply cannot ever work with _all_ apps (as opposed to kernel level OSS emu which can be made to work with _all_ apps (at least in principle)).

Errm, i'm actually wrong about that. Kernel level OSS emu sw mixing cannot work together with userspace ALSA sw mixing. I completely missed that point.

I still think, the easiest way would be to use FUSE as it gives the best of both worlds:

- device file access as opposed to LD_PRELOAD hack (which has principle problems)

- access to userspace ALSA lib which would allow it to work together with ALSA's sw mixing for native ALSA apps.

Maybe it can be developed as a third alternative independently. People without FUSE would have to try their luck with the other two. Plus, there's oss2jack which can probably be modified to use ALSA instead of jack (although i thinkg oss2jack actually uses fusd and not FUSE. Hmm, some more hacking would be required then). Also i think a FUSE based approach is actually less ugly than a LD_PRELOAD hack.

BTW: Don't expect people to always write bug reports. We all know, people are lazy. More often than not, they simply give up and say "linux sucks" to their friends. Or if they can differentiate a little more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor]. Especially those who use closed source apps ;)

Regards,
Flo

Signature · 2 lines
Palimm Palimm!
http://tapas.affenbande.org
#297 lore raw
Quoted 5 lines · Florian Schmidt

BTW: Don't expect people to always write bug reports. We all know, people are lazy. More often than not, they simply give up and say "linux sucks" to their friends. Or if they can differentiate a little more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor]. Especially those who use closed source apps ;)

Of course I don't expect every end user with a problem to file a bug report (although Mantis makes it much easier than Bugzilla) but I sure as hell expect people who complain about ALSA on LKML to.

Unless we get some useful bug reports out of it this thread is much ado about nothing. Come on people, put up or shut up.

https://bugtrack.alsa-project.org/alsa-bug/main_page.php

Lee

#298 lore raw
Quoted 7 lines · you [Lee Revell]
Quoted 5 lines · Florian Schmidt

BTW: Don't expect people to always write bug reports. We all know, people are lazy. More often than not, they simply give up and say "linux sucks" to their friends. Or if they can differentiate a little more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor]. Especially those who use closed source apps ;)

Quoted 8 lines

Of course I don't expect every end user with a problem to file a bug report (although Mantis makes it much easier than Bugzilla) but I sure as hell expect people who complain about ALSA on LKML to.

Unless we get some useful bug reports out of it this thread is much ado about nothing. Come on people, put up or shut up.

https://bugtrack.alsa-project.org/alsa-bug/main_page.php

I would love to make a useful bug report of dmix not working with M-Audio Revolution 5.1 (it stutters so badly that it's unusable), but after hours of twiddling with asoundrc I still can't figure out if I have it set up correctly. Also, I can't get any sound out of headphone output. To me this is a sign that perhaps the ALSA config scheme is a bit too complex, although more probably, it's just me being too stupid to use it.

In perfect world, both headphone out and dmix should "just work". They do "just work" with the OSS binary blob (as does mixing with applications that use OSS API.)

With Intel i815 integrated sound, ALSA dmix does work.

-- v --

[email protected]

#299 lore raw
Quoted 15 lines · Ville Herva
Quoted 14 lines · you [Lee Revell]
Quoted 5 lines · Florian Schmidt

BTW: Don't expect people to always write bug reports. We all know, people are lazy. More often than not, they simply give up and say "linux sucks" to their friends. Or if they can differentiate a little more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor]. Especially those who use closed source apps ;)

Of course I don't expect every end user with a problem to file a bug report (although Mantis makes it much easier than Bugzilla) but I sure as hell expect people who complain about ALSA on LKML to.

Unless we get some useful bug reports out of it this thread is much ado about nothing. Come on people, put up or shut up.

Quoted 8 lines
Quoted 1 line

https://bugtrack.alsa-project.org/alsa-bug/main_page.php

I would love to make a useful bug report of dmix not working with M-Audio Revolution 5.1 (it stutters so badly that it's unusable), but after hours of twiddling with asoundrc I still can't figure out if I have it set up correctly. Also, I can't get any sound out of headphone output. To me this is a sign that perhaps the ALSA config scheme is a bit too complex, although more probably, it's just me being too stupid to use it.

No it's a sign that the Revolution 5.1 is not well supported yet. It was not supported at all until a few weeks ago.

Lee

#300 lore raw
Quoted 3 lines · you [Lee Revell]

No it's a sign that the Revolution 5.1 is not well supported yet. It was not supported at all until a few weeks ago.

Ok, I see. (It was just that the revo51 changelog entry revo51 was not exactly verbose wrt. what's supported.)

You won't need the bug report just yet, then?

I'll keep retesting the new releases.

-- v --

[email protected]

#301 lore raw
Quoted 11 lines · Ville Herva
Quoted 3 lines · you [Lee Revell]

No it's a sign that the Revolution 5.1 is not well supported yet. It was not supported at all until a few weeks ago.

Ok, I see. (It was just that the revo51 changelog entry revo51 was not exactly verbose wrt. what's supported.)

You won't need the bug report just yet, then?

I'll keep retesting the new releases.

Sure, we'd like the bug report. I just wanted to point out that many people who tell everyone that "ALSA sucks" like you and JWZ, have really just made the mistake of buying bleeding edge barely-supported hardware.

If vendors gave us more docs so that reverse engineering drivers was not the norm, the situation would improve greatly.

Lee

#302 lore raw
Quoted 2 lines · you [Lee Revell]

Sure, we'd like the bug report.

I will try to come up with one.

Quoted 3 lines

I just wanted to point out that many people who tell everyone that "ALSA sucks" like you and JWZ, have really just made the mistake of buying bleeding edge barely-supported hardware.

Yes.

I'll happily admit I definetely made just that mistake.

Before I bought the new card, I did some quick asking around, and heard that M-Audio was supposedly good. I just wanted better sound quality than the integrated I815 sound (shouldn't be much to ask), and preferably HW mixing. I checked that revo7.1 was supported, but when I went to the reseller, they were out of stock for that one. So I made a quick and unconsidered decision to buy revo5.1 instead.

So it was definetely bad research on my part.

But I still maintain that the asoundrc required for swmixing is not as trivial as "just works". It wasn't even with i815 audio.

Quoted 2 lines

If vendors gave us more docs so that reverse engineering drivers was not the norm, the situation would improve greatly.

I understand.

-- v --

[email protected]

#303 lore raw
Quoted 21 lines · Ville Herva
Quoted 2 lines · you [Lee Revell]

Sure, we'd like the bug report.

I will try to come up with one.

Quoted 3 lines

I just wanted to point out that many people who tell everyone that "ALSA sucks" like you and JWZ, have really just made the mistake of buying bleeding edge barely-supported hardware.

Yes.

I'll happily admit I definetely made just that mistake.

Before I bought the new card, I did some quick asking around, and heard that M-Audio was supposedly good. I just wanted better sound quality than the integrated I815 sound (shouldn't be much to ask), and preferably HW mixing. I checked that revo7.1 was supported, but when I went to the reseller, they were out of stock for that one. So I made a quick and unconsidered decision to buy revo5.1 instead.

Quoted 4 lines

So it was definetely bad research on my part.

But I still maintain that the asoundrc required for swmixing is not as trivial as "just works". It wasn't even with i815 audio.

Since ALSA 1.0.9 (alsa-lib and alsa-driver > 1.0.9 required) no special configuration is required to get software mixing to work for i815 (and other chipsets which lack hardware mixing), with a few exception like ICE1712 and ICE1724 where a more complex configuration was required due to hardware restrictions.

You should never have to touch an .asoundrc file to get software mixing to work, if you do it's a bug.

Lee

#304 lore raw
Quoted 9 lines · you [Lee Revell]

Since ALSA 1.0.9 (alsa-lib and alsa-driver > 1.0.9 required) no special configuration is required to get software mixing to work for i815 (and other chipsets which lack hardware mixing), with a few exception like ICE1712 and ICE1724 where a more complex configuration was required due to hardware restrictions.

You should never have to touch an .asoundrc file to get software mixing to work, if you do it's a bug.

When I tried with i815, my ALSA version might have been <= 1.0.9.

Revo51 is ICE1724 based. I gather I still need the asoundrc config to get some kind of mixing, right? At least it doesn't work without (and with it, it badly stutters right now.)

-- v --

[email protected]

#305 lore raw
Quoted 3 lines · Ville Herva

Revo51 is ICE1724 based. I gather I still need the asoundrc config to get some kind of mixing, right? At least it doesn't work without (and with it, it badly stutters right now.)

Try the latest ALSA CVS code.

Lee

#306 lore raw
In reply to Florian Schmidt
Quoted 18 lines · Florian Schmidt
Quoted 5 lines · On Thu, 05 Jan 2006 02:16:35 -0500 Lee Revell <[email protected]> wrote:
Quoted 2 lines · tapas

ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide software mixing. As aoss cannot provide OSS emulation to all OSS apps

Why not?

I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that resolve the system call symbols at build time cannot be made to use these calls from a different lib (which is what LD_PRELOAD tries to do). A famous example is libc for which a workaround was added (as libc offers its own mechanism to intercept fopen() et al.). Others can lurk in the background, too. It would even be trivial to write an app that aoss will not work with - ever (unless the code be modified - which is not an option for closed source apps).

Quoted 4 lines

It simply cannot ever work with _all_ apps (as opposed to kernel level OSS emu which can be made to work with _all_ apps (at least in principle)).

OK so you can contrive an example. Have we ever seen a real world app where aoss can't work?

Quoted 6 lines

Errm, i'm actually wrong about that. Kernel level OSS emu sw mixing cannot work together with userspace ALSA sw mixing. I completely missed that point.

I still think, the easiest way would be to use FUSE as it gives the best of both worlds:

Yep, this does sound like a promising approach. AFAIK it's never been seriously explored as FUSE is so new.

Lee

#307 lore raw
Quoted 19 lines · Lee Revell
Quoted 18 lines · Florian Schmidt
Quoted 5 lines · On Thu, 05 Jan 2006 02:16:35 -0500 Lee Revell <[email protected]> wrote:
Quoted 2 lines · tapas

ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide software mixing. As aoss cannot provide OSS emulation to all OSS apps

Why not?

I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that resolve the system call symbols at build time cannot be made to use these calls from a different lib (which is what LD_PRELOAD tries to do). A famous example is libc for which a workaround was added (as libc offers its own mechanism to intercept fopen() et al.). Others can lurk in the background, too. It would even be trivial to write an app that aoss will not work with - ever (unless the code be modified - which is not an option for closed source apps).

Quoted 7 lines
Quoted 4 lines

It simply cannot ever work with _all_ apps (as opposed to kernel level OSS emu which can be made to work with _all_ apps (at least in principle)).

OK so you can contrive an example. Have we ever seen a real world app where aoss can't work?

Skype. Earlier Quake 3 Arena (now Q3A is open source with SDL sound,
so it had native ALSA).
They're more widely used that musical software for which ALSA seem to
be written. People needing <1ms latency are "obscure corner cases" in real world.

Signature · 2 lines
Tomasz Torcz                Only gods can safely risk perfection,
[email protected]     it's a dangerous thing for a man.  -- Alia
#308 lore raw
Quoted 25 lines · Tomasz Torcz
Quoted 24 lines · Lee Revell
Quoted 22 lines · Florian Schmidt
Quoted 5 lines · On Thu, 05 Jan 2006 02:16:35 -0500 Lee Revell <[email protected]> wrote:
Quoted 2 lines · tapas

ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide software mixing. As aoss cannot provide OSS emulation to all OSS apps

Why not?

I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that resolve the system call symbols at build time cannot be made to use these calls from a different lib (which is what LD_PRELOAD tries to do). A famous example is libc for which a workaround was added (as libc offers its own mechanism to intercept fopen() et al.). Others can lurk in the background, too. It would even be trivial to write an app that aoss will not work with - ever (unless the code be modified - which is not an option for closed source apps).

It simply cannot ever work with _all_ apps (as opposed to kernel level OSS emu which can be made to work with _all_ apps (at least in principle)).

Quoted 9 lines
Quoted 2 lines

OK so you can contrive an example. Have we ever seen a real world app where aoss can't work?

Skype. Earlier Quake 3 Arena (now Q3A is open source with SDL sound,
so it had native ALSA).
They're more widely used that musical software for which ALSA seem to
be written. People needing <1ms latency are "obscure corner cases" in real world.

It's not that aoss "can't work" for these, it certainly has some bugs. But the examples you gave are both proprietary apps. Obviously we can't waste our time debugging them.

No one has even been able to provide a test case using an app we have the source to.

Lee

#309 lore raw
In reply to Lee Revell
Quoted 2 lines · On Thu, 05 Jan 2006 13:36:20 -0500 Lee Revell <[email protected]> wrote:

OK so you can contrive an example. Have we ever seen a real world app where aoss can't work?

Well, until i provided my hacky and probably buggy patch to aoss to use libc's fopen()-et. al.-hooks, no app using the OSS api by way of libc's fopen() et. al. was able to use aoss. I don't use aoss anymore, as i have hw mixing, so i haven't really done anymore testing. I admit of not being sure, whether this principle error has any realistic impact (i.e. apps/libs exist that resolve their system call symbols at build time - i must also admit that i don't have really complete understanding of this issue. maybe a more knowledgable person can speak up about possible use scenarios besides libc).

Quoted 9 lines
Quoted 6 lines

Errm, i'm actually wrong about that. Kernel level OSS emu sw mixing cannot work together with userspace ALSA sw mixing. I completely missed that point.

I still think, the easiest way would be to use FUSE as it gives the best of both worlds:

Yep, this does sound like a promising approach. AFAIK it's never been seriously explored as FUSE is so new.

Plus, i was wrong :) FUSE is for filesystems. fusd would be the choice for this (not included in kernel yet). One might see how far one gets with reusing code from both aoss and oss2jack

http://fort.xdas.com/~kor/oss2jack/

Btw: It has a nice list of compatible apps including skype and quake3 ;)

Btw2: Heh, oss2jack already has direct ALSA support on its TODO list :)

fusd:

http://www.circlemud.org/%7Ejelson/software/fusd/

Regards,
Flo

#310 lore raw
In reply to Tomasz Kłoczko
Quoted 11 lines · Tomasz Kłoczko

On Wed, 4 Jan 2006, Adrian Bunk wrote:
[..]

Quoted 8 lines
Quoted 1 line

OSS is universal cross-unix API. ALSA is Linux-only.

How "universal cross-unix" is the OSS API really?

Which operating systems besides Linux have a native sound system supporting the OSS API [1]?

Quoted 8 lines
Quoted 3 lines

I know about FreeBSD and partial support in NetBSD.

Are there any other [2]?

Solaris, AIX ..
Full list is avalaible in "Operating System" listbox on
http://www.4front-tech.com/download.cgi

Are all those Operatings Systems that include OSS per default, no additional download required? Because that's what he's asking for, not what you can get OSS for.

Since that link is a _download page_ it makes me think that it's an _additional download_ to get OSS support on those (or some of those) operating systems.

// Stefan

#311 lore raw

On Wed, 4 Jan 2006, Stefan Smietanowski wrote:
[..]

Quoted 11 lines
Quoted 3 lines

Solaris, AIX ..
Full list is avalaible in "Operating System" listbox on
http://www.4front-tech.com/download.cgi

Are all those Operatings Systems that include OSS per default, no additional download required? Because that's what he's asking for, not what you can get OSS for.

Since that link is a _download page_ it makes me think that it's an _additional download_ to get OSS support on those (or some of those) operating systems.

So start another "it makes me think" and imagine that in Solaris case using drivers not provided directly on distribution level is NORMAL habit. Why ? Bacause Solaris have well defined kernel API (from many years in some common areas it is constants which makes Documentation/stable_api_nonsense.txt from Linux tree piece of crap). This allow use device drivers prepared first for example for older kernels (8,9) on latest (10). I.e.: Solaris 10 inroduces stop supporting some older network cards (IIRC for old SMC cards). I know people which still uses this cards on Sol10 by using binary drivers prepared for older Solarises without visable problems. Also many device drivers have double versions (one from distribution resouurces and second provided by device vendor).

Summarize: stop looking on sound subsystem problems as Linux specyfic and assume that THE SAME problems exists on other unices in so simillar form
so is possible thinking on OSS support on kernel level details in the same forms as on other unices. Linux case isn't so unusual in this area .. it is VERY typical :> If you will take this as true you can start looking on OSS API on Linux
from correct point of view.
And start asking ALSA people: why using OSS API in other unices simple works and it ins't problem and on Linux "it was so big problem that reinventing sound support in ALSA form was neccessary" ?

kloczek

Signature · 4 lines
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*
#312 lore raw
Quoted 42 lines · Tomasz Kłoczko

On Wed, 4 Jan 2006, Stefan Smietanowski wrote:
[..]

Quoted 5 lines
Quoted 3 lines

Solaris, AIX ..
Full list is avalaible in "Operating System" listbox on
http://www.4front-tech.com/download.cgi

Quoted 7 lines

Are all those Operatings Systems that include OSS per default, no additional download required? Because that's what he's asking for, not what you can get OSS for.

Since that link is a _download page_ it makes me think that it's an _additional download_ to get OSS support on those (or some of those) operating systems.

So start another "it makes me think" and imagine that in Solaris case using drivers not provided directly on distribution level is NORMAL habit. Why ? Bacause Solaris have well defined kernel API (from many years in some common areas it is constants which makes Documentation/stable_api_nonsense.txt from Linux tree piece of crap). This allow use device drivers prepared first for example for older kernels (8,9) on latest (10). I.e.: Solaris 10 inroduces stop supporting some older network cards (IIRC for old SMC cards). I know people which still uses this cards on Sol10 by using binary drivers prepared for older Solarises without visable problems. Also many device drivers have double versions (one from distribution resouurces and second provided by device vendor).

Summarize: stop looking on sound subsystem problems as Linux specyfic and assume that THE SAME problems exists on other unices in so simillar form
so is possible thinking on OSS support on kernel level details in the same forms as on other unices. Linux case isn't so unusual in this area .. it is VERY typical :>
If you will take this as true you can start looking on OSS API on Linux from correct point of view.
And start asking ALSA people: why using OSS API in other unices simple works and it ins't problem and on Linux "it was so big problem that reinventing sound support in ALSA form was neccessary" ?

Quoted 1 line

kloczek

So if I buy $COMMERCIAL_PROGRAM for say Solaris, AIX or anything else it REQUIRES me to download (before: buy) $COMMERCIAL_SOUNDSYSTEM?

"In order to use this program you need to have OSS installed."

That sounds insane to say the least.

// Stefan

download $COMMERCIAL_SOUNDSYSTEM ins

#313 lore raw
Quoted 8 lines · Stefan Smietanowski

So if I buy $COMMERCIAL_PROGRAM for say Solaris, AIX or anything else it REQUIRES me to download (before: buy) $COMMERCIAL_SOUNDSYSTEM?

"In order to use this program you need to have OSS installed."

That sounds insane to say the least.

// Stefan

No. Everything on Solaris uses the Solaris native sound API except for possibly quick-hack ports of applications from Linux. Doing anything else would as you say be insane and break things like device redirection on Sunrays.

--
Peter Bortas

#314 lore raw
Quoted 6 lines

No. Everything on Solaris uses the Solaris native sound API except for possibly quick-hack ports of applications from Linux. Doing anything else would as you say be insane and break things like device redirection on Sunrays.

Device redirection is just "writing to a different /dev node" - on Solaris and Linux. IIRC, the API is the same.

Jan Engelhardt

#315 lore raw
Quoted 7 lines · Jan Engelhardt
Quoted 5 lines

No. Everything on Solaris uses the Solaris native sound API except for possibly quick-hack ports of applications from Linux. Doing anything else would as you say be insane and break things like device redirection on Sunrays.

Device redirection is just "writing to a different /dev node" - on Solaris and Linux. IIRC, the API is the same.

This whole "OSS is cross platform" thing seems mostly like a cop out by lazy developers who can't be bothered to grok ALSA. None of the usual offenders (Skype, Quake 3, Doom 3) run on any other Unix platform so why not just use ALSA?

It does not help that the most problematic apps seem to be proprietary (most likely they are abusing the OSS API in a way that no one anticipated).

Lee

#316 lore raw

Hi.

Quoted 9 lines
Quoted 8 lines
Quoted 5 lines

No. Everything on Solaris uses the Solaris native sound API except for possibly quick-hack ports of applications from Linux. Doing anything else would as you say be insane and break things like device redirection on Sunrays.

Device redirection is just "writing to a different /dev node" - on Solaris and Linux. IIRC, the API is the same.

Quoted 8 lines

This whole "OSS is cross platform" thing seems mostly like a cop out by lazy developers who can't be bothered to grok ALSA. None of the usual offenders (Skype, Quake 3, Doom 3) run on any other Unix platform so why not just use ALSA?

It does not help that the most problematic apps seem to be proprietary (most likely they are abusing the OSS API in a way that no one anticipated).

What's actually funny (well actually it's not) is that Doom3 for instance works great using the OSS emul of ALSA but not using native ALSA for some reason. I haven't reported it cause it's a commercial program without source.

( The sound stutters all the time, and not just when moving, etc, but all the time )

// Stefan

#317 lore raw
In reply to Jan Engelhardt
Quoted 8 lines · Jan Engelhardt
Quoted 6 lines

No. Everything on Solaris uses the Solaris native sound API except for possibly quick-hack ports of applications from Linux. Doing anything else would as you say be insane and break things like device redirection on Sunrays.

Device redirection is just "writing to a different /dev node" - on Solaris and Linux. IIRC, the API is the same.

Correct. Rederection to $AUDIODEVICE that is a normal /dev/audio.

#318 lore raw
In reply to Alistair John Strachan
Quoted 7 lines
Quoted 2 lines

Well, I am able to open /dev/dsp multiple times here without problems. (Is /dev/dsp soft- or hardmixing?)

As far as I'm aware, it depends on your hardware. For example, software mixing kicks in with zero configuration on most hardware that won't mix in hardware, e.g. my laptop's i810 audio.

Quoted 6 lines

ogg123 -q --device=oss 01\ -\ Good\ Times\ Bad\ Times.ogg

Works, but then:

ogg123 -q --device=oss 01\ -\ Good\ Times\ Bad\ Times.ogg
Error: Cannot open device oss

Oh well this does work for me.

Quoted 3 lines

This is all a little OT for this thread, but it's certainly the case with alsa-lib-1.0.10 on 2.6.15-rc7. My card isn't capable of hardware mixing, yours might be (SBLive!/Audigy or something).

CS46XX. According to alsamixer info, it has 31 playback and 1 record channel. Looks like I'm in favor of hardware mixing.

But hey, you have not lost anything using the OSS emulation. With OSS, I could not even have hardware mixing on cs46xx!

Jan Engelhardt