LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-15-2013, 07:09 AM   #1
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
Will oss work on Slackware 14.0?


Hi,
I feel a bit of sympathy to the oss sound system. It will be good to have it installed but will it work with new Linux kernel?
 
Old 07-15-2013, 07:47 AM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Did you try "chmod +x /etc/rc.d/rc.alsa-oss"?
 
1 members found this post helpful.
Old 07-15-2013, 09:59 AM   #3
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,543

Rep: Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385
Uhm, is the question about 14.0 (in which case the answer is obviously yes), or 14.1 (in which case see the answer above)?

Last edited by dugan; 07-15-2013 at 10:00 AM.
 
Old 07-15-2013, 11:00 AM   #4
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by dugan View Post
Uhm, is the question about 14.0 (in which case the answer is obviously yes), or 14.1 (in which case see the answer above)?
My fault. Did not notice that. But how could the OP come to that question? ... completely confused.
 
Old 07-15-2013, 02:53 PM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,789
Blog Entries: 15

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
OSS should work fine on any version of Slackware. Just make sure you disable ALSA from loading and follow the installation instructions over at SlackBuilds.org for best reference.
 
Old 07-17-2013, 06:21 AM   #6
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
Hi,
Thanks to you all for reply. Oss or alsa? Alsa is working fine out of box but I am happy to hear that oss will work too.
 
Old 07-17-2013, 11:39 AM   #7
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,543

Rep: Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385
OSS4 from SBo, which I am the maintainer of, will work just fine with 14.0. I have not tested it with 14.1, but I see no reason it wouldn't work.

