Firefox: virtual_oss: no sound

Graham Perrin grahamperrin at
Sun Dec 6 19:09:04 UTC 2020

On 06/12/2020 18:45, Mario Lobo wrote:
> On Sun, Dec 6, 2020 at 2:36 PM Graham Perrin <grahamperrin at> wrote:
>> On 04/12/2020 18:37, Mario Lobo wrote:
>> … Videos in Firefox not only have no sound. …
>> If you have not already done so:
>> about:config
>> media.cubeb.backend
>> string
>> oss
> It is set that way.
> By the way, I tried setting to sndio, and even though sndio wasn't running,
> It still had sound.
> But virtual_oss still has the same firefox results (no sound). I have to
> reboot the machine to get the sound back on FF.
> Stopping virtual_oss and restarting FF is not enough.
> I also had virtual_oss_ctl installed but, like you, I dont know how to use
> it.

If it helps: the setup outlined below works for me (with analogue audio 
in an HP EliteBook 8570p).

NB maybe worth actively checking that virtual_oss is running, i.e.

service virtual_oss status
service virtual_oss onestatus

Also: below, NB the `-t vdsp.ctl` part. IIRC this is for compatibility 
with the virtual_oss_ctl GUI.


grahamperrin at mowa219-gjp4-8570p:~ % tail -n 15 /etc/rc.conf

   -T /dev/sndstat \
   -S \
   -i 8 \
   -C 2 -c 2 \
   -r 48000 \
   -b 24 \
   -s 8.0ms \
   -f /dev/dsp1 \
   -c 2 \
   -d dsp \
   -t vdsp.ctl"
grahamperrin at mowa219-gjp4-8570p:~ % service virtual_oss status
virtual_oss is running as pid 117.
grahamperrin at mowa219-gjp4-8570p:~ % service sndiod status
sndiod is running as pid 2212.
grahamperrin at mowa219-gjp4-8570p:~ % cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play)
pcm1: <IDT 92HD81B1X (Analog 2.0+HP/2.0)> (play/rec) default
pcm2: <IDT 92HD81B1X (Analog)> (play/rec)
Installed devices from userspace:
dsp: <Virtual OSS> (play/rec)
grahamperrin at mowa219-gjp4-8570p:~ %

More information about the freebsd-questions mailing list