#Constant Audio Crackling usually caused by opening Steam, but often just completely random

1 messages · Page 2 of 1

astral creek
#

How would I check?

hardy sandal
#

if u havent changed it pipewire default is 48khz

astral creek
#

I fucking love now having more issues than before

#

YIPPEE

hardy sandal
#

anyway it could also be the usb drivers after even more googling

#

Check your audio cables and connections: Make sure all the cables connecting your audio devices are securely plugged in. If you're using external speakers or headphones, try disconnecting and reconnecting them.

Update your system: Ensure that your Arch Linux system is up to date with the latest software updates and patches. Use the package manager (e.g., pacman) to update your system.

Update Pipewire: Verify that you have the latest version of Pipewire installed. Run the following command to update it: sudo pacman -Syu pipewire.

Adjust the audio settings in Pipewire: Open the Pipewire configuration file (/etc/pipewire/pipewire.conf) and check the settings related to your audio devices. You may need to adjust the sample rate, buffer size, or other parameters based on your specific hardware.

Check the system logs: Review the system logs for any error messages related to audio. You can use the journalctl command to view the system logs. Look for any relevant entries that could help identify the cause of the audio issues.

Disable unnecessary audio plugins: Pipewire supports various plugins and modules. Try disabling any unnecessary plugins that might be causing conflicts or performance issues. You can modify the Pipewire configuration file to disable specific plugins.

Test with different applications: If the issue occurs specifically when playing games or using OBS, try testing the audio with other applications. This will help determine if the problem is limited to certain software or if it affects the entire system.

Verify hardware compatibility: Ensure that your audio hardware is fully compatible with Pipewire and Arch Linux. Check the manufacturer's website or community forums for any known issues or compatibility updates.

Seek community support: Visit relevant Arch Linux forums, subreddits, or online communities to seek assistance from experienced users who may have encountered similar audio issues. They may provide additional insights or specific solutions for your hardware configuration.```
#

chatgpts response

astral creek
hardy sandal
#
i am using usb for my audio if that matters

ChatGPT
If you're using a USB audio device, there are a few additional steps you can try to troubleshoot the audio issues:

Test a different USB port: Sometimes, certain USB ports can have compatibility or power delivery issues. Try connecting your USB audio device to a different USB port on your computer to see if that resolves the problem.

Check USB power settings: Some computers have power management settings that can affect USB devices. Make sure that your USB ports are not set to a low power mode. You can adjust these settings in your computer's BIOS or UEFI settings.

Update USB drivers: Ensure that your USB drivers are up to date. You can usually download the latest drivers from the manufacturer's website or use a driver update utility.

Try a different USB cable: USB cables can sometimes be faulty or have compatibility issues. If possible, try using a different USB cable to connect your audio device and see if that improves the audio quality.

Check for USB audio device firmware updates: Visit the manufacturer's website for your USB audio device and check if there are any firmware updates available. Updating the firmware can sometimes address compatibility or performance issues.

Test the USB audio device on another computer: If possible, try connecting your USB audio device to another computer to see if the issue persists. This will help determine if the problem is specific to your computer or if it's related to the audio device itself.

If none of these steps resolve the audio issues, it's possible that there may be a compatibility or driver issue with the USB audio device and Pipewire. In that case, reaching out to the manufacturer's support or consulting the Arch Linux community for further assistance would be advisable.```
#

according to chatgpt

nimble stumpBOT
#

What in the fuck is happening here?

hardy sandal
#

ive consulted vertex webhook who is an expert at linux and smarter than me

#

perhaps they can help you better than i

nimble stumpBOT
#

wish i had an openai key so i could ask those local idiots to tldr this thread for me

hardy sandal
#

@coarse spirethey have crackling audio issues

#

and reinstall arch doesnt fix

#
  • they use usb audio and have a broken headphone jack so they cant try that
coarse spire
#

well i have crackling audio issues too, mainly in windows vm

hardy sandal
#

they have it everywhere tho

coarse spire
#

maybe their cpu/dac is just shit?

astral creek
#

It's fine on Windows

hardy sandal
#

what

#

well i mean everywhere on arch

astral creek
coarse spire
#

does it work in something like idk puppy linux

astral creek
#

What

hardy sandal
#

it does work they have said

#

i believe

coarse spire
#

i think it has a media player

#

if that thing does not crackle, its an arch issue

#

if it does, its more of a linux kernel L

hardy sandal
#

i told them try booting up an arch based distro on live usb but idk

astral creek
#

Then it sticks for a really long time, and then gone again

coarse spire
#

looks like something starts chugging on your system resources in that time

astral creek
#

It often does happen when there's a system hog yes, I would like to prioritize audio in that case

#

But it often happens when I'm just watching youtube too

coarse spire
#

what was it, uhh

#

pactl info

#

what does it show

astral creek
coarse spire
#

so it is pipewire

astral creek
#

Yes, I reinstalled pipewire

#

Because pulseaudio was screwing up worse

coarse spire
#

weirdly enough, pulseaudio also caused issues for me - my earbuds did not connect to bluetooth in gnome specifically

astral creek
#

Yeah, just tested all frequencies from 20hz to 20khz

#

Works fine, so my headphones are fine

#

And my ears

opal tide
astral creek
#

Why won't it enable

#

I am going insane

coarse spire
#

enable it with --user

#

systemctl enable --user pipewire-pulse

astral creek
astral creek
#

Oh, no sudo

#

Yes, says enabled

astral creek
#

God this is pissing me off so much

#

Why does my shit refuse to work
Worst of it, it always happens AFTER someone suggests a "fix" for it

#

It all seems fine, so why is my audio still not working right

shy pumice
astral creek
#

Uh, when I get home

astral creek
#

@shy pumice Hm

astral creek
#

@shy pumiceSo uh

shy pumice
#

Ok i wanna die. So basically what is wrong in my assumption is a possibility the sample rate mismatch from the audio server and your DAC. I have no idea how to change it for sure. But you can try to load track in audacity and to play with sample rate there to just test this idea.

astral creek
#

It...should be 48

#

I don't see why it wouldn't

#

I...definitely have music to test with, but beh

#

What increments do I test in?
What am I looking for?

#

Or, hearing for rather

void shadow
#

Can you try another device on your computer?

astral creek
#

I canno't

void shadow
#

Just a simple pair of head phones or speakers

astral creek
#

Speakers are awful
And my headphone port is fucked

void shadow
#

It’s just for troubleshooting

#

It’ll confirm if it’s the dac

#

If the issue persists likely not, if it doesn’t likely yes

astral creek
#

The DAC works fine on other devices

void shadow
#

Cool, but this could still be an issue of specifically these two things

astral creek
#

Well idk how I would test that

void shadow
astral creek
#

HDMI audio maybe?

void shadow
#

Sure

#

Doesn’t matter if the speakers are bad, if they don’t have the same issue then we can say it’s an issue of the dac on arch, and if it is, maybe someone else can help with that

astral creek
#

Oh, no I'm plugging my headphones into my monitor

#

God, lack of power, I have 100% volume and it sounds like 40%

astral creek
#

Hm
I think the issue has to do with power draw to the DAC

#

Cuz so far, nothing wrong with using the HDMI audio

astral creek
#

The only logical conclusion is that my DAC has a lower power draw priority compared to the rest of the PC

astral creek
#

Nooo, the audio issues are back

prime drum
#

Pulseaudio or Pipewire

astral creek
#

Pipewire

#

Pulseaudio doesn't function right at all

prime drum
#

how do you configure your adio?

astral creek
#

Wym by configure?

prime drum
#

like mute and stuff like that

astral creek
#

I do that with my keyboard

prime drum
#

Install pavucontrol and look at the settings

#

I had the same problem

astral creek
#

Crackly audio?

prime drum
#

I had my audio set to some weird setting, fullex thingy works for me

astral creek
#

Wait no but Pavu is for Pulse

#

I'm using pipewire

prime drum
#

u use pulse-pipewire

prime drum
astral creek
#

I fixed that part

prime drum
#

I actual use pipewore-pulse & alsa-pulseaduio

astral creek
#

Ok well, I have Pavu now

prime drum
#

then I can use pactl for my audio

prime drum
astral creek
#

Pretty sure I have it set up like that too?

prime drum
#

I have analog stereo duplex everywhere

astral creek
#

That is not an option

prime drum
#

what are options then?

astral creek
#

And yes, I have tried all those options

#

If it sends...

prime drum
#

did you try rebooting yet

astral creek
#

Discord please

prime drum
#

the good old lag/crash on pasting an image?

astral creek
#

Of course I've rebooted, this has been an issue for like 3 months

#

Of course I've rebooted, this has been an issue for like 3 months

#

Thanks discord

prime drum
#

interesting

astral creek
#

Anyway, duplex is not an option because this is USB audio

#

Yes I have tried other audio sinks, no they do not have problems

prime drum
#

hm

astral creek
#

And yes, I do have to use USB audio normally because

  1. My headphone jack is broken
  2. 600 ohm headphones
#

HDMI audio has no issues, other than low power

#

I think the issue is a power draw problem to the DAC, but I can't be sure, and idk how to test, but this does not happen on my phone, or on other distros

prime drum
#

I had a different problem then 😦

astral creek
#

Was your audio crackly?

prime drum
#

Yea mainly the input

astral creek
#

So maybe it's the same issue, idk

prime drum
#

Sounded like an airport in meetings

#

What are your settings for Output and Input

astral creek
#

Not the same issue

#

The audio just cuts out, and then continues, and cuts out, and continues

#

Easy Effects was installed after, it didn't affect anything

prime drum
#

Does it work with another device?

astral creek
#

HDMI audio has no crackling

#

It's only USB audio

prime drum
#

So is the device the problem or some software stuff

astral creek
#

Why is discord being so ass rn

astral creek
prime drum
#

maybe there are extra drives

#

my messages take like 20 seconds to send

#

maybe there are extra drives

astral creek
#

Drives?

#

Wym drives?

#

You mean drivers?

prime drum
#

yea

#

autocomplete is some weird s*ut

#

s*it

#

bru

astral creek
#

How would I check that?

#

This is agony, I can't use discord like this

prime drum
#

Idk I didnt have this problem

#

There is probably something on the Archwiki

astral creek
#

I've already looked

prime drum
#

bru

astral creek
prime drum
#

😦

astral creek
#

Welp

astral creek
#

So um

#

I figured out that having my monitor plugged in, causes the audio issues

#

I was away for a week, and zero audio issues
I come home, plug in monitor, and issues

#

I wonder if it's a GPU issue

shy pumice
astral creek
#

It is disabled

shy pumice
#

Hmm. Is there any other way to nuke it on lower level...

astral creek
#

Probably, but I can't think of any

astral creek
#

Will have to check tomorrow

shy pumice
#

crackling sound on startup?

astral creek
#

No, that is a separate, but also a very annoying fucking issue

#

The sound is a constant problem, not only at startup

shy pumice
#

mm okay

#

so what is it?

astral creek
#

I just don't understand why this shit happens

#

It's driving me to the brink of crying because it's just every fucking day

astral creek
shy pumice
#

okay cool

astral creek
#

These have been problems for months and months and no one seems to

  1. Be able to help
  2. Be bothered to help
#

I've been talking about these issues for months, and no one bothers to help, I am SO goddamn tired

shy pumice
#

poor you

astral creek
#

