protonscr

Wrong sound output in big picture mode in Ubuntu

steamopen reviewedAudio
ValveSoftware/steam-for-linux#4060 · opened 2015-10-12 by Luupuc · updated 2019-01-18 · 0 comments · github
LLuupuc 2015-10-12 github

I have written a script to do three things:

  1. change my display output from my monitor to my TV connected by HDMI (via xrandr)
  2. change the default sound output from analog to hdmi with:
    pacmd set-default-sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3"
  3. change steam to big picture mode using:
    steam "steam://open/bigpicture"

The sound output for the rest of the desktop is changed to hdmi as I want (so I know the pacmd command is working), but Steam big picture still outputs the sound to my analog output. Sound settings in big pictures mode say that the output is set to hdmi, but it is not. However, if I set the sound output in Steam settings to analog and then back to hdmi, then the output actually switches to hdmi.

The display output for HDMI is turned completely off before running the script so this might somehow affect Steam's strange behaviour. The version of Ubuntu I'm running is 14.10.

Nothing extracted yet.