[Bug 270436] www/firefox: 111.0⋯: no sound after upgrade

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Apr 2023 01:57:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270436

--- Comment #26 from Dave Cottlehuber <dch@freebsd.org> ---
- default pkgs ungoogled-chromium pulls in sndio
- firefox 112.0_1,2 no sound for youtube, webrtc
- playing a file:/// mp3 works fine though
- old tricks of setting media.cubeb.backend=oss is not sufficient
- sndio is present but not enabled

- cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <USB audio> at ? kld snd_uaudio (1p:2v/0r:0v) default
        snddev
flags=0x200002e3<SIMPLEX,AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC,PRIO_WR>
        [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010/0x00201000, flags
0x00002108, 0x00000006
        interrupts 365110, underruns 0, feed 365109, ready 0
[b:6144/3072/2|bs:4096/2048/2]
        channel flags=0x2108<TRIGGERED,BUSY,HAS_VCHAN>
        {userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 ->
0x00201000) -> {hardware}
        pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt
0x00201000/0x00200010, flags 0x1000110c, 0x0000002b, pid 72933 (firefox)
        interrupts 0, underruns 0, feed 2960429, ready 16400
[b:0/0/0|bs:131072/65536/2]
        channel flags=0x1000110c<RUNNING,TRIGGERED,BUSY,HAS_SIZE,VIRTUAL>
        {userland} -> feeder_root(0x00201000) -> feeder_format(0x00201000 ->
0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 ->
48000) -> {hardware}
        pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp1]: spd 48000, fmt 0x00200010,
flags 0x10000000, 0x00000021
        interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8]
        channel flags=0x10000000<VIRTUAL>
        {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) ->
{hardware}
No devices installed from userspace.

I'll try running sndio and see if things work as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.