Difference between revisions of "1004 Video Hardware Compatibility List"

From LinuxMCE
Jump to: navigation, search
(GPU Compatibility List)
(Add ATI Catalyst Support)
 
(116 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
= GPU Compatibility List =
 
= GPU Compatibility List =
  
The purpose behind this page is to give a compatibility probability list, and to confirm these when possible.
+
The purpose behind this page is to give a compatibility probability list for unsupported chipsets, and to confirm these when possible.
 +
 
 +
'''<font size=3> -- All GPU's listed here are considered UNSUPPORTED --</font>'''  though this matrix seeks to give you solutions that we will not automate, but have figured out as workarounds. All GPU's ''not'' listed here are currently believed to be supported. If not please notify [http://wiki.linuxmce.org/index.php/User:L3mce L3mce] preferably in IRC, or at the forum. For help with problems with supported GPU's that are not working, check [http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Solutions_to_Supported_GPU.27s_that_are_not_working here].
 +
 
 +
Some common information you will want to get and use. Please give this data when creating a ticket or forum post about a card not working/not listed here.
 +
 
 +
 
 +
* Begin any of this sort of work as root. All commands in this matrix assume you are root. If you have ssh'ed into your MD, you are already root. If you are on a hybrid then:
 +
sudo -i
 +
* Update PCI IDs
 +
update-pciids
 +
* Detailed card information
 +
lspci -nn | grep -w 'VGA'
 +
* Card PCI ID
 +
lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//'
 +
* Audio cards that ALSA can see
 +
aplay -l
 +
* Look at ALSA config file
 +
cat /etc/asound.conf
 +
* Look at xine config file
 +
tail -4 /etc/pluto/xine.conf
 +
* Check ALSA version
 +
apt-cache policy alsa-base | grep Installed
 +
* Check ALSA backports installation status
 +
apt-cache policy linux-backports-modules-alsa-$(uname -r) | grep Installed
 +
 
 +
 
 +
<span id="Allin1">
 +
All together, minus rooting:
 +
</span>
 +
update-pciids
 +
lspci -nn | grep -w 'VGA'
 +
lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//'
 +
aplay -l
 +
cat /etc/asound.conf
 +
tail -4 /etc/pluto/xine.conf
 +
apt-cache policy alsa-base | grep Installed
 +
apt-cache policy linux-backports-modules-alsa-$(uname -r) | grep Installed
 +
 
 +
 
 +
'''Audio''': For the terms of this list, "audio" refers to digital audio from the card, typically HDMI audio. For further understanding of how audio currently works, please see the new [http://wiki.linuxmce.org/index.php/Audio_in_1004 audio scheme] for possible resolution of audio issues without installing things you do not need. '''If your cards audio device shows up in aplay then nothing more is required to install''', only a configuration change is necessary, as detailed in the link.
  
I will break down manufacturers, then subsets. Audio, for the terms of this list, refers to digital audio from the card, typically HDMI audio.
 
  
 
===nVidia===
 
===nVidia===
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="75%" cellpadding="3" cellspacing="3">
+
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="100%" cellpadding="3" cellspacing="3">
 
<tr style="background-color:#000000">
 
<tr style="background-color:#000000">
 
<td><font color="white">Series</font></td>
 
<td><font color="white">Series</font></td>
Line 21: Line 60:
 
<td style="background-color:#00FF00">Yes</td>
 
<td style="background-color:#00FF00">Yes</td>
 
<td style="background-color:#FF0000">No</td>
 
<td style="background-color:#FF0000">No</td>
<td>[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty]<br>
+
<td>[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty] <BR>
Change line 225 of SetupAudioVideo.sh CardDevice from 7 to 9</td>
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>GTX</td>
 
<td>GTX</td>
<td>5xx</td>Table Cell
+
<td>5xx</td>
 +
<td style="background-color:#FFFF00">Sometimes</td>
 
<td style="background-color:#FF0000">No</td>
 
<td style="background-color:#FF0000">No</td>
<td style="background-color:#FF0000">No</td>
+
<td>SHOULD your card not be listed in aplay then: <br>
<td>[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty]</td>
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty]<br>
 +
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>Table Cell</td>
+
<td>GT</td>
<td>Table Cell</td>
+
<td>6xx</td>
<td>Table Cell</td>
+
<td style="background-color:#00FF00">Yes</td>
<td>Table Cell</td>
+
<td style="background-color:#FF0000">No</td>
<td>Table Cell</td>
+
<td>[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty]<br>
 +
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
 
</tr>
 
</tr>
<tr>
+
</table>
<td>Table Cell</td>
+
 
<td>Table Cell</td>
+
===Intel===
<td>Table Cell</td>
+
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="100%" cellpadding="3" cellspacing="3">
<td>Table Cell</td>
+
<tr style="background-color:#000000">
<td>Table Cell</td>
+
<td><font color="white">Series</font></td>
 +
<td><font color="white">Model</font></td>
 +
<td><font color="white">Video OOTB</font></td>
 +
<td><font color="white">Audio OOTB</font></td>
 +
<td><font color="white">Resolution</font></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>Table Cell</td>
+
<td>Sandy Bridge</td>
<td>Table Cell</td>
+
<td>All</td>
<td>Table Cell</td>
+
<td style="background-color:#00FF00">Yes</td>
<td>Table Cell</td>
+
<td style="background-color:#00FF00">Yes</td>
<td>Table Cell</td>
+
<td>This should be working, out of the box. If something went wrong, then do the following:<br>
 +
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_Intel_Advanced_Support Add Intel Advanced Support]<br>
 +
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>Table Cell</td>
+
<td>Ivy Bridge</td>
<td>Table Cell</td>
+
<td>All</td>
<td>Table Cell</td>
+
<td style="background-color:#FF0000">No</td>
<td>Table Cell</td>
+
<td style="background-color:#FF0000">No</td>
<td>Table Cell</td>
+
                <td>[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_Intel_Advanced_Support Add Intel Advanced Support]<br>
 +
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Latest_Oneiric Upgrade Kernel to Latest Oneiric]<br>
 +
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
 