Like, I've had to be on hiatus since November from making videos and streaming because of this shit

#

It is impossible

languid path
#

distrohop

astral creek
#

I will nuke your bones

shy pumice
#

mhm

astral creek
#

I think the audio issue is related to the CPU scheduler

#

Because it mostly happens when in game

#

But my x server not starting? No idea
Maybe because of my 2nd monitor? It only happens when it's plugged in
But either way, this shit should not happen, and I will fucking complain about it until it is fixed

#

And yes, I am still compressing this dumbass video

shy pumice
#

i see

astral creek
#

Finally

#

@shy pumiceTook it long enough damn

shy pumice
#

that must be a big video

astral creek
#

Yes it was 400 mb

#

No, wayland does not help, I have tried, and it is much worse overall
Yes, I have tried using "startx", no it does not work, for whatever reason, it's not a recognized command

languid path
#

xinit?

astral creek
#

?

languid path
#

did you try xinit

astral creek
#

You're gonna have to say more than 1 word

#

I don't remember, maybe?

#

Like, just typing "xinit"?

languid path
#

yeah

astral creek
#

No idea

#

Nope, command not found

languid path
#

wtf

#

what is your $PATH

astral creek
#

Uh

#

You're gonna have to be more clear

languid path
#

send the output of echo $PATH

astral creek
languid path
#

do pacman -S xorg-xinit

#

then do startx

astral creek
#

How did xorg-xinit package uninstall itself

#

When did it do that

#

What the fuck

#

Ok so for whatever reason xorg-xinit package was not installed

#

That fixes it somewhat

#

I'll at least have a work around now

#

But I will still have the main issue of my x server not starting on most startups

shy pumice
#

and the kbd thingy

#

have you tried the nobara kernel?

astral creek
#

Also, every time I do a system update of any kind, my GPU fucking uninstalls itself, so I have to reinstall it

astral creek
shy pumice
#

keyboard

astral creek
#

What keyboard issue?

#

That isn't a keyboard issue

shy pumice
#

i remember that your keyboard isnt registering at startup

astral creek
#

No, that was not the issue

#

The keyboard is fine

shy pumice
#

hm okay then

#

anyways

astral creek
#

The x server didn't start

#

That is the issue

#

Because I can access TTY perfectly fine

shy pumice
#

have you tried another display manager?

languid path
astral creek
#

And nearly bricked my shit too

#

So, I am not doing that ever again

astral creek
languid path
#

well that’s why it doesn’t work

astral creek
#

That...

#

No

#

Startx works now

#

If I go into tty while I can't login

shy pumice
languid path
#

test if the issue persists

astral creek
#

Yes

astral creek
#

I know it will persist

shy pumice
#

does sddm-git fix anything?

astral creek
#

Don't believe I've tried that one

shy pumice
#

try it

#

we'll see what happen

astral creek
#

Uh huh

shy pumice
#

oh its in the aur

astral creek
#

Aight

#

Installing

shy pumice
#

mhm

languid path
#

all *-git are in the aur btw

astral creek
#

I will definitely remember that

#

Chances are I won't encounter the bug again until tomorrow, as usual

shy pumice
#

hope for the best

astral creek
#

Alright, installed

#

Any commands to do?

#

Nothing to enable?

shy pumice
#

it replaces your regular sddm from the repo so nothing to do I think

#

the -git variant is basically just sddm but bleeding edge from the git repo

astral creek
#

No idea if it worked

#

I probably won't find out until tomorrow

#

But I guess we can put that on the back burner for now

#

Now, audio

#

I suspect this is related to my GPU, but I can't be certain
Because it only happens when my 2nd display is plugged in, and since it's HDMI, it goes directly into the dGPU

#

So any help with that would be nice
Because I'd really like to get back into making content

#

@shy pumiceFriendo

shy pumice
#

so audio doesn't work when you plug in your monitor?

astral creek
#

you're the only one who has helped me in like 5 months

astral creek
#

It seems like the CPU is confused by how much power to give my DAC?

shy pumice
#

i certainly never encountered that issue

astral creek
#

It is

#

And no, I cannot try another port

#

My headphone jack is broken

#

Besides, the headphones are too hungry for the headphone jack

shy pumice
#

too hungry?

astral creek
#

600 ohm headphones

#

They need more power than the headphone jack can provide, so I use USB C audio

shy pumice
#

mm I see

#

wait

#

i think I found smth

astral creek
#

Yay

shy pumice
#

lemme type in the thing

#

basically the tldr is to just disable fast startup in windows

#

idk if it'll work?

astral creek
#

That is for windows

shy pumice
#

and yeah, you dont have windows

astral creek
#

How would that help me lol

shy pumice
#

i have no idea

#

lemme dig deeper

astral creek
#

It feels like sddm-git is causing some frame timing issues?

#

Hard to tell

shy pumice
#

laggy?

astral creek
#

Stuttery

shy pumice
#

I see

astral creek
#

Hm

#

Lemme test

shy pumice
astral creek
#

Am use pipewire-pulse

shy pumice
#

the tsched=0 thingy

shy pumice
astral creek
#

The what thing

shy pumice
#

wait

#

wait this is amd

#

but it does crackle

astral creek
#

Hm, well, does not seem like there was a performance hit, seems like it's better actually

shy pumice
#

oh thats good

astral creek
#

Up by around 150

astral creek
#

I am using USB audio

shy pumice
#

oh yea I forgor

#

you're using a dac

astral creek
#

Yes

shy pumice
#

uhh

#

I saw this thing that says smth like "change your sample rate to 48000"

astral creek
#

Hm

#

Ok, how would I do that

shy pumice
#

wait let me cook

#

hmmmmm

astral creek
#

Okie

astral creek
#

I don't have a pipewire.conf file

#

Ok I have one in usr/share

