Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1640602
Summary: | broken with latest alsa(1.1.7) release | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Xose Vazquez Perez <xose.vazquez> | ||||||
Component: | alsa-lib | Assignee: | Jaroslav Kysela <jkysela> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 29 | CC: | bugs.michael, jkysela, malkodan, redhat-bugzilla | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | alsa-lib-1.1.7-2.fc29 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-10-30 17:29:05 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Xose Vazquez Perez
2018-10-18 11:51:31 UTC
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 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. |