Unable to get audio through HDMI connection to TV with Ubuntu 14.04

64,779

Solution 1

Just fixed my audio issues spent days updating drivers and it ended up being the most basic setting. Permissions, add yourself to the "audio" group. So pop out to terminal and execute the following command.

sudo adduser $USER audio

Hope it works for you as well. It's odd that you are not automatically in that group as sound is an essential service.

Oh, and reboot, just to ensure the permission kicks in.

Solution 2

Try these steps:

  1. Install pavucontrol, if you haven't already, using the command:

    sudo apt-get install pavucontrol
    
  2. Add your username to the groups audio, pulse, pulse-access, video and voice using the following command:

    sudo usermod -a -G audio,pulse,pulse-access,video,voice $USER
    

    If the command gives you errors on groups that don't exist, just ignore it.

  3. Install the latest ALSA drivers using the following commands:

    sudo add-apt-repository ppa:ubuntu-audio-dev/alsa-daily
    sudo apt-get update
    sudo apt-get install oem-audio-hda-daily-dkms
  4. Reboot and check if audio over HDMI is working.

Sources:

Solution 3

I was having same problem voice is not coming in TV after HDMI cable. I changed my sound setting after that it works perfectly. I changed my default sound setting as shown in image speakers to HDMI.

:

Sound Setting

Solution 4

Try restart Puseaudio,

after the PulseAudio restart the device now displayed at configuration window.

See command:

pulseaudio -k

I added $USER to audio group too:

sudo adduser $USER audio

From: https://itsfoss.com/how-to-fix-no-sound-through-hdmi-in-external-monitor-in-ubuntu/

Share:
64,779

Related videos on Youtube

Tom
Author by

Tom

Updated on September 18, 2022

Comments

  • Tom
    Tom over 1 year

    I'm having trouble getting audio through my TV which is connected via HDMI. The item is available (HDMI / DisplayPort 2) via sound settings, but it doesn't play any sound. I'm able to get the volume when logged in to Windows on the same setup.

    I've tried updating my graphics card drivers through Software & Updates > Additional Drivers to NVIDIA binary driver - version 331.38 from nvidia-331-updates)

    I've done a couple of the things listed here: Ubuntu refuses to output audio via HDMI (installed pavucontrol, did the sound test on the highest voted answer), but they seem to be related to not even seeing the device listed, whereas I have the device listed I just can't get any sound.

    When I play through Speakers - Build-in Audio it works

    • Admin
      Admin over 9 years
      Welcome to AskUbuntu! Could you list what program you are using to control your sound settings. (Not sure this will help, but more information is always nice)
    • Admin
      Admin over 9 years
      Just System Settings > Sound
    • Admin
      Admin over 9 years
      quick question: what kind of graphics card are you using?? Could it be a nvidia optimus card??
  • Tom
    Tom over 9 years
    Well, that worked... and, agreed, very weird you wouldn't automatically be in the audio group. Thanks for the help.
  • Nicu Stiurca
    Nicu Stiurca over 8 years
    Excellent, thank you! Although, you can improve slightly by using $USER so that people can just copy/paste the command.
  • rancho
    rancho almost 8 years
    what for those not having another sound card?
  • rancho
    rancho almost 8 years
    I did it, but didn't work. Also why should it work?
  • nyxee
    nyxee almost 8 years
    disabling my NVidia GPU is less acceptable.
  • jmasalle
    jmasalle about 7 years
    This is for a system with only 1 sound card: please try the solution verbatim.
  • Innocent Kithinji
    Innocent Kithinji over 6 years
    installing the alsa drivers caused my PC to kernel panic