shy pumice
#

its in /usr/share

#

uh huh

#

copy it to /etc first

#

and then edit

astral creek
#

First?

shy pumice
#

ye

astral creek
#

Can't

#

No perms

shy pumice
#

if you don't do that it'll get overwritten on the next update

shy pumice
astral creek
#

How do I copy a file in terminal?

shy pumice
#

its easy

astral creek
#

That does not help

shy pumice
#

yeah im writing it lol

#

sudo cp -r /usr/share/pipewire /etc

astral creek
#

I see

hearty wrenBOT
#

Too few arguments for command note!
Usage: .note <name>

astral creek
#

I guess I have to uncomment it?

shy pumice
#

wait it looks like its already the default?

#

huh

astral creek
shy pumice
astral creek
#

Anything else to do in this file?

shy pumice
#

lemme see

#

looks like you're good for now

astral creek
#

So, just uncomment this?

shy pumice
#

yeps

astral creek
#

Ok

shy pumice
#

wait I found smth again

astral creek
#

Hm?

shy pumice
#

idk if this relates to you

#

but doesn't hurt to try

shy pumice
#

I see

astral creek
#

Yeah I can't understand this

#

Idk what half of this means

shy pumice
#

Let me simplify it for you

#

basically you just

#

create that file and add that thing in the box

astral creek
#

Uhhhhhhhhhh

#

How?

#

Well, let's do 5.1.13 first

#

Then if that don't work, the next one

shy pumice
#

good idea

astral creek
#

How do I create a file again?

shy pumice
#

you could use touch

#

or

#

open a text editor, type in the thing and save it

astral creek
#

Wait am I using pipewire media session or wireplumber

#

How do i check

astral creek
#

I need to create the file first then edit it

#

Ok well I don't have a wire plumber folder in etc

shy pumice
shy pumice
astral creek
#

Ugggggggggghhhhhh

#

I don't understand this shit

shy pumice
#

dw I'll help

astral creek
#

Discord, send my fucking screenshots

#

File is not here

shy pumice
#

hmmmm

astral creek
#

"Just edit this file"
What goddamn file

#

The file isn't there

#

Fuck

#

Wait, I have wireplumber??

shy pumice
#

I don't think we should create the file either

astral creek
#

But where the fuck is the folder then

shy pumice
#

which one are we doing again?

astral creek
#

I DON'T KNOW

#

I don't fucking understand any of this shit anymore

shy pumice
#

the one you're doing rn, which number is it?

astral creek
#

Arch wiki is so incredibly fucking unclear

shy pumice
#

like in the wiki

shy pumice
#

ok wait lemme see

astral creek
#

I don't have a wireplumber folder in either location

#

I'm genuinely getting pissed off at this shit

#

Who writes this fucking wiki

shy pumice
astral creek
#

No

#

5.1.13

shy pumice
#

oh lmao

astral creek
#

I don't have any of these goddamn files

#

Why do I have a media-session folder if I don't have it installed?

shy pumice
astral creek
#

If wireplumber is installed, where the fuck is the goddamn folder?

shy pumice
#

oh that

#

right right

astral creek
#

The arch wiki is so goddamn difficult to read and understand

shy pumice
#

you're following the pipewire-media-session one

astral creek
#

Well I was, until I found out I have wireplumber

#

But I don't have a goddamn wireplumber folder

#

So how am I supposed to do anything to edit wireplumber

shy pumice
astral creek
#

Replace what with wireplumber?

shy pumice
#

the word pipewire

astral creek
#

/etc/wireplumber/main.lua.d/51-disable-suspension.lua
Is empty

shy pumice
#

it is

#

you should copy and paste it there

#

and then save

astral creek
#

sigh

#

Alright

#

Saved

shy pumice
#

nice

#

now uhh restart pipewire and wireplumber

#

and hope it'll work

#

also probably pipewire-pulse too

astral creek
#

This fuckiung wiki IS SO UNCLEAR

#

God I hate it

#

I'm just gonna reboot

#

Can't fucking find shit on this wiki

shy pumice
#

lmao

#

I was like that at first

#

not that stressed though

astral creek
#

IM GOING TO SCREAM

shy pumice
#

thats the -git right?

astral creek
#

OH GREAT

#

STARTX DOESN'T WORK

languid path
#

wdym

shy pumice
languid path
#

what is the error

astral creek
languid path
#

install xterm

shy pumice
#

no

#

change it so that it launches plasma

languid path
#

yeah

astral creek
#

Great

#

How

languid path
#

read the wiki

astral creek
#

Oh gee

#

Very helpful

shy pumice
astral creek
#

That was sarcasm buddy

shy pumice
#

delete everything that doesn't relate to plasma

astral creek
#

Which file

shy pumice
#

xterm twm etc

shy pumice
astral creek
#

There's so many different files here idk which to edit

#

So
Nano that?

shy pumice
#

yep

languid path
# astral creek That was sarcasm buddy

I know, I still reacted 👍 because I genuinely believe that reading the wiki is the best advice I can give you, an advice that works regardless of the situation

shy pumice
#

oh yea

astral creek
#

It's fucking emPTY

shy pumice
#

the xinitrc in /etc is not the one you want btw

shy pumice
astral creek
#

Then what am I supposed to edit

shy pumice
#

wait let me look up what command to start up plasma

languid path
astral creek
#

I can't make sense of half the shit on the wiki

shy pumice
#

ok I found it

#

wait let me type

#
DESKTOP_SESSION=plasma
exec startplasma-x11
languid path
shy pumice
#

put that in your .xinitrc

#

and then you're done, just startx

astral creek
#

Ok, it worked

#

Well, at least I have a work around for THAT

shy pumice
#

nice

#

btw the xinitrc in your homedir has higher priority over the one in /etc

