alsa-project / alsa-plugins

The Advanced Linux Sound Architecture (ALSA) - plugins
GNU Lesser General Public License v2.1
41 stars 28 forks source link

ALSA error: snd_pcm_hw_params_set_format failed: Invalid argument. #62

Closed linuxandos2 closed 2 weeks ago

linuxandos2 commented 2 weeks ago

Playing a flac with a samplerate higer than 96000 with audacious gives:

_ALSA error: snd_pcm_hw_params_setformat 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. Using the same kernel: linux-6.8.1-gentoo as in the old system on the new one does not solve the problem. 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

linuxandos2 commented 2 weeks ago

I still have the kernel: linux-6.8.1-gentoo on the new system where the problem exists. The configs of both the new kernel and the old one are the same. With this kernel the same problem remains.

On both systems there are no .asound.rc and all files in /etc/alsa/conf.d are the same

linuxandos2 commented 2 weeks ago

No /etc/modprobe.d/alsa-base.conf exists on both systems.

linuxandos2 commented 2 weeks ago

Realize that alsa-plugins is not the place for this issue. Closing