Closed hyama99 closed 2 years ago
Hi there,
is pulseaudio installed? Do you have sound when you watch Youtube videos via FreeBSD's Firefox?
Hi mrclksr-san,
Thank you for your comment! Yes. I have sound when I watch Youtube videos via FreeBSD' Firefox and Chromium now.
Hi,
I wonder if I have to install sound driver. The current kernel module installed on my ubuntu on FreeBSD is as follows:
And version is as follows:
% sudo /compat/ubuntu/bin/lsmod
Module Size Used by
% sudo /compat/ubuntu/bin/uname -a Linux mybsd 3.17.0 FreeBSD 13.0-STABLE #0 stable/13-3f85c5182: Wed Jan 19 01:18:05 x86_64 x86_64 x86_64 GNU/Linux
Thank you in advance.
I wonder if I have to install sound driver. The current kernel module installed on my ubuntu on FreeBSD is as follows:
And version is as follows: % sudo /compat/ubuntu/bin/lsmod Module Size Used by
% sudo /compat/ubuntu/bin/uname -a Linux mybsd 3.17.0 FreeBSD 13.0-STABLE #0 stable/13-3f85c5182: Wed Jan 19 01:18:05 x86_64 x86_64 x86_64 GNU/Linux
The Linux browsers will use FreeBSD's pulseaudio socket, so there is no need to access the sound hardware directly.
Please start linux-chrome
as follows from a teminal:
% sh -c 'linux-chrome >/tmp/linux-chrome.log 2>&1'
While playing a video run pactl list clients > /tmp/pa-clients
. Close the browser, and post the content of /tmp/linux-chrome.log
, /tmp/pa-clients
, and the output of grep pulseaudio /var/log/messages
here.
Connection failure: Connection refused pa_context_connect() failed: Connection refused
Feb 5 12:35:52 tkmt2 pulseaudio[63387]: [(null)] oss-util.c: '/dev/dsp0' doesn't support full duplex Feb 5 12:35:52 tkmt2 pulseaudio[63387]: [(null)] oss-util.c: '/dev/dsp1' doesn't support full duplex Feb 5 12:35:52 tkmt2 pulseaudio[63387]: [(null)] oss-util.c: '/dev/dsp4' doesn't support full duplex Feb 6 08:51:32 tkmt2 pulseaudio[78630]: [(null)] oss-util.c: '/dev/dsp0' doesn't support full duplex Feb 6 08:51:32 tkmt2 pulseaudio[78630]: [(null)] oss-util.c: '/dev/dsp1' doesn't support full duplex Feb 6 08:51:32 tkmt2 pulseaudio[78630]: [(null)] oss-util.c: '/dev/dsp4' doesn't support full duplex
% sh -c '/compat/ubuntu/opt/google/chrome/chrome-wrapper >linux-chrom.log 2>&1' &
I'm confused. What is chrome-wrapper
? linux-browser-installer installs the scripts /compat/ubuntu/bin/chrome
and /usr/local/bin/linux-chrome
. The latter is the one you run when you want to start Chrome. It sets up Pulseaudio automatically, and starts /compat/ubuntu/bin/chrome
. So I guess that's the reason why you have no sound. You didn't start Chrome with linux-chrome
.
Dear mrclksr;
You are right. I did not use linux-chrome. After installing linux-chrome, I could hear sound. I referred to https://forums.freebsd.org/threads/linuxulator-how-to-install-brave-linux-app-on-freebsd-13-0.78879/. Anyway, thank you very much. I would like to diffuse this page by introducing it in my blog in Japanese.
Best regards, Hideki Yamaoto
I'm glad it's working :)
Hi, I could successfully install Linux Chrome and start to play Amazon Prime Video content. But I cannot hear anything, only can watch videos. The situation is the same as You Tube. My FreeBSD version is 13-stable. Does anyone help me?
Best regards, Hideki Yamamoto