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

Linux

47341 readers
1454 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] 13 points 1 year ago (1 children)

Looks like you need a version of xdg-desktop-portals installed.

[–] [email protected] 2 points 1 year ago (1 children)

I had one but I suppose it is broken. I reinstalled it, no change. Probably need to correct a config somewhere.

[–] [email protected] 4 points 1 year ago (1 children)

you need to install the xdg-desktop-portal, and your desktop enviroment one(for gnome is xdg-desktop-portal-gnome, or KDE, xdg-desktop-portal-gnome)

[–] [email protected] 2 points 1 year ago

Thanks for answering. Sadly, that didn't help either.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xdg-desktop-portal-gnome is already the newest version (44~beta-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

As I mentioned, I had changed from pipewire to pulse in 22.10 and now tried to change back. I needed a ton of work to get pulse working in 22.10 so A LOT of changes have been made but I have no idea how to trace them.

I checked and the xdg-desktop-portal service seems to be installed but not running. Also, I'm using x11, now wayland afaik. Most guides reference wayland.