No sound through HDMI cable, nvidia

24,066

Solution 1

OK... Let's try something different. Open a terminal for me and let me know if the following command makes a noise through your HDMI setup.

aplay -D hw:0,3 testsound.wav

NEW INSTRUCTIONS

Open a terminal and copy the command below

sudo gedit /etc/pulse/default.pa

Enter your password, and the configuration file for pulseaudio should open.

Look for:

load-module module-udev-detect use_ucm=0

and add a # to the start so it reads:

# load-module module-udev-detect use_ucm=0

Now go to the end of the file and add on a new line:

load-module module-alsa-sink device=hw:0,3

Save the file and reboot. This should restart your system with the HDMI audio.

Solution 2

Can you open a terminal and give me the output from

aplay -l

I had this problem in the past. I know SMPlayer can select audio outputs, so it might be worth checking out that app to see if you can get anything at all from your HDMI audio.

On SMPlayer, start up a video, then on the menu select Tools -> Preferences. On the Audio tab go for the Output Driver and change it from Pulse to one of the alsa (0.x - HDA NVidia HDMI) options. See what works.

Installing pavucontrol will also give you much better control over your individual audio outputs. HDMI output may be muted by default.

Share:
24,066
SHR
Author by

SHR

Updated on September 18, 2022

Comments

  • SHR
    SHR over 1 year

    Few days ago I've decided to install Ubuntu 13.04 (with dual boot Windows 8) on my old laptop (Toshiba Qosmio f55 q502) and make it my media center.

    Everything went well except that I don't have sound through my HDMI cable. I have tried looking for solution in other posts but with no luck. In the sound settings, I see 3 options: speakers, SPDIF, and HDMI. When I choose HDMI I'm not getting any sound in my TV. I have updated the nvidia driver (before that there was no video through HDMI as well)

    Please help me to solve this issue and to forget windows for good. Thank you

    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC272 Digital [ALC272 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
  • SHR
    SHR almost 11 years
    Hey, thank you for your reply. I have tried your devices but with no luck. In the SMPlayer i don't have any option with HDMI or Nvidia. I do have few "HDA Intel" but non of them gave sound to the TV when playing a movie.
  • SHR
    SHR almost 11 years
    In pavucontrol, I have selected "Digital Stereo (HDMI) output" but just cut the sound. My output from aplay -l is
  • SHR
    SHR almost 11 years
    **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC272 Digital [ALC272 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0
  • SHR
    SHR almost 11 years
    card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0
  • SHR
    SHR almost 11 years
    when runung "aplay -D hw:0,3 testsound.wav testsound.wav", this is what Iv'e got: No such file or directory
  • SHR
    SHR almost 11 years
    I appreciate your effort.
  • Drac Noc
    Drac Noc almost 11 years
    Actually... this is good news. If the HDMI channel wasn't working, you would have seen a different message. Your computer is ignoring the HDMI channel when you boot. It's possible to change this. Are you OK to change configuration files?
  • SHR
    SHR almost 11 years
    As I said, I'm totally new in this OS, but in windows I'm more then an average user. I don't have knowledge in writing codes but I can follow instructions. What should I do or read in order to change configuration files?
  • Drac Noc
    Drac Noc almost 11 years
    I'll change my answer...
  • SHR
    SHR almost 11 years
    I’ve followed the instructions. After doing so, my sound totally disappear. In sound settings-input, i have now only Built-in Audio, no HDMI and no optic outputs. in pavucontrol-playback, I can see that sound indicator bar moving when playing sound and in configuration I don't have anything.
  • SHR
    SHR almost 11 years
    in aplay -l the 3rd section changed from 1/1 to 0/1 "card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 0/1"
  • SHR
    SHR almost 11 years
    Thank you for you help. In alsamixer I don't have HDMI, I have Master, Headphon, PCM, Mic, S/PDIF. The Chip is Nvidia MCP77/78 HDMI
  • wizulus
    wizulus over 9 years
    This worked for me. Used hw:1,7 instead.
  • spyderdyne
    spyderdyne over 8 years
    This issue has disappeared for me on Wiley. FYI