osstest plays sound, everything else no sound

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

osstest plays sound, everything else no sound

Postby KJee85 » Wed Feb 15, 2012 7:53 pm

Code: Select all
Version info: OSS 4.2 (b 2006/201202031749) (0x00040100) GPL
Platform: Linux/x86_64 3.2.5-1-ARCH #1 SMP PREEMPT Tue Feb 7 08:34:36 CET 2012 (PPHDESKTOP)

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=5107 (5107)
2: oss_hdaudio0 Intel HD Audio interrupts=0 (16263)
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: CMedia CMPCI (Mixer 0 of device object 1)

Audio devices
CMedia CM8768 (rev 68)            /dev/oss/oss_cmpci0/pcm0  (device index 0)
CMedia CM8768 (playback only)     /dev/oss/oss_cmpci0/pcm1  (device index 1)

Nodes
  /dev/dsp -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_in -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_out -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_spdifout -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_spdifin -> /dev/oss/oss_cmpci0/pcm0

Code: Select all
Selected mixer 0/CMedia CMPCI
Known controls are:
vol [<leftvol>:<rightvol>] (currently 90:90)
synth [<leftvol>:<rightvol>] (currently 75:75)
synth.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 75)
line [<leftvol>:<rightvol>] (currently 75:75)
line.rec ON|OFF (currently OFF)
mic <monovol> (currently 32)
mic.rec ON|OFF (currently ON)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
rec [<leftvol>:<rightvol>] (currently 75:75)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 64:64)
aux1.rec ON|OFF (currently OFF)
mutectl.linemute ON|OFF (currently ON)
mutectl.cdmute ON|OFF (currently ON)
mutectl.micmute ON|OFF (currently ON)
mutectl.line1mute ON|OFF (currently ON)
jackctl.rear2line ON|OFF (currently OFF)
jackctl.cen2line ON|OFF (currently OFF)
jackctl.bass2line ON|OFF (currently OFF)
jackctl.cen2mic ON|OFF (currently ON)
mixext.spkmode <FRONT|SPREAD> (currently FRONT)
mixext.dualdac ON|OFF (currently OFF)
mixext.micboost ON|OFF (currently OFF)
spdif.play ON|OFF (currently ON)
spdif.loop ON|OFF (currently OFF)
spdif.record ON|OFF (currently OFF)
spdif.imon ON|OFF (currently OFF)
spdif.polrev ON|OFF (currently OFF)
spdif.copyprot ON|OFF (currently OFF)
spdif.optical ON|OFF (currently ON)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 96000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Multich)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)


Sound used to work in chrome, basically flash. I could play google music, youtube, hulu and it was fine. I never was able to get sound working in VLC, rhythmbox and that's pretty much the only things I need sound in. Recently I have no sound at all except for when doing osstest, it plays sound just fine over my optical audio cable. I've tried toggling some settings as well as changing the sampling rate to no avail. Any help would be greatly appreciated
KJee85
New Member
 
Posts: 2
Joined: Wed Feb 15, 2012 7:48 pm

Re: osstest plays sound, everything else no sound

Postby igorzwx » Wed Feb 15, 2012 8:39 pm

The OSS manual is here: https://wiki.archlinux.org/index.php/OSS

The oss package in Arch Linux is now split into two packages:
Code: Select all
oss-4.2_2006-1-i686.pkg.tar.xz
libflashsupport-oss-4.2_2006-1-i686.pkg.tar.xz 


If you do not like the sound of "fast" resampler, you may try "production quality":
viewtopic.php?f=3&t=3543&start=30#p15711

Do you have PulseAudio installed?
igorzwx
Known Member
 
Posts: 1003
Joined: Sun Jun 28, 2009 9:31 pm

Re: osstest plays sound, everything else no sound

Postby KJee85 » Wed Feb 15, 2012 9:22 pm

I do not have Pulseaudio, will that even help sound to play in all applications? I'm pretty sure I have the libflash support but I'll try to grab that. I installed OSS following the manual and used to when attempting to make each of the applications work.

Update: Installed libflashsupport restarted and it works!
KJee85
New Member
 
Posts: 2
Joined: Wed Feb 15, 2012 7:48 pm

Re: osstest plays sound, everything else no sound

Postby igorzwx » Wed Feb 15, 2012 9:51 pm

KJee85 wrote:I do not have Pulseaudio, will that even help sound to play in all applications? I'm pretty sure I have the libflash support but I'll try to grab that. I installed OSS following the manual and used to when attempting to make each of the applications work.

Update: Installed libflashsupport restarted and it works!


It is advisable to remove PulseAudio and libpulse.

Do you have libpulse installed?
Libpulse is a kind of trojan which may infect your multimedia packages with PulseAudio during compilation.
igorzwx
Known Member
 
Posts: 1003
Joined: Sun Jun 28, 2009 9:31 pm

Re: osstest plays sound, everything else no sound

Postby Matti » Wed Feb 15, 2012 10:17 pm

The Arch Linux wiki for Open Sound System mentions that it is not enough to set gstreamer-properties in case of Rhythmbox and Totem there is a workaround. Although I'm on Ubuntu 11.10 and I didn't need to do any workarounds for Totem, Banshee (I don't have Rhythmbox installed) to get sound.

In VLC you should have UNIX OSS as an option of the sound backend.
Matti
Member
 
Posts: 39
Joined: Sun May 29, 2011 12:34 pm

Re: osstest plays sound, everything else no sound

Postby cesium » Thu Feb 16, 2012 1:43 am

Does 'osstest -V' play anything? Does it play on both pcms? Also, you need libflashsupport for flash..
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: osstest plays sound, everything else no sound

Postby igorzwx » Tue Feb 21, 2012 4:18 pm

KJee85 wrote:I never was able to get sound working in VLC, rhythmbox and that's pretty much the only things I need sound in.

It seems that Arch developers compiled VLC without OSS support.
It is said that this problem was already fixed with the last update (2012-02-19)
https://bbs.archlinux.org/viewtopic.php?id=136085
http://www.archlinux.org/packages/extra/i686/vlc/

In any case, it makes sense to recompile all multimedia packages to remove PulseALSA and other crap.

It looks like oss is in vlc 2.0 disabled by default. https://bbs.archlinux.org/viewtopic.php ... 6#p1060036

It does not seem to be true. However, if OSS is not installed, VLC is likely to be compiled without OSS support.
The same trouble can happen with MPlayer and some other multimedia packages.
If "libpulse" is installed, a multimedia package is likely to be compiled with PulseAudio (it is not always possible to disable it with configure options).

"libpulse" can be easily removed:
Code: Select all
$ sudo pacman -Rdd libpulse

You may also want to remove some other libraries (e.g. libsamplerate) before re-compiling your multimedia packages.
igorzwx
Known Member
 
Posts: 1003
Joined: Sun Jun 28, 2009 9:31 pm


Return to Linux

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron