-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALSA error: snd_pcm_hw_params_set_format failed: Invalid argument. #413
Comments
It looks like a kernel driver issue (but maybe not even the sound driver). Try to connect your USB audio device to another USB port (like 2.0 only) on your system. Some USB host drivers have issues with the bandwidth calculation. Also try to reproduce your issue with the |
The usb port use is no a powered usb3 hub. 96000
192000
|
Make sure that no input stream is running on the same device while you test different parameters for the output. |
Yes there is no input stream running, dureing both tests.
|
Hm, what if you run with plughw instead of hw? Also, try to adjust the buffer and period size, too. |
Test with plughw, rate 96000, buffer-size=1000000 ==>OK
Test with plughw, rate 192000, buffer-size=1000000 ==>NOK
|
Also tryed different period sizes. |
Playing a flac with a samplerate higer than 96000 with audacious gives:
Output device for audacious is hw:1.0 - USB Audio
the device is a soudbaster blasterx G6.
output of cat /proc/asound/card1/stream0
linux: gentoo
kernel: 6.9.9-gentoo-x86_64
alsa-lib-1.2.12
alsa-topology-conf-1.2.5.1
alsa-ucm-conf-1.2.12
alsa-plugins-1.2.12
alsa-utils-1.2.12
selecting
in audacious results in no sound and audacious hangs.
Pipewire and wireplumber are used.
On an old gentoo- system on another partition all samplerates play successfully.
kernel: linux-6.8.1-gentoo
the versions of alsa are:
alsa-lib-1.2.10-r2
alsa-topology-conf-1.2.5.1
alsa-ucm-conf-1.2.10-r1
alsa-plugins-1.2.7.1-r1
alsa-utils-1.2.10-r1
On the new system the 'old' kernel linux-6.8.1-gentoo is also available.
Rolled back alsa-lib from alsa-lib-1.2.12 to alsa-lib-1.2.10 and booted kernel kernel linux-6.8.1-gentoo
Still same problem.
The text was updated successfully, but these errors were encountered: