sound works, except in X

I have a FreeBSD guest I'm trying to get stood-up in VirtualBox-OSE. Sound works from the console (e.g. I can `cat /dev/random > /dev/dsp` and hear static, as my unprivileged user) but there's no functional sound in X, and videos won't play in Chromium on YouTube. Historically this has meant a problem with the sound subsystem, however sound on the system is working, just not Pulse.

To troubleshoot, I've confirmed OSS is working by doing...
Code:
$ dmesg | grep pcm
pcm0: <Intel ICH (82801AA)> port 0xc000-0xc0ff,0xc100-0xc13f irq 21 at device 5.0 on pci0
pcm0: <SigmaTel STAC9700/83/84 AC97 Codec>
pcm0: measured ac97 link rate at 47122 Hz
$ cat /dev/sndstat
Installed devices:
pcm0: <Intel ICH (82801AA)> (play/rec) default
No devices installed from userspace.
$ mixer
pcm0:mixer: <Intel ICH (82801AA)> at io 0xc000, 0xc100 irq 21 bufsz 16384  (play/rec) (default)
    vol       = 1.00:1.00     rec
    pcm       = 1.00:1.00     pbk
    speaker   = 0.75:0.75     pbk
    line      = 0.75:0.75     rec
    mic       = 1.00:1.00     rec src
    cd        = 0.75:0.75     rec
    rec       = 0.97:0.97     pbk
    igain     = 1.00:1.00     pbk
    line1     = 0.75:0.75     rec
    phin      = 1.00:1.00     rec
    phout     = 1.00:1.00     rec
    video     = 1.00:1.00     rec
$

and doing a `cat /dev/random > /dev/dsp`, which yields static.

So, my belief is that the underlying sound system is functioning, but that I have a problem with PulseAudio. Running `pulseaudio -vv` yeilds no smoking gun but does indicate that pulse is idling out? Here's the last few lines of `pulseaudio -vv`:

Code:
I: [(null)] module-suspend-on-idle.c: Source oss_input.dsp0 idle for too long, suspending ...
D: [oss] module-oss.c: trigger
D: [oss] module-oss.c: trigger: 2
D: [(null)] source.c: oss_input.dsp0: suspend_cause: (none) -> IDLE
D: [(null)] source.c: oss_input.dsp0: state: IDLE -> SUSPENDED
D: [(null)] core.c: Hmm, no streams around, trying to vacuum.
I: [(null)] module-suspend-on-idle.c: Sink oss_output.dsp0 idle for too long, suspending ...
I: [oss] module-oss.c: Suspending...
I: [oss] module-oss.c: Device suspended...
D: [(null)] sink.c: oss_output.dsp0: suspend_cause: (none) -> IDLE
D: [(null)] sink.c: oss_output.dsp0: state: IDLE -> SUSPENDED
D: [(null)] source.c: oss_output.dsp0.monitor: suspend_cause: (none) -> IDLE
D: [(null)] source.c: oss_output.dsp0.monitor: state: IDLE -> SUSPENDED
D: [(null)] module-suspend-on-idle.c: State of monitor source 'oss_output.dsp0.monitor' has changed, checking state of monitored sink
D: [(null)] core.c: Hmm, no streams around, trying to vacuum.
D: [(null)] oss-util.c: Read mixer settings: 0: 65536 / 100%,   1: 65536 / 100%
D: [(null)] oss-util.c: Read mixer settings: 0: 65536 / 100%,   1: 65536 / 100%

anyone have any thoughts on how to coax Pulse into playing nice?
 
After extensive debugging, including uninstalling/reinstalling packages, running pulse in debug mode, kicking DBUS, etc., I decided to reboot and see if that shook something lose. Low and behold, I have sound now. I have no explanation for what ultimately resolved the issue. Sorry I can't be of any more assistance to others facing the same plight. I would observe that I had rebooted previously and had no success, so I don't know conclusively that the reboot had any effect on my situation.
 
Back
Top