You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The audio card (Intel HDA) on my Raptor Lake Laptop is stuck in 48 kHz, when the card can support more sample-rates as seen on screenshot 1
To Reproduce
Simply installed arch linux with the default settings (pipewire) and checked the card information using alsa-capabilities (also while playing 41.1 kHz audio using rox, it warned me that the files were being resampled)
Reproduction Rate
Thought it was a problem with my arch install at the time, recently I tried using cachyOS and the issue persisted.
Expected behavior
Any inspection would show that my card supports at least 41000 Hz (up to 96000 Hz) and audio and music in 41.1 kHz played directly to alsa would play normaly with no resampling.
Impact
Can't be 100% sure if my audio/music is being played with no modifications or interferences from outside sources (aka. want bit-perfect audio)
Environment
(Will try my best to give as much info as possible here, since i'm on fedora atm and did not take notes of eveything my old arch had, sorry for not issueing a ticket sooner)
Was in the latest version of arch linux under the default linux kernel, no alterations on the kernel (had real time group but not kernel). Later tried it on cachyOS, also latest version with everything as default as it could be (CachyOS install was about a week or 3 days ago) (Arch Linux: when i was trying to fix the issue and asked around for help when i was using my old arch install, it was Nov 13, thats the last time i touched on the issue)
Screenshots or console output
Screenshot 1:
Screenshot 2 (alsa-cap/alsa-capabilities output):
Screenshot 3:
Screenshot 4 (tried using music player deamon, to view logs):
@Inkukoops so usually most HDA sounds cards will default to 48kHz rate for the link/codec and this will remain constant once sound card is probed. The soundserver (default use case) or ALSA plugin can convert 44.1kHz to 48kHz or if you want low power conversion then you could add the SOF SRC to your HDA topology (best to ask your agent to do this).
Issue discussed on sof discord channel with @Inkukoops , thanks for filing the ticket!
We probably want to keep the rate fixed in the generic configuration as per previous comment. With resampling and multiple PCMs going to the same card (mixing audio on the DSP), it becomes problematic to set the codec backend rate based on what application configures for the frontend (link between user-space application and the DSP).
With that said, this behaviour can be overridden in DSP topology that is set up by alsaconf tplg files when SOF card is created. I played today with a custom HDA tplg file that allows both 44.1 and 48 and that works fine. I'll see if this can be made available as a separate configuration.
@Inkukoops As it seem at least some kernel work is needed to support multiple (backend) HDA codec sampling rates, here are a few shortterm options to make 44.1kHz work on specific setups (and do not require rebuilding the DSP FW):
if PCM is opened with 44.1kHz, same rate is used in the DSP pipeline and HDA codec BE is opened with 44.1
this is not a generic solution that can be shipped in distributions: if codec doesn't support all the added rates, behavior will be wrong (Pipewire and other apps can pick rates that don't work and will not get proper errors). kernel SOF: hda: reject unsupported HDA codec params linux#6067 will help with this but that requires more work before it is ready for use
disable DSP
you can bypass the DSP and the audio controller talk directly to the codec, all sampling rates exposed to applications
add "options snd_intel_dspcfg dsp_driver=1" to /etc/modprobe.d/snd.conf (or some other conf file )
you will lose DSP-dependent features (PCH DMIC, digital mic directly connected to motherboard, deep buffer and DRC speaker playback)
Activity
lgirdwood commentedon Nov 27, 2026
@Inkukoops so usually most HDA sounds cards will default to 48kHz rate for the link/codec and this will remain constant once sound card is probed. The soundserver (default use case) or ALSA plugin can convert 44.1kHz to 48kHz or if you want low power conversion then you could add the SOF SRC to your HDA topology (best to ask your agent to do this).
kv2019i commentedon Nov 27, 2026
Issue discussed on sof discord channel with @Inkukoops , thanks for filing the ticket!
We probably want to keep the rate fixed in the generic configuration as per previous comment. With resampling and multiple PCMs going to the same card (mixing audio on the DSP), it becomes problematic to set the codec backend rate based on what application configures for the frontend (link between user-space application and the DSP).
With that said, this behaviour can be overridden in DSP topology that is set up by alsaconf tplg files when SOF card is created. I played today with a custom HDA tplg file that allows both 44.1 and 48 and that works fine. I'll see if this can be made available as a separate configuration.
kv2019i commentedon Dec 2, 2026
@Inkukoops As it seem at least some kernel work is needed to support multiple (backend) HDA codec sampling rates, here are a few shortterm options to make 44.1kHz work on specific setups (and do not require rebuilding the DSP FW):
build a custom topology that adds other than 48kHz rates to sof-hda-generic.tplg. Here's an example PR that adds 44.1 : topology2: hda-generic: allow 44.1 kHz and 48 kHz playback #11595
disable DSP