[solved] no sound in HDMI

Hi,
I have Arch linux installed in Intel NUC DC3217IYE which has only hdmi output, no jack. I get no sound from HDMI and I can not triage why. The aplay output is:
[xan@cinezzin ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
[xan@cinezzin ~]$
Thanks in advance,
Last edited by xanb (2015-02-12 14:36:58)

xanb wrote:
Partial progress: following this guide, I got this:
[xan@cinezzin ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
[xan@cinezzin ~]$
Then, I created the .asoundrc file:
xan@cinezzin ~]$ cat .asoundrc
defaults.pcm.card 0
defaults.pcm.device 7
defaults.ctl.card 0
[xan@cinezzin ~]$
and with
speaker-test -D plughw:0,3 # for slot 1
I get sound [that is the HDMI output works]. With
speaker-test -D plughw:0,7
I get no sound.
But I cannot play any sound at all. If I reproduce a wav file, then I get no sound.
Any thought.
Thanks,
I had similar issues the first time I tried to get HDMI sound to work. The issue is that these cards come with multiple devices so alsa/pulseaudio seem to have issues determining which one is actually used, and more often than not the incorrect one ends up being the default.
From your post it is quite obvious that you are attempting to default the one device which does not work, device 7. The device you report getting sound from is the third one so naturally that's the one you want to attempt defaulting to.
In pulseaudio you can edit /etc/default.pa and add the following entry at an appropriate place:
load-module module-alsa-sink device=hw:0,3
Restarting pulseaudio and choosing your device from something like pavucontrol should then do the trick. You could of course find some similar method of making the change permanent using just alsa, but since I never bothered using alsa directly I will leave that part to you.

Similar Messages

  • [SOLVED] No sound with HDMI output

    aplay -l:
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    lsmod | grep snd:
    lsmod | grep snd
    snd_hda_codec_hdmi 23672 1
    snd_hda_codec_realtek 60377 1
    snd_hda_intel 24053 7
    snd_hda_codec 94273 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74958 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    snd 58997 20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5410 1 snd
    I tried the solution in the wiki. The sound would work when I issued the aplay command, but then when I set the .asoundrc file, sound would not work (after logging out and logging back in). I also tried this solution from another thread, but I mistakenly forgot to make backups of the two respective files and now I have no sound at all. Help would be much appreciated! Thanks!
    Edit:
    Also tried this, didn't work either.
    Edit2:
    Finally got it solved! All I had to do was go into alsamixer and unmute the "S/PDIF" channel, follow the instructions from the wiki (see link above), and I finally got the sound to work.
    Last edited by bl3ndy (2012-07-08 20:05:18)

    Check this:
    https://discussions.apple.com/message/20616650#20616650

  • [SOLVED] No Sound through HDMI port in Intel after power save

    Hi,
    I build an HTPC with Arch inside. I output the sound into the HDTV through the HDMI port of the motherboard, following the instruction of the archwiki. Both, the audio and the video are from the motherboard (i.e, I don't have external video or audio cards). Everything works very neat, except for one issue. When I have a couple of minutes without moving the mouse, the video goes black, like a screensaver and I also lost the audio. I guess it is a default configuration in a power saving domain, although I don't remember having installed any. Maybe it is a default of the video driver. I'm using the default xf86-video-intel driver, and I have installed the lib32-intel-dri package.
    If a move mouse, the video returns normally. The problem is the audio. I guess that it's because I have the audio through the HDMI port. If I move the mouse immediately after the video and audio are gone, both return without problem. But if I leave the system into this power saving mode for a couple of minutes, and then move the mouse, the video goes back, but the system is mute. I try
    $ speaker-test -c 2
    , and also
    $ aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
    and there are no errors. It seems like the sound is being played, but no longer through the HDMI port.
    Is there anyway to check where that powersave comes from? Is there any way to disable it, or at least, a way to make sure that the audio is output through the HDMI port after the powersave mode?
    If someone is willing to help, and need the output of command or the content of any configuration file, please let me know.
    Thanks in advance,
    Last edited by phollox (2013-05-09 18:42:38)

    Thanks jv2112. I read that article before but skipped that section. I disabled all of those options, and at least, the sound doesn't disappear after the video goes black. I have tried several times, for several hours, and the sound is still there. The video still goes black, but I have my sound. Therefore, I mark this issues as solved.
    Thanks,
    jv2112 wrote:
    Check out the wiki.
    https://wiki.archlinux.org/index.php/Intel_Graphics
    Module-based Powersaving Options
    The i915 kernel module allows for configuration via /etc/modprobe.d/i915.conf wherein users can define powersavings options. A listing of options is available via the following command:
    $ modinfo i915 | grep power
    An example /etc/modprobe.d/i915.conf:
    options i915 i915_enable_rc6=7 i915_enable_fbc=1 lvds_downclock=1

  • Solved: No sound over HDMI - HP Pavilion dv3510nr Entertainment Notebook PC

    I bought an HP Pavilion dv3510nr in April 2009 (4G Ram, Vista Home Premium 64Bit).  As I did not have access to any HDMI devices I didn’t have the opportunity to use the HDMI output. Recently I obtained an HDMI TV and when I connected the dv3510nr the video worked fine, but there was no sound. Set the default playback device to Digital Output Device (S/PDIF/HDMI); this made no difference. Over many days I tried various suggestions regarding possible solutions, all without success.
    Shortly after buying the laptop, I visited NVIDIA’s web sit and updated the original video drivers to the latest version (version 186.03). According to the NVIDIA, the 186.X drivers offer a very significant performance increase for many applications, and also include PhysX system software for hardware acceleration.
    Checked HP’s support page for my model here, and found that the latest drivers provided by HP were version 7.15.11.7903, (Called NVIDIA NB9M-GS Graphics Drivers).
    Decided to replace my current drivers with these older ones. This was harder than I expected. Downloading and running the exe file (sp41695.exe) did not replace the existing 186.03 drivers. Using the control panel to uninstall both the drivers and the PhysX software seemed to work, but on rebooting, the drivers were automatically re-installed. I also used Device Manager to uninstall them. Eventually I succeeded and again tried to install the older drivers provided by HP; this time I received an error message saying that I was “Trying to use a 32-bit uninstaller on a 64-bit system”. The program sp41695.exe initially creates a folder C:\SWSetup\SP41695 that contains several files including a setup.exe file and two other folders: WinVista32 and WinVista64. Each of these also contains setup.exe files. I ran the setup.exe file in the WinVista64 folder. This successfully installed both the video and sound drivers for my graphics card. HDMI sound has worked fine since then. Needless to say, from now on I will only install drivers etc. from HP website!
    Hope this saves someone else some time.

    Here is a thread and it seems like one person got it to work by uninstalling and reinstalling but I didn't read it that carefully.  There does seem to be a problem with getting a real windows 7 driver:
    http://h30434.www3.hp.com/t5/Notebook-PC-Sound-and-Audio/Conexant-High-Definition-Audio-Driver-for-W...
    Here is another thread (not HP) that said he forced the driver and got it to work:
    http://www.sevenforums.com/sound-audio/10471-conexant-high-definition-audio-windows-7-rc-1-no-sound....
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may click on the white star in the "Kudos" button for any helpful post to give that person a quick thanks. These feedback tools help keep our community active, so you receive better answers faster.

  • [Solved] No sound from HDMI, Intel HDA, Pulse Audio

    It used to work (TM).
    I always use pavucontrol to change the output to hdmi, and the mixer shows sound playing, but nothing comes from the TV.
    I have no ~/.asoundrc and the /etc/asound.conf is the default that is written when pulse is installed.
    aplay -l gives this:
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
    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
    card 0: Intel [HDA Intel], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Any ideas?
    Last edited by pogeymanz (2012-01-21 19:58:24)

    The nvidia section of the pulseaudio page on the wiki looks similar. I don't see anything in the instructions there that would make the solution nvidia-specific. I would consider giving it a shot to start here but replace "device=hw:1,7" with "device=hw:0,7".
    Maybe, the name of the section needs changing to something more generic than just nvidia. Eg, it may be more appropriate to call it just "HDMI Configuration" with a note about which cards it's known to apply to.

  • [SOLVED]Problem with sound in HDMI

    Hello good society of Arch
    Now I have problems with sound from HDMI. I use Arch as an tvPc, wasting movies and tv shows on it. I use ALSA and it works well, except of a few files that I have, then there is picture but sound is either twisted or not played at all. It does not matter whether I use vlc or mplayer, I'm experiencing the same problem.
    I have not found anything about this with google, other problems have been either hdmi sound working or not, not like it is with me, sometimes it works and sometimes it don't.
    I know that the files are ok, I can play them in anther pc I have (also using Arch on that pc).
    Does anybody know what the problem might be? What do I have to look at to find out what the problem is? This have been like this for some time now, but I haven't looked into it before, because I don't use TV that muts, but the wife does and when she stats blaming Arch, I have too do something about it.
    I have never encountered problem with Arch that i cant solve by using this forum and google
    Thanks
    Last edited by Vaski (2010-08-21 01:08:42)

    cleanrock wrote:I noticed i got no audio over hdmi on some video file which had a low audio bitrate, i solved it by resampling the sound to 48000 in ~/.mplayer/config :
    af=resample=48000
    I will look at this when i come home from work, thanks.
    nTia89 wrote:have you already read our wiki ?
    Yes i have, and sound is working, well most of the time.

  • Sound through hdmi to my tv works but not when watching video online like 4OD

    the sound through hdmi to my tv works with music and videos I have downloaded, but not when watching video online like 4OD and youtube.
    How can I get it to work?

    Ok so I happened to figure it out while on the phone to apple support. Even though the guy was very nice, I think I knew more than him! He was explaining very basic resolution principles I played about. I had the second option in displays resolution. All I did was unplug the HDMI cable, click on 'best for display' then plugged the HDMI in and my resolution on the normal monitor changed to the normal blue, then went black momentarily and then changed to a strange resolution but another window appeared that said SONY BRAVIA HDMI at the top! Hey presto! Don't know why it didn't do it yesterday - I probably left the HDMI cable in or something! Oh well. Problem solved!

  • Mac mini no surround sound via HDMI to TV

    I have a MacMINI 2011 which is connected via HDMI cable directly to my Samsung UA55HU8590 TV.
    The problem is that the MAC is not delivering a surround sound. If I e.g. watch a movie via iTunes I can only listen in stereo not in DTS or any other dolby sound.
    I see in the midi audio setup at the HDMI entry that all my 5.1 settings are greyed out.
    I have the latest Yosemite installed.
    How can I transfer surround sound via HDMI to my TV?

    Try:
    Force 5.1 out over HDMI
    http://blog.hqcodeshop.fi/archives/146-Mac-OS-X-Dolby-Digital-5.1-with-Mac-Mini- solved.html

  • Satellite U400-15E - Upgraded to Windows 7 32-bit now NO sound through HDMI

    I upgraded from vista to windows 7 32-bit, now i have no HDMI device shown under playback devices, i have installed new windows 7 drivers but still no luck. Under device manager/sound a HDMI device is shown as enabled and when connected to an external TV video is shown but no HDMI sound. please can someone help......

    I have found out the solution to get HDMI sound to the TV
    1. Right click volume icon on taskbar
    2. Select playback devices
    3. Right Click on SPDIF Interface and select Default Communications Device.
    4. Connect HDMI from TV to Laptop
    5. HDMI Device should be selected automatically.
    When HDMI is disconnected the HDMI device is shown as disabled in playback devices whereas previously this device wasn''t shown at all.

  • Qosmio G50 No sound over HDMI

    *Qosmio G50 No sound over HDMI*
    Hi all,
    Hopefully anyone recognises the following and would be so kind to help me. I have searched the forum and tried severall of the offered solutions mainly applicable to Vista, but still.
    I hooked up my Qosmio G50 to my Philips LCD by HDMI cable. Picture is ok but there is no sound. I tested the cable with a Toshiba Satelite Pro L550 and it works allright. Picture and Sound are working. But that laptop has Intel HDMI audio.
    I'm running Windows 7 Home Premium 64 bit. I upgraded by Toshiba update DVD from Vista 64 bit. Sadly I do not know for sure if HDMI audio did work before that. I think so because I did use the laptop for watching a movie on a Panasonic plasma. But I can not remember if that was before or after the upgrade.
    Realtek HD Audio device is installed driver version 6.0.1.5923
    Realtek HDMI Output is selected als default playback device.
    Testing gives me graphical response ( the indicator flashes ) but no audible sound from my tv.
    Choosing the other audio device Realtek Digital output changes nothing and I do not believe that this would work anyway.
    I have tried removing the device and reinstalling the original drivers. I have tried REaltek drivers from their website.
    I have tried changing the view to HDMI only but that does nog change anything either.
    One thing that worries me is that under Sound / Realtek HDMI Output / properties / Supported Formats there are no formats present. The Satelite gives me DTS audio and some other. So I am wondering if there should be formats present and if so how can I change this / add any.
    Please forgive me if there are errors in the text. I am translating this from a dutch language version of Windows 7.
    Please help me. Any suggestions are welcome!

    Jeka-?? & PinkPanther thanks for your replies!
    The solution for the G30 you mention is not the one for me I am sorry to say. I have tried that one allready. Windows automatically switches on the HDMI audio out when I connect an HDMI cable. Connecting the cable before switching on the TV and laptop is a good thing to try because it eliminates possible problems with the connection. The connection in my case is ok.
    At some point I concluded that there must be a softwareproblem of some sort.
    I have found the solution over night. Could not sleep anyway. I did not know that the videodrivers are also handling HDMI audio out but in a way it makes sense. I have completely deinstalled the NVIDIA video drivers. After downloading the latest drivers and installing them everything works absolutely fine!

  • No sound on HDMI with Windows 7 om Mac Mini 2010

    Hi,
    i've installed bootcamp (windows 7 64 bit) on a new mac mini. When I turn on power an boot windows there's no sound over HDMI. The windows device manager says that everything is working properly.
    Then I boot mac os and HDMI sound works fine in mac os. Then booting windows again HDMI sound is working in windows too. But when I turn of the mac and turn it on again booting windows sound is missing again.
    Any suggestions? I updated to the latest nvidia hdmi audio driver without success.

    Found a workaround: The problem is not the NVidia HDMI audio driver but the Microsoft HD audio driver / device. If you have no sound over HDMI with your Mac Mini you have to
    1) Find out the hardware ID of the Microsoft HD Audio Device:
    * windows device manager -> system devices -> High definition audio controller
    * right mouseclick -> device properties -> Details -> select HardwareID
    2) Use the devcon command line utility to disable and enable the device:
    devcon disable "HardwareID"
    devcon enable "HardwareID"
    And you will have HDMI sound again.

  • No sound through HDMI on GX630

    Hello!
    I have GX630. When I connected it with my LCD TV via HDMI, I've got video, but not sound. HDMI is checked as prefered device and Win7 shows that sound is working.
    Can you help me?

    I had this happen on my gx630 for a bit.  I didnt really look into it, becasue I was doing a reformat and new os install a week later, and when i did that, everythign worked fine, and does still now.  I know itsa not the answer you wanted, but it works.

  • Sound through HDMI

    I how do I run my sound through hdmi for OS X?
    By windows but usually works on OS X does not work.
    My macbook is A1278 and my monitor is LG 23EA53.
    Please help me.

    Hi EdDySK,
    Thanks for visiting Apple Support Communities.
    See this article for the steps to output video and audio using the Thunderbolt port, Mini DisplayPort, or HDMI port on your Mac:
    OS X Mavericks: Use a television as a display
    http://support.apple.com/kb/PH13801
    Cheers,
    Jeremy

  • Sometimes no sound with HDMI under Windows 7

    I'm running bootcamp with windows 7. After booting windows on the mac mini 2010 there is no sound via HDMI. After rebooting the system with mac os the HDMI sound works. After bootin windows again the sound works in windows too. When I shutdown windows and switch power sound is off again.
    Maybe its an issue with the nvidia audio driver in windows 7?

    Same problem here. Did you ever figure it out?

  • [SOLVED] No sound in KDE

    I've installed KDE Plasma and I have no sound via HDMI. I am using a NVIDIA card. For the record, sound works out of the box with GNOME.
    Output of aplay -l:
    card 0: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    GNOME lists HDMI 2 as the proper device. However, using aplay to any of these devices yields no sound. Any ideas? Thanks in advance.
    Edit
    Using speaker-test -c 2 -D hw:1,7 does give me sound.
    Last edited by jfarthing84 (2015-04-19 22:42:18)

    Plain ALSA at the moment. Just wanted to get that working before introducing other layers, like Pulseaudio.
    Multimedia settings only has "Default" as a selection.
    I've actually configured it as the default device just after posting the OP. However, no difference.
    aplay -l:
    card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

