都要提交
This commit is contained in:
724
_logs/kaisa-audio-doctor_20260408_225312.log
Normal file
724
_logs/kaisa-audio-doctor_20260408_225312.log
Normal file
@@ -0,0 +1,724 @@
|
||||
|
||||
================================================================================
|
||||
Kaisa audio doctor (sof-rt5682) — report: ./_logs/kaisa-audio-doctor_20260408_225312.log
|
||||
|
||||
================================================================================
|
||||
|
||||
$ uname -a
|
||||
Linux ubuntu 6.17.0-14-generic #14~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 15 15:52:10 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
|
||||
|
||||
$ date
|
||||
Wed Apr 8 22:53:12 UTC 2026
|
||||
|
||||
$ id
|
||||
uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),100(users),114(lpadmin),124(sambashare)
|
||||
|
||||
================================================================================
|
||||
Session sanity (THIS OFTEN EXPLAINS 'no sound')
|
||||
|
||||
================================================================================
|
||||
|
||||
If you run this as root / without a logged-in desktop session:
|
||||
- systemctl --user will be offline
|
||||
- /run/user/$UID may not exist
|
||||
- PipeWire/WirePlumber won't be running
|
||||
- ALSA may show 'no soundcards found'
|
||||
|
||||
Current:
|
||||
|
||||
$ bash -lc echo "USER=$USER UID=$UID HOME=$HOME XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR-}"
|
||||
USER=ubuntu UID=1000 HOME=/home/ubuntu XDG_RUNTIME_DIR=/run/user/1000
|
||||
|
||||
$ bash -lc if [ -n "${XDG_RUNTIME_DIR-}" ]; then ls -ld "${XDG_RUNTIME_DIR}" 2>/dev/null || true; else echo "XDG_RUNTIME_DIR is empty"; fi
|
||||
drwx------ 19 ubuntu ubuntu 580 Apr 8 22:52 /run/user/1000
|
||||
|
||||
$ bash -lc test -S "${XDG_RUNTIME_DIR-}/pipewire-0" && echo "pipewire socket: OK" || echo "pipewire socket: MISSING"
|
||||
pipewire socket: OK
|
||||
|
||||
$ bash -lc test -S "${XDG_RUNTIME_DIR-}/pulse/native" && echo "pulse native socket: OK" || echo "pulse native socket: MISSING"
|
||||
pulse native socket: OK
|
||||
|
||||
|
||||
================================================================================
|
||||
FIX mode (best-effort recovery)
|
||||
|
||||
================================================================================
|
||||
|
||||
[NOTE] Restarting user audio services
|
||||
|
||||
$ systemctl --user restart pipewire pipewire-pulse wireplumber
|
||||
|
||||
$ sleep 2
|
||||
|
||||
[NOTE] Forcing profile to HiFi on card: alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def
|
||||
|
||||
$ pactl set-card-profile alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def HiFi
|
||||
Failure: No such entity
|
||||
|
||||
$ sleep 1
|
||||
|
||||
[NOTE] Detected available pcm (from port availability): 0 (preference: 3/4/2, fallback 0)
|
||||
|
||||
[NOTE] Trying fallback Analog (Port1) sink: alsa_output.pci-0000_00_1f.3-platform-cml_rt5682_def.HiFi__hw_sofrt5682_0__sink
|
||||
|
||||
$ pactl set-default-sink alsa_output.pci-0000_00_1f.3-platform-cml_rt5682_def.HiFi__hw_sofrt5682_0__sink
|
||||
Failure: No such entity
|
||||
|
||||
$ wpctl set-mute @DEFAULT_AUDIO_SINK@ 0
|
||||
|
||||
$ wpctl set-volume @DEFAULT_AUDIO_SINK@ 1.0
|
||||
|
||||
[NOTE] Quick playback test on pcm=0 (timeout -k 1s 5s)
|
||||
|
||||
[NOTE] Playback command returned success on pcm=0 (if still silent: check monitor input / EDID / volume)
|
||||
|
||||
================================================================================
|
||||
Versions (PipeWire / WirePlumber / ALSA utils)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ pipewire --version
|
||||
pipewire
|
||||
Compiled with libpipewire 1.0.5
|
||||
Linked with libpipewire 1.0.5
|
||||
|
||||
$ wireplumber --version
|
||||
wireplumber
|
||||
Compiled with libwireplumber 0.4.17
|
||||
Linked with libwireplumber 0.4.17
|
||||
|
||||
$ wpctl --version
|
||||
Error: Unknown option --version
|
||||
|
||||
Usage:
|
||||
wpctl [OPTION…] COMMAND [COMMAND_OPTIONS] - WirePlumber Control CLI
|
||||
|
||||
Commands:
|
||||
status
|
||||
get-volume ID
|
||||
inspect ID
|
||||
set-default ID
|
||||
set-volume ID VOL[%][-/+]
|
||||
set-mute ID 1|0|toggle
|
||||
set-profile ID INDEX
|
||||
clear-default [ID]
|
||||
|
||||
Help Options:
|
||||
-h, --help Show help options
|
||||
|
||||
Pass -h after a command to see command-specific options
|
||||
|
||||
|
||||
$ pactl --version
|
||||
pactl 16.1
|
||||
Compiled with libpulse 16.1.0
|
||||
Linked with libpulse 16.1.0
|
||||
|
||||
$ pw-play --version
|
||||
pw-play
|
||||
Compiled with libpipewire 1.0.5
|
||||
Linked with libpipewire 1.0.5
|
||||
|
||||
$ speaker-test --version
|
||||
speaker-test: unrecognized option '--version'
|
||||
Unknown option '?'
|
||||
|
||||
speaker-test 1.2.9
|
||||
|
||||
|
||||
$ alsaucm --version
|
||||
alsaucm: version 1.2.9
|
||||
|
||||
$ amixer --version
|
||||
amixer version 1.2.9
|
||||
|
||||
$ aplay --version
|
||||
aplay: version 1.2.9 by Jaroslav Kysela <perex@perex.cz>
|
||||
|
||||
================================================================================
|
||||
User services status
|
||||
|
||||
================================================================================
|
||||
|
||||
$ systemctl --user is-system-running
|
||||
running
|
||||
|
||||
$ systemctl --user status pipewire pipewire-pulse wireplumber --no-pager
|
||||
● pipewire.service - PipeWire Multimedia Service
|
||||
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
|
||||
Active: active (running) since Wed 2026-04-08 22:53:13 UTC; 4s ago
|
||||
TriggeredBy: ● pipewire.socket
|
||||
Main PID: 9804 (pipewire)
|
||||
Tasks: 3 (limit: 38168)
|
||||
Memory: 5.3M (peak: 5.6M)
|
||||
CPU: 53ms
|
||||
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
|
||||
└─9804 /usr/bin/pipewire
|
||||
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:53:13 ubuntu pipewire[9804]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
|
||||
● pipewire-pulse.service - PipeWire PulseAudio
|
||||
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
|
||||
Active: active (running) since Wed 2026-04-08 22:53:13 UTC; 4s ago
|
||||
TriggeredBy: ● pipewire-pulse.socket
|
||||
Main PID: 9808 (pipewire-pulse)
|
||||
Tasks: 3 (limit: 38168)
|
||||
Memory: 2.8M (peak: 3.4M)
|
||||
CPU: 38ms
|
||||
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
|
||||
└─9808 /usr/bin/pipewire-pulse
|
||||
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
|
||||
● wireplumber.service - Multimedia Service Session Manager
|
||||
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
|
||||
Active: active (running) since Wed 2026-04-08 22:53:13 UTC; 4s ago
|
||||
Main PID: 9807 (wireplumber)
|
||||
Tasks: 7 (limit: 38168)
|
||||
Memory: 5.8M (peak: 6.1M)
|
||||
CPU: 137ms
|
||||
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
|
||||
└─9807 /usr/bin/wireplumber
|
||||
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: <WpPortalPermissionStorePlugin:0x5aafeda2a460> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: <WpSiAudioAdapter:0x5aafedcd4070> Object activation aborted: proxy destroyed
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: <WpSiAudioAdapter:0x5aafedcd4070> failed to activate item: Object activation aborted: proxy destroyed
|
||||
|
||||
$ systemctl --user status pipewire.socket wireplumber.socket --no-pager
|
||||
Unit wireplumber.socket could not be found.
|
||||
● pipewire.socket - PipeWire Multimedia System Sockets
|
||||
Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
|
||||
Active: active (running) since Fri 2026-02-13 01:01:27 UTC; 1 month 24 days ago
|
||||
Triggers: ● pipewire.service
|
||||
Listen: /run/user/1000/pipewire-0 (Stream)
|
||||
/run/user/1000/pipewire-0-manager (Stream)
|
||||
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket
|
||||
|
||||
Feb 13 01:01:27 ubuntu systemd[2363]: Listening on pipewire.socket - PipeWire Multimedia System Sockets.
|
||||
|
||||
================================================================================
|
||||
ALSA enumeration
|
||||
|
||||
================================================================================
|
||||
|
||||
$ aplay -l
|
||||
**** List of PLAYBACK Hardware Devices ****
|
||||
card 0: sofrt5682 [sof-rt5682], device 0: Port1 (*) []
|
||||
Subdevices: 0/1
|
||||
Subdevice #0: subdevice #0
|
||||
card 0: sofrt5682 [sof-rt5682], device 2: HDMI1 (*) []
|
||||
Subdevices: 1/1
|
||||
Subdevice #0: subdevice #0
|
||||
card 0: sofrt5682 [sof-rt5682], device 3: HDMI2 (*) []
|
||||
Subdevices: 1/1
|
||||
Subdevice #0: subdevice #0
|
||||
card 0: sofrt5682 [sof-rt5682], device 4: HDMI3 (*) []
|
||||
Subdevices: 1/1
|
||||
Subdevice #0: subdevice #0
|
||||
|
||||
================================================================================
|
||||
ALSA PCM list (check pipewire/default/pulse)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ aplay -L
|
||||
null
|
||||
Discard all samples (playback) or generate zero samples (capture)
|
||||
pipewire
|
||||
PipeWire Sound Server
|
||||
default
|
||||
Default ALSA Output (currently PipeWire Media Server)
|
||||
hw:CARD=sofrt5682,DEV=0
|
||||
sof-rt5682,
|
||||
Direct hardware device without any conversions
|
||||
hw:CARD=sofrt5682,DEV=2
|
||||
sof-rt5682,
|
||||
Direct hardware device without any conversions
|
||||
hw:CARD=sofrt5682,DEV=3
|
||||
sof-rt5682,
|
||||
Direct hardware device without any conversions
|
||||
hw:CARD=sofrt5682,DEV=4
|
||||
sof-rt5682,
|
||||
Direct hardware device without any conversions
|
||||
plughw:CARD=sofrt5682,DEV=0
|
||||
sof-rt5682,
|
||||
Hardware device with all software conversions
|
||||
plughw:CARD=sofrt5682,DEV=2
|
||||
sof-rt5682,
|
||||
Hardware device with all software conversions
|
||||
plughw:CARD=sofrt5682,DEV=3
|
||||
sof-rt5682,
|
||||
Hardware device with all software conversions
|
||||
plughw:CARD=sofrt5682,DEV=4
|
||||
sof-rt5682,
|
||||
Hardware device with all software conversions
|
||||
sysdefault:CARD=sofrt5682
|
||||
sof-rt5682,
|
||||
Default Audio Device
|
||||
dmix:CARD=sofrt5682,DEV=0
|
||||
sof-rt5682,
|
||||
Direct sample mixing device
|
||||
dmix:CARD=sofrt5682,DEV=2
|
||||
sof-rt5682,
|
||||
Direct sample mixing device
|
||||
dmix:CARD=sofrt5682,DEV=3
|
||||
sof-rt5682,
|
||||
Direct sample mixing device
|
||||
dmix:CARD=sofrt5682,DEV=4
|
||||
sof-rt5682,
|
||||
Direct sample mixing device
|
||||
|
||||
================================================================================
|
||||
UCM sanity
|
||||
|
||||
================================================================================
|
||||
|
||||
$ alsaucm -c sof-rt5682 list _verbs
|
||||
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import sof-rt5682 use case configuration -2
|
||||
alsaucm: error failed to open sound card sof-rt5682: No such file or directory
|
||||
|
||||
$ alsaucm -c sof-rt5682 list _devices
|
||||
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import sof-rt5682 use case configuration -2
|
||||
alsaucm: error failed to open sound card sof-rt5682: No such file or directory
|
||||
|
||||
================================================================================
|
||||
IEC958 switches (all 0/1/2)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ amixer -c0 sget IEC958,0
|
||||
Simple mixer control 'IEC958',0
|
||||
Capabilities: pswitch pswitch-joined
|
||||
Playback channels: Mono
|
||||
Mono: Playback [off]
|
||||
|
||||
$ amixer -c0 sget IEC958,1
|
||||
Simple mixer control 'IEC958',1
|
||||
Capabilities: pswitch pswitch-joined
|
||||
Playback channels: Mono
|
||||
Mono: Playback [on]
|
||||
|
||||
$ amixer -c0 sget IEC958,2
|
||||
Simple mixer control 'IEC958',2
|
||||
Capabilities: pswitch pswitch-joined
|
||||
Playback channels: Mono
|
||||
Mono: Playback [on]
|
||||
|
||||
================================================================================
|
||||
HDMI Jack states (on/off) + ELD controls
|
||||
|
||||
================================================================================
|
||||
|
||||
$ amixer -c0 cget numid=10
|
||||
numid=10,iface=CARD,name='HDMI/DP,pcm=2 Jack'
|
||||
; type=BOOLEAN,access=r-------,values=1
|
||||
: values=on
|
||||
|
||||
$ amixer -c0 cget numid=16
|
||||
numid=16,iface=CARD,name='HDMI/DP,pcm=3 Jack'
|
||||
; type=BOOLEAN,access=r-------,values=1
|
||||
: values=off
|
||||
|
||||
$ amixer -c0 cget numid=22
|
||||
numid=22,iface=CARD,name='HDMI/DP,pcm=4 Jack'
|
||||
; type=BOOLEAN,access=r-------,values=1
|
||||
: values=off
|
||||
|
||||
$ amixer -c0 cget numid=15
|
||||
numid=15,iface=PCM,name='ELD',device=2
|
||||
; type=BYTES,access=r--v----,values=36
|
||||
: values=0x10,0x00,0x08,0x00,0x6a,0x14,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x69,0xa7,0x27,0x41,0x53,0x55,0x53,0x20,0x4d,0x47,0x32,0x37,0x39,0x09,0x17,0x07,0x00,0x00,0x00
|
||||
|
||||
$ amixer -c0 cget numid=21
|
||||
numid=21,iface=PCM,name='ELD',device=3
|
||||
; type=BYTES,access=r--v----,values=0
|
||||
: values=
|
||||
|
||||
$ amixer -c0 cget numid=27
|
||||
numid=27,iface=PCM,name='ELD',device=4
|
||||
; type=BYTES,access=r--v----,values=0
|
||||
: values=
|
||||
|
||||
================================================================================
|
||||
Installed files (system paths)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ ls -l /usr/share/alsa/ucm2/conf.d/sof-rt5682/sof-rt5682.conf
|
||||
ls: cannot access '/usr/share/alsa/ucm2/conf.d/sof-rt5682/sof-rt5682.conf': No such file or directory
|
||||
|
||||
$ ls -l /usr/share/alsa/ucm2/GoogleKaisa/sof-rt5682/HiFi.conf
|
||||
ls: cannot access '/usr/share/alsa/ucm2/GoogleKaisa/sof-rt5682/HiFi.conf': No such file or directory
|
||||
|
||||
$ ls -l /usr/share/wireplumber/main.lua.d/60-kaisa-ucm.lua
|
||||
ls: cannot access '/usr/share/wireplumber/main.lua.d/60-kaisa-ucm.lua': No such file or directory
|
||||
|
||||
$ ls -l /usr/share/wireplumber/main.lua.d/60-kaisa-ucm.lua.disabled
|
||||
ls: cannot access '/usr/share/wireplumber/main.lua.d/60-kaisa-ucm.lua.disabled': No such file or directory
|
||||
|
||||
================================================================================
|
||||
Potential conflicting WirePlumber snippets (user/system)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ ls -la /home/ubuntu/.config/wireplumber/wireplumber.conf.d
|
||||
ls: cannot access '/home/ubuntu/.config/wireplumber/wireplumber.conf.d': No such file or directory
|
||||
|
||||
$ ls -la /home/ubuntu/.config/wireplumber/wireplumber.conf.d/*kaisa*
|
||||
|
||||
$ ls -la /etc/wireplumber/wireplumber.conf.d
|
||||
|
||||
$ ls -la /etc/wireplumber/wireplumber.conf.d/*kaisa*
|
||||
|
||||
================================================================================
|
||||
WirePlumber state (profile / nodes / routes)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ ls -la /home/ubuntu/.local/state/wireplumber
|
||||
total 8
|
||||
drwx------ 2 ubuntu ubuntu 80 Apr 8 22:53 .
|
||||
drwx------ 3 ubuntu ubuntu 60 Feb 13 01:01 ..
|
||||
-rw-rw-r-- 1 ubuntu ubuntu 458 Apr 8 22:53 default-routes
|
||||
-rw-rw-r-- 1 ubuntu ubuntu 1718 Apr 8 22:53 restore-stream
|
||||
|
||||
$ sed -n 1,200p /home/ubuntu/.local/state/wireplumber/default-profile
|
||||
sed: can't read /home/ubuntu/.local/state/wireplumber/default-profile: No such file or directory
|
||||
|
||||
$ sed -n 1,200p /home/ubuntu/.local/state/wireplumber/default-nodes
|
||||
sed: can't read /home/ubuntu/.local/state/wireplumber/default-nodes: No such file or directory
|
||||
|
||||
$ sed -n 1,200p /home/ubuntu/.local/state/wireplumber/default-routes
|
||||
[default-routes]
|
||||
alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def:output:analog-output-headphones:channelMap=FL;FR;
|
||||
alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def:output:analog-output-headphones:channelVolumes=1.0;1.0;
|
||||
alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def:output:analog-output-headphones:latencyOffsetNsec=0
|
||||
alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def:profile:output:stereo-fallback+input:stereo-fallback=analog-output-headphones;
|
||||
|
||||
================================================================================
|
||||
PipeWire card / profile / ports (focus: cml_rt5682_def)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ pactl list cards short
|
||||
46 alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def alsa
|
||||
Name: alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def
|
||||
Driver: alsa
|
||||
Owner Module: n/a
|
||||
Properties:
|
||||
api.acp.auto-port = "false"
|
||||
api.acp.auto-profile = "false"
|
||||
api.alsa.card = "0"
|
||||
api.alsa.card.longname = "Google-Kaisa-rev4"
|
||||
api.alsa.card.name = "sof-rt5682"
|
||||
api.alsa.path = "hw:0"
|
||||
api.alsa.use-acp = "true"
|
||||
api.dbus.ReserveDevice1 = "Audio0"
|
||||
device.api = "alsa"
|
||||
device.bus = "pci"
|
||||
device.bus_path = "pci-0000:00:1f.3-platform-cml_rt5682_def"
|
||||
device.description = "Comet Lake PCH-LP cAVS"
|
||||
device.enum.api = "udev"
|
||||
device.icon_name = "audio-card-analog-pci"
|
||||
device.name = "alsa_card.pci-0000_00_1f.3-platform-cml_rt5682_def"
|
||||
device.nick = "sof-rt5682"
|
||||
device.plugged.usec = "8871466"
|
||||
device.product.id = "0x02c8"
|
||||
device.product.name = "Comet Lake PCH-LP cAVS"
|
||||
device.subsystem = "sound"
|
||||
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/cml_rt5682_def/sound/card0"
|
||||
device.vendor.id = "0x8086"
|
||||
device.vendor.name = "Intel Corporation"
|
||||
media.class = "Audio/Device"
|
||||
factory.id = "14"
|
||||
client.id = "39"
|
||||
object.id = "46"
|
||||
object.serial = "46"
|
||||
object.path = "alsa:pcm:0"
|
||||
alsa.card = "0"
|
||||
alsa.card_name = "sof-rt5682"
|
||||
alsa.long_card_name = "Google-Kaisa-rev4"
|
||||
alsa.driver_name = "snd_soc_sof_rt5682"
|
||||
alsa.mixer_name = "Intel Kabylake HDMI"
|
||||
alsa.components = "HDA:8086280b,80860101,00100000"
|
||||
alsa.id = "sofrt5682"
|
||||
device.string = "0"
|
||||
Profiles:
|
||||
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
|
||||
output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (sinks: 1, sources: 1, priority: 5151, available: yes)
|
||||
output:stereo-fallback: Stereo Output (sinks: 1, sources: 0, priority: 5100, available: yes)
|
||||
input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: no)
|
||||
pro-audio: Pro Audio (sinks: 4, sources: 3, priority: 1, available: yes)
|
||||
Active Profile: output:stereo-fallback+input:stereo-fallback
|
||||
Ports:
|
||||
analog-input-headset-mic: Headset Microphone (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 1, not available)
|
||||
Properties:
|
||||
port.type = "headset"
|
||||
port.availability-group = "Legacy 1"
|
||||
device.icon_name = "audio-input-microphone"
|
||||
card.profile.port = "0"
|
||||
Part of profile(s): input:stereo-fallback, output:stereo-fallback+input:stereo-fallback
|
||||
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
|
||||
Properties:
|
||||
port.type = "headphones"
|
||||
port.availability-group = "Legacy 1"
|
||||
device.icon_name = "audio-headphones"
|
||||
card.profile.port = "1"
|
||||
Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback
|
||||
|
||||
================================================================================
|
||||
Sinks (PipeWire) + default sink
|
||||
|
||||
================================================================================
|
||||
|
||||
$ pactl info
|
||||
Server String: /run/user/1000/pulse/native
|
||||
Library Protocol Version: 35
|
||||
Server Protocol Version: 35
|
||||
Is Local: yes
|
||||
Client Index: 73
|
||||
Tile Size: 65472
|
||||
User Name: ubuntu
|
||||
Host Name: ubuntu
|
||||
Server Name: PulseAudio (on PipeWire 1.0.5)
|
||||
Server Version: 15.0.0
|
||||
Default Sample Specification: float32le 2ch 48000Hz
|
||||
Default Channel Map: front-left,front-right
|
||||
Default Sink: alsa_output.pci-0000_00_1f.3-platform-cml_rt5682_def.stereo-fallback
|
||||
Default Source: alsa_output.pci-0000_00_1f.3-platform-cml_rt5682_def.stereo-fallback.monitor
|
||||
Cookie: c232:378a
|
||||
|
||||
$ pactl list short sinks
|
||||
51 alsa_output.pci-0000_00_1f.3-platform-cml_rt5682_def.stereo-fallback PipeWire s24-32le 2ch 48000Hz IDLE
|
||||
|
||||
$ wpctl status
|
||||
PipeWire 'pipewire-0' [1.0.5, ubuntu@ubuntu, cookie:3258070922]
|
||||
└─ Clients:
|
||||
32. xdg-desktop-portal [1.0.5, ubuntu@ubuntu, pid:3254]
|
||||
33. pipewire [1.0.5, ubuntu@ubuntu, pid:9808]
|
||||
35. gjs [1.0.5, ubuntu@ubuntu, pid:5336]
|
||||
36. Terminal [1.0.5, ubuntu@ubuntu, pid:5750]
|
||||
37. Mutter [1.0.5, ubuntu@ubuntu, pid:2663]
|
||||
38. WirePlumber [1.0.5, ubuntu@ubuntu, pid:9807]
|
||||
39. WirePlumber [export] [1.0.5, ubuntu@ubuntu, pid:9807]
|
||||
54. wpctl [1.0.5, ubuntu@ubuntu, pid:9924]
|
||||
|
||||
Audio
|
||||
├─ Devices:
|
||||
│ 46. Comet Lake PCH-LP cAVS [alsa]
|
||||
│
|
||||
├─ Sinks:
|
||||
│ * 51. Comet Lake PCH-LP cAVS Stereo [vol: 1.00]
|
||||
│
|
||||
├─ Sink endpoints:
|
||||
│
|
||||
├─ Sources:
|
||||
│ 52. Comet Lake PCH-LP cAVS Stereo [vol: 1.00]
|
||||
│
|
||||
├─ Source endpoints:
|
||||
│
|
||||
└─ Streams:
|
||||
|
||||
Video
|
||||
├─ Devices:
|
||||
│
|
||||
├─ Sinks:
|
||||
│
|
||||
├─ Sink endpoints:
|
||||
│
|
||||
├─ Sources:
|
||||
│
|
||||
├─ Source endpoints:
|
||||
│
|
||||
└─ Streams:
|
||||
|
||||
Settings
|
||||
└─ Default Configured Node Names:
|
||||
|
||||
================================================================================
|
||||
Quick playback tests (non-destructive)
|
||||
|
||||
================================================================================
|
||||
|
||||
Note: if ALSA 'pulse' PCM is missing, do NOT use: speaker-test -D pulse
|
||||
Try these instead (they use PipeWire):
|
||||
|
||||
Tip: these are wrapped with a short timeout to avoid hanging.
|
||||
(uses: timeout -k 1s 5s ... -> TERM then KILL)
|
||||
|
||||
$ timeout -k 1s 5s speaker-test -D pipewire -c2 -t sine -f 440 -l 1
|
||||
|
||||
speaker-test 1.2.9
|
||||
|
||||
Playback device is pipewire
|
||||
Stream parameters are 48000Hz, S16_LE, 2 channels
|
||||
Sine wave rate is 440.0000Hz
|
||||
Rate set to 48000Hz (requested 48000Hz)
|
||||
Buffer size range from 64 to 1048576
|
||||
Period size range from 32 to 524288
|
||||
Using max buffer size 1048576
|
||||
Periods = 4
|
||||
was set period_size = 262144
|
||||
was set buffer_size = 1048576
|
||||
0 - Front Left
|
||||
1 - Front Right
|
||||
Time per period = 5.549598
|
||||
|
||||
$ timeout -k 1s 5s speaker-test -D default -c2 -t sine -f 440 -l 1
|
||||
|
||||
speaker-test 1.2.9
|
||||
|
||||
Playback device is default
|
||||
Stream parameters are 48000Hz, S16_LE, 2 channels
|
||||
Sine wave rate is 440.0000Hz
|
||||
Rate set to 48000Hz (requested 48000Hz)
|
||||
Buffer size range from 64 to 1048576
|
||||
Period size range from 32 to 524288
|
||||
Using max buffer size 1048576
|
||||
Periods = 4
|
||||
was set period_size = 262144
|
||||
was set buffer_size = 1048576
|
||||
0 - Front Left
|
||||
1 - Front Right
|
||||
Time per period = 5.503849
|
||||
|
||||
$ timeout -k 1s 5s pw-play /usr/share/sounds/alsa/Front_Center.wav
|
||||
|
||||
$ timeout -k 1s 5s paplay /usr/share/sounds/alsa/Front_Center.wav
|
||||
|
||||
================================================================================
|
||||
Recent logs (journalctl --user, current boot)
|
||||
|
||||
================================================================================
|
||||
|
||||
$ journalctl --user -u wireplumber -b --no-pager -n 200
|
||||
Feb 13 01:01:27 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Feb 13 01:01:27 ubuntu wireplumber[2377]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Feb 13 01:01:27 ubuntu wireplumber[2377]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Feb 13 01:01:28 ubuntu wireplumber[2377]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
|
||||
Feb 13 01:22:05 ubuntu wireplumber[2377]: stopped by signal: Terminated
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Stopping wireplumber.service - Multimedia Service Session Manager...
|
||||
Feb 13 01:22:05 ubuntu wireplumber[2377]: disconnected from pipewire
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Stopped wireplumber.service - Multimedia Service Session Manager.
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Feb 13 01:22:05 ubuntu wireplumber[5820]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Feb 13 01:22:05 ubuntu wireplumber[5820]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Feb 13 01:22:05 ubuntu wireplumber[5820]: <WpPortalPermissionStorePlugin:0x576ce1c6ccb0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Feb 13 01:22:05 ubuntu wireplumber[5820]: <WpSiAudioAdapter:0x576ce1f1a460> Object activation aborted: proxy destroyed
|
||||
Feb 13 01:22:05 ubuntu wireplumber[5820]: <WpSiAudioAdapter:0x576ce1f1a460> failed to activate item: Object activation aborted: proxy destroyed
|
||||
Feb 13 01:22:20 ubuntu wireplumber[5820]: stopped by signal: Terminated
|
||||
Feb 13 01:22:20 ubuntu systemd[2363]: Stopping wireplumber.service - Multimedia Service Session Manager...
|
||||
Feb 13 01:22:20 ubuntu wireplumber[5820]: disconnected from pipewire
|
||||
Feb 13 01:22:20 ubuntu systemd[2363]: Stopped wireplumber.service - Multimedia Service Session Manager.
|
||||
Feb 13 01:22:21 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Feb 13 01:22:21 ubuntu wireplumber[6045]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Feb 13 01:22:21 ubuntu wireplumber[6045]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Feb 13 01:22:21 ubuntu wireplumber[6045]: <WpPortalPermissionStorePlugin:0x574d7c01e000> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Feb 13 01:22:21 ubuntu wireplumber[6045]: <WpSiAudioAdapter:0x574d7c2cd7b0> Object activation aborted: proxy destroyed
|
||||
Feb 13 01:22:21 ubuntu wireplumber[6045]: <WpSiAudioAdapter:0x574d7c2cd7b0> failed to activate item: Object activation aborted: proxy destroyed
|
||||
Apr 08 22:49:42 ubuntu wireplumber[6045]: stopped by signal: Terminated
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Stopping wireplumber.service - Multimedia Service Session Manager...
|
||||
Apr 08 22:49:42 ubuntu wireplumber[6045]: disconnected from pipewire
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Stopped wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:49:42 ubuntu wireplumber[7403]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Apr 08 22:49:42 ubuntu wireplumber[7403]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Apr 08 22:49:43 ubuntu wireplumber[7403]: <WpPortalPermissionStorePlugin:0x5d8b71fc4780> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Apr 08 22:49:43 ubuntu wireplumber[7403]: <WpSiAudioAdapter:0x5d8b722a3410> Object activation aborted: proxy destroyed
|
||||
Apr 08 22:49:43 ubuntu wireplumber[7403]: <WpSiAudioAdapter:0x5d8b722a3410> failed to activate item: Object activation aborted: proxy destroyed
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Stopping wireplumber.service - Multimedia Service Session Manager...
|
||||
Apr 08 22:49:57 ubuntu wireplumber[7403]: stopped by signal: Terminated
|
||||
Apr 08 22:49:57 ubuntu wireplumber[7403]: disconnected from pipewire
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Stopped wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:49:58 ubuntu wireplumber[7582]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Apr 08 22:49:58 ubuntu wireplumber[7582]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Apr 08 22:49:58 ubuntu wireplumber[7582]: <WpPortalPermissionStorePlugin:0x579ee9c39240> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Apr 08 22:52:56 ubuntu wireplumber[7582]: stopped by signal: Terminated
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Stopping wireplumber.service - Multimedia Service Session Manager...
|
||||
Apr 08 22:52:56 ubuntu wireplumber[7582]: disconnected from pipewire
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Stopped wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:52:56 ubuntu wireplumber[9622]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Apr 08 22:52:56 ubuntu wireplumber[9622]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Apr 08 22:52:56 ubuntu wireplumber[9622]: <WpPortalPermissionStorePlugin:0x63781e342ff0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Apr 08 22:52:56 ubuntu wireplumber[9622]: <WpSiAudioAdapter:0x63781e5f5d10> Object activation aborted: proxy destroyed
|
||||
Apr 08 22:52:56 ubuntu wireplumber[9622]: <WpSiAudioAdapter:0x63781e5f5d10> failed to activate item: Object activation aborted: proxy destroyed
|
||||
Apr 08 22:53:12 ubuntu wireplumber[9622]: stopped by signal: Terminated
|
||||
Apr 08 22:53:12 ubuntu systemd[2363]: Stopping wireplumber.service - Multimedia Service Session Manager...
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9622]: disconnected from pipewire
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Stopped wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Started wireplumber.service - Multimedia Service Session Manager.
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: <WpPortalPermissionStorePlugin:0x5aafeda2a460> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: <WpSiAudioAdapter:0x5aafedcd4070> Object activation aborted: proxy destroyed
|
||||
Apr 08 22:53:13 ubuntu wireplumber[9807]: <WpSiAudioAdapter:0x5aafedcd4070> failed to activate item: Object activation aborted: proxy destroyed
|
||||
|
||||
$ journalctl --user -u pipewire -b --no-pager -n 200
|
||||
Feb 13 01:01:27 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Feb 13 01:01:27 ubuntu pipewire[2375]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Stopping pipewire.service - PipeWire Multimedia Service...
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Stopped pipewire.service - PipeWire Multimedia Service.
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Feb 13 01:22:05 ubuntu pipewire[5817]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
Feb 13 01:22:20 ubuntu systemd[2363]: Stopping pipewire.service - PipeWire Multimedia Service...
|
||||
Feb 13 01:22:21 ubuntu systemd[2363]: Stopped pipewire.service - PipeWire Multimedia Service.
|
||||
Feb 13 01:22:21 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Feb 13 01:22:21 ubuntu pipewire[6043]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Stopping pipewire.service - PipeWire Multimedia Service...
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Stopped pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:49:42 ubuntu pipewire[7401]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Stopping pipewire.service - PipeWire Multimedia Service...
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Stopped pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:49:58 ubuntu pipewire[7580]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Stopping pipewire.service - PipeWire Multimedia Service...
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Stopped pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: pipewire.service: Consumed 1.396s CPU time, 6.6M memory peak, 0B memory swap peak.
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:52:56 ubuntu pipewire[9620]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Stopping pipewire.service - PipeWire Multimedia Service...
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Stopped pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Started pipewire.service - PipeWire Multimedia Service.
|
||||
Apr 08 22:53:13 ubuntu pipewire[9804]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
|
||||
|
||||
$ journalctl --user -u pipewire-pulse -b --no-pager -n 200
|
||||
Feb 13 01:01:27 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Feb 13 01:22:05 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Feb 13 01:22:20 ubuntu systemd[2363]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
|
||||
Feb 13 01:22:20 ubuntu systemd[2363]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Feb 13 01:22:21 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:49:42 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:49:57 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:52:56 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:53:12 ubuntu systemd[2363]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
|
||||
Apr 08 22:53:13 ubuntu systemd[2363]: Started pipewire-pulse.service - PipeWire PulseAudio.
|
||||
|
||||
================================================================================
|
||||
Hints
|
||||
|
||||
================================================================================
|
||||
- If HDMI ports show "not available", verify cable/monitor input/EDID and re-plug.
|
||||
- If profile keeps reverting after reboot, compare:
|
||||
- ~/.local/state/wireplumber/default-profile
|
||||
- /usr/share/wireplumber/main.lua.d/60-kaisa-ucm.lua (device.profile)
|
||||
- any *kaisa* snippets under ~/.config/wireplumber/ or /etc/wireplumber/
|
||||
- If set_hw_params errors appear in logs for a given pcm (2/3/4), test only ONE HDMI at a time and switch sink accordingly.
|
||||
|
||||
================================================================================
|
||||
Done. Report saved to: ./_logs/kaisa-audio-doctor_20260408_225312.log
|
||||
Reference in New Issue
Block a user