<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hurlster.com/wiki/index.php?action=history&amp;feed=atom&amp;title=XBMC_HDMI_Setup</id>
	<title>XBMC HDMI Setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hurlster.com/wiki/index.php?action=history&amp;feed=atom&amp;title=XBMC_HDMI_Setup"/>
	<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=XBMC_HDMI_Setup&amp;action=history"/>
	<updated>2026-08-25T20:27:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://hurlster.com/wiki/index.php?title=XBMC_HDMI_Setup&amp;diff=2453&amp;oldid=prev</id>
		<title>Gqwill69: /* If that doesn&#039;t work... */</title>
		<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=XBMC_HDMI_Setup&amp;diff=2453&amp;oldid=prev"/>
		<updated>2011-11-08T20:04:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;If that doesn&amp;#039;t work...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== XBMC Live [Dharma] 10.1 ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;April 11, 2011&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
EVGA GT210 - added file &amp;quot;sudo nano /etc/asound.conf&amp;quot; for menu sound&lt;br /&gt;
 &lt;br /&gt;
 pcm.!default {&lt;br /&gt;
    type plug&lt;br /&gt;
    slave {&lt;br /&gt;
        pcm &amp;quot;hw:0,3&amp;quot;&lt;br /&gt;
        rate 48000&lt;br /&gt;
    }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
In XBMC&lt;br /&gt;
System =&amp;gt; System =&amp;gt; Audio output&lt;br /&gt;
[Both Audio Out and passthrough] on custom &amp;quot;plughw:0,3&amp;quot; [Card 0, Device 3 from &amp;quot;aplay -l in telnet&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Update: Didn&amp;#039;t need to put custom &amp;quot;plughw:0,3&amp;quot; &amp;quot;HDA Nvidia hdmi&amp;quot; works also.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Before You Begin/Notes ==&lt;br /&gt;
This guide assumes that you have a GeForce G210, GT220, or GT240 card, are using a reasonably up-to-date system, and that you have at least the nVidia 190 series proprietary drivers installed.&lt;br /&gt;
&lt;br /&gt;
== Getting ALSA ==&lt;br /&gt;
&lt;br /&gt;
Team iQuick also has a PPA with the latest ALSA drivers and Ubuntu Audio Dev PPA has the necessary kernel modules for Lucid (What XBMC-Live is based on).&lt;br /&gt;
&lt;br /&gt;
 add-apt-repository ppa:team-iquik/alsa&lt;br /&gt;
 add-apt-repository ppa:ubuntu-audio-dev/ppa&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 apt-get install linux-alsa-driver-modules-$(uname -r) --force-yes&lt;br /&gt;
&lt;br /&gt;
Or if you haven&amp;#039;t yet installed ALSA:&lt;br /&gt;
&lt;br /&gt;
 apt-get install alsa-base alsa-utils linux-alsa-driver-modules-$(uname -r)&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Compiling from source:&lt;br /&gt;
&lt;br /&gt;
ALSA 1.0.23 contains the new drivers.  You can download, compile, and install it without further additions, and proceed to configuration.  The drivers are also included with the 2.6.34 Linux kernel; users of this kernel should be able to skip straight to configuration as long as the &amp;lt;tt&amp;gt;snd_hda_codec_nvhdmi&amp;lt;/tt&amp;gt; module (and its dependencies) are available.&lt;br /&gt;
&lt;br /&gt;
In general, you can choose to [http://www.alsa-project.org/main/index.php/Download install ALSA from source] or use the [http://ubuntuforums.org/showthread.php?p=6589810 ALSA Upgrade Script].  Alternatively, you can find updated packages for your distribution.  Note that only the &amp;#039;&amp;#039;drivers&amp;#039;&amp;#039; from 1.0.23 or later are required; updating the ALSA userspace tools is optional.&lt;br /&gt;
&lt;br /&gt;
Ubuntu users make sure to remove the &amp;lt;tt&amp;gt;linux-backports-modules-alsa-`uname -r`&amp;lt;/tt&amp;gt; package or your newly compiled ALSA drivers will be ignored.&lt;br /&gt;
&lt;br /&gt;
== Setting Module Options ==&lt;br /&gt;
You may need to set options in &amp;lt;tt&amp;gt;/etc/modprobe.d/sound.conf&amp;lt;/tt&amp;gt; depending on your card.  The general format is:&lt;br /&gt;
&lt;br /&gt;
 options snd-hda-intel &amp;#039;&amp;#039;OPTIONS&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Please list your card and working module options below, along with the working device(s).  Note that these options may change with future revisions and refinements to the drivers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
! nVidia GPU !! Manufacturer/Model        !! Options                                 !! Best/working device (X=Card #)&lt;br /&gt;
|-&lt;br /&gt;
| G210       || Point of View GF G210     || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xffff,0xfff2&amp;lt;/tt&amp;gt; || plughw:X,7 (only stereo confirmed)&lt;br /&gt;
|-&lt;br /&gt;
| G210       || MSI N210 MD512H           || &amp;lt;tt&amp;gt;enable_msi=0&amp;lt;/tt&amp;gt;                   || plughw:X,7 (only stereo confirmed)&lt;br /&gt;
|-&lt;br /&gt;
| G210       || Asus EN210                || no options needed with a current alsa snapshot || plughw:X,7 (PCM, multichannel PCM, bitsteam (DD/DD-EX/DTS/DTS-ES)&lt;br /&gt;
|-&lt;br /&gt;
| G210       || Club 3D CGNX-212LI        || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xfff2&amp;lt;/tt&amp;gt; || plughw:X,7 (only stereo confirmed)&lt;br /&gt;
|-&lt;br /&gt;
| G210       || Galaxy G210 PCI-E 512M    || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xfff2&amp;lt;/tt&amp;gt; || hw:X,3 (6 channels)&lt;br /&gt;
|-&lt;br /&gt;
| G210       || EVGA 512-P3-1213-LR       || &amp;lt;tt&amp;gt;probe_mask=2&amp;lt;/tt&amp;gt; || plughw:X,3 (confirmed 2ch PCM, 6ch AC3 bitstream)&lt;br /&gt;
|-&lt;br /&gt;
| GT220       || Asus BRAVO 220 SILENT/DI/1GD2(LP)  || no options needed with a current alsa snapshot || plughw:X,7 (PCM, multichannel PCM, bitsteam (DD/DD-EX/DTS/DTS-ES)&lt;br /&gt;
|-&lt;br /&gt;
| GT220      || Zontac ZT-20201-10L GT220 || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xfff2&amp;lt;/tt&amp;gt; || plughw:X,3 (6 channels)&lt;br /&gt;
|-&lt;br /&gt;
| GT220      || ASUS ENGT220/DI/1GD2(LP)  || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xfff2&amp;lt;/tt&amp;gt; || hw:X,3 (only stereo confirmed)&lt;br /&gt;
|-&lt;br /&gt;
| GT220      || ASUS ENGT220/G/DI/1GD3(LP)/A  || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xfff2&amp;lt;/tt&amp;gt; || hw:X,3 (PCM, multichannel PCM, bitstream (DD/DD-EX/DTS/DTS-ES)&lt;br /&gt;
|-&lt;br /&gt;
| GT220      || HP Pavilion Elite HPE-141F  || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xffff,0xfff2&amp;lt;/tt&amp;gt; || hw:X,3 (only stereo confirmed)&lt;br /&gt;
|-&lt;br /&gt;
| GT210/GT220/GT240 || Any GT210/GT220/GT240  || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xffff,0xfff2&amp;lt;/tt&amp;gt; || plughw:X,3 (PCM, multichannel PCM, bitsteam (DD/DD-EX/DTS/DTS-ES))&lt;br /&gt;
|-&lt;br /&gt;
| GT240      || MSI N240GT-MD1G  || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xffff,0xfff2&amp;lt;/tt&amp;gt; || hw:X,3 (only stereo confirmed)&lt;br /&gt;
|-&lt;br /&gt;
| GT240      || ASUS ENGT240/DI/512MD5/A  || &amp;lt;tt&amp;gt;enable_msi=0&amp;lt;/tt&amp;gt; || plughw:X,7 (only stereo confirmed)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| GT240      || Zotac ZEGT240/DI/1024  || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xfff2&amp;lt;/tt&amp;gt; || plughw:X,3&lt;br /&gt;
|-&lt;br /&gt;
| ION-2      || Asus AT5IONT-I || &amp;lt;tt&amp;gt;enable_msi=0 probe_mask=0xffff,0xfff2&amp;lt;/tt&amp;gt; || plughw:X,3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*I&amp;#039;m asserting that any GT210/GT220/GT240 should use plughw or plug to allow AC3 passthru.  I&amp;#039;m not an alsa expert but the following link suggests plug should be used.  However I found this info after getting it working with plughw and I&amp;#039;m loath to break a working system to test it (volunteers?).  [http://www.alsa-project.org/main/index.php/DeviceNames Alsa Recommened DeviceNames]&lt;br /&gt;
&lt;br /&gt;
Once you&amp;#039;ve set your module options, proceed to &amp;quot;PulseAudio Configuration&amp;quot; (if applicable) or &amp;quot;Finishing Configuration&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
=== If that doesn&amp;#039;t work... ===&lt;br /&gt;
if probe_mask doesn&amp;#039;t work for you (it didn&amp;#039;t for me, one boot my GT220 came up first instead of second, but next reboot it came up second without me touching the probe_mask parameter, you can try this (which works reliably for me):&lt;br /&gt;
&lt;br /&gt;
 options snd-hda-intel enable_msi=0 index=-2&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 options snd-hda-intel enable_msi=0 index=1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
*Disable Intel HDA module&lt;br /&gt;
&amp;#039;&amp;#039;nano /etc/modprobe.d/blacklist-hda-intel.conf&amp;#039;&amp;#039;&lt;br /&gt;
 blacklist snd_hda_intel&lt;br /&gt;
&lt;br /&gt;
The first one tells snd-hda-intel &amp;quot;don&amp;#039;t grab index 0&amp;quot;, while the second one says &amp;quot;grab index 1&amp;quot; (so even if you disable your on-board card, your GT220 is still going to be hw:1,7), the third one kills the card from even being recognized(harshest method).&lt;br /&gt;
&lt;br /&gt;
I have to make a &amp;lt;b&amp;gt;BIG NOTE&amp;lt;/b&amp;gt; that I don&amp;#039;t have another Nvidia sound card on the motherboard, and that&amp;#039;s why the above works for me. It won&amp;#039;t work if you have an integrated nvidia sound AND a GT220.&lt;br /&gt;
&lt;br /&gt;
For the case with Nvidia motherboard audio + GT210/GT220/GT240 HDMI don&amp;#039;t be discouraged by the note above.  I added the &amp;quot;enable_msi=0 probe_mask=0xffff,0xfff2&amp;quot; to /etc/modprobe.d/alsa-base.conf (Ubuntu 9.04) but I&amp;#039;m not 100% sure that&amp;#039;s even necessary with 1.0.23.  After that my HDMI audio showed up as plughw:2,3.&lt;br /&gt;
&lt;br /&gt;
If multiple nVidia devices still show up with the recommended probe_mask, you may need to adjust it.  More information about selecting the correct parameters for this option can be found in [http://www.kernel.org/pub/linux/kernel/people/tiwai/docs/HD-Audio.html#_codec_probing_problem Takashi Iwai&amp;#039;s documentation for the High-Definition Audio drivers].&lt;br /&gt;
&lt;br /&gt;
== XBMC Configuration ==&lt;br /&gt;
It may happen that even the PulseAudio configuration doesn&amp;#039;t work. For example with the Point of View GeForce G210. In this case, simply set up the module options as described above, and then go into the XBMC Settings -&amp;gt; System -&amp;gt; Audio, select a custom device for audio and insert plughw:X,7. The audio should now work!&lt;br /&gt;
&lt;br /&gt;
== PulseAudio Configuration ==&lt;br /&gt;
If using PulseAudio, add the following line to /etc/pulse/default.pa:&lt;br /&gt;
&lt;br /&gt;
 load-module module-alsa-sink device=hw:1,3&lt;br /&gt;
&lt;br /&gt;
Where 1,3 is card#,device# for the nVidia HDMI output given by &amp;lt;tt&amp;gt;aplay -l&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Finishing Installation ==&lt;br /&gt;
Now, reboot your system.  Using &amp;lt;tt&amp;gt;`alsamixer&amp;#039;&amp;lt;/tt&amp;gt;, select your nVidia card (select it from the F6 menu, or use the &amp;lt;tt&amp;gt;-c&amp;lt;/tt&amp;gt; option) and unmute the S/PDIF output (press &amp;quot;m&amp;quot;; the box should change from &amp;quot;MM&amp;quot; to &amp;quot;OO&amp;quot;.)  Enjoy!&lt;br /&gt;
&lt;br /&gt;
If you have no sound, you should ensure that your user is a member of the &amp;quot;audio&amp;quot; group:&lt;br /&gt;
&lt;br /&gt;
 $ groups&lt;br /&gt;
 adm dialout cdrom &amp;#039;&amp;#039;&amp;#039;audio&amp;#039;&amp;#039;&amp;#039; video plugdev mythtv lpadmin&lt;br /&gt;
&lt;br /&gt;
Consult your distributions&amp;#039; documentation to determine how to add users to groups.&lt;br /&gt;
&lt;br /&gt;
If you still have no sound, you can try editing/creating /etc/asound.conf:&lt;br /&gt;
 &lt;br /&gt;
 pcm.!default hdmi:NVidia&lt;br /&gt;
 pcm:iec958 hdmi:NVidia&lt;br /&gt;
&lt;br /&gt;
Ensure that &amp;lt;tt&amp;gt;$HOME/.asoundrc&amp;lt;/tt&amp;gt; is empty, does not exist, or does not override these settings.  Reboot.&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Gqwill69</name></author>
	</entry>
</feed>