I got it to run finally after a lot of heartache though a bunch of this stuff popped up in a separate Konsole window
[E][00012.546256] mod.protocol-native | [module-protocol-: 609 lock_socket()] server 0x556d76ba24e0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00012.546300] pw.conf | [ conf.c: 412 load_module()] 0x556d76b87900: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00012.546368] default | [ pipewire.c: 123 main()] failed to create context: Resource temporarily unavailable
[W][00012.546547] mod.protocol-pulse | [ server.c: 571 start_unix_server()] server 0x55c2c82012d0: socket '/run/user/1000/pulse/native' is in use
[W][00012.546559] mod.protocol-pulse | [ server.c: 973 servers_create_and_start()] pulse-server 0x55c2c8200e10: failed to start server on 'unix:/run/user/1000/pulse/native': Address already in use
[E][00012.546564] mod.protocol-pulse | [ pulse-server.c: 5126 pw_protocol_pulse_new()] 0x55c2c8200e10: no servers could be started: Address already in use
[E][00012.546594] pw.conf | [ conf.c: 412 load_module()] 0x55c2c81e5900: could not load mandatory module "libpipewire-module-protocol-pulse": Address already in use
[E][00012.546705] default | [ pipewire.c: 123 main()] failed to create context: Address already in use
W 13:18:12.665338 spa.bluez5 ../pipewire/spa/plugins/bluez5/bluez5-dbus.c:3574:get_managed_objects_reply: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown
W 13:18:12.706726 GLib-GObject (null):(null):(null): invalid unclassed pointer in cast to 'WpObject'
W 13:18:12.706743 GLib-GObject (null):(null):(null): invalid unclassed pointer in cast to 'GObject'
C 13:18:12.706748 GLib-GObject (null):(null):(null): g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed
C 13:18:12.706754 wp-object (null):(null):(null): wp_object_update_features: assertion 'WP_IS_OBJECT (self)' failed
M 13:19:09.312293 m-si-audio-adapter ../wireplumber/modules/module-si-audio-adapter.c:234:si_audio_adapter_configure: <WpSiAudioAdapter:0x55806a94d280> no usable format found for node 111
W 13:19:09.312317 script/create-item create-item.lua:65:addItem: <WpSiAudioAdapter:0x55806a94d280> failed to configure item for node 111
M 13:19:09.354129 m-lua-scripting ../wireplumber/modules/module-lua-scripting/api.c:337:object_activate_done: <WpSiStandardLink:0x55806a74c860> link-factory: can't link ports 129 and 136: File exists
W 13:19:09.354152 script/policy-node policy-node.lua:85:chunk: <WpSiStandardLink:0x55806a74c860> failed to activate si-standard-link: link-factory: can't link ports 129 and 136: File exists
W 13:19:11.970636 GLib-GObject (null):(null):(null): instance with invalid (NULL) class pointer
C 13:19:11.970652 GLib-GObject (null):(null):(null): g_value_init_from_instance: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
C 13:19:11.970659 GLib-GObject (null):(null):(null): g_value_get_object: assertion 'G_VALUE_HOLDS_OBJECT (value)' failed
C 13:19:11.970663 wp-port (null):(null):(null): wp_port_get_direction: assertion 'WP_IS_PORT (self)' failed
M 13:19:18.385009 m-si-audio-adapter ../wireplumber/modules/module-si-audio-adapter.c:234:si_audio_adapter_configure: <WpSiAudioAdapter:0x55806a970430> no usable format found for node 107
W 13:19:18.385027 script/create-item create-item.lua:65:addItem: <WpSiAudioAdapter:0x55806a970430> failed to configure item for node 107
can anyone tell me what the errors mean, I have audio already but some of these errors looks like it can be fatal
EDIT: Pipewire messed with the X11 server and I had to remove all commands from my .bashrc and remove the pipewire folders from /etc and .config. My X11 server started working then and now I think that I'm just not ready for setting up Pipewire if it causes that bad of a mess. I'll leave a picture of my tty that I had to use telling me what was going on. (http://imgur.com/a/Dtsc43m)
Please don't double post. Edited.
Also make sure you have followed this guide: https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio
I have used that and it couldn't work for some reason.
I did look through the forums and some people said to add this to .bashrc
pipewire &
pipewire-pulse &
wireplumber
and when I did, that's when I encountered these issues
http://imgur.com/a/Dtsc43m
Also this showed up on the tty I had to use to remove the pipewire folders and get X11 working again
The guide doesn't mention .bashrc:
(Neither it is mentioned in the Arch wiki page on Pipewire (https://wiki.archlinux.org/title/PipeWire).)
What DM and DE are you using? Are you using X.Org or Wayland?
KDE Plasma is me DE and I'm using Xorg
https://wiki.archlinux.org/title/KDE#Autostart
I don't have an issue with autostarting pipewire. The code have I've sent is pipewire actually working, but messing with other things as well
When I got Pipewire to autostart, a problem kept escalating and I didn't notice until all of my terminal emulators started showing the errors on the first post of this topic and I couldn't access pacman, or the CLI for that matter, from the emulators at all because that error message was popping up everywhere, whether it be from new tabs, new instances, new windows and eveutally it lead to it taking over xorg to where I couldn't get my DE to work which is what lead to me removing PipeWire.
I added this line from a pipewire topic from another user though I've tested this and this wasn't the issue.
That is because the commands are still in your ~/.bashrc and are executed whenever Bash is started as interactive shell (man bash). Reverse the changes you have made to ~/.bashrc, create a separate script, for example ~/pipewire-startup.sh and add it to KDE startup as indicated above.
Alright, I've reinstalled my OS and restarted my journey of getting PipeWire to work from the beginning. I recorded the whole thing too to make sure I got all the steps down properly though I still wasn't able to get PipeWire working and I'm just gonna stick with PulseAudio for now