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/user@1000.service/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! :)

  • Vilian@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    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)

    • HauiOP
      link
      fedilink
      arrow-up
      2
      ·
      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.