astral creek
shy pumice
#

oh yea

#

sddm automatic wallet unlocking thingy

#

yeah...

astral creek
#

Whatever

#

Audio

#

Let's see if it's unfucked itself

shy pumice
#

mhm

astral creek
#

Seems ok

shy pumice
#

is the crackling gone?

astral creek
#

Yes, but what the heck is going on here lol

shy pumice
#

are you playing a video?

astral creek
#

Recording test

shy pumice
#

is it that high before?

astral creek
#

It says 150% lmao

#

I know why this happens, just showing it for the giggles

shy pumice
#

you are recording so

#

yeah

astral creek
#

I can't believe it took until now to fix two very simple issues

shy pumice
#

probably because none came here to help you

#

but thats okay its fixed now

astral creek
#

sigh

#

Finally

shy pumice
#

rest easy

astral creek
#

And now OBS is just working funky

shy pumice
#

sigh

astral creek
#

Not a big thing

shy pumice
#

thats good I guess

languid path
#

so the problems are fixed?

astral creek
#

Smells like it

languid path
#

nice

#

you can close if you want or keep it open in case it isn’t

astral creek
#

I'm gonna keep it open in case something else happens or it comes back

#

I mean, I still have the startup issue
But I have a workaround by going into TTY, logging in, and startx manually

#

Which seems to be working fine

languid path
#

probably another thing that uninstalled itself

astral creek
#

No idea

#

But, it ain't broke, so I won't fix it

#

Wait where did Positive go?

#

NO THE AUDIO ISSUE IS STILL HERE AA

languid path
#

is pipewire up and running?

astral creek
#

I'd expect so

#

How do I check?

languid path
#

with systemd probably
sudo systemctl status pipewire

astral creek
#

Oh my god

#

Can I have 1 day

languid path
#

is pipewire installed?

languid path
astral creek
#

It must be

astral creek
#

Yes, it is installed

languid path
#

what happens if you run pipewire directly

astral creek
languid path
#

ok

#

that means that another audio server is running

#

could be pipewire

#

also I assume you have digged dmesg and journalctl for errors?

astral creek
#

I have not

#

Idk what that is

languid path
#

no one told you to do that???

#

wtf

#

well run dmesg and journalctl -xe and look for errors

astral creek
languid path
#

if the output is too long you can just pipe it to less

astral creek
#

How?

languid path
#

append | less

astral creek
#

Yeah idk what I'm supposed to look for

#

Can I print it out?

languid path
#

errors that talks about audio/pipewire

astral creek
#

Can I print it to a txt file?

languid path
#

yeah

#

sure

#

send it

astral creek
#

I don't quite remember how

languid path
#

well idk if there isn’t private things in there like your ssid

astral creek
#

thing.txt?

#

Append that?

languid path
#

appends
> overwrites

#

so wathever you want

astral creek
#

Which makes a text file output

languid path
#

both

astral creek
#

Man, it is 1559 lines long

#

How am I gonna find anything in here

#

I don't even know what I'm looking FOR

languid path
#

you’re looking for audio/pipewire messages

astral creek
#

Audio and pipewire turn up no results

languid path
#

no you need to manually read everything

astral creek
#

.................

#

I am not reading 1560 lines of text

#

There must be an easier way to do this

#

Also, if I don't even know what I'm looking for, how am I gonna know to find it?

#

How does searching for the string of "audio" not help?

#

Nothing

#

How would I possibly know

languid path
#

there is just the same error repeated again and again

#

not helpfull

#

which command was it?

#

dmesg?

astral creek
#

Yes

#

sudo dmesg | less > thing.txt

languid path
#

post the same thing without the pipe to less

astral creek
#

Wait no dum

#

Wait yes

#

That is the right file

#

Wait why isn't it different

#

OH

#

I'm dumb

#

Audio and pipewire still return nothing

#

Jack, Meizu, DAC

#

All return nothing

languid path
#

you can make a quick rexeg to delete every line that has alx or pcieport in it, that way you remove all that noise

astral creek
#

Awesome

#

How do I delete all lines with a string in Kate?

languid path
#

no idea

#

but I checked on my side, even if there is more data, its still useless, the same info again and again, let’s try the other command

astral creek
#

Great

languid path
#

not really

astral creek
#

It was sarcasm

languid path
#

my bad

astral creek
#

So uh

#

Any ideas?

languid path
#

what did journalctl -xe output?

astral creek
#

A lot

languid path
#

well search for helpfull errors there

astral creek
#

I seem to be unable to print it out

languid path
#

read the manual page for journalctl, there is probably an option to make it output to stdout, systemd is just stupid and doesn’t do that by default and idk how do make it so

astral creek
#

"Audio" comes up 9 times

#

Line 303, 323, 362, 375, 376, 378, 379, 380, 382, 398, 631, 645, 664, 665, 666

languid path
#

here you can just search for ERROR

astral creek
#

13

#

No relevant

#

Maybe relevant

languid path
#

no it’s ffmpeg

#

