mrclksr / linux-browser-installer

Script to install Linux browsers under a Linux chroot on FreeBSD
175 stars 25 forks source link

Google Chrome: sound out: nothing audible #2

Closed grahamperrin closed 3 years ago

grahamperrin commented 3 years ago

I get video playback at pages such as https://www.itv.com/hub/itv (sign in required) and https://www.ted.com/talks/james_geary_metaphorically_speaking but no sound.

audio/virtual_oss in use, if that's relevant. From my rc.conf:

virtual_oss_enable="YES"
virtual_oss_default_args="\
  -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"
sndiod_enable="YES"
root@mowa219-gjp4-8570p:~ # uname -v
FreeBSD 13.0-CURRENT #72 r367936: Sun Nov 22 21:46:00 GMT 2020     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 
grahamperrin commented 3 years ago

Now I see, https://forums.freebsd.org/threads/linuxulator-how-to-run-google-chrome-linux-binary-on-freebsd.77559/post-484339 and https://github.com/mrclksr/linux-browser-installer/blob/e0ff669e84fa98e7200497367cf961de5f2a3417/bin/chrome.in – which, incidentally, explains why /usr/local/bin/chrome no longer runs Chromium for me; I'm not quite ready to abandon Chromium :-)

mrclksr commented 3 years ago

Hi @grahamperrin ,

does the sound work with the wrapper?

which, incidentally, explains why /usr/local/bin/chrome no longer runs Chromium for me; I'm not quite ready to abandon Chromium :-)

Sorry about that :-). I've changed the names, so that the wrapper and desktop files now have the prefix linux-.

grahamperrin commented 3 years ago

As root, this morning:

pkg remove chromium && pkg install chromium
cd /usr/home/grahamperrin/Downloads/linux-browser-installer/
git pull
./linux-browser-installer deinstall chrome && ./linux-browser-installer install chrome

– after which, as grahamperrin, the Ted Talk content was audible first in Google Chrome, then in Chromium:

/compat/ubuntu/bin/chrome https://www.ted.com/talks/james_geary_metaphorically_speaking ; chrome https://www.ted.com/talks/james_geary_metaphorically_speaking

Also audible, ITV Hub content:

/compat/ubuntu/bin/chrome https://www.itv.com/hub/itv

Bonus

Re: https://forums.freebsd.org/threads/linuxulator-how-to-run-google-chrome-linux-binary-on-freebsd.77559/post-485731, Open With now works as expected.