Solved No sound under Chrome

I get no sound when running YouTube videos under Chrome. Same with Rumble.
Audio apps such mpg123, vlc, mpv work normally.

Anyone aware of any options in chrome which would effect sound?

Or is there some other setting which manages chrome differently to other audio apps?
 
Chromium on FreeBSD uses audio/sndio for sound, not OSS. It should work out-of-box, but did you started it? If you want to start it with the system, you can add
Code:
sndiod_enable="YES"
to /etc/rc.conf
 
Sorry, I assumed that the Multimedia chapter of the FreeBSD Handbook would cover OSS, it doesn't. Or maybe I'm missing something.

Also (again, sorry) I assumed OSS because that's what appears in Audio Mixer (pictured), which I use to control volume with Chromium.

It's unfortunate that PulseAudio is off by default.
 

Attachments

  • 1716294150812.png
    1716294150812.png
    62.3 KB · Views: 392
Chromium on FreeBSD uses audio/sndio for sound, not OSS. It should work out-of-box, but did you started it? If you want to start it with the system, you can add
Code:
sndiod_enable="YES"
to /etc/rc.conf
Can I just start the sndiod service and expect sound to start working? Or do to restart Chrome and/or reboot?

I've never come across this before and have had sound coming out of chrome in the past.

In fact I just started up FreeBSD 13.2 on another system and can play YouTube videos with sound on that without any additions to rc.conf
 
Which flavor of Chrome do you use? The Linux binary uses Pulseaudio by default.
The one I get when run
pkg install chromium.

I'll just check to see if there is a newer version available....


Just checked.... however I'm told there an packages available......
 
Can I just start the sndiod service and expect sound to start working? Or do to restart Chrome and/or reboot?

I've never come across this before and have had sound coming out of chrome in the past.

In fact I just started up FreeBSD 13.2 on another system and can play YouTube videos with sound on that without any additions to rc.conf
Sound should work out-of-box, if I remember correctly. I set it long time ago. ;) It still working for me on FreeBSD 14.0 without any changes. I would do a full reboot, maybe it helps. Of course, after adding sndio daemon to rc.conf.
 
I'm told there an packages available.

No packages?

(Which version of FreeBSD, exactly? Packages of ports from quarterly, or latest?)

Code:
% pkg search -r FreeBSD-Ports chromium ; uname -KU
chromium-124.0.6367.201_1      Google web browser based on WebKit
chromium-bsu-0.9.16.1_3        Arcade-style, top-scrolling space shooter
ungoogled-chromium-124.0.6367.201_1 Google web browser based on WebKit sans integration with Google
1500018 1500018
%
 
I'm currently using Version 124.0.6367.118 (Official Build) (64-bit)

on FreeBSD 13.2, using pkgs (latest)


pkg search -r FreeBSD-Ports chromium ; uname -KU
:-

1302001 1302001


Looks like something ain't right.

I've just started pkg upgrade, so I'll see if anything changes when it finishes.
 
I finally managed to update chrome and it is now

Version 124.0.6367.207 (Official Build) (64-bit)

Thankfully this is all I needed to do and sound works fine. No changes need to be made to enable sound.
 
Back
Top