Jul 02 17:10:28 MSI plasmashell[1486]: [1486:0702/171028.378819:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory

#

this is interesting

astral creek
#

Oh?

languid path
#

did you use obs around that time?

astral creek
#

I did

#

To test stuff

languid path
#

well that’s obs i think

astral creek
#

Cuz it was the biggest culprit of audio issues

languid path
#

try to search for relevant stuff in /var/log/
in stuff like boot.log or xorg.log

astral creek
#

Can't view boot.log

languid path
astral creek
#

I didn't try to

#

I was also using dolphin and kate

#

Like, sure, I can view it
But idk what I'm looking for

languid path
#

read everything and search for audio related error messages

astral creek
#

Is there not a better way than reading hundreds of lines of shit

#

It's 592 kb

#

I am NOT reading all that

#

Nor would I be able to

languid path
astral creek
#

mrrrr

#

How?

#

Also idk what regex is

languid path
#

wouldn’t it be better if you were able to learn linux and the command line in a less stressfull and frustrating manner?

astral creek
#

Yes, but that ain't happening

languid path
#

well it would be if you used something like linux mint or fedora

astral creek
#

no

#

I tried

#

Nope

languid path
#

you tried both?

#

what about ubuntu

astral creek
#

Ain't gonna touch that with a stick

languid path
#

let’s see, what about pop os

astral creek
#

Touched, nope

languid path
#

I don’t see how arch is better in your case, it’s just breaking from everywhere

astral creek
#

Everything runs better

#

Despite the problems, I prefer it to everything else

shy pumice
# astral creek Um

Woah lol, that's borked aer (at least logs). Try pci=nomsi,noaer in grub.

languid path
#

it says corrected though

shy pumice
#

But most certainly it has nothing to.do with a sound issue

shy pumice
#

I have same one on my half dead laptop as a server

#

Getting this error constantly spamming syslog is not a good thing

astral creek
#

Uh, ok remind me in like...a bit

#

Cuz I'm eating

shy pumice
#

It's hardware stuff. Something on aer or msi is throwing wrong value consistently. It's not a big problem as it just throwing wrong value in a wall. The problem that syslog by default doesn't expect you to have aer or msi spamming shit in the file without spam limits. That's why over the time syslog file was taking up 200gb of space on my machine. The easiest way to get rid of it is to disable aer and msi through grub boot options. On some machines it possibly can be troubleshot, but mine lead me to a dead end. And pci=nomsi,noaer is the only option for me.

#

And basing that you have at least one faulty hardware spamming. I would advise to setup limits and logrotate for syslog just in case it decides to start nuking storage.

#

Could you also send detailed specs of your laptop please with low level stuff like up to models of your wifi. It would help me to pinpoint wtf is wrong if we have some common hardware that causes it. Because all my investigation led me in dead end with my system.

#

Nevermind the specs part. You can pinpoint it right away on your machine. My case was slightly different.

astral creek
languid path
#

inxi

astral creek
#

Great
How do I do that

languid path
#

install inxi and post output of
inxi -Faz --zv

astral creek
#

CPU: 6-core Intel Core i7-9750H (-MT MCP-) speed/min/max: 800/800/4500 MHz
Kernel: 6.1.37-1-lts x86_64 Up: 5h 44m Mem: 5202.7/15837.8 MiB (32.8%)
Storage: 2.75 TiB (29.1% used) Procs: 523 Shell: Bash 5.1.16 inxi: 3.3.27

astral creek
#

Coulda gotten dat myself

languid path
#

is this really the output of inxi -Faz --zv? it really looks like the output of inxi only

astral creek
#

I typed wrong

#

Oops I pasted both lol

astral creek
#

@languid path

languid path
#

it was for No.

astral creek
#

Huh?

#

Wym no

languid path
#

#1103658255479218236 message

astral creek
#

Wat

#

What are you trying to say

languid path
#

the person "No."

#

confusing username smh

astral creek
#

Oh

#

@shy pumice

shy pumice
#

Yeah thanks. I will cross-check it later.

#

Will probably be a busy week for me

astral creek
#

Well, the issue is still mostly gone, but only mostly

astral creek
#

Never fucking mind

#

It's not gone at all

#

I'm losing my goddamn marbles

shy pumice
#

Roll back recent updates?

#

or Update graphics drivers.

astral creek
#

It's been happening since November

#

It's not that

shy pumice
#

have u tried reinstalling linux?

#

im not even for sure what the problem is, its such a long threas

astral creek
#

Yes, it's persistent through installs

shy pumice
#

and the cracking sound is the problem?

#

over external or internal only or both?

astral creek
#

THAT is the issue

#

That is supposed to be a constant tone

#

But periodically, often when lload is high, it does that

#

Idk why, I've done everything I can think of to fix it

#

And if one more mfer suggests it's a physical connection issue, I am going to eat their bone marrow

shy pumice
#

do all speakers do that? headphones, laptop, external?

astral creek
#

I can't test that

#

My headphone jack itself is broken

#

It's likely a power draw issue to the DAC, that is the only thing I can think of

shy pumice
#

ok. so that's the internal speakers doing that?

astral creek
#

What

#

No

#

An external DAC

#

I never use the speakers

astral creek
shy pumice
#

how is the DAC hooked to your laptop?

astral creek
#

USB C

grave furnace
#

can someone tldr pls?

shy pumice
#

ok

astral creek
#

It's right there

astral creek
shy pumice
#

question: does the crackling happen if you use the laptop speakers?

astral creek
#

The video is right there

astral creek
shy pumice
#

please check

astral creek
#

Unlikely tho

#

Man idk how long it's gonna take

shy pumice
#

it may help you narrow down your problem

astral creek
#

It could take hours or days before it happens

shy pumice
#

the cutout?

astral creek
#

What

#

The crackling

#

Where did you get cutout from

shy pumice
#

first of all, why are you sitting around listening to that god-awful tone for hours or days, waiting to see if theres a crackling in it? 🤔

astral creek
#

What

#

I'm not

#

That's just the best way to get it on camera

shy pumice
#

i meant the crackling

#

the crackling only happens from hours to days then

astral creek
#

Unless you want to hear me listen to Genshin in the background with intermitent crackling

#

wat

#

I feel like you're not reading what I am typing

#

Playing that tone is the best way I can get it on camera
When the bug happens, I pull out my phone, crank up the volume, and play that tone

#

So I can prove I'm not insane

shy pumice
#

i understand

#

ill ask again

#

you keep accusing me of not listening, while skipping over my questions

#

does the crackling only happen on an hours-to-days occurance, or is it more constant?

astral creek
#

It's completely random

shy pumice
#

ok

astral creek
#

Completely and entirely random

#

But higher loads increase the likelyhood of it happening

shy pumice
#

well i do think, that trying to reproduce it with a different DAC, or different USB-C speakers would be a good option, if you have the means

astral creek
#

I don't have the means

#

And my actual headphone jack on this laptop is busted anyway

#

So no can use that

grave furnace
#

Honestly, this thread is so long now. I've watched the video but i'm still lacking a lot of the context. Would have been easier if you just made a new thread with a summary of your problem, what you've done, your config, etc etc...

shy pumice
#

i understand not wanting to listen to music on tinny laptop speakers.

astral creek
#

That's not the issue

#

The issue is not making sound

shy pumice
#

i just thought it might be an easy way to narrow down the problem to the DAC or the Laptop, one or the other

astral creek
#

As I said, it's likely a powerdraw issue to the DAC

shy pumice
astral creek
#

With the CPU scheduler not giving the right amount of power to it

#

Yeah, but when my monitor isn't plugged in, the issue is gone
And a monitor uses what, power

shy pumice
#

does the DAC not have its own power supply?

astral creek
#

No

#

It's passive

shy pumice
#

ooo ya that may be

astral creek
#

It works fine on my phone
Works fine without my extra monitor

#

But if I plug in the monitor, nope

#

Issues

#

And now I've had no issues for this entire conversation

shy pumice
#

i suspect DAC

#

as you said

astral creek
#

That is not what I said

#

I said it's the CPU scheduler not giving my DAC enough power

#

Whatver, fine, I will play for idk how long with just the speakers

#

But it's not gonna help

shy pumice
#

so if you got a DAC with a different power supply, would that solve that issue?

astral creek
#

Idk maybe

#

But I am not dropping money on a new active dac to diagnose such an issue

#

I feel stupid doing this

#

Because it's not gonna wield any results

#

It's going from a 600 ohm audio source to a like 10 ohm one

#

Welp, nothing so far, and I feel stupid too

#

It also happens on my IEMs through the DAC

#

And now it's fine again

#

And it's not a bloody connection issue, because shifting and wiggling my port around does fuck all

#

And now the problem is baaaack

#

I'm so angry

#

@shy pumice

#

Also
If it was a connection issue
It would happen even if I wasn't playing a game

#

It would happen all the time

#

But it's not
It's only when load is high

void shadow
#

If it’s only happening at load maybe it’s a kernel driver issue? And when under load something makes it try to take less power than what it actually needs?

astral creek
#

Yes that's what I suspect

#

And because the ground is busted on my actual port
I can't test it there

#

Wait a second...opening steam instantly caused it to crackle

#

Yeah, steam is causing audio issues

#

The fuck

#

WHY IS IT STEAM

#

@void shadow@shy pumice

void shadow
#

I told you it wouldn’t be at random

#

How are you running steam? Flatpak, repos

astral creek
#

Ok but WHO would have thought it'd be steam

#

Og all things

astral creek
#

Or community

#

Lemme check

void shadow
#

.aw steam

astral creek
#

Multilib

hearty wrenBOT
astral creek
#

It's multilib

#

So now we know what is fucking it

#

So how do I fix it

void shadow
#

Not sure, can’t see anything on the troubleshooting page from a quick glance

astral creek
void shadow
#

Could try the flatpak to see if the issue occurs there

#

Could also try opening it in other ways

#

And could troubleshoot specifically with other distros

astral creek
#

That seems very difficult and dangerous

#

But trying a different steam version could help

#

Other than flatpak

void shadow
astral creek
#

Any form of distro hopping

#

I really...can't be arsed

#

Last resort type deal

#

I'd rather test out a different version of steam

void shadow
#

I mean you could just make a new partition of like 15gb

astral creek
#

I really can't be arsed

#

I will do that as a last resort

#

But even if I do that, and we conclude it's something with Arch
What then?

void shadow
astral creek
#

They have a github??

void shadow
#

I assume so, csgo does

astral creek
#

Trying to install "steam for linux" and it is not working

#

Idk if this is any help

#

Seems like the closest thing to a potential solution

#

But this is for pulse...

#

I've diagnosed it a little more

#

It' s one of the deps for Steam

#

One of these is fucking it

#

I will try steam native which requires
alsa-lib alsa-plugins atk (at-spi2-core) bash cairo curl dbus dbus-glib fontconfig freeglut freetype2 gdk-pixbuf2 glew1.10 glib2 glu gtk2 lib32-alsa-lib lib32-alsa-plugins lib32-atk (lib32-at-spi2-core) lib32-cairo lib32-curl lib32-dbus lib32-dbus-glib lib32-fontconfig lib32-freeglut lib32-freetype2 lib32-gdk-pixbuf2 lib32-glew1.10 lib32-glib2 lib32-glu lib32-gtk2 lib32-libappindicator-gtk2 lib32-libcaca lib32-libcanberra lib32-libcups lib32-libcurl-compat lib32-libcurl-gnutls lib32-libdbusmenu-glib lib32-libdbusmenu-gtk2 lib32-libdrm lib32-libgcrypt15 lib32-libice lib32-libidn11 lib32-libindicator-gtk2 lib32-libjpeg6 (lib32-libjpeg6-turbo) lib32-libnm lib32-libpng12 lib32-libpulse lib32-librtmp0 lib32-libsm lib32-libtheora lib32-libtiff4 lib32-libudev0-shim lib32-libusb lib32-libva lib32-libvdpau lib32-libvorbis lib32-libvpx1.3 lib32-libxcomposite lib32-libxcursor lib32-libxft lib32-libxi lib32-libxinerama lib32-libxmu lib32-libxrandr lib32-libxrender lib32-libxtst lib32-libxxf86vm lib32-nspr lib32-openal lib32-openssl-1.1 lib32-pango lib32-pipewire lib32-sdl (lib32-sdl12-compat) lib32-sdl2 lib32-sdl2_image lib32-sdl2_mixer lib32-sdl2_ttf lib32-sdl_image lib32-sdl_mixer lib32-sdl_ttf lib32-vulkan-driver (lib32-nvidia-utils, lib32-vulkan-intel, lib32-vulkan-radeon, lib32-amdvlk, lib32-vulkan-virtio, lib32-vulkan-swrast) lib32-vulkan-icd-loader libcaca libcanberra libcups libcurl-compat libcurl-gnutls libdrm libgcrypt15 libibus libice libidn11 libjpeg6 (libjpeg6-turbo) libnm libpng12 libpulse librsvg librtmp0 libsm libtheora libtiff4 libudev0-shim libusb libva libvdpau libvorbis libvpx1.3 libxcomposite libxcursor libxft libxi libxinerama libxmu libxrandr libxrender libxtst libxxf86vm nspr openal openssl-1.1 pango sdl (sdl12-compat) sdl2 sdl2_image sdl2_mixer sdl2_ttf sdl_image sdl_mixer sdl_ttf steam vulkan-driver (nvidia-utils, vulkan-intel, vulkan-radeon, amdvlk, vulkan-swrast, vulkan-virtio) vulkan-icd-loader

#

Hm

#

The steam-native package seems to not cause audio issues

#

It does cause this, forces me to use the left icon, but then makes the right one anyway lol

#

Wait no I fixed it

astral creek
#

Mfer the bug is still happening

#

Aaa

shy pumice
#

Did you have [pulse] already before?

astral creek
#

No

shy pumice
#

What are other text with []?

astral creek
shy pumice
#
# PipeWire Configuration

## Default PipeWire configuration
[pipewire]
; uncomment the following line to disable autospawning of the PipeWire server
# autospawn = no

## Default PulseAudio compatibility layer configuration
[pulse]
; Enable PulseAudio daemon autospawning
; autospawn = yes

; PipeWire specific PulseAudio settings
; Uncomment and modify the following lines as needed
# daemon-binary = /usr/bin/pulseaudio
# autoloader = /usr/lib/pulse-<pulseversion>/modules/module-pipe-* <other-modules>
# use-pid-file = no
# cookie-file = /home/user/.config/pulse/cookie

## Default ALSA compatibility layer configuration
[alsa]
; Enable ALSA compatibility layer
; enable = yes

; PipeWire specific ALSA settings
; Uncomment and modify the following lines as needed
# restore_device = no
# suspend_device = no
# suspend_pcm = yes
# stop_pcm = yes
# use_mmap = yes
# use_vmalloc = no
#

Pipewire supposed to look like this??!??

#

Why tf is it like that

#

Did I miss on an update??

astral creek
#

This does not instill confidence

#

@shy pumiceSo...uh

shy pumice
#

So what

astral creek
#

So what am I supposed to do now

shy pumice
#

Pay up 3 cookies and I’m helping

astral creek
#

🍪

#

🍪

#

🍪

shy pumice
#

“%give 3 @shy pumice”

astral creek
#

%give3 @shy pumice

#

%give 3 @shy pumice

shy pumice
#

Nvm it don’t work in threads

versed shaleBOT
shy pumice
#

Oh yeah

#

Ok one enough

#

so wait give me a minute

#

sudo pacman -S pavucontrol pavucontrol

#

@astral creek

astral creek
#

Ok

#

Now what

#

It was already installed btw

shy pumice
#

What’s the output?

astral creek
#

It just opened the app

shy pumice
#

What does it say in the app

astral creek
#

@shy pumice

shy pumice
#

Rearrange

#

Lmk if it works

#

Or@if it doesn’t

astral creek
#

Huh?

#

Rearrange?

#

What does that mean

#

Rearrange what???

#

@shy pumice
Lexu

#

What does that mean

#

Lexuuu

#

I don't know what this means!

astral creek
#

Welp

#

Guess I'm going to bed

shy pumice
#

I’m back

#

My phone died and I was on a 10 hour trip

shy pumice
#

Probably not but let’s give it a try

#

I’ll find another way

astral creek
#

Yeah that didn't help

calm pendant
#

cat food mmmhhhmhmhhh

astral creek
#

Why are you looking at shit from that long ago

calm pendant
shy pumice
#

Is arch the only distro having problem

calm pendant
#

RHEL Is clsoed source

astral creek
#

Where did you get no from

#

Yes, this only happens in Arch

calm pendant
astral creek
#

Constant Audio Crackling usually caused by opening Steam, but often just completely random

shy pumice
#

What-

#

Only arch huh..
I know its not a good solution, but have you tried a clean reinstall?

astral creek
#

Yes

#

It's persistent through installs

calm pendant
astral creek
#

Without

#

Totally clean install

calm pendant
shy pumice
#

Well... That might do something

astral creek
#

Does not happen on any other OS

shy pumice
#

Hmm

#

Well obviously you can't delete /etc

astral creek
#

?

shy pumice
#

And I don't think .config has anything needed either

astral creek
#

From a live media yea

#

I cleared the whole SSD

shy pumice
#

Arch steam or flatpak steam?

astral creek
#

steam package is the worst offender
steam-native-runtimehas the least issues
flatpak steamis between the two in terms of being bad, plus it has trouble reading my 2nd SSD

#

So, will not use flatpak for this

shy pumice
#

Hmm.

bronze edge
#

cracking and persistence thru installs is usually a hardware issue

shy pumice
#

That and cracking usually happens when the system is under heavy load

bronze edge
#

load might make it worse