You are not logged in.

#1 2009-04-13 19:03:55

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

OSS *sometimes* has no sound

OSS is being really weird for me. When I first boot my system the sound never works. I'll go play with ossxmix a bit but ultimately change nothing, and sometimes it will randomly work, sometimes not. Sometimes I'll run an osstest and it will work and then the next one after does not work at all. Ultimately, really random and weird behavior.

ossinfo

Version info: OSS 4.1 (b 1052/200903300132) (0x00040100) GPL
Platform: Linux/x86_64 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:39:28 CEST 2009 (igloo)                                                                          

Number of audio devices:        6
Number of audio engines:        10
Number of mixer devices:        1


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 Intel HD Audio interrupts=6429 (6429)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086293e
    Subvendor ID 0x103c3603
     Codec  0: Unknown (0x111d76b2/0x103c3603)
     Codec  2: Unknown (0x10de0006/0x10de0101)
 2: oss_usb0 USB audio core services


Mixer devices
 0: High Definition Audio 0x111d76b (Mixer 0 of device object 1)

Audio devices
HD Audio play pcm1                /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play pcm2                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio play spdifout2           /dev/oss/oss_hdaudio0/spdout0  (device index 2)
HD Audio play spdifout3           /dev/oss/oss_hdaudio0/spdout1  (device index 3)
HD Audio rec select3              /dev/oss/oss_hdaudio0/pcmin0  (device index 4)
HD Audio rec select4              /dev/oss/oss_hdaudio0/pcmin1  (device index 5)

  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0

ossmix

Selected mixer 0/High Definition Audio 0x111d76b2
Known controls are:
codec1.jack.fp-black.mode <pcm1|pcm2|mix> (currently pcm1)
codec1.jack.int-black.mode <pcm1|pcm2|mix> (currently pcm1)
codec1.jack.int-mic <0.0dB|16.0dB|32.0dB|48.0dB> (currently 0.0dB)
codec1.jack.black.select5 <spdifout2|select3|select4> (currently select3)
codec1.record.select3 <0.0dB|16.0dB|32.0dB|48.0dB> (currently 0.0dB)
codec1.record.select3.select1 <fp-mic|mic> (currently mic)
codec1.record.select3.select31 [<leftvol>:<rightvol>] (currently 22.4:22.4 dB)
codec1.record.select3.select32 <select1|mix|int-mic> (currently int-mic)
codec1.record.select4 <0.0dB|16.0dB|32.0dB|48.0dB> (currently 0.0dB)
codec1.record.select4.select2 <fp-mic|mic> (currently fp-mic)
codec1.record.select4.select41 [<leftvol>:<rightvol>] (currently 22.4:22.4 dB)
codec1.record.select4.select42 <select2|mix|int-mic> (currently int-mic)
codec1.misc.pcm11 [<leftvol>:<rightvol>] (currently 77.9:77.9 dB)
codec1.misc.pcm21 [<leftvol>:<rightvol>] (currently 80.9:80.9 dB)
codec1.misc.pcm12 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
codec1.misc.pcm22 [<leftvol>:<rightvol>] (currently 40.4:40.4 dB)
codec1.misc.select1 [<leftvol>:<rightvol>] (currently 46.4:46.4 dB)
codec1.misc.select2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
codec1.misc.mix <pcm1|pcm2|select1|select2> (currently pcm2)
codec1.misc <-28.-8dB|-19.-2dB|-9.-6dB|0.0dB|mute> (currently -28.-8dB)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|Low|Medium|High|High+|Production|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 20.8:20.8 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 20.8:20.8 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 20.4:20.4 dB)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 20.4:20.4 dB)

For example, before I started typing this post it wasn't working. Now it's working fine. Ahhhh!

If it helps at all, alsa does not have any problems on this system. I'd love to be able to finally get OSS working though.

Last edited by Statix (2009-04-13 19:06:02)


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#2 2009-04-13 19:12:17

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: OSS *sometimes* has no sound

Do you have oss in your DAEMONS array?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-04-13 19:37:04

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: OSS *sometimes* has no sound

Yes. Restarting it also doesn't seem to help at all. Only after it's been running for a while does it work.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#4 2009-04-13 19:43:58

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: OSS *sometimes* has no sound

I should have asked earlier, but you have blacklisted the soundcore module (which loads Alsa) correct? Or they would race to get the sound card.

Also,I noticed that your devices are HD Audio and USB. The wiki says that support for usb and hd is experimental (read buggy).

EDIT: But then again, this website says that Intel HD Audio and Intel AC'97 are both supported. Go figure ! hmm

Last edited by Inxsible (2009-04-13 19:47:03)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2009-04-13 20:47:06

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: OSS *sometimes* has no sound

I thought the OSS install script already got rid of the alsa modules so I didn't have it blacklisted. I blacklisted it though and the situation is still the same.

# lsmod | grep snd

Returns nothing.

I'm not actually using any USB sound devices atm. I think that's just there to say it has the potential for them. I used to have a usb mic plugged in and while I couldn't get it to work, it was detected and stuff and the situation was still the same with my primary card.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#6 2009-04-14 03:19:13

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: OSS *sometimes* has no sound

Just to share my experience: I had installed OSS while logged as user and X running and I could not get sound, only static. Reinstalled a few times with same results. Frustrated, I went back to alsa. Reading the wiki, I saw that I needed to exit before I install. So I did just that. Blacklisted soundcore module and alsa daemon in rc.conf, rebooted into init 3, installed OSS and everything worked.

Offline

Board footer

Powered by FluxBB