Bug 2092513 - the level meter in the output tab for apps is the input level of the microphone
Summary: the level meter in the output tab for apps is the input level of the microphone
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pavucontrol
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-01 17:37 UTC by customercare
Modified: 2023-09-18 04:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 18:02:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
graphical display of PW Session wireing (223.25 KB, image/png)
2022-07-04 10:12 UTC, customercare
no flags Details
pw-dump output (453.27 KB, text/plain)
2022-07-04 10:34 UTC, customercare
no flags Details
without pulseeffects (388.39 KB, text/plain)
2022-07-04 11:03 UTC, customercare
no flags Details
Screenshot 1 (407.04 KB, image/png)
2022-10-21 10:25 UTC, customercare
no flags Details
Screenshot 2 (443.93 KB, image/png)
2022-10-21 10:26 UTC, customercare
no flags Details
for analyses! (2.80 KB, application/gzip)
2022-10-21 10:55 UTC, customercare
no flags Details

Description customercare 2022-06-01 17:37:22 UTC
Input Device: Logitech WebCam USB
Input Device: mainboard 

Description of problem:

the level meter of the app output does not show the apps level, it shows the input level of the available microphone.

this is shown for all opened apps with open audiooutput streams. It's always the same level for all apps.

The normal output level of the app is not shown. 

Muting the mic, immediatly zeros the app output levels, which was for the me final proove of relationship. 

Changing the volume has the correct effect for all input/output levels.

PAVU is still useable, it's just the visual wrong level drawn.

Version-Release number of selected component (if applicable):

pavucontrol-5.0-4.fc35.x86_64

Comment 1 customercare 2022-06-01 17:38:22 UTC
PS: this bug got introduced in F35, the system had an upgrade from F34 last week. before the upgrade, pavu worked as expected.

Comment 2 customercare 2022-07-01 22:15:56 UTC
Any Idea?

Comment 3 Wim Taymans 2022-07-04 09:55:23 UTC
This is not a known bug, so it should work as you would expect.

If you are running fedora 35, you are (should be) using pipewire. 

Check if pipewire is actually being used as a pulseaudio replacement with:

  pactl info

It should show something with:

  Server Name: PulseAudio (on PipeWire 0.3.x)

Please paste the version here.

Check if pipewire-media-session was replaced by wireplumber by doing

  systemctl --user status wireplumber

Comment 4 customercare 2022-07-04 10:00:46 UTC
Yeap, Pipewire is used (and the low latency of pw is a great improvement btw):

Bibliotheks-Protokollversion: 35
Server-Protokollversion: 35
ist lokal: ja
Name des Servers: PulseAudio (on PipeWire 0.3.52)
Version des Servers: 15.0.0
Standard-Ziel: alsa_output.pci-0000_04_00.1.hdmi-stereo-extra1
Standard-Quelle: alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo

Comment 5 customercare 2022-07-04 10:01:35 UTC
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2022-07-04 08:36:35 CEST; 3h 24min ago
   Main PID: 2634 (wireplumber)
      Tasks: 4 (limit: 19050)
     Memory: 7.6M
        CPU: 938ms
     CGroup: /user.slice/user-1000.slice/user/session.slice/wireplumber.service
             └─ 2634 /usr/bin/wireplumber

Jul 04 08:36:35  systemd[1983]: Started Multimedia Service Session Manager.
Jul 04 08:36:35  wireplumber[2634]: Failed to set scheduler settings: Die Operation ist nicht erlaubt
Jul 04 08:36:36  wireplumber[2634]: <WpSiAudioAdapter:0x557551f9b080> Object activation aborted: proxy destroyed
Jul 04 08:36:36  wireplumber[2634]: <WpSiAudioAdapter:0x557551f9b080> failed to activate item: Object activation aborted: proxy destroyed
Jul 04 08:36:38  wireplumber[2634]: <WpSiStandardLink:0x557551dda540> item deactivated before format set

Comment 6 customercare 2022-07-04 10:02:16 UTC
wireplumber runs, but has some error message:

Jul 04 08:36:35  wireplumber[2634]: Failed to set scheduler settings: Die Operation ist nicht erlaubt
Jul 04 08:36:36  wireplumber[2634]: <WpSiAudioAdapter:0x557551f9b080> Object activation aborted: proxy destroyed
Jul 04 08:36:36  wireplumber[2634]: <WpSiAudioAdapter:0x557551f9b080> failed to activate item: Object activation aborted: proxy destroyed
Jul 04 08:36:38  wireplumber[2634]: <WpSiStandardLink:0x557551dda540> item deactivated before format set

Comment 7 Wim Taymans 2022-07-04 10:06:33 UTC
> wireplumber runs, but has some error message:

Not a problem.

Next, start an application and monitor the output with pavucontrol. Then paste the output of

 pw-link -l

here.

Comment 8 customercare 2022-07-04 10:10:48 UTC
Running ONE Session of QMMP :

alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
  |-> PipeWire ALSA [python3.10]:input_FL
  |-> PulseAudio-Lautstärkeregler:input_FL
  |-> PulseAudio-Lautstärkeregler:input_FL
  |-> PulseAudio-Lautstärkeregler:input_FL
  |-> PulseAudio-Lautstärkeregler:input_FL
  |-> PulseAudio-Lautstärkeregler:input_FL
alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR
  |-> PipeWire ALSA [python3.10]:input_FR
  |-> PulseAudio-Lautstärkeregler:input_FR
  |-> PulseAudio-Lautstärkeregler:input_FR
  |-> PulseAudio-Lautstärkeregler:input_FR
  |-> PulseAudio-Lautstärkeregler:input_FR
  |-> PulseAudio-Lautstärkeregler:input_FR
