No Audio over HDMI - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: No Audio over HDMI (/showthread.php?tid=123206) |
No Audio over HDMI - nuke235 - 2012-02-18 So I have spent the last few days trying to fix this problem. My hardware is as follows: Mobo: Asus AT3IONT-L (720p video plays just fine on this board, the audio is the problem) Ram: 2 gb DDR3 ram Software: XBMC Live 10.1 My problem is this: I get NO audio output over HDMI. However plugging into the standard 3.5mm audio jack works. After updating alsa using this: Code: sudo add-apt-repository ppa:ubuntu-audio-dev/ppa After a reboot the XBMC user interface stops loading, the terminal will flicker every couple of seconds like it is trying to do something but nothing happens. The terminal does not flicker before the reboot/alsa install. I HAVE SEARCHED several threads with people saying that they have fixed the HDMI audio problem but that was some time ago (different unspecified driver revisions, new drivers may be the issue) Several people have listed this link as instructions for fixing this problem, I have tried almost everything on this page. The audio over HDMI was still not working. http://wiki.xbmc.org/index.php?title=HOW-TO:Setup_HDMI_audio_on_GeForce_GT210,_GT220,_or_GT240 I have tried setting up the audio device in the Settings menu plughw:0,3 for both Audio Out and passthrough I have tried adding this file which some people have claimed to fix the problem but only after updating the alsa drivers which as I mentioned earlier borks the install of XBMC live Code: [i]add file "sudo nano /etc/asound.conf" for menu sound[/i] I have tried setting these options in: /etc/modprobe.d/sound.conf Code: enable_msi=0 probe_mask=0xffff,0xfff2 I have tried updating the alsa PPAs and Packages like so Code: add-apt-repository ppa:team-iquik/alsa I have also tried both "alsamixer" and the XBMC audio mixer to unmute S/PDIF and all other outputs with no luck I have also checked that my user is part of the audio group and that "aplay -l" specifies the HDMI output audio on my NVidia as "Card 0" "Device 3" I plugged my Xbox into my monitor via the same HDMI cable and the audio worked just fine, so that rules out the Monitor or HDMI cable as potential causes (I rather doubted it but it doesn't hurt to make sure) So Im stuck, ANY help would be greatly appreciated. Im going to reinstall XBMC live on the computer to start with off fresh install. - Ashex - 2012-02-18 To get help, you need to post more info about your setup, specifically:
And maybe some other stuff. Anyways, each setup is unique so copying a config file from the wiki isn't going to work all the time. Edit: Take a look at This page. It has info specific to your board regarding HDMI audio. - nuke235 - 2012-02-18 This is exactly what I see when I type "aplay -l" Code: #$ aplay -l As for the GPU, Asus's website make's no mention of the specific chipset other than its an Nvidia ION. I will try this in /etc/asound.conf Code: pcm.!default { That still leaves the mess with ALSA Upon running those commands to update ALSA the XBMC UI fails to load from then on Unless of course there is no need to update ALSA. - nuke235 - 2012-02-19 Update- Some progress finally, but not there yet. After setting the "audio output" to HDMI and "audio output device" and "passthrough device" to "plughw:iec958,1" I get audio in the menu. ie the little click/swoosh sound when scrolling through options. I also had "boost volume level on downmix" set to OFF However when I try to play a video (MKV, AVI) I get nothing, no audio whatsoever until I stop the movie then the audio returns to the menu navigation. If I enable "DTS Capable receiver" and "Dolby Digital (AC3)" with the audio passthrough device set to "hdmi" I get static when playing a MKV with DTS audio and Stuttering audio when Playing an AVI file with AC3 audio. any other types of videos (xvid in avi container for example) with different audio codecs just produce an error saying "Failed to initialize audio device" if I change the passthrough device to iec958 I get no audio during playback not even static. Any ideas? should I try updating to the latest drivers from nvidia? (just alittle hesitant because I dont want to bork the setup again and have to reinstall for the 7th time) I used this to update the Nvidia drivers last time: Blacklisted nouveau by adding following into "/etc/modprobe.d/blacklist.conf" after running the first command (added the following into the end of file) vga16fb nouveau rivafb nvidiafb rivatv Code: sudo apt-get purge nvidia* - shmal - 2012-02-19 If you are getting the "unable to initialize audio device" error when you play a video, try disabling the navigation sounds in the skin settings. If there is no checkbox for that, add the following in your /usr/bin/xbmc script (or /usr/local/bin/xbmc). export SDL_AUDIODRIVER=null right after: SAVED_ARGS="$@" - LastCoder - 2012-02-19 that ALSA over HDMI stuff simply suckz .. I'm no friend of pulseaudio, but there it is very simple to fix (took me lots of days too to find that simple soultion): http://forum.xbmc.org/showthread.php?tid=119203 So long LastCoder - nuke235 - 2012-02-22 shmal Wrote:If there is no checkbox for that, add the following in your /usr/bin/xbmc script (or /usr/local/bin/xbmc). When you say right after do you mean in the next line? like so Code: SAVED_ARGS="$@" or on the same line like so: Code: SAVED_ARGS="$@" export SDL_AUDIODRIVER=null I tried both and so far all it managed to do was disable my audio entirely even in the menus, I still had either no/static audio while playing a movie or the Error "failed to initialize audio device". with these settings in SYSTEM - AUDIO OUTPUT: Code: Audio output = HDMI I did try that pulseaudio fix that lastcoder mentioned and it did not fix the problem either. |