SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

Audio settings in Big Picture mode won't stick after reboot nor microphone settings

Open paulonarciso opened this issue 12 years ago • 25 comments

Well, I have been testing the new change in Big Picture regarding Audio. It's welcome to see that we now can change to whatever sound card is available, and it works (sort of).

The problem is that SteamOS is configured by default to output sound through HDMI, that's clear in the last four lines in pulseaudio system.pa file.

So, sound settings in BPM don't get saved after reboot, because system.pa file is forcing a specific output.

A change in that especific area of the OS must be made for everything work as intended.

Now let's talk about microphone problems. In my system, which I'm using integrated sound (asus z87 pro) If I set my mic to rear microphone option and set the sound volume, those settings work only in that session, because if I reboot those settings are lost and mic sound volume revert to very low and It change to front microphone.

paulonarciso avatar Jan 24 '14 11:01 paulonarciso

Yes, Steam and SteamOS updates aren't interlocked; the next SteamOS update will remove the default sink selection logic in system.pa.

The audio settings panel in Steam will be extended for input support, which should address the second part of your concerns.

Plagman avatar Jan 24 '14 17:01 Plagman

21-01-2014 update fixed audio card selection not sticking after reboot. But sound volume still doesn't stick after reboot, unless I set the volume using alsamixer.

Also, there's a bug in Big Picture audio volumes becoming mutted after rebooting when making a change on those voumes.

paulonarciso avatar Jan 27 '14 23:01 paulonarciso

I've Just done a clean install with the latest custom installer and updates, including the 'alchemest_beta' updates and my settings/volume do not stay after reboot. When It boot's into BPM I must switch the output device to one of the other sinks first e.g. Off or Surround to get the volume to turn on. Also if I select 5.1 Surround during the session it default's back to stereo on reboot. Note that I have had to probemask all my other devices except the second port of the GTX550 card to even get HDMI audio. I have also tried removing the graphics card and just using the onboard Intel HDMI port but I don't get any sound at all out of the HDMI port and again the settings do not persist after reboot.

Anyone know the steps to get back to how audio was implemented in the prior releases as I have absolutely no need for audio in desktop mode, after all this is supposed to be a console.

jazz1138 avatar Feb 17 '14 00:02 jazz1138

Using YeOlde installer fixes HDMI audio for this user http://steamcommunity.com/groups/steamuniverse/discussions/1/558746089286275598/#p1

For me; recent audio updates broke my analog audio (again) All i had to do was probe_mask which made my analog device appear in sound settings and installing alsa-utils fixed the volume settings not sticking over reboots. ref: SteamOS was installed using YeOlde beta 2 installer.

Ironically i got the probe_mask info from jazz1138 from another thread here on GitHub and the alsa-utils fix has been posted several times from beta early days by paulonarciso....

Balderick avatar Feb 17 '14 23:02 Balderick

I have exactly the same issue with the latest YeOlde @Balderick. Although I haven't tried it with just the on-board Intel GPU like that guy is using. I presume this would fix the problem as we have the same Motherboard. I would love to just use the Intel Ivy Bridge GPU but my Pentium G1610 doesn't have the grunt to decode in-home streaming or render BPM at a decent frame rate so I have popped in the GTX 550Ti.

I'm becoming a bit of a veteran with these audio issues so I will turn on pulse debugging and see what I can find over the weekend.

jazz1138 avatar Feb 18 '14 03:02 jazz1138

had a bit of a play and come up with a dirty, dirty hack to get around the issue for now. I've edited /usr/bin/steamos-session and below "start-pulseaudio-x11" added "pactl set-card-profile 0 output:hdmi-surround" which is a command line version of togling the output's. It's basically saying select hdmi surround output on card 0. You could also do output:hdmi-stereo or output:analog-stereo or change the card to 1 if that's where your GPU lives.

Note: You will need to install the pulseaudio-utils package for the pactl command which thankfully is in the Alchemist repo. "sudo apt-get install pulseaudio-utils"

jazz1138 avatar Feb 25 '14 11:02 jazz1138

I'm running on SteamOS update 89 and every time I reboot I still have to go in and switch from HDMI to S/PDIF. I want to keep my install 'pure' so I don't want to mess with anything outside of BPM to fix it as I want to see how the beta is progressing - but I wanted to report that this is still an issue.

ReticentRobot avatar Feb 26 '14 14:02 ReticentRobot

Does it still happen to you with update 96 and the newest Steam beta client?

Plagman avatar Mar 26 '14 18:03 Plagman

I believe I'm on update 89 still, but I haven't booted up in about a week. I will do the update tonight and report back.

ReticentRobot avatar Mar 26 '14 18:03 ReticentRobot

Everything is fine now with the latest client updates.

paulonarciso avatar Mar 26 '14 18:03 paulonarciso

Nope, not fixed for me with update 96 - though it is closer. I have gone through the new 'reconfigure audio' walkthrough and rebooted 3 times now to confirm. Although it does remember that I want Built-in Audio instead of HDMI, the next option now does not save on reboot (Please choose an audio presentation from the list below). It keeps defaulting to 'Analog Stereo Duplex' instead of saving my selection of 'Digital Stereo (IEC958) Output + Audio Stereo Input' so I still get no sound on a reboot.

ReticentRobot avatar Mar 26 '14 21:03 ReticentRobot

I got it to repro. I'll take a look further.

bdeen-valve avatar Mar 26 '14 22:03 bdeen-valve

I should add that after I reboot and go through audio setup again, reselecting Digital Stereo, the options selected after that (port and codec passthrough) seem to be remembered.

ReticentRobot avatar Mar 26 '14 22:03 ReticentRobot

Awesome, thanks. The new wizard is quite nice BTW.

ReticentRobot avatar Mar 26 '14 22:03 ReticentRobot

I'm still having issues with the saved settings and audio in general, although it is getting better with each release. I still don't get any audio with the out of box setup as the HDMI output on my GTX 550 which has Audio mapped to HDMI/DisplayPort 2. Even when selecting this port in the new audio reconfigure menu I still don't get any sound. What I have done instead is to remap the channels in /usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf to better reflect my setup.

I have modified the bottom entry in this list so the second port comes first in the list e.g. "f,1:f:f2:f3".

The last piece of the puzzle was getting AC3/DTS passthrogh audio settings to stick so I can use XBMC's passthrough mode. Even though the settings for passthrough show as all ticked in the configure GUI, it doesn't work as expected. What I have had to do is add pactl set-sink-formats 0 "pcm; ac3-iec61937; dts-iec61937; eac3-iec61937" to the "/usr/bin/steamos-session"

I have also now removed pactl set-card-profile 0 output:hdmi-surround from the steamos-session file as I had in a previous post as you need to have hdmi-stereo selected for passthrough to work. Haven't tested if the surround/stereo settings stick after reboot but I shall have another look at it tonight. For now everything is finally working. Hopefully everything will eventually work out of the box without any hacks.

Valve dudes, is there anything you can do with the hdmi-extra.conf to add support for more exotic Intel and Nvidia hardware. As the current default's assume a particular scenario.

jazz1138 avatar Mar 27 '14 00:03 jazz1138

@jazz1138 ref: "Hopefully everything will eventually work out of the box without any hacks."

It is the outdated Pulseaudio package that is the problem. What we are all experiencing are known bugs associated with the outdated Pulseaudio package in SteamOS as well as Pulseaudio running in system wide mode.

Appropriately configuring pulseaudio for your system is no hack. IMO

I personally think all this should have been cleared up at this stage but do not know or understand why that particular pulseaudio package is being used in SteamOS or why it simply has not been updated yet.

Fortunately my audio still works for me after recent updates but i am not using HDMI.

Have you tried combining sinks?

You may have tweaked something that is affecting things. Have you tried completely purging pulseaudio and reinstalling? or alternatively use recovery partition as a restore point for system files?

Balderick avatar Mar 27 '14 01:03 Balderick

It's the Pulse version that came with Debian Wheezy. If you're aware of particular fixes that would address the issues you're talking about please point them to me and we'll backport them.

Plagman avatar Mar 27 '14 23:03 Plagman

One suggestion as a workaround would be to add "gnome-settings-daemon &" to /usr/bin/steamos-sesion which would allow the use of media keys to unmute/adjust volume as per user decides. Credit to directhex

The Arch wiki links (linked in issues here) describe many of the associated issues ( https://github.com/valvesoftware/steamos/issues/12 and others) with audio as known bugs related to pulseaudio 2 package which is an old package. The Arch wiki links are https://wiki.archlinux.org/index.php/PulseAudio/Examples https://wiki.archlinux.org/index.php/PulseAudio and this although described as nvidia specifc may help many other hardware configs ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_issues_in_pulseaudio

@Plagman Is it possible to add newer pulseaudio package to steampowered repos? Prevention is better than cure!?

Balderick avatar Apr 06 '14 12:04 Balderick

Same here as siteuntitled.

"siteuntitled commented a month ago Nope, not fixed for me with update 96 - though it is closer. I have gone through the new 'reconfigure audio' walkthrough and rebooted 3 times now to confirm. Although it does remember that I want Built-in Audio instead of HDMI, the next option now does not save on reboot (Please choose an audio presentation from the list below). It keeps defaulting to 'Analog Stereo Duplex' instead of saving my selection of 'Digital Stereo (IEC958) Output + Audio Stereo Input' so I still get no sound on a reboot."

guustflater avatar Apr 29 '14 07:04 guustflater

I too would like to use the digital capabilities of my onboard audio though appreciate configuring pulseaudio to use analog to get sound working is far better over having no sound at all. It appears steamos/pulseaudio sees non-hdmi devices/connection as non digital.

Balderick avatar Apr 30 '14 12:04 Balderick