As the title says.
I’ve looked at this link Audiophile and the arch wiki. And I don’t think I can find a solution.
I tried to followed the instructions on how to improve my sound quality.
The part where I have to:
To check out which output sample rate and sample format are the data sent to DAC (probably you need to change digits):
cat /proc/asound/card0/pcm0p/sub0/hw_params
The files it needs to cat are empty. I get an output called:
closed
further down the page i can Get all supported sample rates and formats.
But the folders they refer to do not exist on my system.
I know that x has to be replaced to suit my system. But I don’t have any streamX files or anything that starts with stream.
I don’t know if the above has anything to do with audio and video do not sync with each other.
But as long as my audio syncs with video, I’m fine.
Disclaimer; not on Endeavour (Manjaro for now…) so can’t check directly.
/proc/asound/card<x>/pcm<y>p/sub<z>/hw_params only provide said hw_params if said ALSA-device is not closed. PulseAudio closes an its sink underlying ALSA-device after an only short time of the sink being idle – and assuming you use PipeWire, appears it also does. I.e., if you want to know e.g. sample-rate of the audio the hardware is being fed when playing, play something and thencat that file.
PulseAudio/PipeWire sort of exist as a Just Works layer (whahahahaha – but never mind…) over ALSA and yes, one of the things they do is potentially resample audio before handing it to the hardware so as to be able to mix audio from different sources: that needs a common sample-rate. Yes, that introduces latency and if bad, may introduce A/V sync issues. Same is sort of true for e.g. software volume and certainly is for normalization, equalization, … – so it sort of depends on what if any special things you are doing and, yes, may also depend on your hardware. Some hardware e.g. advertises to support sample-rates and/or formats which it in fact only internally resamples/refits, again with potential latency issues.
If you are not doing anything special as to e.g. equalization my first suggestion would be to switch to PulseAudio; https://discovery.endeavouros.com/audio/pulseaudio/2021/12/. Not that PA is great but it’s at least more tested. You’d confirm/deny the issue being specific to PipeWire and/or your PipeWire setup.
inxi -Fxz will be needed for any more direct potential assistance…
If you are not doing anything special as to e.g. equalization my first suggestion would be to switch to PulseAudio; https://discovery.endeavouros.com/audio/pulseaudio/2021/12/. Not that PA is great but it’s at least more tested. You’d confirm/deny the issue being specific to PipeWire and/or your PipeWire setup.
I have a dual boot with fedora and EOS. I use pipewire on both OS. I don’t experience the same audio problems on fedora.
I can of course try to change it to Pulsaudio a little later and see if it works.
Haven’t touched the audio or much else in the system at all. It is a fresh install of EOS.
Okay, given that Fedora + PipeWire works fine where Endeavour + PipeWire does not, really all I can do is plug your hardware into Google and that’s not finding me anything that would have me recommend a kernel up- or downgrade or alike (but still do compare kernel versions between Fedora and Endeavour I guess) and that’s then to say that it’s seemingly something Endeavour specific which I’ll furthermore butt out of.
The A/V player(s) is/are also the same between Fedora and Endeavour?
That’s when I watch youtube videos. I don’t know what kind of AV player the system uses to display youtube videos.
I have tried to debug with mpv player. But the mpv player is way too slow. It spends a lot of time on buffering.
I have also tried downloading some youtube videos to debug through mpv player.
But it took 12 hours and it had only downloaded 20% of the video, without sound
google says it has nothing to do with mpv player or youtube-dl.
It’s youtube that makes it slow.
I can try to log into my fedora installation to see if I have any software installed there that I don’t have on EOS. But there should be less softwear and drivers on my fedora installation. Because, on fedora minimal you have to manually install hardware support and X drivers and utils.
On EOS base install/minimal, everything is installed unless you opt it out.
Do you use Firefox? Does fedora have Jack installed/running? Does that about:config tweak do anything useful on Endeavour? (where you don’t have Jack running)
I use firefox on both OS. And jack is installed on both OS.
But I have tried what was on that link. It did not work.
And I was wrong. Fedora does the same. Sorry.
Both are fresh installations. The problem was not there on fedora 36. It must have come with fedora 37, and the new kernel that was released 2-3 days before fedora 37 was released.
But on EOS, I have tried linux kernel, LTS and zen. It’s the same problem on all kernels.