Summary: | default multi sink profile does not create digital sink on startup | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | sam.right |
Component: | alsa | Assignee: | pulseaudio-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | pulseaudio verbose log |
Description
sam.right
2012-11-29 11:38:14 UTC
Running pulseaudio 2.1 If the multi-sink profile is active, but there's no sink for the digital output, something went wrong. Could you take a verbose pulseaudio log, as instructed here: https://wiki.ubuntu.com/PulseAudio/Log , and attach it here? As a sidenote, modifying the priorities shouldn't be needed if you have module-card-restore loaded (and it's loaded by default). Whenever you select a card profile, module-card-restore will remember that selection and restore it when pulseaudio restarts (or when the card is plugged in after unplugging it). Created attachment 70938 [details]
pulseaudio verbose log
pulseaudio verbose log as created by running
pulseaudio --system -vvvv --log-time=1 > /tmp/pulseverbose.log 2>&1
debug log attached. Let me know if you need anything else. It looks like the sound card doesn't support using both analog and digital output at the same time, so it's expected that the multi-sink profile doesn't work. The reason why it appeared to work when you manually changed from a single-sink profile to the multi-sink profile was probably that the analog sink was suspended during the profile switch, so the alsa device wasn't in use, making it possible to create the digital sink. When the multi-sink profile is activated at startup, the alsa device is opened when the analog sink is created, and then creating the digital sink fails. To me it looks like there's no bug. Thanks for your help looking into this. Is there any other way to create a fake sink that links to the digital output? I don't really need them to be able to produce sounds at the same time but it will make things a lot easier if analog and digital output can be presented as separate sinks so the application can just switch to the associated sink instead of going through profile switching and sink probing etc. Is it possible to force release the device or put the device into sleep mode after the single iteration of alsa device detection is successful? This could solve the problem. (In reply to comment #7) > Is it possible to force release the device or put the device into sleep mode > after the single iteration of alsa device detection is successful? This > could solve the problem. No, the card initialization routine is what it is, and it's not possible to affect it without modifying the code. And if you suggest that the code should be changed, that won't be done, because all sinks of one card profile are supposed to be usable simultaneously. Currently there's no nice way to route audio to targets that are not currently active, so switching card profiles (and/or sink ports) is necessary. There's some hope that this will be improved in the not-so-distant future. This is one of the biggest problems in pulseaudio, and there's work being done to improve the situation. I'll close this bug with NOTABUG resolution, since the failure to create the digital sink is expected behavior. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.