ALSA error: snd_pcm_hw_params_set_format failed: Invalid argument.
alsa-project/alsa-lib issue #413 was opened from linuxandos2:
Playing a flac with a samplerate higer than 96000 with audacious gives:
_ALSA error: snd_pcm_hw_params_set_format failed: Invalid argument._
Output device for audacious is hw:1.0 - USB Audio the device is a soudbaster blasterx G6.
output of _cat /proc/asound/card1/stream0_
Creative Technology Ltd Sound BlasterX G6 at usb-0000:00:14.0-4.1, high speed : USB Audio
Playback: Status: Stop Interface 1 Altset 1 Format: S24_3LE Channels: 2 Endpoint: 0x01 (1 OUT) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 24 Channel map: FL FR Sync Endpoint: 0x81 (1 IN) Sync EP Interface: 1 Sync EP Altset: 1 Implicit Feedback Mode: No Interface 1 Altset 2 Format: S32_LE Channels: 2 Endpoint: 0x01 (1 OUT) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 32 Channel map: FL FR Sync Endpoint: 0x81 (1 IN) Sync EP Interface: 1 Sync EP Altset: 2 Implicit Feedback Mode: No
Capture: Status: Stop Interface 2 Altset 1 Format: S24_3LE Channels: 2 Endpoint: 0x82 (2 IN) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 24 Channel map: FL FR Interface 2 Altset 2 Format: S32_LE Channels: 2 Endpoint: 0x82 (2 IN) (ASYNC) Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Data packet interval: 125 us Bits: 32 Channel map: FL FR
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
pulse - PulseAudio Sound Server
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.
Issue URL : https://github.com/alsa-project/alsa-lib/issues/413 Repository URL: https://github.com/alsa-project/alsa-lib
participants (1)
-
GitHub issues - opened