Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OSS4 in portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 230
Location: The Czech Republic

PostPosted: Tue Dec 23, 2008 2:03 pm    Post subject: OSS4 in portage Reply with quote

Hi all,

maybe I have a lame question, but...why isn't oss driver in portage by default? Why it must be by complicated way?
Back to top
View user's profile Send private message
outermeasure
Apprentice
Apprentice


Joined: 26 Nov 2008
Posts: 194
Location: ping6 ff02::1

PostPosted: Tue Dec 23, 2008 2:19 pm    Post subject: Re: OSS4 in portage Reply with quote

LukynZ wrote:
Hi all,

maybe I have a lame question, but...why isn't oss driver in portage by default? Why it must be by complicated way?


Looks like manpower problem --- nobody wants to maintain it in main tree? Bug #184123
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5692
Location: Removed by Neddy

PostPosted: Tue Dec 23, 2008 10:23 pm    Post subject: Reply with quote

I have been using oss4 for little over a year now (after hitting some major issues with ALSA)
I love it! its soo much better then ALSA (and vmix is alot better then ALSA's equiv)

There is an oss4 overlay which I have been using (oss-overlay)
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 230
Location: The Czech Republic

PostPosted: Tue Dec 23, 2008 11:00 pm    Post subject: Reply with quote

Yes I know about this overlay and I have to make it...but why to do it? And then I have some audacious-9999 updates...why?

OSS is damn good (well I have some flash synchro probles...but I hope I can solve it). Sound quality agains ALSA is MUCH better for my Intel HD. I think this should be in official gentoo portage..
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Tue Dec 23, 2008 11:08 pm    Post subject: Reply with quote

Man check answer #2 and link in it.
_________________
http://www.youtube.com/watch?v=4jtmOZaIvS0
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2674
Location: here, there or in transit

PostPosted: Tue Dec 23, 2008 11:17 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5692
Location: Removed by Neddy

PostPosted: Tue Dec 23, 2008 11:44 pm    Post subject: Reply with quote

LukynZ wrote:
Yes I know about this overlay and I have to make it...but why to do it? And then I have some audacious-9999 updates...why?

OSS is damn good (well I have some flash synchro probles...but I hope I can solve it). Sound quality agains ALSA is MUCH better for my Intel HD. I think this should be in official gentoo portage..


Well there still is some issues with oss4, namely IntelHD (well the Realtek main chip), USB_Audio and some X-Fi stuff (still the the present state of these in oss4 is still miles better then in ALSA). These things should improve with OSS4.1 (due soon): IntelHD has been getting some loven, so have usb_audio (don't know abt xfi, but creative did just oss their drivers so opensound are prob just going through pulling relevant info)

oss4.1 in portage would be great!
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 230
Location: The Czech Republic

PostPosted: Tue Dec 23, 2008 11:51 pm    Post subject: Reply with quote

GODhack wrote:
Man check answer #2 and link in it.


I did it and...uhm...this is something like...

"From directory where WMP is installed (offten C:\Program Files\Windows Media Player) copy files npdsplay.dll, npdrmv2.dll and npwmsdrm.dl) to the subdirectory plugins in Firefox's directory (offten C:\Program Files\Mozilla Firefox). Then restart Firefox (well I still have bad dreams about this fixes...but it is fast a easy way to earn money when you are young) :)"

Just one problem of my friend at this moment :). What I want to say is "just and only" OSS4 should be in portage. Nothing more. Or is there any real problem to say why not? I really don't know. I'am ready to help if I can to do it...
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 230
Location: The Czech Republic

PostPosted: Wed Dec 24, 2008 12:05 am    Post subject: Reply with quote

Quote:
Well there still is some issues with oss4, namely IntelHD (well the Realtek main chip), USB_Audio and some X-Fi stuff (still the the present state of these in oss4 is still miles better then in ALSA). These things should improve with OSS4.1 (due soon): IntelHD has been getting some loven, so have usb_audio (don't know abt xfi, but creative did just oss their drivers so opensound are prob just going through pulling relevant info)

oss4.1 in portage would be great!


Well last week I was using ALSA only, but I noticed when I was using OSS4 for my x-fi short time and then I tried unofficial port to ALSA, there was something wrong in sound quality. But not sure... Now with a new mobo and Intel HD I thought that this integrated sound chip will be good replace for X-Fi...I was very sad. It was horrible....horrible. Then I started to search what is wrong and find why ALSA users are switching to OSS and whats going on.

#ossinfo
Version info: OSS 4.2 (b 081213/200812231603) (0x00040100)
Platform: Linux/x86_64 2.6.27-gentoo-r7 #1 SMP Mon Dec 22 19:52:17 CET 2008 (lukyn)

this is what I have....


Last edited by LukynZ on Wed Dec 24, 2008 12:21 am; edited 1 time in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5692
Location: Removed by Neddy

PostPosted: Wed Dec 24, 2008 12:17 am    Post subject: Reply with quote

Code:

ossinfo -v3
Version info: OSS 4.2 (b 081213/200812221108) (0x00040100)
Platform: Linux/x86_64 2.6.26-gentoo-r1 #3 SMP PREEMPT Fri Dec 12 15:54:47 GMT 2008 (FluidMotion)

Number of audio devices:   2
Number of audio engines:   6
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
 0: osscore0 OSS core services
 1: oss_cmpci0 CMedia CM8738 interrupts=6410780 (6410780)

MIDI devices (/dev/midi*)

Mixer devices
 0: CMedia CMPCI (Mixer 0 of device object 1)
    Device file /dev/oss/oss_cmpci0/mix0, Legacy device /dev/mixer1
    Priority: 1
    Caps:
    Device handle: PCI1170153b-0000:05:01.0-mx01
    Device priority: 1


Audio devices
CMedia CM8768 (rev 68)            /dev/oss/oss_cmpci0/pcm0  (device index 0)
    Legacy device /dev/dsp2
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/CMedia CM8768 (rev 68)
                     Busy (IN/OUT) label 'VMIX'
      Engine      2: 1/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      3: 2/CMedia CM8768 (rev 68) (vmix)
                     Busy (OUT) by PID 5651 / firefox label 'firefox'
      Engine      4: 3/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      5: 4/CMedia CM8768 (rev 68) (vmix)
                     Available for use
    Input formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI1170153b-0000:05:01.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 5000 - 48000
    HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN     Minimum latency: Not indicated

CMedia CM8768 (playback only)     /dev/oss/oss_cmpci0/pcm1  (device index 1)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/CMedia CM8768 (playback only)
                     Available for use
    Input formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI1170153b-0000:05:01.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 5000 - 48000
    HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN     Minimum latency: Not indicated

_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Dorsai!
Apprentice
Apprentice


Joined: 27 Jul 2008
Posts: 276
Location: Bavaria

PostPosted: Thu Dec 25, 2008 3:43 pm    Post subject: Reply with quote

First, I'm an OSS user too, but for reasons other than "better sound quality"

One thing is the better x-fi driver.
I am using oss-devel-9999 and the x-fi works perfect. I just hat one problem until now, but that was inevitable because I'm always using the Mercurial version.


The other thing is (as already mentioned) the better mixer, namely vmix.
vmix has the following advantages over dmix for me:
-Kernel based mixing. -> more stability, speed and lower latency
-one-click-off-and-on-switchable mixer
-better quality mixer in general. The SRC can be set to six different settings. ALSA SRC has a subjective quality of about the worst setting in vmix. vmix SRC in the setting "Production" is fully transparent.

But:
ALSA doesn't produce worse sound in general.
As long as software mixing in both Systems is turned off, they should produce bit accurate output.
The only thing is: ALSA Mixer has PCM Settings above 0db, which leeds to some weird situation with the volume control of some software (mpd's defaults for example) where the PCM is set to produce some kind of digital amplification, which leads to clipping in most situation. Thats usually what most user describe as the "horrible sound of alsa/linux".

It would be definitly worth to have it in the tree (or even in gentoo sources 8O )
Back to top
View user's profile Send private message
LukynZ
Apprentice
Apprentice


Joined: 19 Dec 2008
Posts: 230
Location: The Czech Republic

PostPosted: Sat Dec 27, 2008 4:14 pm    Post subject: Reply with quote

Dorsai! wrote:

ALSA doesn't produce worse sound in general.


I don't want to say anything bad against the ALSA. I was using it with my ac97 for a long time and it works fine (but never try with the OSS).
But when I tried the ALSA with a x-fi driver ported from the OSS it was worse against the pure OSS (of course it is unofficial try...) and now my intel HD was very bad for my realtek with the ALSA.

And if people can read something like the ALSA works better with the OSS emul. than itself....it is strange. I am curious if the OSS will be in the kernel like ALSA in the future...
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5692
Location: Removed by Neddy

PostPosted: Sat Dec 27, 2008 7:54 pm    Post subject: Reply with quote

LukynZ wrote:
Dorsai! wrote:

ALSA doesn't produce worse sound in general.


I don't want to say anything bad against the ALSA. I was using it with my ac97 for a long time and it works fine (but never try with the OSS).
But when I tried the ALSA with a x-fi driver ported from the OSS it was worse against the pure OSS (of course it is unofficial try...) and now my intel HD was very bad for my realtek with the ALSA.

And if people can read something like the ALSA works better with the OSS emul. than itself....it is strange. I am curious if the OSS will be in the kernel like ALSA in the future...


I suspect OSS4 will NOT go back into the kernel (or if it does ONLY in quite a few years AND ONLY if it makes significant ground back from ALSA) simply because iirc Linus kinda layed into OpenSound for closing off OSS (in their defence they kinda had to to get info on some high-end cards, an area that they still had backing for, an area ALSA still can't touch).

OpenSound have provided a script to merge in OSS4 code into a given kernel source, but their understanding of Kconfig is a bit basic (I have a bit more knowledge then them so trying to fix the script) so it is possible todo but manual atm - although a USE flag could do it easily enough on Gentoo

ALSA sound quality isn't bad (just OSS4 is better ;) ) its just if ALSA starts messing up for you then it really is a pain dealing with the voodoo that is ~/.asound and hte amount of stuff that could go in there. Plus as it has already been stated

vmix >>>> dmix!!!

it was because of the piss poor excuse for mixing that is dmix that I went to OSS4 (yer yer yer a few ppl here said "get a propper card with hardware mixing...". thing is my card has BUT when some games [ETQW] are rude w.r.t. grabbing sound devices it was just too much). OSS4 does pretty much just work. No deep down voodoo it is pretty much yr card is supported or it isn't
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
SlashBeast
Moderator
Moderator


Joined: 23 May 2006
Posts: 2843

PostPosted: Sat Dec 27, 2008 8:35 pm    Post subject: Reply with quote

Yo.

I tried oss-4.1.1050.ebuild from bugs.gentoo.org and it work but... Why /dev/oss/* is root:root with chmod 700? Its not big problem, i think I can add to init script chown root:audio and chmod 770 for /dev/oss*...

IMHO ossxmix is hard-to-understand (but work great!) exist something for oss4 like alsamixer?

And, how can I disable 'int-speaker' when i plugin headphone to my laptop ?

Sorry about my english(sic!)

PS:
http://www.opensound.com/wiki/index.php/Tips_And_Tricks - ossvol work great with my multimedia keys.
_________________
BitBucket -- better-initramfs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum