Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832885 - media-video/pipewire should add an EWARN for CONFIG_SND_VERBOSE_PROCFS
Summary: media-video/pipewire should add an EWARN for CONFIG_SND_VERBOSE_PROCFS
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 08:09 UTC by Amit Prakash Ambasta
Modified: 2023-02-01 13:35 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Prakash Ambasta 2022-02-08 08:09:23 UTC
pipewire-0.3.45 broke on kernels compiled w/ CONFIG_SND_VERBOSE_PROCFS=N due to upstream issue https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2094


However, even though upstream has since patched this, it looks like SND_VERBOSE_PROCFS should still be suggested to allow pipewire to detect if the device is busy.

I suggest adding an EWARN/EINFO to the ebuild so that users might be nudged towards enabling SND_VERBOSE_PROCFS for enhanced functionality




Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-08 08:09:58 UTC
Thanks!
Comment 2 Niklāvs Koļesņikovs 2022-02-09 10:44:45 UTC
Upstream has clearly stated that requiring CONFIG_SND_VERBOSE_PROCFS was not intended and that the required information should be obtainable without it. I tried looking at the commit in question but I was not able to determine, if there's any benefit from CONFIG_SND_VERBOSE_PROCFS. And, if yes, where or how it would show.

For now I'd suggest trying to gather more information before telling Gentoo users to reconfigure their kernels without more direct evidence for that being upstream recommendation/suggestion.
Comment 3 Kenton Groombridge gentoo-dev 2022-02-10 15:37:42 UTC
Upstream indicates that the requirement on CONFIG_SND_VERBOSE_PROCFS was fixed in https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/97a5fe80c1d0fb0d8173a61a87051053cff7a5c2
Comment 4 Kenton Groombridge gentoo-dev 2022-02-12 15:13:00 UTC
I also had this exact issue and it took me a while to figure out a workaround. It seems that at a minimum CONFIG_SND_PROC_FS=y is required, not necessarily CONFIG_SND_VERBOSE_PROCFS=y. This was not the case in pipewire-0.3.44 and earlier, at least in my testing. I was able to reproduce this behavior on 2 different machines.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-21 03:39:44 UTC
(In reply to Kenton Groombridge from comment #4)
> I also had this exact issue and it took me a while to figure out a
> workaround. It seems that at a minimum CONFIG_SND_PROC_FS=y is required, not
> necessarily CONFIG_SND_VERBOSE_PROCFS=y. This was not the case in
> pipewire-0.3.44 and earlier, at least in my testing. I was able to reproduce
> this behavior on 2 different machines.

Even in newer versions?
Comment 6 Niklāvs Koļesņikovs 2022-02-21 11:38:39 UTC
pinkflames
>wtay: Gentoo has a question whether CONFIG_SND_PROC_FS=y is now a required kernel
>configuration, since one user is reporting that 0.3.44 and older versions worked
>without it
>but that current versions need at least that option enabled
wtay
>no..

Well.. did I ask a bad/misunderstood question or is there something else going on?