#Audio not working

118 messages · Page 1 of 1 (latest)

weary dome
#

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

weary dome
#

can anyone help?

surreal ospreyBOT
# warm kestrel .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.

Also see this similar guide on how to ask smart questions.

weary dome
#

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

warm kestrel
#

Have you tried updating or using pipewire?

#

.aw pipewire

surreal ospreyBOT
weary dome
#

I've tried updating, ik what pipewire is

warm kestrel
#

.aw pulseaudio

surreal ospreyBOT
weary dome
#

I'll try using pipewire

#

yes I've looked at the wiki

warm kestrel
#

Some ideas can be found on the wiki

weary dome
warm kestrel
#

Remember to get rid of pulse

weary dome
warm kestrel
weary dome
#

oh alr

#

are there any packages aside from pipewire I'll want to install?

warm kestrel
#

Read pipewire wiki entry

weary dome
#

or is pipewire alone good enough

#

;-;

warm kestrel
#

Remember to disable and mask pipewire.socket service

weary dome
#

why

warm kestrel
#

You can't have both running

#

Pipewire is meant to replace pulse

weary dome
#

how do I disable them

#

it doesn't mention it in the wiki

warm kestrel
#

Pipewire.socket doesn't exists

weary dome
warm kestrel
weary dome
#

now I don't think it's even detecting any audio devices

warm kestrel
#

Ofc audio will stop working as you disabled your audio server

weary dome
#

how do I enable pipewire and start it

#

or whatever I need to do

warm kestrel
weary dome
#

I just did sudo pacman -S pipewire

warm kestrel
warm kestrel
#

Did you read pipewire wiki page?

#

It tells which packages to install

#

It even bolds it on blue

weary dome
#

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)

warm kestrel
#

I just listed some

weary dome
#

alright

#

what do I need to do next

#

or should I just reboot

warm kestrel
weary dome
#

well the wiki makes it confusing to tell what I actually need to do and what I don't

weary dome
#

is there anything else I need?

warm kestrel
#

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

weary dome
warm kestrel
weary dome
#

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?

warm kestrel
#

Lib32-pipewire-v4l2

weary dome
#

installed it

#

so it should be fine after I reboot it?

warm kestrel
#

Then

systemctl --user status pipewire
systemctl --user status pipewire-pulse
systemctl --user status wireplumber```
warm kestrel
weary dome
warm kestrel
weary dome
#

ah ok

warm kestrel
weary dome
#

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 ;-;

warm kestrel
weary dome
warm kestrel
#

What pavucontrol shows?

weary dome
#

it'll work until an application stops outputting audio

warm kestrel
#

Run your app from terminal

#

And use journalctl

#

... journalctl

surreal ospreyBOT
#

#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
$```

weary dome
weary dome
warm kestrel
#

And check journalctl logs

#

Use journalctl -f to see logs live while you use the system

weary dome
warm kestrel
weary dome
#

that's weird it's working again all of a sudden

#

I didn't change anything

#

now it's not working again

warm kestrel
#

Check logs

#

This happens systemwide or just with x app?

weary dome
#

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"

weary dome
weary dome
#

also I tested my audio in BIOS and it said it was fine

weary dome
#

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

warm kestrel
#

Same with journalctl