Comment 0 for bug 2033189

Revision history for this message
JPT (j-p-t) wrote :

The audio stack has a malfunction somewhere that makes all audio devices disappear in KDE.
They are available some layers deeper though.

If I start pavucontrol, there are no devices, if I use aplay they are available.

Pipewire and wireplumber show a problem with xdg-desktop-portal but I am not sure if this is related.
I tried restarting several services until they did not show errors any more. this did not help.

There is a message from wireplumber regarding libcamera. I was experimenting with libcamera in order to develop for the raspberry pi platform, but cameras where incompatible with rasberry code.

thank you very much

$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04

KDE 5.104.0
QT 5.15.8
pavucontrol 5.0-2
alsa-utils/lunar,now 1.2.8-1ubuntu1
inxi/lunar,lunar,now 3.3.25-1-1
pipewire-pulse/lunar,now 0.3.65-3
wireplumber/lunar,now 0.4.13-1
xdg-desktop-portal/lunar,now 1.16.0-2ubuntu1

$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC1220 Analog [ALC1220 Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 1: ALC1220 Digital [ALC1220 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 3: HDMI 0 [PHILIPS FTV]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: PCH [HDA Intel PCH], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

$inxi -SMA
System:
  Host: JPT Kernel: 6.2.0-26-generic arch: x86_64 bits: 64 Desktop: KDE Plasma
    v: 5.27.4 Distro: Ubuntu 23.04 (Lunar Lobster)
Machine:
  Type: Desktop Mobo: Micro-Star model: B360 GAMING PRO CARBON (MS-7B16)
    v: 1.0 serial: <superuser required> UEFI: American Megatrends v: 2.D0
    date: 11/03/2022
Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  Sound API: ALSA v: k6.2.0-26-generic running: yes
  Sound Server-1: PipeWire v: 0.3.65 running: yes

$ pactl info
Server-Zeichenkette: /run/user/1000/pulse/native
Bibliotheks-Protokollversion: 35
Server-Protokollversion: 35
ist lokal: ja
Client-Index: 961
Tile-Größe: 65472
Name des Benutzers: jan
Rechnername: JPT
Name des Servers: PulseAudio (on PipeWire 0.3.65)
Version des Servers: 15.0.0
Standard-Abtastwert-Angabe: float32le 2ch 48000Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: auto_null
Standard-Quelle: auto_null.monitor

$ systemctl --user status pipewire.service
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Mon 2023-08-21 17:16:19 CEST; 55s ago
TriggeredBy: ● pipewire.socket
   Main PID: 1511 (pipewire)
      Tasks: 2 (limit: 18884)
     Memory: 5.6M
        CPU: 86ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1511 /usr/bin/pipewire

Aug 21 17:16:19 JPT systemd[1497]: Started pipewire.service - PipeWire Multimedia Service.
Aug 21 17:16:19 JPT pipewire[1511]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Aug 21 17:16:19 JPT pipewire[1511]: mod.rt: found session bus but no portal

$ dmesg
[ 5.666240] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 5.666407] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 5.698147] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[ 5.698152] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.698154] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 5.698156] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 5.698157] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 5.698158] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 5.698159] snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19
[ 5.698160] snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18
[ 5.698162] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
[ 5.743044] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input9
[ 5.743084] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input10
[ 5.743116] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
[ 5.743147] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[ 5.743180] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[ 5.743207] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[ 5.743234] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[ 5.743261] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[ 5.743291] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[ 5.743322] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18

$ systemctl --user status wireplumber.service
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Mon 2023-08-21 17:29:50 CEST; 4h 12min ago
   Main PID: 6651 (wireplumber)
      Tasks: 5 (limit: 18884)
     Memory: 5.1M
        CPU: 28.637s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─6651 /usr/bin/wireplumber

Aug 21 17:29:50 JPT systemd[1497]: Started wireplumber.service - Multimedia Service Session Manager.
Aug 21 17:29:50 JPT wireplumber[6651]: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Aug 21 17:29:50 JPT wireplumber[6651]: found session bus but no portal
Aug 21 17:29:50 JPT wireplumber[6651]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Aug 21 17:29:50 JPT wireplumber[6651]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
Aug 21 17:29:50 JPT wireplumber[6651]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

$ systemctl --user status xdg-desktop-portal
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Tue 2023-08-22 10:40:39 CEST; 5 days ago
   Main PID: 2394 (xdg-desktop-por)
      Tasks: 7 (limit: 18884)
     Memory: 3.7M
        CPU: 2.530s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─2394 /usr/libexec/xdg-desktop-portal

Aug 22 10:40:38 JPT systemd[1526]: Starting xdg-desktop-portal.service - Portal service...
Aug 22 10:40:39 JPT systemd[1526]: Started xdg-desktop-portal.service - Portal service.
Aug 24 14:17:03 JPT xdg-desktop-por[2394]: A backend call failed: No such method 'CreateMonitor' in interface 'org.freedesktop.impl.portal.Inhibit' at object path '/org/freedesktop/portal/desktop' (signature 'ooss')
Aug 24 14:17:03 JPT xdg-desktop-por[2394]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_109/tdesktop1267804055'

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: pavucontrol 5.0-2
ProcVersionSignature: Ubuntu 6.2.0-27.28-generic 6.2.15
Uname: Linux 6.2.0-27-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sun Aug 27 13:31:19 2023
SourcePackage: pavucontrol
UpgradeStatus: Upgraded to lunar on 2023-04-28 (120 days ago)