-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Audio doesn't work out of the box in Debian bookworm and Ubuntu jammy template #8193
Comments
The bug is that PulseAudio got installed at all, which it really shouldn’t be. |
Well, maybe it doesn't need to be there, but apparently something pulls it in via dependency (looks like It seems |
That should work. Should I just get rid of the condition lines in the unit files? |
Worth a try.
In all the cases, there should be exactly one sound server running, not two, not zero. |
Can the PipeWire audio agent just conflict with the PulseAudio package? The current design was intended to make things easier to test, but it seems to be causing enough problems in practice that it is just not worth it. |
On a package dependency level - no. That would prevent installing packages that depend (directly or indirectly) on both. For example this applies to |
I think having PulseAudio only start if PipeWire is missing, and ensuring that |
Fixed in QubesOS/updates-status#3744 (ensures that Ubuntu jammy uses pulseaudio, and Debian bookworm has pipewire-pulse installed) |
This problem also seems to exist in R4.1. I updated my Debian 11 template to Debian 12, and now audio does not work anymore. More specifically, previously tools like pavucontrol would show an output device like "Qubes Audio Sink" or something like that, now I don't see that anymore. If I attach an USB audio card directly to the VM, then that works as before, so audio does not seem to be broken in general in the template, only the Qubes specific part. Some pipewire things seem to be running:
and
From QubesOS/qubes-meta-packages@747fee2 it seems to me that perhaps I should install the |
@maltesl: (1) removing all pipewire packages and (2) reinstalling both, pulseaudio and pulseaudio-qubes solved this issue on my debian-11 -to- debian-12 in-place upgrade template. Give it a try! |
(Qubes R4.2) I removed pipewire-qubes in debian 12 template and replaced it with pulseaudio-pipewire = worked! Well why i did that because thats as well the case in fedora 38 template, pipewire-qubes not installed and pulseaudio-qubes installed/used instead: so what does "PipeWire support" mean, like we test that ourselves by playing with pipewire-qubes and report back issues or this is a bug that its not working.. im not sure. |
@TNTBOMBOM PipeWire in R4.2 is expected to work and is installed by default in several templates IIRC. PipeWire in R4.1 may or may not work. |
@DemiMarie im already on R4.2 (fixed my post and added this is on R4.2) |
@TNTBOMBOM looks like a separate bug |
Possibly this bug isn't fixed yet even for 4.2, see #8805. I tried fixing it by removing everything pipewire-related in What exactly is supposed to be running in dom0 in 4.2? pipewire, pulseaudio, really both or pipewire with pipewire-pulseaudio? @DemiMarie ? |
@3hhh PulseAudio in dom0 is the default, but PipeWire + PipeWire-PulseAudio should also work so long as a PipeWire session manager (such as WirePlumber) is also installed. Having both PipeWire-PulseAudio and PulseAudio should not be possible (due to |
No need this action anymore, pipewire work as expected, more details: |
How to file a helpful issue
Qubes OS release
R4.2
Brief summary
Ubuntu jammy and Debian bookworm use pipewire by default. But it isn't started by default due to pulseaudio being installed too (and we add
ConditionPathExists=|!/usr/bin/pulseaudio
to pipewire.service).Steps to reproduce
Expected behavior
Audio works out of the box using pipewire.
Actual behavior
Pipewire service not started.
Enabling
pipewire
qvm-service manually works as a workaround.The text was updated successfully, but these errors were encountered: