Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB sound
Date: Wed, 29 Apr 2020 09:15:19
Message-Id: 4573218.31r3eYUQgx@peak
In Reply to: Re: [gentoo-user] USB sound by Michael
1 On Tuesday, 28 April 2020 23:41:59 BST Michael wrote:
2 > On Tuesday, 28 April 2020 19:29:18 BST Mark Knecht wrote:
3 > > On Tue, Apr 28, 2020 at 8:11 AM Peter Humphrey <peter@××××××××××××.uk>
4 > > wrote:
5 > > > On Tuesday, 28 April 2020 15:21:09 BST Mark Knecht wrote:
6 > > Ah, so now we have more clues about what's going on. KDE supplies
7 > > pulseaudio. AFAIK it's part of the KDE installation on other distros. I'm
8 > > running Kubuntu LTS, not Gentoo, so I have pulseaudio because it's what
9 > > the Kubuntu guys give me. You have a USE flag that __YOU__ took
10 > > responsibility for turning off. (I'm not clear from this discussion what
11 > > packages have a pulseaudio flag - multiple packages I assume?
12 >
13 > I don't think pa is part of KDE, unless you install it along with systemd.
14 > Otherwise, KDE's phonon can be installed with the pulseaudio USE flag
15 > enabled, in which case pa is dragged in.
16 >
17 > media-libs/phonon
18 > Available versions:
19 > 4.11.1-r1 [debug designer gstreamer pulseaudio +vlc]
20 > Installed versions: 4.11.1-r1(10:37:13 04/12/19)(vlc -debug -designer
21 > - gstreamer -pulseaudio)
22 > Homepage: https://phonon.kde.org/
23 > Description: KDE multimedia abstraction library
24
25 That's exactly the same as mine.
26
27 > > Or your choice to disable USE flags has removed some of the 'features' of
28 > > KDE. Again, I'm using completely updated stable Kubuntu LTS for my
29 > > day-to-day systems so there are clearly differences. However I suggest
30 > > here that the reason there is no multimedia under audio in system settings
31 > > may be because you haven't included the pulseaudio USE flag.
32 >
33 > I think with openrc the pulseaudio USE flag is optional, but haven't looked
34 > into the profile to see what it enables.
35
36 [Sepulchrally] Confirmed. (Remember ORAC?)
37
38 > > If Alsa under the hood is doing everything you need then let's drop the
39 > > pulseaudio part. pulseaudio is conceptually just a mixer.
40 >
41 > Yes, and if some application requires pulseaudio, I think the apulse package
42 > provides a partial implementation of the PulseAudio API and libraries for
43 > alsa to use instead its own dmix, dsnoop, and plug plugins in place of
44 > pulseaudio.
45 > > Have you blacklisted the snd_hda_intel driver, at least as a test? If so,
46 > > do you only see the USB card and the snd_usb_driver in /proc/asound? If so
47 > > do you have sound from the USB device?
48 >
49 > With a broken sound card which will never work again, blacklisting the
50 > snd_hda_intel driver is a 'sound' strategy (sorry, couldn't resist the pun).
51
52 I may do that yet, but pro tem I'll leave it as it's doing no harm. The faulty
53 device is switched off in the BIOS, so having Intel modules loaded implies that
54 the Radeon's display driver needs it.
55
56 > > I have nothing against creating an asound.conf file, if you want to, but I
57 > > don't have any recent experience with doing that. However it should allow
58 > > you to set your USB device as default if it's done correctly but in this
59 > > test configuration with blacklisted snd_hda_intel drivers I don't think
60 > > it's necessary and cannot see how it improves anything yet.
61 > >
62 > > Mark
63 >
64 > Right, an asound.conf file is just a way of configuring alsa itself to
65 > select an audio card as a primary device, rather than disabling a device at
66 > a kernel driver level. Both approaches will work equally, although
67 > blacklisting a driver means it will be disabled for any other audio devices
68 > which may need it in the future.
69
70 I'm still puzzled at why creating an asound.conf enabled - phonon? - to pick
71 the right device. Alsa is not installed here, apart from alsa-lib; no
72 applications.
73
74 --
75 Regards,
76 Peter.

Replies

Subject Author
Re: [gentoo-user] USB sound Peter Humphrey <peter@××××××××××××.uk>