-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With no pipewire, "ESC Mixer Control" may fill up all pulseaudio connections in seconds and break sound for all apps #349
Comments
One step further in the analysis:
I'm unsure yet, how this is connected with pipewire - and I'm hestitating to remove the pipewire binary... Maybe something has triggered so that the gnome shell extensions are enabled and disabled (maybe a crash?). Note, that without pipewire, the whole extension is useless, as the screen recording is based on pipewire... No pipewire, no screen cast. |
For testing, it might be enough to just temporarily move/rename the binary, reboot and do all the testing, then move/rename it back, and reboot again.
I noticed, so I solved this by uninstalling it. But until I realized this was going on, it was a few months of breakage, so maybe it would be still useful to prevent this sort of malfunction. |
Do you have any logs by any chance? It would be interesting, what gnome-shell logged... |
Ok, so I tried this: in gnome-os you can't manipulate the filesystem (for once, /usr is read-only, but after reboot, it is restored). I had a ubuntu 22.04. When I rename /usr/bin/pipewire -> /usr/bin/pipewire.disabled and restart afterwards, nothing spectacular is happening. Screencast doesn't work anymore as expected (neither via gnome, nor via ESC), but I also didn't notice any additional pulse audio connections (checked with I suspect, something different happened on your machine. But without the original logs, we probably never know. Since this is not reproducible, all I would fix for this issue is to cleanup the pulse audio connection properly, when the extension is disabled. Otherwise connections might accumulate, if you have a long running desktop session, which you just lock and unlock. |
I only have the logs I attached here, I moved to a distribution since that doesn't deploy pipewire for users yet (which I'm thankful for given how buggy it usually was for me) so the setup is now considerably different here |
Expected Behavior
even when pipewire becomes unavailable, ESC doesn't ever break pulseaudio sound as a result
Current Behavior
Sometimes "ESC Mixer Control" will fill up all pulseaudio connections in seconds and break sound for all apps. I think the trigger might be possibly related to pipewire being unavailable which admittedly then renders using the extension kind of moot (but a user might have installed it before that happening). But is still a situation that I suggest might be handled more gracefully. See here for logs!
Possible Solution
Steps to Reproduce (for bugs)
Logs
journalctl /usr/bin/gnome-shell -f
to monitor Gnome shell activity. Maybe the crash will log something.journalctl --since=today --no-pager | grep js
v4l2-ctl --all
for VIDEO_DEVICE in /dev/video* ; do echo ; echo ; echo $VIDEO_DEVICE ; echo ; v4l2-ctl --device=$VIDEO_DEVICE --list-inputs ; done
GST_DEBUG=v4l2src:5 gst-launch-1.0 v4l2src num-buffers=1 ! fakesink | grep probed
Your Environment
Where did you download the extension?
[x] Gnome shell extension website
[ ] From Git (Add commit tag)
Gnome shell version: 43.6
Operating System and version: Fedora 37
Display server: Wayland
The text was updated successfully, but these errors were encountered: