Gentoo Archives: gentoo-releng

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-releng@l.g.o
Subject: Re: [gentoo-releng] oss in make.defaults for 2006.0?
Date: Fri, 25 Nov 2005 14:22:45
Message-Id: 1132928493.19957.24.camel@vertigo.twi-31o2.org
In Reply to: Re: [gentoo-releng] oss in make.defaults for 2006.0? by "Spider (D.m.D. Lj.)"
1 On Fri, 2005-11-25 at 15:05 +0100, Spider (D.m.D. Lj.) wrote:
2 > On Fri, 2005-11-25 at 11:00 +0100, Michiel de Bruijne wrote:
3 > > On Friday 25 November 2005 10:24, Luca Barbato wrote:
4 > > > Michiel de Bruijne wrote:
5 > > > > Now that useflags are evaluated for the 2006.0 profile (e.g. nptl and
6 > > > > apache2) I wonder if it's still necessary to have oss in make.defaults?
7 > > > > The replacement (alsa) is preferred by kernel developers for almost 2
8 > > > > years. Time to remove it from the 2006.0 profile?
9
10 Never... going... to... happen... (don't worry, I'll explain)
11
12 > > > I'd have a look at how many software are using oss only and how many
13 > > > have good alsa support, not to mention which drivers are oss only or
14 > > > work better as oss.
15
16 The software that primarily supports OSS only is my other area in
17 Gentoo... games.
18
19 There's no way that we can make, for example, Return to Castle
20 Wolfenstein or Enemy Territory, both of which are extremely popular, use
21 ALSA natively. They *do* work with ALSA compiled with USE="oss" or with
22 alsa-oss installed. As far as I know, the oss USE flag on ALSA only
23 enables the alsa-oss dependency.
24
25 > Theres a few issues here, at least Trident and via chipsets work good in
26 > alsa. however, due to the difficulty for programmers to use the
27 > alsa-api, you actually get -better- sound (less glitches and buffer
28 > underruns) if you use alsa-drivers + alsa-oss emulation.
29 >
30 > This is clearly visible in Fex. amarok (gstreamer backend) and other
31 > players, especially under higher system loads. (yes, even with a
32 > preemptive kernel)
33 >
34 >
35 >
36 > > For the programs that are oss-only a useflag shouldn't even exists, because
37 > > it's not optional.
38
39 For those applications, correct. However, I have shown a good reason
40 for it. Unless we simply tell anyone to always merge alsa-oss if they
41 want to play games, which isn't exactly a "works out of the box"
42 solution. I can think of a few scenarios we could employ to work around
43 this, but they aren't nearly as clean as simply having OSS in the
44 default USE. Personally, I think it should stay until it is removed
45 from the kernel, and even then, it must stay so long as we are
46 supporting 2.4 kernels which do not have ALSA, such as vanilla-sources.
47
48 > > All systems I maintain (about 15 different hardware/software specs) have -oss
49 > > and work as expected. I'm interested if someone on this list has
50 > > hardware/software where oss is preferred over alsa?
51 > > Does anybody knows if the default setup of other distros include
52 > > "oss-compiled" packages?
53 >
54 > Yeah, they do. At least last I checked both ubuntu and Fedora Core had
55 > oss as their default sound-sinks for many things. The transition period
56 > will take ages I'm afraid :/
57
58 I would say a very long time, indeed.
59
60 --
61 Chris Gianelloni
62 Release Engineering - Strategic Lead
63 x86 Architecture Team
64 Games - Developer
65 Gentoo Linux

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-releng] oss in make.defaults for 2006.0? Michiel de Bruijne <m.debruijne@××××××.nl>