Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Google Chrome now requires wayland and jack audio?
Date: Fri, 15 Jul 2022 20:56:37
Message-Id: task9o$qen$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] Google Chrome now requires wayland and jack audio? by Mark Knecht
1 On 2022-07-15, Mark Knecht <markknecht@×××××.com> wrote:
2 > On Fri, Jul 15, 2022 at 12:28 PM Grant Edwards <grant.b.edwards@×××××.com>
3 > wrote:
4 >>
5 >> It looks like www-client/google-chrome just added wayland and jack
6 >> audio to the dependancies. So now I have to have Pulse _and_ Jack?
7
8 > Is that truly a Chrome requirement, like the company Google wrote
9 > the ebuild, or is this something a Gentoo dev did for some reason?
10
11 Google doesn't provide an ebuild. The ebuild is written maintained by
12 the kind volunteers of the Chromium in Gentoo Project. For the binary
13 distribution from Google, those devs have no control over what
14 libraries the Chrome executables are built to use. All they can do is
15 try to figure out which libraries Chrome needs, and reflect that in
16 the ebuild so that after the binary from Google gets installed, it
17 works.
18
19 That said, there was no jack audio requirement for Chrome. I misread
20 the emerge output. The two new requirements that google-chrome was
21 pulling in were
22
23 dev-libs/wayland
24 dev-util/wayland-scanner
25
26 You don't have to be running Wayland, but you now need the above
27 wayland pieces.
28
29 There isn't actually a pulse audio requirement in the google-chrome
30 ebuild either, but if I don't have pulse installed, some audio stuff
31 in Chrome doesn't work. In web apps like Google Voice
32
33 * I can select my headset mic as audio in, but it won't work.
34
35 * I can't select headset as audio out.
36
37 Installing pulse audio fixed those problems.
38
39 > I'm curious as the USB disconnect problem seems somehow to be
40 > related to using Chrome on the host machine for sites that do a lot
41 > of audio, like YouTube. A clean boot of the host machine, followed
42 > by a clean boot of the VM and I've run for at least an hour with no
43 > disconnection problems. I can use Chrome for email, messaging and
44 > reading newspapers with no problem, but I run YouTube and twice I've
45 > had USB problems in the VM.
46
47
48 Yep, it sounds like doing audio via Chrome is disrupting the the USB
49 audio device that's in-use by the VM. Are there Linux audio drivers
50 for that hardware that you could uninstall to keep Chrome from seeing
51 it?
52
53 --
54 Grant

Replies

Subject Author
Re: [gentoo-user] Re: Google Chrome now requires wayland and jack audio? Mark Knecht <markknecht@×××××.com>