ERROR util.cc:269 [audgui_simple_message]: ALSA error: snd_pcm_hw_params_set_period_time_near failed: Invalid argument. https://www.alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7 alsa-lib-1.1.7-1.fc29 alsa-plugins-1.1.7-1.fc29 alsa-tools-1.1.7-2.fc29 alsa-utils-1.1.7-2.fc29 xmms is working fine.
Workaround: Increase the output buffer size to at least 2000 ms in Audacious' ALSA settings. Everything lower than that fails to work with the new ALSA.
It seems that this commit might be related: http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=9bb985c382bab8c3bf83c0d23f50195288d3cf9f
Could you compile alsa-lib from sources, enable RULES_DEBUG in alsa-lib/src/pcm/pcm_params.c and show the stderr output from audacious? You can use LD_PRELOAD=..../alsa-lib/src/.libs/libasound.so.2.0.0 to avoid installation of library binaries for this test purpose.
Created attachment 1496690 [details] debug output for comment 3
Thanks, please, enable also REFINE_DEBUG to analyze the complete log.
Created attachment 1496815 [details] more debug output
Thanks, what's your hardware/plugins behind the 'default' device? Please, show output from: aplay -Ddefault -v -d 1 /dev/zero The problem is that we end with the PERIOD_SIZE (2756 2757) interval which is empty for the natural numbers.
I can reproduce this with the loopback device: ~/.asoundrc: pcm.aloop44100 { type rate slave.pcm hw:Loopback slave.rate 44100 } $ LD_PRELOAD=./src/.libs/libasound.so.2.0.0 aplay -Daloop44100 -c2 -r 44100 -fS16_LE --period-time=62500 --buffer-size=11025 -v -d 1 /dev/zero aplay: set_params:1382: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 44100 PERIOD_TIME: [62494 62495) PERIOD_SIZE: (2755 2756] PERIOD_BYTES: (11020 11024] PERIODS: [4 5) BUFFER_TIME: (249977 249978) BUFFER_SIZE: 11024 BUFFER_BYTES: 44096 TICK_TIME: ALL It works when 9bb985c382bab8c3bf83c0d23f50195288d3cf9f is reverted. http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=9bb985c382bab8c3bf83c0d23f50195288d3cf9f
We have a fix: http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=b420056604f06117c967b65d43d01536c5ffcbc9
alsa-lib-1.1.7-2.fc29 alsa-plugins-1.1.7-2.fc29 alsa-tools-1.1.7-2.fc29 alsa-utils-1.1.7-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4814c56802
alsa-lib-1.1.7-2.fc29, alsa-plugins-1.1.7-2.fc29, alsa-tools-1.1.7-2.fc29, alsa-utils-1.1.7-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4814c56802
alsa-lib-1.1.7-2.fc29, alsa-plugins-1.1.7-2.fc29, alsa-tools-1.1.7-2.fc29, alsa-utils-1.1.7-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.