Skip to content

audio: support Ubuntu desktop PipeWire playback - #556

Open
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:feature/audio-playback-ubuntu-control-plane
Open

audio: support Ubuntu desktop PipeWire playback#556
Srikanth Muppandam (smuppand) wants to merge 2 commits into
qualcomm-linux:mainfrom
smuppand:feature/audio-playback-ubuntu-control-plane

Conversation

@smuppand

Copy link
Copy Markdown
Contributor

Fix root-launched AudioPlayback on Ubuntu desktop images and improve speaker routing.

  • Run PipeWire and PulseAudio control commands in the active regular-user desktop session.
  • Add Ubuntu Audio package profiles:
    • server: alsa-utils
    • desktop: PipeWire, PipeWire-Pulse, WirePlumber, and playback/control clients
  • Support AUDIO_PACKAGE_PROFILE=auto|server|desktop.
  • Support intentional package updates through AUDIO_PACKAGE_UPDATE=1.
  • Prefer speaker sinks over headphone sinks for --sink speakers.
  • Load snd-soc-wcd938x only when the running kernel provides it.
  • Document Ubuntu provisioning and usage examples.

Install the missing ALSA or desktop PipeWire stack through the shared package provider, based on the active graphical target. Allow an explicit profile and an intentional package upgrade while leaving Yocto and Debian behavior unchanged.

Run root-launched Ubuntu playback commands in the active regular-user audio session, select speakers before headphones, and load the WCD938x codec module only when the running kernel provides it.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Root-launched AudioPlayback previously queried an empty root PipeWire runtime and skipped despite a healthy desktop audio session. Enable the shared desktop-session path on Ubuntu and document package profiles, update control, and speaker routing.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant