SvenKiljan / archlinuxarm-pbp

Arch Linux ARM for Pinebook Pro
51 stars 5 forks source link

No sound output with Pipewire + Wireplumber #20

Open BenKing6 opened 1 year ago

BenKing6 commented 1 year ago

Sorry if this is the wrong place to ask about this, I've been banging my head on this problem for a while.

On arch I can't get any sound out my Pinebook Pro speakers or headphone jack when using pipewire pipewire-pulse pipewire-alsa wireplumber. Everything seems to be as expected when I check using pavucontrol, but no sound comes out. This behaviour is the same when I replace wireplumber with the deprecated pipewire-media-session.

When running Armbian via SD card I can get audio output using pipewire-media-session but not wireplumber

Output from wpctl status:

PipeWire 'pipewire-0' [0.3.67, ben@Bens-PinebookPro, cookie:427670435]
 └─ Clients:
        31. pipewire                            [0.3.67, ben@Bens-PinebookPro, pid:986]
        32. WirePlumber                         [0.3.67, ben@Bens-PinebookPro, pid:985]
        33. WirePlumber [export]                [0.3.67, ben@Bens-PinebookPro, pid:985]
        59. xdg-desktop-portal                  [0.3.67, ben@Bens-PinebookPro, pid:1118]
        60. waybar                              [0.3.67, ben@Bens-PinebookPro, pid:1048]
        61. Firefox                             [0.3.67, ben@Bens-PinebookPro, pid:1297]
        63. wpctl                               [0.3.67, ben@Bens-PinebookPro, pid:2666]

Audio
 ├─ Devices:
 │      47. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │  *   56. Built-in Audio Headphones + Speaker [vol: 0.74]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   57. Built-in Audio Internal Microphone  [vol: 0.74]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      40. USB Camera: USB Camera              [libcamera]
 │      41. USB Camera                          [v4l2]
 │      42. USB Camera                          [v4l2]
 │      43. rockchip,rk3399-vpu-enc             [v4l2]
 │      44. rockchip,rk3399-vpu-dec             [v4l2]
 │      45. rkvdec                              [v4l2]
 │      46. rockchip-rga                        [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │      48. USB Camera  USB Camera             
 │  *   50. USB Camera (V4L2)                  
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    alsa_output.platform-es8316-sound.HiFi__hw_rockchipes8316c__sink
         1. Audio/Source  alsa_input.platform-es8316-sound.HiFi__hw_rockchipes8316c__source

Output from systemctl --user status pipewire pipewire-pulse wireplumber:

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-03-24 14:08:47 GMT; 14min ago
TriggeredBy: ● pipewire.socket
   Main PID: 984 (pipewire)
      Tasks: 3 (limit: 4313)
     Memory: 6.1M
        CPU: 6.066s
     CGroup: /user.slice/user-1001.slice/user@1001.service/session.slice/pipewire.service
             └─984 /usr/bin/pipewire

Mar 24 14:08:47 Bens-PinebookPro systemd[976]: Started PipeWire Multimedia Service.
Mar 24 14:08:47 Bens-PinebookPro pipewire[984]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mar 24 14:08:47 Bens-PinebookPro pipewire[984]: mod.rt: found session bus but no portal
Mar 24 14:08:48 Bens-PinebookPro pipewire[984]: [0:00:45.112115271] [984]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-03-24 14:08:47 GMT; 14min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 986 (pipewire-pulse)
      Tasks: 2 (limit: 4313)
     Memory: 16.9M
        CPU: 8.719s
     CGroup: /user.slice/user-1001.slice/user@1001.service/session.slice/pipewire-pulse.service
             └─986 /usr/bin/pipewire-pulse

Mar 24 14:08:47 Bens-PinebookPro systemd[976]: Started PipeWire PulseAudio.
Mar 24 14:08:47 Bens-PinebookPro pipewire-pulse[986]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mar 24 14:08:47 Bens-PinebookPro pipewire-pulse[986]: mod.rt: found session bus but no portal

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-03-24 14:08:47 GMT; 14min ago
   Main PID: 985 (wireplumber)
      Tasks: 6 (limit: 4313)
     Memory: 5.5M
        CPU: 5.266s
     CGroup: /user.slice/user-1001.slice/user@1001.service/session.slice/wireplumber.service
             └─985 /usr/bin/wireplumber

Mar 24 14:08:47 Bens-PinebookPro systemd[976]: Started Multimedia Service Session Manager.
Mar 24 14:08:47 Bens-PinebookPro wireplumber[985]: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mar 24 14:08:47 Bens-PinebookPro wireplumber[985]: found session bus but no portal
Mar 24 14:08:48 Bens-PinebookPro wireplumber[985]: [0:00:44.784776273] [985]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4
Mar 24 14:08:49 Bens-PinebookPro wireplumber[985]: <WpPortalPermissionStorePlugin:0xaaaac3c21440> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Mar 24 14:08:49 Bens-PinebookPro wireplumber[985]: <WpPortalPermissionStorePlugin:0xaaaac3c21440> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Mar 24 14:09:40 Bens-PinebookPro wireplumber[985]: <WpSiStandardLink:0xaaaac3e5a770> 2 of 2 PipeWire links failed to activate