this post was submitted on 19 Sep 2023
28 points (93.8% liked)

Linux

47237 readers
3343 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

hi folks!

Update: I got pipewire working now. This is what helped me:

sudo apt install pipewire-audio-client-libraries libspa-0.2-bluetooth libspa-0.2-jack
systemctl --user mask pulseaudio
systemctl --user --now enable pipewire{,-pulse}.{socket,service}

Now it is an audacity issue. Will make another thread for that.

The System

Processor 10920x, 32GB Ram, 3060ti, zoom u-22 DAC, Stream Deck, Logitech camera

The OS

Ubuntu 23.04 upgraded from 22.10 (yesterday)

TL;DR

I reactivated pulseaudio, disabling pipewire, now trying to revert without having to reinstall from scratch.

The Situation

I am currently working on my first linux daily driver. Hardware arrived yesterday. The pc has been in use for couple months but not as daily since the gpu was only a stand in.

It was running quite a rough config, ubuntu 22.10 with a pulse audio mod (disabled pipewire so I could hear sound when RDPing in).

I now reverted those changes with a guide (because my microphone would not be picked up by audacity) but it promptly destroyed my Desktop gui. I reinstalled ubuntu-desktop and the gui works again now.

But after disabling pulse and reenabling pipewire, I don't get any sound output at all. pipewire status gives me the following output:

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Tue 2023-09-19 10:17:16 CEST; 5min ago
TriggeredBy: ● pipewire.socket
   Main PID: 3211 (pipewire)
      Tasks: 2 (limit: 38029)
     Memory: 4.1M
        CPU: 122ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
             └─3211 /usr/bin/pipewire

Sep 19 10:17:16  systemd[3204]: Started pipewire.service - PipeWire Multimedia Service.
Sep 19 10:17:16  pipewire[3211]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Sep 19 10:17:16  pipewire[3211]: mod.rt: found session bus but no portal

Update

I have tried to re/install pipewire, xdg-desktop-portal, xdg-desktop-portal-gnome, all without change.

Important: I'm using x11, not wayland as nvidia drivers don't seem to support wayland.

Thank you for reading. Have a good one! :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

Thanks for answering! I'm banging my head against this proverbial wall for hours.

Here's the output of your command:

● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Tue 2023-09-19 13:19:01 CEST; 1h 56min ago
   Main PID: 3741 (xdg-desktop-por)
      Tasks: 7 (limit: 38029)
     Memory: 4.1M
        CPU: 392ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/xdg-desktop-portal.service
             └─3741 /usr/libexec/xdg-desktop-portal

Sep 19 13:19:00 haui-TowerPC systemd[3200]: Starting xdg-desktop-portal.service - Portal service...
Sep 19 13:19:01 haui-TowerPC systemd[3200]: Started xdg-desktop-portal.service - Portal service.

Here's the pipewire-pulse version

haui@haui-TowerPC:/usr/share/pipewire$ pipewire-pulse --version
pipewire-pulse
Compiled with libpipewire 0.3.65
Linked with libpipewire 0.3.65

Here's the pipewire-media-session version output:

haui@haui-TowerPC:/usr/share/pipewire$ pipewire-media-session --version
pipewire-media-session
Compiled with libpipewire 0.3.65
Linked with libpipewire 0.3.65

output of wireplumber --version

haui@haui-TowerPC:/usr/share/pipewire$ wireplumber --version
Command 'wireplumber' not found, but can be installed with:
sudo apt install wireplumber

So I recon the first two are installed, wireplumber isnt (in fact I think uninstalling it was part of reverting to pipewire iirc.

Here's more random output someone on a forum asked for:

haui@haui-TowerPC:/usr/share/pipewire$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 161
Tile Size: 65472
User Name: haui
Host Name: haui-TowerPC
Server Name: PulseAudio (on PipeWire 0.3.65)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: @DEFAULT_SINK@
Default Source: @DEFAULT_SOURCE@
Cookie: 0f17:3dbb

haui@haui-TowerPC:/usr/share/pipewire$ systemctl --user status pulseaudio.{socket,service}
○ pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; preset: enabled)
     Active: inactive (dead)
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)

○ pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
     Active: inactive (dead)
TriggeredBy: ○ pulseaudio.socket

haui@haui-TowerPC:/usr/share/pipewire$ systemctl --user status pipewire{,-pulse}.{socket,service}  
● pipewire.socket - PipeWire Multimedia System Socket
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Tue 2023-09-19 13:18:57 CEST; 1h 53min ago
      Until: Tue 2023-09-19 13:18:57 CEST; 1h 53min ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/pipewire.socket

Sep 19 13:18:57 haui-TowerPC systemd[3200]: Listening on pipewire.socket - PipeWire Multimedia System Socket.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Tue 2023-09-19 13:18:57 CEST; 1h 53min ago
TriggeredBy: ● pipewire.socket
   Main PID: 3207 (pipewire)
      Tasks: 2 (limit: 38029)
     Memory: 5.1M
        CPU: 170ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
             └─3207 /usr/bin/pipewire

Sep 19 13:18:57 haui-TowerPC systemd[3200]: Started pipewire.service - PipeWire Multimedia Service.
Sep 19 13:18:57 haui-TowerPC pipewire[3207]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Sep 19 13:18:57 haui-TowerPC pipewire[3207]: mod.rt: found session bus but no portal

● pipewire-pulse.socket - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
     Active: active (running) since Tue 2023-09-19 13:18:57 CEST; 1h 53min ago
      Until: Tue 2023-09-19 13:18:57 CEST; 1h 53min ago
   Triggers: ● pipewire-pulse.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/pipewire-pulse.socket

Sep 19 13:18:57 haui-TowerPC systemd[3200]: Listening on pipewire-pulse.socket - PipeWire PulseAudio.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Tue 2023-09-19 13:18:57 CEST; 1h 53min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 3209 (pipewire-pulse)
      Tasks: 2 (limit: 38029)
     Memory: 12.9M
        CPU: 379ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire-pulse.service
             └─3209 /usr/bin/pipewire-pulse

Sep 19 13:18:57 haui-TowerPC systemd[3200]: Started pipewire-pulse.service - PipeWire PulseAudio.
Sep 19 13:18:57 haui-TowerPC pipewire-pulse[3209]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Sep 19 13:18:57 haui-TowerPC pipewire-pulse[3209]: mod.rt: found session bus but no portal