alsa_output.pci-0000_0a_00.4.analog-stereo:playback_FL
  |<- qmmp:output_FL
alsa_output.pci-0000_0a_00.4.analog-stereo:playback_FR
  |<- qmmp:output_FR
PipeWire ALSA [python3.10]:input_FL
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
PipeWire ALSA [python3.10]:input_FR
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR
PulseAudio-Lautstärkeregler:input_FL
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
PulseAudio-Lautstärkeregler:input_FR
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR
PulseAudio-Lautstärkeregler:input_FL
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
PulseAudio-Lautstärkeregler:input_FR
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR
PulseAudio-Lautstärkeregler:input_FL
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
PulseAudio-Lautstärkeregler:input_FR
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR
PulseAudio-Lautstärkeregler:input_FL
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
PulseAudio-Lautstärkeregler:input_FR
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR
qmmp:output_FL
  |-> alsa_output.pci-0000_0a_00.4.analog-stereo:playback_FL
qmmp:output_FR
  |-> alsa_output.pci-0000_0a_00.4.analog-stereo:playback_FR
PulseAudio-Lautstärkeregler:input_FL
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FL
PulseAudio-Lautstärkeregler:input_FR
  |<- alsa_input.usb-046d_Logitech_Webcam_C925e_F4C01DCF-02.analog-stereo:capture_FR

Comment 9 customercare 2022-07-04 10:12:58 UTC
Created attachment 1894474 [details]
graphical display of PW Session wireing

Comment 10 Wim Taymans 2022-07-04 10:21:59 UTC
What version of wireplumber is this?

When it's failing, can you attach the output of pw-dump ?

Comment 11 customercare 2022-07-04 10:33:24 UTC
wireplumber-0.4.10-1.fc35.x86_64
wireplumber-libs-0.4.10-1.fc35.x86_64


PAVU is permanently "failing" since the upgrade. Not one day, it worked proper since that upgrade from 34 to 35.

the pw-dump output comes as attachment.. right after this comment.

Comment 12 customercare 2022-07-04 10:34:26 UTC
Created attachment 1894475 [details]
pw-dump output

Comment 13 Wim Taymans 2022-07-04 10:58:15 UTC
I think it's easyeffects that moves the monitor streams to the default source... Can you try stopping easyeffects?

Comment 14 customercare 2022-07-04 11:02:56 UTC
there is no easyeffects installed and it also happens if pulseeffects is not running. PE does not autostart, so there is no "hidden" coincidence possible. 

The only noticeable difference with PE running is, that the meter update interval is reduced by more than 50%.

I attach a fresh pw-dump.

Comment 15 customercare 2022-07-04 11:03:16 UTC
Created attachment 1894477 [details]
without pulseeffects

Comment 16 customercare 2022-07-13 17:04:23 UTC
I seem to have forgotten to report, that the main input device ( mainboard ) has no level meter anymore, but thats NOT the sound display in the playback tab under the apps. Confusing i know ;)

Comment 17 customercare 2022-10-21 10:25:47 UTC
Created attachment 1919391 [details]
Screenshot 1

Comment 18 customercare 2022-10-21 10:26:10 UTC
Created attachment 1919392 [details]
Screenshot 2

Comment 19 customercare 2022-10-21 10:27:13 UTC
UPDATE:

with the help of PipeWire Graph thecause of the issue gets visible:

Screenshot 1:

We see the behavior described above, qmmp playing to HDMI and no level meter activity.

Screenshot 2:

After connecting the monitor output to the correct instance connector of PAVU, 
everything happens as it should! 

Question:

Why are all PAVU units connected to the webcam  microphone at all? 

ONE or TWO should be connected to PAVU for the really connected units, which is the level meter on the input device list,
and the currently ( you can see this ) ALSA input for PVA Speechassistant. 


Who can this set back the correct normal setup? (manually rewireing isn't lasting)

Comment 20 customercare 2022-10-21 10:36:19 UTC
Every NEW unit inside pipewire is auto-wired to the micro input device, instead of the correct monitor device.

Could this be a pipewire issue instead of pavu ?

Comment 21 Wim Taymans 2022-10-21 10:39:59 UTC
> Every NEW unit inside pipewire is auto-wired to the micro input device, instead of the correct monitor device.

Very strange, I can't explain this yet.


> Could this be a pipewire issue instead of pavu ?

Neither of those two actually make the links, that's the job of the session manager, WirePlumber.

Comment 22 customercare 2022-10-21 10:48:25 UTC
i removed all media-session directories in .config and .local for pipewire and the bug still prevails.

Comment 23 customercare 2022-10-21 10:54:14 UTC
Finally ... renaming the .local/state/wireplumber  directory FIXED IT \o/

Comment 24 customercare 2022-10-21 10:55:29 UTC
Created attachment 1919393 [details]
for analyses!

Comment 25 customercare 2022-10-21 10:57:27 UTC
Attachment added:

The .bak is the faulty version, the normal directory in the tgz added, is the now working condition.

Comment 26 customercare 2022-10-21 11:03:06 UTC
I suggest to keep the bug open until the real cause for this is identified and fixed.

Comment 27 customercare 2022-10-31 10:36:50 UTC
@wtaymans :

happend again in the upgrade from 35 to 36.

removing the wireplumber state directory solved it.

Comment 28 Ben Cotton 2022-11-29 18:56:10 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 29 Ben Cotton 2022-12-13 18:02:01 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 30 Red Hat Bugzilla 2023-09-18 04:38:16 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.