OSS3, which is part of the kernel, works out of the box with 14.0. AFAIK it needs to be enabled explicitly in 14.1 (see post #2). Note that OSS3 has the significant drawback of only being able to play one audio stream at once, while ALSA and OSS4 both do software mixing. On 14.0, I disable OSS3 by commenting out the load_oss_modules lines in rc.alsa.

I use ALSA, but that's only because I use USB soundcards exclusively, and OSS4 doesn't work with USB soundcards. OSS4 is a fine option otherwise. For one thing, it has a much nicer graphical mixer that lets you adjust the volume separately for each application.
 
2 members found this post helpful.
Old 07-18-2013, 12:14 AM   #8
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,789
Blog Entries: 15

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
This is taken from ArchLinux's Wiki regarding OSSv4

Quote:
Some advantages and disadvantages compared to using the Advanced Linux Sound Architecture.

OSS Advantages (users)
  • Per-application volume control.
  • Lower latency due to everything running within the Linux Kernel. Initial response time in audio applications is usually better.
  • OSS always has sound mixing, ALSA does not.
  • Sound mixing is of higher quality, due to OSS using more precise math in its sound mixing.
  • Some legacy cards have better support.

OSS Advantages (developers)
  • Support for drivers in userspace.
  • Cross-platform (OSS runs on BSDs and Solaris).
  • Cleaner and easier to use API.

ALSA advantages over OSS
  • Better support for USB audio devices.
  • Support for Bluetooth audio devices.
  • Support for AC'97 and HD Audio dial-up soft-modems such as Si3055.
  • Better support for MIDI devices.
  • Support for suspend.
  • Better support for jack detection.

Note:
  • OSS has experimental output support for USB audio devices, but no input.
  • OSS supports MIDI devices with the help of a software synthesizer such as Timidity or FluidSynth.
To be honest OSSv4 does have better audio quality and does really unlock some of the potential of your sound card.
 
3 members found this post helpful.
Old 07-18-2013, 10:24 AM   #9
Anonymo
Member
 
Registered: Dec 2004
Location: The Woodlands, Texas
Distribution: Slackware, Archlinux, CentOS
Posts: 183

Rep: Reputation: 27
Quote:
Originally Posted by ReaperX7 View Post
This is taken from ArchLinux's Wiki regarding OSSv4
To be honest OSSv4 does have better audio quality and does really unlock some of the potential of your sound card.
The only reason I wasn't using it was that sound did not work on Chrome/Chromium a while back. Anyone know if this has changed?
 
Old 07-18-2013, 12:41 PM   #10
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,543

Rep: Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385
Quote:
OSS always has sound mixing, ALSA does not.
This really isn't true.

ALSA always has sound mixing for applications that output to ALSA.

Under ALSA, applications that output to OSS and are handled by ALSA's OSS emulation layer do not get sound mixing. The way to deal with that, honestly, is to just disable ALSA's OSS emulation layer. It's disabled by default in 14.1.

Last edited by dugan; 07-18-2013 at 12:45 PM.
 
Old 07-18-2013, 02:06 PM   #11
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 342

Rep: Reputation: 55
i'm aiming for peacuful co-existence of ALSA and OSS applications. I have found two mutually exclusive solutions: either the in-kernel oss compatibility layer, or libaoss via a wrapper script called aoss. The latter is superior in that it provides ALSA mixing capability. Unfortunately I didn't get some ancient 32 bit binaries like quake3 to work with libaoss...
 
Old 07-19-2013, 06:28 AM   #12
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
Wrong md5sum for oss source tarball !

Quote:
Originally Posted by dugan View Post
OSS4 from SBo, which I am the maintainer of, will work just fine with 14.0.
Well I downloaded oss source tarball using the link on www.slackbuilds.org. But downloaded file has different md5sum
than that listed on www.slackbuilds.org! Can I compile this safely?
This is from www.slackbuilds.org
Code:
Homepage:
http://www.opensound.com
Source Downloads:
oss-v4.2-build2007-src-gpl.tar.bz2 (26b9d6951f3eb2eac39a0f42f0dbdae7)

Download SlackBuild:
oss.tar.gz
oss.tar.gz.asc (FAQ)
and this for downloaded file (I've followed provided link)
Code:
[C:\Documents and Settings\User\Moje dokumenty\Pobieranie\]
oss-v4.2-build2007-src-gpl.tar.bz2             f995118db1759fee3bcd38483940da6f
 
Old 07-23-2013, 10:27 PM   #13
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,543

Rep: Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385
Okay, I just checked. The md5sum in oss.info is indeed wrong. The SlackBuild is perfectly safe to run.

I've fixed this in the update for oss4-2008, which SBo will release soon.
 
1 members found this post helpful.
Old 07-24-2013, 06:13 AM   #14
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by dugan View Post
I've fixed this in the update for oss4-2008, which SBo will release soon.
Thanks! I've already compiled its OK! I've got hard time though trying to set up xmms2 to work with oss.
 
Old 07-24-2013, 11:39 AM   #15
nhOmega
LQ Newbie
 
Registered: Jul 2013
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
What's difficult getting xmms2 to support OSS? You just need to have oss support built for it then enable it in .config/xmms2/xmms2.conf

Quote:
<section name="oss">
<property name="device">/dev/dsp</property>
<property name="mixer">/dev/mixer</property>
</section>


<section name="output">
<property name="plugin">oss</property>
</section>
Or:

Quote:
xmms2 server config output.plugin oss
Not really an issue. Have been running it with OSSv4 for years.
 
  


Reply

Tags
oss


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to get OSS apps to work MWilson Slackware 10 09-12-2005 07:40 PM
What is ALSA and OSS and how it work dhirsolo Linux - Newbie 4 07-26-2005 03:57 PM
OSS Sound to work - how? shazam75 Linux - Newbie 4 10-08-2004 06:17 AM
Issue with snd-pcm-oss and snd-mixer-oss; OSS load failed EnigmaX Slackware 3 07-26-2004 03:26 PM
OSS Doesn't Work!!!!!!!!!!!!!!!!!!! Horizon111 Linux - Software 0 04-21-2004 07:42 PM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration