Fix No Sound Through HDMI In External Monitor In Ubuntu Linux

Care to Share?

Fix no sound through HDMI in Ubuntu Linux

The other day, I connected my Acer Aspire R13 running Ubuntu 15.04 with my Samsung TV to watch a movie. To my surprise, there was no sound through HDMI in TV. The movie was displayed in the TV but the audio was still coming through laptop’s inbuilt speakers.

I have been in this situations in the past when HDMI audio not working in Ubuntu. This post was written more than two years ago when I faced similar situation with Ubuntu 12.04. But the previous time I could see HDMI option in the input audio source but in Ubuntu 15.04, HDMI audio option was not even listed in the input audio source so a switch to HDMI input was (seemingly) impossible.

For this reason, I decided to upgrade this article with new solutions so that you could fix no sound through HDMI problem in Ubuntu 12.04, 14.04 and 15.04. Though I did it for Ubuntu, I presume these solutions should also work for Linux Mint, elementary OS and other Linux distributions based on Ubuntu.

Fix no audio through HDMI in Ubuntu

Solution 1: Change default sound setting

I saw a number of forum posts with trouble on the audio problem in extended monitor in Ubuntu. Thankfully this problem was not complex, at least in this case with Ubuntu 12.04. The reason in my case was that the default sound setting was “built-in speaker audio”. Changing it to HDMI saved my day.

Step 1

Open the sound setting. Type “sound” in Unity dash (by pressing the Super/Windows key) or from the top right corner choose the system settings and then look for sound setting.

Ubuntu System Settings

Step 2

In the sound settings, in Output tab the built-in-audio was set to Analog Stereo Duplex. Change the mode to HDMI output Stereo. Note that you must be connected to an external monitor through a HDMI cable to see HDMI output option.

[Move to solution 2 and 3 if you do not see HDMI / DisplayPort in the listed output options]

When you change it to HDMI, a new icon for HDMI pops up in the left sidebar. Click on it and enjoy the sound of music.

Solution 2: Kill running Pulse audio daemon

This solution worked for me in Ubuntu 15.04. Unlike the previous solution, this time there was no option to change the output mode to Digital Stereo. I just saw the following screen in audio settings:

No HDMI audio in Ubuntu LInux

Interestingly, fixing it was even easier.

Step 1

Connect your TV or external monitor through HDMI while you are using Ubuntu.

Step 2

Open a terminal (Ctrl+Alt+T) and use the following command:

pulseaudio -k

This kills the running daemon. The command doesn’t need super user access.

Step 3

Now, open Sound Settings again (steps described in solution 1). You should see the option of HDMI in the Output tab:

HDMI audio Ubuntu

Once you do this, from next time onwards, HDMi will automatically be detected when you plug in the cable. If you face issue again, just run that command again.

Solution 3: PulseAudio Volume Control program

Even if the second solution did not work, try changing the configuration with PulseAudio Volume Control.

Step 1

Open a terminal and use the following command to install PulseAudio Volume Control:

sudo apt-get install pavucontrol

Step 2

Open PulseAudio Volume Control

Step 3

Under the Configuration tab, change the built in audio profile to HDMI:

No audio in HDMI in UBuntu

This should fix the issue of sound through HDMI.

Did it work for you?

Did the solutions discussed here helped you to get audio through HDMI? If yes, which solution worked for you. If you are still facing issues, feel free to ask questions in the comment section. I’ll try to help. Cheers :)

  • nick

    Hi, I’m having a similar problem, however after following your steps I can play sound through my tv, just not with google chrome?

    • http://www.computerandyou.net/ Abhishek Prakash

      I am not sure if get you completely. Did you mean that you can hear the music player on TV but not youtube video playing on Chrome?

      • Layton Gates Whiteley

        thats exactly what I am experiencing now. Firefox plays through hdmi but google chrome doesnt

  • Greg Goodsir

    I have the problem that there is no option in sound, output for hdmi. The TV is connected and displaying alright but just no option to select hdmi.

    • http://www.computerandyou.net/ Abhishek Prakash

      Do you have Pulse audio installed?

      • Greg Goodsir

        Yes.

        • http://www.computerandyou.net/ Abhishek Prakash

          Hi Greg,
          When you have your TV connected, could you please send me screenshots of the Audio settings? You can attach the pictures in the comment section.

          • Gerhard

            Was there a resolution to this problem? I am having the exact same issue.

      • Greg Goodsir

        So will I need to uninstall pulse and install aslsa?

  • Greg Goodsir

    Here are my Settings in Ubuntu 12.04, Catalyst 12.10 and internal LG TV sound setting.

  • Greg Goodsir

    Screenshot 2

  • Guest

    Screenshot 3

  • Greg Goodsir

    Screenshot 4

  • Greg Goodsir

    Screenshot 5

  • Greg Goodsir

    Screenshot 6

  • Greg Goodsir

    TV Sound Setting Screenshot 7

  • Greg Goodsir

    I cannot upload screenshot 3. It opens alright in “Image Viewer”. It is just showing the second tab of multi display with a diagram of their relative size.

  • Greg Goodsir

    Ubuntu Sound Settings

    • http://www.computerandyou.net/ Abhishek Prakash

      I see that Mode has been set to “Analog Stereo Output” Can you try changing it to HDMI?

      • Greg Goodsir

        In the Mode there is no HDMI option.

  • Dirac

    How would this be done via the terminal? I don’t use unity; too resource intensive.

  • Emerson Oliveira

    Very helpfull! Thanks :)

  • Mark R Smiley

    Thanks.. works great…

  • Derek

    That’s fantastic, but what happens when the hdmi/display port option doesn’t even show up or exist? I even have indicator sound switcher 1.2.2 and it switches to hdmi. The basic settings won’t even acknowledge it. . .

    • http://itsfoss.com/ Abhishek Prakash

      Reinstalling pulse audio may help.

  • Derek

    That’s fantastic, but what happens when the hdmi/display port option doesn’t even show up or exist? I even have indicator sound switcher 1.2.2 and it switches to hdmi. The basic settings won’t even acknowledge it. . .

  • Rafael Battesti

    I’d thought of installing proprietary soundcard drivers and everything but forgot to just check the sound settings! Thanks man! =]

  • Pingback: Fix Missing System Settings In Ubuntu 14.04 [Quick Tip]()