-
Notifications
You must be signed in to change notification settings - Fork 76
audio: rework modules, forward pipewire socket to gui-vm #1672
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 tasks
|
I did a quick round of testing on Darter Pro
|
c1863ba to
829ecfe
Compare
829ecfe to
46c92fb
Compare
46c92fb to
7ee0b82
Compare
7ee0b82 to
7f6e98a
Compare
7f6e98a to
541d1b6
Compare
541d1b6 to
5f205b5
Compare
5f205b5 to
7669829
Compare
7669829 to
ba84a7b
Compare
- introduced 'server' and 'client' configs - audio-vm is now the 'server', in charge of all audio hw - all other systems are now 'clients' - 'clients' can optionally enable pw socket forwarding - removed all audio-related configs from gui-vm/cosmic - removed ghaf-audio namespace - removed ghaf audio control tool, replaced by pavucontrol - re-enabled all sound-related settings in cosmic DE Signed-off-by: Kajus Naujokaitis <[email protected]>
ba84a7b to
670b867
Compare
|
TL;DR: all good ✅ Tested on Darter Pro (new installation)
Tested on Lenovo X1 (new installation)
There are failures in the |
brianmcgillion
approved these changes
Jan 14, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supersedes #1652
Description of Changes
Changes
serverandclientconfigsserver:clientsclientscan optionally enable pw socket forwarding, which also needs to be enabled in theserverNew functionality
Topology:
graph TD %% Audio VM subgraph AudioVM["Audio VM"] subgraph PipeWire["PipeWire"] PWPulse1["PW Pulse server (restricted)"] PWPulse2["PW Pulse server (unrestricted)"] end end %% GUI VM subgraph GUIVM["GUI VM"] CosmicDE["System sounds"] Pavucontrol["pavucontrol"] CosmicSettings["Settings App"] end %% Other VMs subgraph VM1["Comms VM"] Slack["Slack"] end subgraph VM2["Chrome VM"] Chrome["Chrome"] end %% Connections %% GUI VM audio (unrestricted) CosmicDE -->|"PULSE_SERVER"| PWPulse2 Pavucontrol -->|"PULSE_SERVER"| PWPulse2 %% GUI VM control (PipeWire socket) CosmicSettings <-.->|"PipeWire socket (via givc)"| PipeWire %% Other VMs audio (restricted) Slack -->|"PULSE_SERVER"| PWPulse1 Chrome -->|"PULSE_SERVER"| PWPulse1Known Issues
This can still be done manually via Cosmic Settings -> Sound -> Device Profiles
cosmic-settings-daemonorcosmic-osdto spike to 100% CPU usage.Upstream bug.
cosmic-osdwill be re-started automatically if this happens, butcosmic-settings-daemonwill not.Type of Change
Related Issues / Tickets
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
cosmic-applet-audioapplet andcosmic-settingshtopand observe CPU usagecosmic-settings-daemon, which cannot be restarted))ghaf-screen-recordor the keyboard shortcut (SHIFT+ALT+CTRL+R)