</tr>
 
</tr>
<tr>
+
</table>
<td>Table Cell</td>
+
 
<td>Table Cell</td>
+
 
<td>Table Cell</td>
+
===ATI===
<td>Table Cell</td>
+
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="100%" cellpadding="3" cellspacing="3">
<td>Table Cell</td>
+
<tr style="background-color:#000000">
 +
<td><font color="white">Series</font></td>
 +
<td><font color="white">Model</font></td>
 +
<td><font color="white">Video OOTB</font></td>
 +
<td><font color="white">Audio OOTB</font></td>
 +
<td><font color="white">Resolution</font></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>Table Cell</td>
+
<td>HD</td>
<td>Table Cell</td>
+
<td>57xx and up</td>
<td>Table Cell</td>
+
<td style="background-color:#FF0000">No</td>
<td>Table Cell</td>
+
<td style="background-color:#FF0000">No</td>
<td>Table Cell</td>
+
<td>Due to a known bug in repo catalyst utility, aticonfig does not find these cards.<br>
</tr>
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ATI_Catalyst_Support Add ATI Catalyst Support] <br><br>
<tr>
+
'''If''' audio is a problem, please '''first''' change the [http://wiki.linuxmce.org/index.php/Audio_in_1004 config] and test again. Failing that:<br>
<td>Table Cell</td>
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_Backport_.24_Support Add ALSA Backport .24 Support], reboot, and test [http://wiki.linuxmce.org/index.php/Audio_in_1004 configs]<br>
<td>Table Cell</td>
+
Failing that: apt-get remove --purge -yf linux-backports-modules-alsa-$(uname -r) <br>
<td>Table Cell</td>
+
Then [http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Add ALSA .24 Support], reboot, and try the different [http://wiki.linuxmce.org/index.php/Audio_in_1004 configs]</td>
<td>Table Cell</td>
+
<td>Table Cell</td>
+
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
 +
==dpkg==
 +
Should any of the solutions below throw back dpkg errors then:
 +
dpkg --configure -a
 +
A working system should NOT produce any result. If it DOES produce output, then it has tried to fix itself. Try commands again. If there are STILL problems, you need further assistance to stabilize your system.
 +
 +
 +
==MythTV==
 +
Some of these configurations cause MythTV to not utilize !default correctly... so in the MythTV '''front-end''' (NOT backend) setup/general, you may need to specify HDMI or plughw:1,7 (example assumes you are on card 1, device 7) from the detected options available in the audio setup. In some rare cases with ATI or Intel you may find it necessary to drop the device number... so turn its auto-detected "plughw:1,7" into "plughw:1". I recommend using a keyboard with a delete key, because in myth, backpsace takes you back a menu.
 +
 +
To get to MythTV general setup, read [http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Audio_everywhere_but_MythTV this].
  
 
= Solutions =
 
= Solutions =
All solutions here can be copied/pasted, but assumes you are root. Please begin sessions by typing "sudo -i" without quotes and enter your pass when prompted.
+
All solutions here can be copied/pasted, but '''assume you are root'''. Please begin sessions by typing "sudo -i" without quotes and enter your pass when prompted. It is recommended that you '''reboot''' after any of these solutions. /usr/pluto/bin/RebootWithAVWizard.sh is probably best for testing after applying solutions.
 +
 
 +
 
 +
==Add Intel Advanced Support==
 +
apt-add-repository ppa:kernel-ppa/ppa
 +
apt-add-repository ppa:glasen/intel-driver
 +
# For additional performance issues, the following may help
 +
# apt-add-repository ppa:f-hackenberger/x220-intel-mesa
 +
apt-get update
 +
 
 +
 
 +
==Add nVidia Current Driver Support==
 +
With the 304+ nvidia driver we recommend pulling down alsa .24 at the same time as prescribed here.
 +
 
 +
/usr/pluto/bin/Stop_X.sh
 +
add-apt-repository ppa:ubuntu-x-swat/x-updates
 +
apt-get update
 +
apt-get install -y nvidia-current
 +
 
 +
 
 +
==Add ATI Catalyst Support==
 +
/usr/pluto/bin/Stop_X.sh
 +
wget -P /tmp http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
 +
apt-get install unzip
 +
unzip /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
 +
sh /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.run
 +
Then follow the instructions.
 +
 
 +
For newer cards, unfortunately a kernel upgrade is required... so we will do the following, and start fresh:
 +
* Note: This code cannot just be dumped into terminal. Please save this as a script, chmod +x /script_name then ./script_name
 +
#!/bin/bash
 +
apt-get update
 +
apt-get -yf remove --purge xorg-driver-fglrx fglrx* --force-yes
 +
apt-get -yf install --reinstall libgl1-mesa-glx libgl1-mesa-dri --force-yes
 +
dpkg-reconfigure xserver-xorg
 +
apt-get -yf install --reinstall xserver-xorg-core --force-yes
 +
CurKernel="-generic"
 +
if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
 +
NewKernel="linux-image${CurKernel}-lts-backport-natty"
 +
NewHeaders="linux-headers${CurKernel}-lts-backport-natty"
 +
 +
apt-get -yf install "$NewKernel"
 +
apt-get -yf install "$NewHeaders"
 +
apt-get -yf remove linux-headers${CurKernel}
 +
apt-get -yf remove linux-image${CurKernel}
 +
apt-get -yf dist-upgrade
 +
pushd /var/cache/apt/archives
 +
/usr/pluto/bin/Stop_X.sh
 +
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
 +
apt-get -yf install unzip
 +
unzip ./amd-driver-installer-catalyst-12.10-x86.x86_64.zip
 +
sh ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --force
 +
popd
 +
 
 +
In the case of MDs, sometimes we will need to chmod +r /tftpboot/XX/*  where XX is the MD number
 +
 
 +
==Add ALSA Backport .24 Support==
 +
apt-get install -yf linux-backports-modules-alsa-$(uname -r)
 +
 
 +
 
 +
==Add ALSA .24 Support==
 +
add-apt-repository ppa:team-iquik/alsa
 +
apt-get update
 +
apt-get install -y alsa-base
 +
apt-get install -y alsa-utils
 +
 
 +
 
 +
==Speaker Test==
 +
'''<font color=red>NOTE: This command sequence requires the user set the cParam and dParam values</font>'''
 +
 
 +
Where '''cParam'''=<your card #> and '''dParam'''=<your device #>. For the standard discovery need, these will be revealed by:
 +
aplay -l | grep -i hdmi
 +
nVidia GT chipsets reveal device numbers 3, 7, 8, and 9. Almost all of them are device 7. If you see the devices in aplay and you do not have audio, test each until you get signal.
 +
 
 +
cParam=
 +
dParam=
 +
 
 +
if [[[[ -n "$cParam" ]]]] && [[[[ -n "$dParam" ]]]]; then
 +
. /usr/pluto/bin/Utils.sh; if [[[[ "$AlternateSC" -ge "1" ]]]]; then
 +
speaker-test -c2 -l1 -t sine -Dplughw:${cParam},${dParam}
 +
else
 +
speaker-test -c2 -l1 -t sine -Dplughw:${cParam}
 +
fi
 +
else StatusMessage "You must set the variables for both cParam and dParam. They cannot equal null"
 +
fi
  
  
 
==Upgrade Kernel to Natty==
 
==Upgrade Kernel to Natty==
 +
apt-get update
 
  CurKernel="-generic"
 
  CurKernel="-generic"
 
  if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
 
  if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
Line 93: Line 243:
 
  apt-get -yf install "$NewKernel"
 
  apt-get -yf install "$NewKernel"
 
  apt-get -yf install "$NewHeaders"
 
  apt-get -yf install "$NewHeaders"
 +
apt-get -yf remove linux-headers${CurKernel}
 +
apt-get -yf remove linux-image${CurKernel}
 +
apt-get -yf dist-upgrade
 +
 +
==Upgrade Kernel to Latest Oneiric==
 
  apt-get update
 
  apt-get update
 +
CurKernel="-generic"
 +
if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
 +
NewKernel="linux-image-3.0.0-26${CurKernel}"
 +
NewHeaders="linux-headers-3.0.0-26${CurKernel}"
 +
apt-get -yf install "$NewKernel"
 +
apt-get -yf install "$NewHeaders"
 +
apt-get -yf remove linux-headers${CurKernel}
 +
apt-get -yf remove linux-image${CurKernel}
 
  apt-get -yf dist-upgrade
 
  apt-get -yf dist-upgrade
/usr/pluto/bin/RebootWithAVWizard
+
 
 +
=Solutions to Supported GPU's that are not working=
 +
Due to some bugs, things which work for just about everyone do not work for a few oddballs
 +
 
 +
 
 +
==General Problems==
 +
====Nothing in aplay====
 +
* Confirm aplay -l is being run as root.
 +
* Run the list of commands [http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Allin1 here] and see that backports AND alsa-base .24 are not both installed.
 +
 
 +
====No AVWizard/no Audio but listed in aplay====
 +
* Change [http://wiki.linuxmce.org/index.php/Audio_in_1004 Alternate Sound Configuration setting]
 +
* Confirm that there is not a lingering (broken) asound.conf. See [http://wiki.linuxmce.org/index.php/Audio_in_1004 here] for examples of correct configs. Simply removing the offending /etc/asound.conf (and probably /etc/xorg.con*) and rebooting should allow it to continue.
 +
* Try installing [http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_nVidia_Current_Driver_Support the ppa] version of the current driver.
 +
** This can be done automatically if you move your [http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#pciid pciid] from Driver_260_Supported to Driver_Current_Supported in /usr/pluto/bin/nvidia-install.sh
 +
** If you do this manually make sure that you also either also make the change prescribed above, or hash out CheckVideoDriver in /etc/init.d/a0start_avwizard
 +
 
 +
====AVWizard sizing incorrectly====
 +
* rm /etc/asound.conf /etc/X11/xorg.con*; reboot
 +
 
 +
====Audio everywhere but MythTV====
 +
* Change Audio in MythTV front-end setup
 +
** Start MythTV
 +
** Let channel tune, and overlay diminish before pressing escape.
 +
** Exit playback menu and select Setup/General. Advance until you get to Audio.
 +
** Press left and right to select audio setups. If HDMI, try the one labeled HDMI first, for instance.
 +
** Failing that, arrow over until you get to the card and number, eg plughw:1,7. This should match the output of grep plughw /etc/asound.conf | sort -u

Latest revision as of 15:38, 21 February 2013

GPU Compatibility List

The purpose behind this page is to give a compatibility probability list for unsupported chipsets, and to confirm these when possible.

-- All GPU's listed here are considered UNSUPPORTED -- though this matrix seeks to give you solutions that we will not automate, but have figured out as workarounds. All GPU's not listed here are currently believed to be supported. If not please notify L3mce preferably in IRC, or at the forum. For help with problems with supported GPU's that are not working, check here.

Some common information you will want to get and use. Please give this data when creating a ticket or forum post about a card not working/not listed here.


  • Begin any of this sort of work as root. All commands in this matrix assume you are root. If you have ssh'ed into your MD, you are already root. If you are on a hybrid then:
sudo -i
  • Update PCI IDs
update-pciids
  • Detailed card information
lspci -nn | grep -w 'VGA'
  • Card PCI ID
lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//'
  • Audio cards that ALSA can see
aplay -l
  • Look at ALSA config file
cat /etc/asound.conf
  • Look at xine config file
tail -4 /etc/pluto/xine.conf
  • Check ALSA version
apt-cache policy alsa-base | grep Installed
  • Check ALSA backports installation status
apt-cache policy linux-backports-modules-alsa-$(uname -r) | grep Installed


All together, minus rooting:

update-pciids
lspci -nn | grep -w 'VGA'
lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//'
aplay -l
cat /etc/asound.conf
tail -4 /etc/pluto/xine.conf
apt-cache policy alsa-base | grep Installed
apt-cache policy linux-backports-modules-alsa-$(uname -r) | grep Installed


Audio: For the terms of this list, "audio" refers to digital audio from the card, typically HDMI audio. For further understanding of how audio currently works, please see the new audio scheme for possible resolution of audio issues without installing things you do not need. If your cards audio device shows up in aplay then nothing more is required to install, only a configuration change is necessary, as detailed in the link.


nVidia

Series Model Video OOTB Audio OOTB Resolution
GT 4xx Yes No Upgrade Kernel to Natty
Update ALSA
GTX 5xx Sometimes No SHOULD your card not be listed in aplay then:

Upgrade Kernel to Natty

Update ALSA
GT 6xx Yes No Upgrade Kernel to Natty
Update ALSA

Intel

Series Model Video OOTB Audio OOTB Resolution
Sandy Bridge All Yes Yes This should be working, out of the box. If something went wrong, then do the following:

Add Intel Advanced Support

Upgrade Kernel to Natty
Ivy Bridge All No No Add Intel Advanced Support

Upgrade Kernel to Latest Oneiric

Update ALSA


ATI

Series Model Video OOTB Audio OOTB Resolution
HD 57xx and up No No Due to a known bug in repo catalyst utility, aticonfig does not find these cards.

Add ATI Catalyst Support

If audio is a problem, please first change the config and test again. Failing that:
Add ALSA Backport .24 Support, reboot, and test configs
Failing that: apt-get remove --purge -yf linux-backports-modules-alsa-$(uname -r)

Then Add ALSA .24 Support, reboot, and try the different configs


dpkg

Should any of the solutions below throw back dpkg errors then:

dpkg --configure -a

A working system should NOT produce any result. If it DOES produce output, then it has tried to fix itself. Try commands again. If there are STILL problems, you need further assistance to stabilize your system.


MythTV

Some of these configurations cause MythTV to not utilize !default correctly... so in the MythTV front-end (NOT backend) setup/general, you may need to specify HDMI or plughw:1,7 (example assumes you are on card 1, device 7) from the detected options available in the audio setup. In some rare cases with ATI or Intel you may find it necessary to drop the device number... so turn its auto-detected "plughw:1,7" into "plughw:1". I recommend using a keyboard with a delete key, because in myth, backpsace takes you back a menu.

To get to MythTV general setup, read this.

Solutions

All solutions here can be copied/pasted, but assume you are root. Please begin sessions by typing "sudo -i" without quotes and enter your pass when prompted. It is recommended that you reboot after any of these solutions. /usr/pluto/bin/RebootWithAVWizard.sh is probably best for testing after applying solutions.


Add Intel Advanced Support

apt-add-repository ppa:kernel-ppa/ppa
apt-add-repository ppa:glasen/intel-driver
# For additional performance issues, the following may help
# apt-add-repository ppa:f-hackenberger/x220-intel-mesa
apt-get update


Add nVidia Current Driver Support

With the 304+ nvidia driver we recommend pulling down alsa .24 at the same time as prescribed here.

/usr/pluto/bin/Stop_X.sh
add-apt-repository ppa:ubuntu-x-swat/x-updates
apt-get update
apt-get install -y nvidia-current


Add ATI Catalyst Support

/usr/pluto/bin/Stop_X.sh
wget -P /tmp http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
apt-get install unzip
unzip /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.zip 
sh /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.run

Then follow the instructions.

For newer cards, unfortunately a kernel upgrade is required... so we will do the following, and start fresh:

  • Note: This code cannot just be dumped into terminal. Please save this as a script, chmod +x /script_name then ./script_name
#!/bin/bash
apt-get update
apt-get -yf remove --purge xorg-driver-fglrx fglrx* --force-yes
apt-get -yf install --reinstall libgl1-mesa-glx libgl1-mesa-dri --force-yes
dpkg-reconfigure xserver-xorg
apt-get -yf install --reinstall xserver-xorg-core --force-yes
CurKernel="-generic"
if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
NewKernel="linux-image${CurKernel}-lts-backport-natty"
NewHeaders="linux-headers${CurKernel}-lts-backport-natty"

apt-get -yf install "$NewKernel"
apt-get -yf install "$NewHeaders"
apt-get -yf remove linux-headers${CurKernel}
apt-get -yf remove linux-image${CurKernel}
apt-get -yf dist-upgrade
pushd /var/cache/apt/archives
/usr/pluto/bin/Stop_X.sh
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
apt-get -yf install unzip
unzip ./amd-driver-installer-catalyst-12.10-x86.x86_64.zip 
sh ./amd-driver-installer-catalyst-12.10-x86.x86_64.run --force
popd

In the case of MDs, sometimes we will need to chmod +r /tftpboot/XX/* where XX is the MD number

Add ALSA Backport .24 Support

apt-get install -yf linux-backports-modules-alsa-$(uname -r)


Add ALSA .24 Support

add-apt-repository ppa:team-iquik/alsa
apt-get update
apt-get install -y alsa-base
apt-get install -y alsa-utils


Speaker Test

NOTE: This command sequence requires the user set the cParam and dParam values

Where cParam=<your card #> and dParam=<your device #>. For the standard discovery need, these will be revealed by:

aplay -l | grep -i hdmi

nVidia GT chipsets reveal device numbers 3, 7, 8, and 9. Almost all of them are device 7. If you see the devices in aplay and you do not have audio, test each until you get signal.

cParam=
dParam=
if [[ -n "$cParam" ]] && [[ -n "$dParam" ]]; then
. /usr/pluto/bin/Utils.sh; if [[ "$AlternateSC" -ge "1" ]]; then 
speaker-test -c2 -l1 -t sine -Dplughw:${cParam},${dParam}
else 
speaker-test -c2 -l1 -t sine -Dplughw:${cParam}
fi
else StatusMessage "You must set the variables for both cParam and dParam. They cannot equal null"
fi


Upgrade Kernel to Natty

apt-get update
CurKernel="-generic"
if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
NewKernel="linux-image${CurKernel}-lts-backport-natty"
NewHeaders="linux-headers${CurKernel}-lts-backport-natty"
apt-get -yf install "$NewKernel"
apt-get -yf install "$NewHeaders"
apt-get -yf remove linux-headers${CurKernel}
apt-get -yf remove linux-image${CurKernel}
apt-get -yf dist-upgrade

Upgrade Kernel to Latest Oneiric

apt-get update
CurKernel="-generic"
if uname -r | grep "pae"; then CurKernel="-generic-pae"; fi
NewKernel="linux-image-3.0.0-26${CurKernel}"
NewHeaders="linux-headers-3.0.0-26${CurKernel}"
apt-get -yf install "$NewKernel"
apt-get -yf install "$NewHeaders"
apt-get -yf remove linux-headers${CurKernel}
apt-get -yf remove linux-image${CurKernel}
apt-get -yf dist-upgrade

Solutions to Supported GPU's that are not working

Due to some bugs, things which work for just about everyone do not work for a few oddballs


General Problems

Nothing in aplay

  • Confirm aplay -l is being run as root.
  • Run the list of commands here and see that backports AND alsa-base .24 are not both installed.

No AVWizard/no Audio but listed in aplay

  • Change Alternate Sound Configuration setting
  • Confirm that there is not a lingering (broken) asound.conf. See here for examples of correct configs. Simply removing the offending /etc/asound.conf (and probably /etc/xorg.con*) and rebooting should allow it to continue.
  • Try installing the ppa version of the current driver.
    • This can be done automatically if you move your pciid from Driver_260_Supported to Driver_Current_Supported in /usr/pluto/bin/nvidia-install.sh
    • If you do this manually make sure that you also either also make the change prescribed above, or hash out CheckVideoDriver in /etc/init.d/a0start_avwizard

AVWizard sizing incorrectly

  • rm /etc/asound.conf /etc/X11/xorg.con*; reboot

Audio everywhere but MythTV

  • Change Audio in MythTV front-end setup
    • Start MythTV
    • Let channel tune, and overlay diminish before pressing escape.
    • Exit playback menu and select Setup/General. Advance until you get to Audio.
    • Press left and right to select audio setups. If HDMI, try the one labeled HDMI first, for instance.
    • Failing that, arrow over until you get to the card and number, eg plughw:1,7. This should match the output of grep plughw /etc/asound.conf | sort -u