Install and use PipeWire on Ubuntu 22.04 and all family derivatives to replace pulseaudio

Sdílet
Vložit
  • čas přidán 25. 04. 2022
  • Use PipeWire with Ubuntu 22.04 and all family derivatives.
    lowtechlinux.com/2022/04/26/g...

Komentáře • 58

  • @naidol
    @naidol Před 16 hodinami +1

    Thank you Sir. It's July 2024 and your video is still needed to solve my audio jack problem with Ubuntu 22.04 running AMD 5700u where audio worked via HDMI but not on the jack via pulse audio. Your video to switch to pipewire solved the issue. Thank you sincerely 🙏

  • @UnifyRadar
    @UnifyRadar Před 2 měsíci +3

    Thank you.
    This still works on Linux mint as of 27th of April 2024.
    I finally have surround sound in my headphones, and the audio isn't grating my eardrums.

    • @LowTechLinux
      @LowTechLinux  Před 2 měsíci +1

      Awesome. The next release should have.pipewire by default

  • @BrennenRaimer
    @BrennenRaimer Před rokem +6

    great tutorial! Direct and to the point! swapped my pi and my laptop over to pipewire

  • @rickchristy199
    @rickchristy199 Před rokem +4

    Hey thanks for this great tutorial. I am trying Ubuntu 22-04 for audio and this was helpful.

    • @LowTechLinux
      @LowTechLinux  Před rokem

      Excellent. Glad it worked for you 😁👍

  • @graywolfzhock5647
    @graywolfzhock5647 Před 10 měsíci +1

    Thanks! This works with SteamVR and the Valve Index first try. I was having serious issues trying to get both the speakers and the microphone to work on the VR headset when ussing pulseaudio. As soon as I switched to PipeWire both started working perfectly, just tested it.

  • @JellingMC
    @JellingMC Před 2 lety +6

    Love u man. Got problems with pulseaudio, my extern soundcard didnt worked properly and after the restart it worked right away

  • @juancarlosguerrero2965
    @juancarlosguerrero2965 Před rokem +2

    Thanks. Installation worked on Linux Mint XFCE 21.1. No 5.1 sound though, only stereo.

  • @alekseibestuzhev8434
    @alekseibestuzhev8434 Před 9 měsíci +1

    This video helps me so much. Thanks a lot!

  • @adilhashmi7608
    @adilhashmi7608 Před 2 lety

    Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=@.host --user to connect to bus of other user)

  • @asruss
    @asruss Před 3 měsíci +1

    thanks man!😁

  • @KellySilva13
    @KellySilva13 Před rokem +1

    I have Ubuntu 22.04.1 LTS on a Lenovo yoga 7i i5, and the sound only comes from one speaker, not the main speaker. I've looked in the settings, and nothing can be changed. I checked to see if there are additional drivers I need to install but there's nothing. The output device is sof-hda-dsp

    • @LowTechLinux
      @LowTechLinux  Před rokem

      I would recommend a live is session of 22.10 to see if the sound issue is better, if so just upgrade. If not try 23.04 when it comes out (or around March when not as much will change before it's released). 23.04 will have the new pipewire audio stack fully implemented.

  • @abystus
    @abystus Před 5 měsíci +1

    These instructions worked the first time and I had pipewire running. I then used the instructions to revert back to pulseaudio, and that worked as well. But now I cannot go back to pipewire repeating the steps on your site as it always shows pulseaudio as the Server Name after reboot. Is there something I'm doing wrong?

  • @Tolyan97kartofan
    @Tolyan97kartofan Před 2 lety +1

    Thanks a lot! But still I have a problem with my Bluetooth headset. When I choose output device as «Handsfree», system uses my headset's microphone, but the sound in my headset is bad (usual).
    But if I choose «Headset» mode, I can use AAC codec, the sound is great, but system wouldn't use headset's microphone! It leaves no option but to use internal microphone of the laptop. I want to have great sound and use headset's microphone!!

    • @LowTechLinux
      @LowTechLinux  Před 2 lety +1

      did your force symlink suggestion work to fix this?
      I had this same issue early on in my pipewire. I think it has more to do with ubuntu getting behind on pipewire updates. The next release will have pipewire by default which is awesome and might help to fix your issue.

    • @Tolyan97kartofan
      @Tolyan97kartofan Před 2 lety

      @@LowTechLinux It was me who wrote about force option :)
      I think I will be just switching manually each time I will need headset's microphone. It's a little bit inconvenient but it works, so I will leave it at that for now. Thanks!

  • @user-ov1lf5ze4n
    @user-ov1lf5ze4n Před 5 měsíci +1

    thanks it helped

  • @Gogoseit
    @Gogoseit Před měsícem

    I know this is an older tutorial, and figure things must have changed because when you run sudo apt install pipewire audio-client-libraries libsba-0.2-bluetooth libsba-0.2-jack wireplumber
    it just says unable to find package for each of them

  • @AlexandreFerreira-lj4dp
    @AlexandreFerreira-lj4dp Před 11 měsíci +1

    Awesome Tutorial sir!! I am a professional bass trombonist and do professional recordings using Linux Mint. I did this and it is working under USB audio interfaces (e.g. Behringer UMC 404) but When I plug the Focusrite Pro 40 (a firewire interface I was using with pulse/Jack/FFADO Driver, not ALSA ). When I use qpwgraph (the new jack) obviously does not appear on the "connect" window but I can run Ardour/MixBus and record. The only thing that is not happening is these two: Playing youtube videos etc (that would normally work under jack/FFADO drivers) and not appearing on sound controls. Here comes the question: Is there a way to install a Pipewire Module for FFADO Drivers? I just saw it on the Pipewire website but was not able to find a sh file or a.run file to install it?
    Sorry for the Loooong question

    • @LowTechLinux
      @LowTechLinux  Před 11 měsíci +1

      Not sure what version you're on with mint, but it appears ffado support was added in the alsa kernel, and in pipewire 0.3.72 released 2023-06-26. I would guess strongly mint just doesn't have it yet, since it's based on Ubuntu LTS
      Maybe this will help.
      gitlab.freedesktop.org/pipewire/-/releases.
      Scroll down to Pipewire 0.3.72 or do a page search for ffado.

    • @AlexandreFerreira-lj4dp
      @AlexandreFerreira-lj4dp Před 11 měsíci

      @@LowTechLinux LM 21.I did it. I've installed the latest Pipewire version. Something was just not okay. Ive decided to install the LM 21.2 version and redo the whole thing. I've also installed the XIVA LINUX (a Brazilian fork of the Big Linux focused on Multimedia production) as a dual boot. It is 100% Pipewire no pulse Audio at all. I will blaklist the snd-dice chipset on ALSA to use only the FFADO DRIVER to see how it goes. Thanks for your attention

  • @BoDiddly
    @BoDiddly Před 2 lety +2

    I don't know what has changed (probably the libraries), but this doesn't work for me, it still loads PulseAudio.

    • @LowTechLinux
      @LowTechLinux  Před 2 lety

      What does pactl info say for audio server?

    • @BoDiddly
      @BoDiddly Před 2 lety +2

      @@LowTechLinux After following your procedure, it still said Pulseaudio as the server.
      But don't worry about it, a friend helped me fix it. It involved masking Pulseaudio and copying the pipewire-jack-*.conf to /etc/ld.so.conf.d/

    • @LowTechLinux
      @LowTechLinux  Před 2 lety +1

      @@BoDiddly Interesting. I need to see if a recent update changes the procedure. Thank you for letting me know

  • @alx8439
    @alx8439 Před rokem +1

    Interesting. I'm running 22.10 and it already has pipewire out of the box. I was pretty sure 22.04 also had it, but surprise surprise.

    • @LowTechLinux
      @LowTechLinux  Před rokem +1

      22.10 was planned to have pipewire by default. 22.04 was the run up to that so it had a few of the bits ready, just needed a nudge to finish it off.

  • @Fuimadane
    @Fuimadane Před rokem

    Is this possible to set as default in Ubuntu Studio with Studio Controls ?

    • @LowTechLinux
      @LowTechLinux  Před rokem +1

      If you're on 22.10 it should be the same process. Just know I haven't tested it with studio. Starting with studio 23.04 pipewire should be default.

  • @shadowangel8005
    @shadowangel8005 Před 2 lety +1

    I'm having issues with it my machine is very unstable with the Pipewire changes. Is there anyway i can reverse the changes ?

    • @LowTechLinux
      @LowTechLinux  Před 2 lety +1

      This should work to restore...
      sudo apt remove pipewire-audio-client-libraries libspa-0.2-bluetooth libspa-0.2-jack
      sudo apt install pipewire-media-session
      This command should also remove wireplumber.
      systemctl --user --now enable pipewire-media-session
      And then reboot

    • @shadowangel8005
      @shadowangel8005 Před 2 lety +1

      @@LowTechLinux Thank you, i really enjoy your channel.

    • @LowTechLinux
      @LowTechLinux  Před 2 lety

      Thank you

    • @LowTechLinux
      @LowTechLinux  Před 2 lety

      Hot off the presses....
      czcams.com/video/1tsW6RNhFv4/video.html

  • @Cyberbrickmaster1986
    @Cyberbrickmaster1986 Před rokem +1

    But what about Ubuntu 20.04, since I'm using Zorin OS 16 Pro?

    • @LowTechLinux
      @LowTechLinux  Před rokem

      Sorry but I don't have anything to offer about zorin.

    • @Cyberbrickmaster1986
      @Cyberbrickmaster1986 Před rokem

      @@LowTechLinux Don't worry. I've already replaced it with Mint, which is more stable and has version 22.04.
      But my other question is, do you need Pulseaudio installed to set Pipewire up? It's just that every single walkthrough I could find assumes people already have Pulseaudio.

  • @Mr.Trailer79
    @Mr.Trailer79 Před 2 lety +1

    We are waiting for inkstitch videos. :)

    • @LowTechLinux
      @LowTechLinux  Před 2 lety

      Absolutely 👍😆.
      Next one should be out tomorrow 😊

  • @czeyveli1
    @czeyveli1 Před 7 měsíci

    Can we install Pİpewire Ubuntu 20.04 version?

    • @LowTechLinux
      @LowTechLinux  Před 7 měsíci

      Maybe. I found this but know I haven't tried it myself. You're kinda on your own.
      askubuntu.com/questions/1339765/replacing-pulseaudio-with-pipewire-in-ubuntu-20-04

  • @_P_M_
    @_P_M_ Před rokem

    In Ubuntu Studio I got this: "Unable to locate package audio-client-libraries" [sigh] I wish I under linux enough to solve these issues. And btw, I'm a trucker too.

    • @LowTechLinux
      @LowTechLinux  Před rokem

      Hmmm.this makes me think you're running Ubuntu 21.04. I don't recommend switching to pipewire on that system.
      However, It might be looking for pipewire-audio-client-libraries. Try doing
      apt search audio-client-libraries
      See if finds that specific package. If not try installing pipewire-audio-client-libraries with
      sudo apt install pipewire-audio-client-libraries
      And see if that fixes it.

  • @judgemasteryueh
    @judgemasteryueh Před rokem +1

    Unfortunately it not worked for me. I needed restore pulseaudio.

    • @LowTechLinux
      @LowTechLinux  Před rokem

      Well rats. Hate to hear that. 23.04 is just around the corner and has pipewire built in by default.

    • @judgemasteryueh
      @judgemasteryueh Před rokem +1

      ​@@LowTechLinux Hey! I found the fix :). I figured out that pipewire-pulse, even it was installed, was masked. I needed unmask the service for my user (using systemctl --user unmask pipewire-pulse) and restart the services. Now pactl info shows PulseAudio ( on Pipewire) and audio is working. Sharing it in case someone could have the same problem.

    • @LowTechLinux
      @LowTechLinux  Před rokem +1

      Outstanding! Excellent work. Thank you for sharing.

    • @_memetastic_
      @_memetastic_ Před 7 měsíci +1

      Thanks it fixed my mono audio problem too!!!

    • @_memetastic_
      @_memetastic_ Před 7 měsíci

      @@LowTechLinux man can you help i want to go back to the default state
      Because now the audio cuts off randomly