Whenever an application that uses audio stops running (or simply stops outputting audio), my audio stops working completely. I can get it to work again if I run pulseaudio -v and open an application that uses audio again, but I still run into the same problem afterwards. I would like an actual solution to this, so if any of you could help that would be greatly appreciated. I'm using Arch, my DE is KDE Plasma, and for audio I use pulseaudio
#Audio not working
118 messages · Page 1 of 1 (latest)
can anyone help?
.s litany
Please follow the Standard Litany when asking a question:
• What was your environment? What was your operating system, configuration?
• What did you do? What did you run or test? Where?
• What actually happened? What were the exact results, complete log contents, exact error messages?
• What did you expect? What were you aiming to achieve? What result were you looking for?
Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.
Arch, my DE is KDE Plasma, and for audio I use pulseaudio
Everything else I've already explained
if there's anything specific you want can you please tell me? I don't want to give unnecessary details, as I don't even know what exactly is wrong with my audio
Arch Wiki: Pipewire
I've tried updating, ik what pipewire is
.aw pulseaudio
Arch Wiki: Pulseaudio
Some ideas can be found on the wiki
I looked at the pulseaudio troubleshooting on the wiki already, I wouldn't be here if I found something that worked
Try with pipewire
Remember to get rid of pulse
can I try something else first? It seems like pipewire doesn't have as good compatibility with KDE plasma
Wdym?
I run pure pipewire on arch with plasma and works fine
Read pipewire wiki entry
Remember to disable and mask pipewire.socket service
why
Because it is required to avoid conflicts with pipewire
You can't have both running
Pipewire is meant to replace pulse
so systemctl disable pipewire.socket and systemctl stop pipewire.socket?
how do I disable them
it doesn't mention it in the wiki
sudo systemctl stop pulseaudio.socket
sudo systemctl disable pulseaudio.socket
sudo systemctl mask pulseaudio.socket```
Pipewire.socket doesn't exists
ah you said pipewire.socket so I was confused
Typo. My bad
now I don't think it's even detecting any audio devices
You do that from TTY. Then you install and configure pipewire
Ofc audio will stop working as you disabled your audio server
Did you installed all pipewire packages?
I just did sudo pacman -S pipewire
sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack pipewire-audio wireplumber
That's won't do anything
Did you read pipewire wiki page?
It tells which packages to install
It even bolds it on blue
yes but I wasn't sure whether I needed to install all of them or not (the wiki is a mess, Gentoo's is far better)
You need all the pipewire packages
I just listed some
Don't reboot. You still need packages
well the wiki makes it confusing to tell what I actually need to do and what I don't
I added helvum and xdg-desktop-portal-kde
is there anything else I need?
sudo pacman -S lib32-pipewire lib32-pipewire-jack pipewire-zeroconf xdg-desktop-portal pipewire-v4l2 lib32-pipewire-pulse
Then show output of pacman -Ss pipewire
So you don't miss any packages
After that pipewire should work ootb after a reboot
Pipewire runs on user space so it uses systemctl --user
for the last one it says target not found
pacman -Ss pipewire
extra/gst-plugin-pipewire 1:0.3.63-1 [installed]
Multimedia graph framework - pipewire plugin
extra/kpipewire 5.26.4-1 (plasma) [installed]
Components relating to pipewire use in Plasma
extra/libwireplumber 0.4.13-1 [installed]
Session / policy manager implementation for PipeWire - client library
extra/pipewire 1:0.3.63-1 [installed]
Low-latency audio/video router and processor
extra/pipewire-alsa 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - ALSA configuration
extra/pipewire-audio 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - Audio support
extra/pipewire-docs 1:0.3.63-1
Low-latency audio/video router and processor - documentation
extra/pipewire-jack 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - JACK support
extra/pipewire-media-session 1:0.4.1-2
Example session manager for PipeWire
extra/pipewire-media-session-docs 1:0.4.1-2
Example session manager for PipeWire - documentation
extra/pipewire-pulse 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - PulseAudio replacement
extra/pipewire-v4l2 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - V4L2 interceptor
extra/pipewire-x11-bell 1:0.3.63-1
Low-latency audio/video router and processor - X11 bell
extra/pipewire-zeroconf 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - Zeroconf support
extra/wireplumber 0.4.13-1 [installed]
Session / policy manager implementation for PipeWire
extra/wireplumber-docs 0.4.13-1
Session / policy manager implementation for PipeWire - documentation
community/easyeffects 7.0.0-1
Audio Effects for Pipewire applications
community/helvum 0.3.4-1 [installed]
GTK patchbay for PipeWire
community/qpwgraph 0.3.6-1
PipeWire Graph Qt GUI Interface
multilib/lib32-pipewire 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - 32-bit client library
multilib/lib32-pipewire-jack 1:0.3.63-1 [installed]
Low-latency audio/video router and processor - 32-bit client library - JACK support
multilib/lib32-pipewire-v4l2 1:0.3.63-1
Low-latency audio/video router and processor - 32-bit client library - V4L2 interceptor
does it look good?
You're missing the last one
Lib32-pipewire-v4l2
Then
systemctl --user status pipewire
systemctl --user status pipewire-pulse
systemctl --user status wireplumber```
If you disabled and masked pulse, reboot to apply changes then do the status part
Failed to connect to bus: Operation not permitted
You have to reboot before doing that
ah ok
Your audio should work. pactl info and pavucontrol will help
it's working! tysm!
I'm sorry if I came across as harsh or rude
this is just something that's been driving me crazy for a while and nobody online has given helpful advice
wait
oh fuck
it's doing the same thing again
my audio is still broken ;-;
Wdym
the problem I described
What pavucontrol shows?
it'll work until an application stops outputting audio
Check pavucontrol settings
Run your app from terminal
And use journalctl
... journalctl
#10200 📣 ```js
To actively follow log (like tail -f):
journalctl -f
To display all errors since last boot:
journalctl -b -p err
To filter by time period:
journalctl --since=2012-10-15 --until="2011-10-16 23:59:59"
To show list of systemd units logged in journal:
journalctl -F _SYSTEMD_UNIT
To filter by specific unit:
journalctl -u dbus
To filter by executable name:
journalctl /usr/bin/dbus-daemon
To filter by PID:
journalctl _PID=123
To filter by Command, e.g., sshd:
journalctl _COMM=sshd
To filter by Command and time period:
journalctl _COMM=crond --since '10:00' --until '11:00'
To list all available boots:
journalctl --list-boots
To filter by specific User ID e.g., user id 1000:
journalctl _UID=1000
To filter by specific SYSLOG_INDENTIFIER:
journalctl -t systemd-resolved
tldr:journalctl
journalctl
Query the systemd journal.
More information: https://manned.org/journalctl.
Show all messages with priority level 3 (errors) from this [b]oot:
journalctl -b --priority=3
Show all messages from last [b]oot:
journalctl -b -1
Delete journal logs which are older than 2 days:
journalctl --vacuum-time=2d
[f]ollow new messages (like tail -f for traditional syslog):
journalctl -f
Show all messages by a specific [u]nit:
journalctl -u unit
Filter messages within a time range (either timestamp or placeholders like "yesterday"):
journalctl --since now|today|yesterday|tomorrow --until YYYY-MM-DD HH:MM:SS
Show all messages by a specific process:
journalctl _PID=pid
Show all messages by a specific executable:
journalctl path/to/executable
$```
nothing is muted
I did run it from terminal
I mean try changing your settings to pro audio on pavucontrol last tab
And check journalctl logs
Use journalctl -f to see logs live while you use the system
the only options are this or off
Ok that's weird. Doesn't it offers stereo audio duplex?
that's weird it's working again all of a sudden
I didn't change anything
now it's not working again
Dec 18 22:08:36 gwenslaptop kernel: audit: type=1106 audit(1671419316.480:109): pid=2995 uid=1000 auid=1000 ses=3 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
Dec 18 22:08:36 gwenslaptop kernel: audit: type=1104 audit(1671419316.480:110): pid=2995 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
Dec 18 22:08:46 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "chromium-browser"
Dec 18 22:08:46 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "audio-card-analog-pci"
Dec 18 22:08:46 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "chromium-browser"
Dec 18 22:08:53 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "audio-card-analog-pci"
Dec 18 22:09:00 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "chromium-browser"
Dec 18 22:09:00 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "audio-card-analog-pci"
Dec 18 22:09:00 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "chromium-browser"
Dec 18 22:09:06 gwenslaptop kmix[1270]: org.kde.kmix: Could not get icon for "audio-card-analog-pci"
systemwide
This is?
just journalctl output, probably not important
also I tested my audio in BIOS and it said it was fine
NOW IT'S WORKING AGAIN
I'm so confused
yk what
I'll let yk if it's still broken tomorrow
maybe it'll magically just start working lol
Check pipewire and related services logs
Same with journalctl