Audio delay on a fresh install of CachyOS - Why is it a thing and not implemented from the start / fixed in a update?

Hello!

So i recently joined CachyOS community and it a great experience tbh, but this one thing really annoyed me.

When i was playing videos on a YT, there was a delay in audio - like 2-3 seconds after every single pause/unpause.

I found out this post on the forum and solution in there fixed it for good.

But why is this a problem on a fresh install of a OS? Why i had to do such a thing to fix thing like that?

I really wish for a CachyOS devs to implement this in system or update so we would not have to deal with it. As we can see i was not the only person who had this problem and it should be fixed.

As a linux newbie things like that… let’s say it kinda ruins the first impression of a system.

Please don’t hate me for that - just wanna help/improve such amazing OS :smiley:

Hello and welcome,

Not singularly but you seem to only be person number 3 or 4 on the forums.

Would it really be reasonable to add a patch or anything else that may negatively impact things like power efficiency for everyone just because an exceedingly small minority has flaky hardware?

Also here is the archwiki section for those that need it;

I mean we are not living in a 1990. Power efficiency should be turned off by default and if i would want to have some weird audio delay to save some power there should be toggle to turn it on/off. There is no such thing/problem on Windows. It just feels weird and gives a impression that something does not work properly.

Did powersaving die with 90s?
This is a weird take.

Why?
Thats not true for just about anything.
Your network card has powersaving enabled by default.
Not to mention whole frameworks like TLP or power-profiles-daemon.
And countless other modules and other things.
What about suspend or hibernate?

There are many such available methods - including the link shared above.
You could also disable any of the related things.
Maybe even swap out pipewire entirely if you wanted.

I mean you are the one saying that all power saving things should be disabled so why not go through and do that then rather than pushing the idea thats how it should be for everyone else? I do not think most would agree.

And there is no such problem on Cachy on my hardware.
So go figure.
Is the point that you think it would be a good idea to create and add to an ever-growing bloated codebase regardless of its overarching effects? And/or various particulars should also be cobbled together based on every individual users whims?
And/or that what microsoft produced should be emulated elsewhere?

I think a lot users are not even on linux because linux is great but more because windoze is noxious. That may generally be neither here nor there but the proposition that we should want to be like them at all is a tad curious.

But back to the main issue here..

You have a quirk particular to your system.
Maybe something to do with hardware.
Might even have some other software interaction as yet unmentioned.
The vast majority of users do not have to apply anything like the workarounds so far discussed.
Just because some user has a laptop with a broken touchpad does that mean touchpads should be disabled for everyone? Or some display requires a 10% overscan so that should be the default upstreamed for everyone?

Maybe there is some case for adding a toggle in one of the helper utilities like Welcome/Hello but I actually already tend to think its filled with too many things that should not be there and/or are superfluous.

Do people with 9800x3d and 9070xt with 32gb ram and 1000W power supply really need to be THAT efficient so when i play video it delays audio? Why other Operating systems dont force it from the install and it works perfectly there.

There is a switch. And it’s greyed out all the time so you cannot change anything there - maybe it works on a laptops?

And this thing exist on other PC’s with cachyOS because A FIX for the problem they created its in wiki. why these 10 lines of code are not implemented from the moment i installed the system? I guess create a problem and then give people solution is the right thing to do here.

Even if that thing does not affect your PC - These 10 lines or something like that should be put with the first installation of the system.

I highly suspect whatever else you are comparing to also implements power saving.

You seem to fail to understand that you are experiencing a quirk particular to your setup.

This is not some sort of ‘we added special power savings for funsies even though it exhibits weird behavior on half the systems’.

Its a standard on pretty much any modern linux system.

(Whether we are talking about pipewire audio or powersaving more generally.)

Why do you think its a “problem they created”?
Who is ‘they’ and what did they ‘create’?

The rest seems to indicate you did not read (or internalize) the remaining bulk of the message.

A known workaround posted to a wiki does not equal a problem ignored.

A workaround useful to some does not automatically equal “should be applied to every install.”

You’re misunderstanding the problem I think. This isn’t about adding delay to save power it’s more likely an issue with your hardware, firmware, or shitty drivers. Turning the power saving off is a workaround, not a normal solution.

Windows has plenty of quirks too, and hardware vendors focus (like 99% of effort) on Windows. On Linux, people expect things to work perfectly on all possible hardware combinations and devices (Unlike Mac).

People who prefer/like Linux should invest time to find and pick hardware that’s known to work well (e.g. Qualcomm Wifi cards often have issues and shitty drivers or firmware or both. They work 99% of times, but also cause issues and there are better options).

Most of us here aren’t fixing this by disabling power saving. We haven’t done that, and we don’t have any audio delay.