Difference between revisions of "1004 Video Hardware Compatibility List"

From LinuxMCE
Jump to: navigation, search
(Add nVidia Current Driver Support)
(Add ATI Catalyst Support)
 
(76 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
The purpose behind this page is to give a compatibility probability list for unsupported chipsets, 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 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.
+
'''<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.
 
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.
Line 30: Line 30:
  
  
'''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.
+
<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.
 +
 
  
 
===nVidia===
 
===nVidia===
Line 46: 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]
+
<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#ALSA_.25_Support Update ALSA]
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
Change line 225 of SetupAudioVideo.sh CardDevice from 7 to 9</td>
+
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>GTX</td>
 
<td>GTX</td>
 
<td>5xx</td>
 
<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]<br>
+
[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#ALSA_.25_Support Update ALSA]</td>
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 64: Line 78:
 
<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>
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#ALSA_.25_Support Update ALSA]</td>
+
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.24_Support Update ALSA]</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 83: Line 97:
 
<td style="background-color:#00FF00">Yes</td>
 
<td style="background-color:#00FF00">Yes</td>
 
<td>This should be working, out of the box. If something went wrong, then do the following:<br>
 
<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>
 
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Upgrade_Kernel_to_Natty Upgrade Kernel to Natty]</td>
 
</tr>
 
</tr>
Line 90: Line 105:
 
<td style="background-color:#FF0000">No</td>
 
<td style="background-color:#FF0000">No</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_Oneiric Upgrade Kernel to Oneiric]<br>
+
                 <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#ALSA_.25_Support Update ALSA]</td>
+
[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>
 
</table>
 
</table>
 +
  
 
===ATI===
 
===ATI===
Line 112: Line 129:
 
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ATI_Catalyst_Support Add ATI Catalyst Support] <br><br>
 
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ATI_Catalyst_Support Add ATI Catalyst Support] <br><br>
 
'''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>
 
'''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>
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_Backport_.24_Support Add ALSA Backport .24 Support] and test [http://wiki.linuxmce.org/index.php/Audio_in_1004 configs]<br>
+
[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>
Failing that: apt-get remove --purge -yf linux-backports-modules-alsa-$(uname -r) and <br>
+
Failing that: apt-get remove --purge -yf linux-backports-modules-alsa-$(uname -r) <br>
[http://wiki.linuxmce.org/index.php/1004_Video_Hardware_Compatibility_List#Add_ALSA_.25_Support Add ALSA .25 Support] and try the different [http://wiki.linuxmce.org/index.php/Audio_in_1004 configs]</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>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
 +
 +
==dpkg==
 
Should any of the solutions below throw back dpkg errors then:
 
Should any of the solutions below throw back dpkg errors then:
 
  dpkg --configure -a
 
  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.
 
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 '''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.
 
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==
 
==Add Intel Advanced Support==
Line 131: Line 157:
 
  # apt-add-repository ppa:f-hackenberger/x220-intel-mesa
 
  # apt-add-repository ppa:f-hackenberger/x220-intel-mesa
 
  apt-get update
 
  apt-get update
 +
  
 
==Add nVidia Current Driver Support==
 
==Add nVidia Current Driver Support==
With the 304+ nvidia driver we recommend pulling down alsa .25 at the same time as prescribed here.
+
With the 304+ nvidia driver we recommend pulling down alsa .24 at the same time as prescribed here.
  
 
  /usr/pluto/bin/Stop_X.sh
 
  /usr/pluto/bin/Stop_X.sh
Line 139: Line 166:
 
  apt-get update
 
  apt-get update
 
  apt-get install -y nvidia-current
 
  apt-get install -y nvidia-current
 +
  
 
==Add ATI Catalyst Support==
 
==Add ATI Catalyst Support==
Line 144: Line 172:
 
  wget -P /tmp http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
 
  wget -P /tmp http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip
 
  apt-get install unzip
 
  apt-get install unzip
  unzip /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.zip ~/
+
  unzip /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.zip  
  sh ~/amd-driver-installer-catalyst-12.10-x86.x86_64.run
+
  sh /tmp/amd-driver-installer-catalyst-12.10-x86.x86_64.run
 
Then follow the instructions.
 
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==
 
==Add ALSA Backport .24 Support==
 
  apt-get install -yf linux-backports-modules-alsa-$(uname -r)
 
  apt-get install -yf linux-backports-modules-alsa-$(uname -r)
  
==Add ALSA .25 Support==
+
 
 +
==Add ALSA .24 Support==
 
  add-apt-repository ppa:team-iquik/alsa
 
  add-apt-repository ppa:team-iquik/alsa
 
  apt-get update
 
  apt-get update
 
  apt-get install -y alsa-base
 
  apt-get install -y alsa-base
 
  apt-get install -y alsa-utils
 
  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 164: Line 243:
 
  apt-get -yf install "$NewKernel"
 
  apt-get -yf install "$NewKernel"
 
  apt-get -yf install "$NewHeaders"
 
  apt-get -yf install "$NewHeaders"
  apt-get update
+
  apt-get -yf remove linux-headers${CurKernel}
 +
apt-get -yf remove linux-image${CurKernel}
 
  apt-get -yf dist-upgrade
 
  apt-get -yf dist-upgrade
  
==Upgrade Kernel to latest Oneiric==
+
==Upgrade Kernel to Latest Oneiric==
 +
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 174: Line 255:
 
  apt-get -yf install "$NewKernel"
 
  apt-get -yf install "$NewKernel"
 
  apt-get -yf install "$NewHeaders"
 
  apt-get -yf install "$NewHeaders"
  apt-get update
+
  apt-get -yf remove linux-headers${CurKernel}
 +
apt-get -yf remove linux-image${CurKernel}
 
  apt-get -yf dist-upgrade
 
  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 [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