Bug 1035025 - Pulse Audio settings lost after reboot / HDMI is set as default
Summary: Pulse Audio settings lost after reboot / HDMI is set as default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 21:26 UTC by Mary Ellen Foster
Modified: 2014-04-24 13:19 UTC (History)
9 users (show)

Fixed In Version: pulseaudio-4.0-13.gitf81e3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-20 01:27:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 73375 0 None None None Never

Description Mary Ellen Foster 2013-11-26 21:26:56 UTC
Description of problem:

Since updating to Fedora 20, pulseaudio persists in keeping the wrong profile (in the "Configuration" tab in pavucontrol). I keep changing it to "Analog Stereo Duplex" and it keeps switching back to "Digital Stereo (HDMI) Output + Analog Stereo Input". This is true whether I have a device (monitor) plugged into the HDMI port or not.



Version-Release number of selected component (if applicable):
pulseaudio-4.0-8.gitf81e3.fc20.x86_64
pavucontrol-2.0-4.fc20.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Boot my laptop

Actual results:
Returns to trying to send audio through HDMI

Expected results:
Should keep using the internal speakers instead

Additional info:
lspci believes my sound card is the following:

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

Comment 1 Mike Hughes 2014-04-11 18:41:35 UTC
Confirmed.  "pavucontrol" does not save configuration changes as it did in the earlier versions.  Changes made here work but when the daemon is restarted, it goes back to a default setting which is not correct for my system.  I have to re-configure every time I log in.  I have tried a number of changes to the cofiguration files to get a different default but none of them seem to have any effect.

Comment 2 Rex Dieter 2014-04-11 22:46:59 UTC
Either of you mind testing pulseaudio-5.0 builds available from:
http://repos.fedorapeople.org/repos/rdieter/pulseaudio-backport/
??

I think some related work landed upstream recently that may help.

Comment 3 Rex Dieter 2014-04-11 23:03:14 UTC
It may match this one,
https://bugs.freedesktop.org/show_bug.cgi?id=73375

but that fix was only committed upstream a few days ago.

Comment 4 Mike Hughes 2014-04-12 14:15:51 UTC
Further examination of this suggests that if you have a connected HDMI port, the daemon uses it as the default sink and ignores all other configuration information. If you use the volume control to configure S/PDIF or analog output, it adds that port to the output sinks and you get output on both ports.  The next time you start the daemon, it goes back to configuring only the HDMI port.  There have probably been few reports of this because not that many people have a connected HDMI port but want to use something else for the audio output.  The volume control appears to be putting a valid default file in ~/.config/pulse but the daemon is ignoring it.

Comment 5 Rex Dieter 2014-04-12 15:49:18 UTC
Yes, that's precisely the case the aforementioned bug is about.

Comment 6 Rex Dieter 2014-04-12 16:53:37 UTC
Resetting summary to match upstream description.  I'll get to work on backporting it to our packaging for testing.

Comment 7 Fedora Update System 2014-04-12 17:26:06 UTC
pulseaudio-4.0-13.gitf81e3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pulseaudio-4.0-13.gitf81e3.fc20

Comment 8 Fedora Update System 2014-04-15 15:41:59 UTC
Package pulseaudio-4.0-13.gitf81e3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pulseaudio-4.0-13.gitf81e3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5123/pulseaudio-4.0-13.gitf81e3.fc20
then log in and leave karma (feedback).

Comment 9 Mike Hughes 2014-04-19 14:28:26 UTC
It appears that pulseaudio-4.0-13 does work properly and solves the immediate problem. I have found no issues so far.

Comment 10 Fedora Update System 2014-04-20 01:27:34 UTC
pulseaudio-4.0-13.gitf81e3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Paulo Roma Cavalcanti 2014-04-21 22:48:33 UTC
Before this update it was just a question of editing /etc/pulse/default.pa
and setting the card-profile and the default-sink.

When something was playing, I could then choose among hdmi, builtin sound and my wireless headphone. Everything worked like a charm. Now, it is only possible to choose from builtin sound and the wireless device. HDMI is gone!!

Why people try to fix what is not broken, and worse, do not even test?

My hardware is just an intel card whith a dvi, hdmi and display port adaptor. Nothing fancing. Just an Intel DH77BL card + I7 processor ...

Comment 12 Mike Hughes 2014-04-22 09:55:10 UTC
The HDMI output works fine for me with the new version, when set with "pavucontrol".  Make sure it is un-muted and the volume controls set. The utility appears to configure "~/.config/pulse/<FunnyNumber>default-sink" in F20.  The "~/.pulse" directory is no longer created (also true of F19). Perhaps the problem was that the daemon was looking for that directory.

Comment 13 Paulo Roma Cavalcanti 2014-04-24 13:19:39 UTC
I think I was not clear enough.

My mobo has three onboard sound devices. Threfore, I have three builtin devices.

If all of them are connected, I would like to be able to switch to using the one I like, on the fly. This is the main point of pulseaudio, after all.

With the previous version, when a stream was being played, I could choose from:

Builtin Audio Digital Stereo (HDMI)
Plantronix Wireless Audio Analog Stereo
Builtin Audio Analog Surround 5.1 

Now, with the new pulseaudio, there is only one builtin device available all of the time.
Of course, I can go to configuration in pavucontrol and change the builtin device from hdmi to Surrond 5.1 (from a list of douzen of options), and vice-versa, but then I have only two options to choose from:

Plantronix Wireless Audio Analog Stereo
Builtin Audio Analog Surround 5.1

This is clearly a regression. There should be available how many devices I have connected, whether they are builtin or not.

The only way to fix this issue is downgrading to
pulseaudio-4.0-9.gitf81e3.fc20

I agree that the previous version did not remember that a new builtin device was added after a reboot (it kept only the hdmi). However, it was just a question of adding the device in /etc/pulse/defualt.pa. This is what I add to mine:

------------------------------------------------

set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-surround-51+input:analog-stereo

set-default-sink alsa_output.pci-0000_00_1b.0.analog-surround-51

--------------------------------------------------


Note You need to log in before you can comment on or make changes to this bug.