Maybe you are looking for

  • Error while publishing enterprise service from ES builder.

    Hi Friends I am not able to publish my service from ES builder. I am getting this error after publishing. Please let me know if anyone has faced similar problem and has solution for it. Thanks   -Mitesh This is the error log generated. javax.ejb.EJBE

  • Images are not displaying in the forms run time.

    Hello All, I am using forms 10.1.2.3.0 and database 11g in the windows XP platform. I am not able to see the images in the buttons at the run time. I have done the following setup for the same but still I am not able to display images in the buttons.

  • 16:9 viewer and canvas

    Ok, this is a simple thing, yet it is bothering me. Every time I see a picture of someone using FCE, the viewer and canvas are widescreen. I can't seem to get my canvas and viewer to be widescreen. I can work with widescreen just fine, but I have gre

  • Vertical Partition

    I have a order transaction table as subitem level. The table order_subitem is 30 column table with 300 million rows and is about 60 GB is size. The table has been denormalized to make user query faster. Will breaking the table in to 4 tables (normali

  • Howto work on ONE repository  with multi-user

    hi guyz, im new in using warehouse builder. i got a problem in using a single repository (with one target database and one source) which is used by multiple user to design a lot of dimensions n cubes. is it possible 2 do it? if yes, how? cuz my frenz