LinuxMCE Forums

General => Users => Topic started by: l3mce on August 30, 2013, 04:41:41 am

Title: 1204 nvidia stuffs
Post by: l3mce on August 30, 2013, 04:41:41 am
I have changed the way the nvidia installer works.


Primarily this is because I have bevome very tired of keeping up with new cards, and figured out a solution. I now create a template file, which can be updated just by changing the url of their readme file for their new drivers.

So... for instance their current stable driver readme is here
http://us.download.nvidia.com/XFree86/Linux-x86/319.49/README/index.html
There, under:
Code: [Select]
II. Appendices
    A. Supported NVIDIA GPU Products
Will take you here:
http://us.download.nvidia.com/XFree86/Linux-x86/319.49/README/supportedchips.html

Generally you can just replace /319.49/ with whatever is current. This brings down all the new cards and VDPAU revisions and creates the file "/usr/pluto/templates/nvtemplate" via a script I named nvidia-template.sh
Code: [Select]
#!/bin/bash

# The DrvrUrl can be updated to the current evo. I find this url by going to nvidia.com
# selecting the newest card series manually, then choosing the latest driver, and selecting readme.
# The appendix shows the Supported Chipsets url... to be entered here. This will bring in new IDs.

DrvrUrl="http://us.download.nvidia.com/XFree86/Linux-x86/319.49/README/supportedchips.html"
UrlLoc="/tmp/supportedchips.html"

leg304="legacy_304.xx"
leg173="legacy_173.14.xx"
leg96="legacy_96.43.xx"
leg71="legacy_71.86.xx"

wget -P /tmp/ "$DrvrUrl"

RevA=$(grep '<td>A.*</td>' -B1 "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
RevB=$(grep '<td>B.*</td>' -B1 "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
RevC=$(grep '<td>C.*</td>' -B1 "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
RevD=$(grep '<td>D.*</td>' -B1 "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
RevE=$(grep '<td>E.*</td>' -B1 "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")

PidsCur=$(sed -e "1,/$leg304/p" "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
Pids304=$(sed -n "/$leg304/,/$leg173/p" "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
Pids173=$(sed -n "/$leg173/,/$leg96/p" "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
Pids96=$(sed -n "/$leg96/,/$leg71/p" "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")
Pids71=$(sed -e "1,/$leg71/d" "$UrlLoc" | grep -o "0x...." | sed 's/0x//g' | sort -u | tr [:upper:] [:lower:] | tr "\n" " ")

cat > /usr/pluto/templates/nvtemplate <<EOF
#!/bin/bash

##################################################################################################
# Driver PCIIDs. Currently 304 is as high as we go so driver current and 304 will work the same. #
# Done this way for the future, when newer driver will be required for cards that exist then.    #
##################################################################################################
Driver_Current_Supported="$PidsCur"

Driver_304_Supported="$Pids304"

Driver_173_Supported="$Pids173"

Driver_96_Supported="$Pids96"

Driver_71_Supported="$Pids71"

################################################################
# VDPAU Revisions. Currently no Rev E... expect there will be. #
################################################################
VDPAU_Rev_A_Supported="$RevA"

VDPAU_Rev_B_Supported="$RevB"

VDPAU_Rev_C_Supported="$RevC"

VDPAU_Rev_D_Supported="$RevD"

VDPAU_Rev_E_Supported="$RevE"
EOF

So... nvidia-install.sh is much smaller now... and creates a template file if it does not exist.
Code: [Select]
#!/bin/bash

#######################################################################################################################
# BEGIN NVIDIA DRIVER HELPER FUNCTIONS
#######################################################################################################################
# These functions are to help determine which driver to install for the currently installed nVidia card,
# as well as determining if vdpau support is available on the installed card.
#######################################################################################################################
. /usr/pluto/bin/Utils.sh
if [ ! -f /usr/pluto/templates/nvtemplate ]; then
/usr/pluto/bin/nvidia-template.sh
fi
. /usr/pluto/templates/nvtemplate
LogFile="/var/log/pluto/nvidia-install.log";
Distro=$(lsb_release -c -s)

# returns current PCIID. Attempts to handle multiple cards.
getPCI_Id() {
vga_pci=$(lspci -nn | grep -w 'VGA' | sed 's/.*://;s/\].*//')
gpus=$(echo "$vga_pci" | sort -u | wc -l)
if [[ "$gpus" -gt "1" ]]; then
vga_pci=$(echo "$vga_pci" | awk 'NR==2')
fi
echo "$vga_pci"
}

# returns true if an nvidia card is installed in the system, false otherwise
getNvidiaInstalled() {
if ! lspci -nn | grep -iq "vga.*nvidia";then
return 1
else
return 0
fi
}

# echos the currently installed nVidia driver (if there is one)
getInstalledNvidiaDriver() {
(dpkg-query -l "nvidia-glx*" "nvidia-current" | grep "^ii" | awk '{print $2}') 2>/dev/null
}

# returns the preferred driver to install for the currently installed nVidia card.
getPreferredNvidiaDriver() {
PCI_Id=$(getPCI_Id)
 
case " $Driver_Current_Supported " in *" $PCI_Id "*)
echo "nvidia-current"
return 1
esac

case " $Driver_304_Supported " in *" $PCI_Id "*)
if [[ "$Distro" == "lucid" ]]; then
echo "nvidia-current"
return 1
fi
esac

case " $Driver_173_Supported " in *" $PCI_Id "*)
echo "nvidia-glx-173"
return 1
esac

case " $Driver_96_Supported " in *" $PCI_Id "*)
echo "nvidia-glx-96"
return 1
esac

case " $Driver_71_Supported " in *" $PCI_Id "*)
echo "nvidia-glx-71"
return 0
esac
#Could not map PCI_Id to a correct nVidia device.
return 0

}


# Returns which vdpau revision (A,B, C or D) supported by the currently installed nVidia card.
# returns nothing if vdpau is NOT supported!
getVDPAUSupport() {
PCI_Id=$(getPCI_Id)

case " $VDPAU_Rev_A_Supported " in *" $PCI_Id "*)
echo "A"
return 1
esac
case " $VDPAU_Rev_B_Supported " in *" $PCI_Id "*)
echo "B"
return 1
esac
case " $VDPAU_Rev_C_Supported " in *" $PCI_Id "*)
echo "C"
return 1
esac
case " $VDPAU_Rev_D_Supported " in *" $PCI_Id "*)
echo "D"
return
esac
case " $VDPAU_Rev_E_Supported " in *" $PCI_Id "*)
echo "E"
return
esac
# Could not map a PCI_Id to a supported vdpau revision
return 0
}

# This function will install the correct nVidia driver for the currently installed card.
# if the first parameter is set to "reboot", it will also reboot the system after the driver is installed.
installCorrectNvidiaDriver() {
# first, lets see if there is even an nvidia card installed in the system
# If there is no nVidia card even installed, lets get out of here.
if ! getNvidiaInstalled; then
return
fi

echo "*************************************************"
echo -n "       "
StatusMessage "Begin nVidia driver installation"
echo "*************************************************"
Log "$LogFile" "== Begin NVidia driver installation ($(date)) =="
Log "$LogFile" "Card Detected: $(lspci -nn | grep -vi 'non-vga' | grep -i 'vga')"
Log "$LogFile" "PCI_Id Detected: $(getPCI_Id)"

# Now lets get the currently installed nvidia driver (if there is one)
current_driver=$(getInstalledNvidiaDriver)
if echo "$current_driver" | grep "nvidia"; then
echo "Detected installed driver $current_driver"
Log "$LogFile" "Detected installed driver $current_driver"
fi

# Get the preferred driver to install
preferred_driver=$(getPreferredNvidiaDriver)
echo "LMCE prefers driver $preferred_driver"
Log "$LogFile" "LMCE prefers driver $preferred_driver"

# Install the driver if needed
if [[ "$current_driver" != "$preferred_driver" ]]; then
markUp="1"
fi

if [[ "$markUp" == "1" ]]; then
echo "installing NEW driver $preferred_driver!"
Log "$LogFile" "installing NEW driver $preferred_driver!"
Installed="1"
tmpfile=$( /bin/mktemp -t )
if [[ -n "$current_driver" ]]; then
apt-get -y remove "$currrent_driver" --force-yes
fi
apt-get install -yf "$preferred_driver" 2> >(tee "$tmpfile")
local param="reboot"

CountErr="0"
if [[ "$?" > "0" ]] ; then
ERROR=$( cat $tmpfile )
Installed="0"
echo ""
echo -e "\e[1;31mUnable to install $preferred_driver!\e[0m"
echo -e "\e[1;31mRefer to the above message, which is also logged to $LogFile.\e[0m"
echo ""
Log "$LogFile" "Unable to install driver:"
Log "$LogFile" "$ERROR"
apt-get remove -yf "$preferred_driver"
dpkg --configure -a
beep -l 100 -f 500 -d 50 -r 3
sleep 10
CountErr=$(($CountErr + 1))
/etc/init.d/networking restart
apt-get update
apt-get install -yf "$preferred_driver" 2> >(tee "$tmpfile")
if [[ "$CountErr" == "3" ]]; then
ErrorMessage "Cannot install after 3 tries. Giving up"
local param="reboot"
return
fi
fi
rm "$tmpfile"
else
echo "Preferred driver $preferred_driver already installed."
Log "$LogFile" "Preferred driver $preferred_driver already installed."
Installed="0"
fi

echo "*************************************************"
echo -n "       "
NotifyMessage "End NVidia driver installation"
echo "*************************************************"
echo ""

Log "$LogFile" "== End NVidia driver installation ($(date)) =="

# Reboot only if requested and a new driver was installed
if [[ "$param" == "reboot" && "$Installed" == "1" ]];then
#if [[ "$Installed" == "1" ]]; then
# Give the user a warning message and beep, then reboot
echo ""
StatusMessage "Nvidia driver installation requires a reboot."
NotifyMessage "Please stand by while your system is rebooted."
echo ""
#need to force AVWizard to run, and remove the xorg.conf file created by the nvidia installer so it starts clean
#rm /etc/X11/xorg.conf*
ConfSet AVWizardOverride 1
beep -l 100 -f 500 -d 50 -r 3
sleep 2
reboot
fi
}
#######################################################################################################################
# END NVIDIA DRIVER HELPER FUNCTIONS
#######################################################################################################################

Save both of these files to /usr/pluto/bin chmod +x them, and boot. Should work well.

Of course the point of all this, is that I need testers. So if you have a 1204 upgrade that isn't working right, or better yet a fresh install... please use these scripts and report back how awesome they are and enrich your life.

Or break stuff. SHould work. Thanks as always for testing

As it sits now, if the template file does not exist, nvidia-template.sh runs. This is the file it creates, /usr/pluto/templates/nvtemplate
Code: [Select]
#!/bin/bash

##################################################################################################
# Driver PCIIDs. Currently 304 is as high as we go so driver current and 304 will work the same. #
# Done this way for the future, when newer driver will be required for cards that exist then.    #
##################################################################################################
Driver_Current_Supported="0003 0020 0028 0029 002c 002d 0040 0041 0042 0043 0044 0045 0046 0047 0048 004e 0090 0091 0092 0093 0095 0098 0099 009d 00a0 00a7 00b1 00c0 00c1 00c2 00c3 00c8 00c9 00cc 00cd 00ce 00f1 00f2 00f3 00f4 00f5 00f6 00f8 00f9 00fa 00fb 00fc 00fd 00fe 0100 0101 0103 0110 0111 0112 0113 0140 0141 0142 0143 0144 0145 0146 0147 0148 0149 014a 014c 014d 014e 014f 0150 0151 0152 0153 0160 0161 0162 0163 0164 0165 0166 0167 0168 0169 016a 0170 0171 0172 0173 0174 0175 0176 0177 0178 0179 017a 017c 017d 0181 0182 0183 0185 0188 018a 018b 018c 0191 0193 0194 0197 019d 019e 01a0 01d0 01d1 01d2 01d3 01d6 01d7 01d8 01da 01db 01dc 01dd 01de 01df 01f0 0200 0201 0202 0203 0211 0212 0215 0218 0221 0222 0240 0241 0242 0244 0245 0247 0250 0251 0253 0258 0259 025b 0280 0281 0282 0286 0288 0289 028c 0290 0291 0292 0293 0294 0295 0297 0298 0299 029a 029b 029c 029d 029e 029f 02e0 02e1 02e2 02e3 02e4 0301 0302 0308 0309 0311 0312 0314 031a 031b 031c 0320 0321 0322 0323 0324 0325 0326 0327 0328 032a 032b 032c 032d 0330 0331 0332 0333 0334 0338 033f 0341 0342 0343 0344 0347 0348 034c 034e 038b 0390 0391 0392 0393 0394 0395 0397 0398 0399 039c 039e 03d0 03d1 03d2 03d5 03d6 0400 0401 0402 0403 0404 0405 0406 0407 0408 0409 040a 040b 040c 040d 040e 040f 0410 0420 0421 0422 0423 0424 0425 0426 0427 0428 0429 042a 042b 042c 042d 042e 042f 0531 0533 053a 053b 053e 054d 054e 0554 0557 0562 0565 0568 0590 0592 0594 0595 05a2 05b1 05b2 05b3 05da 05e0 05e1 05e2 05e3 05e6 05e7 05e8 05ea 05eb 05ed 05f4 05f8 05f9 05fd 05fe 05ff 0600 0601 0602 0603 0604 0605 0606 0607 0608 0609 060a 060b 060c 060d 060f 0610 0611 0612 0613 0614 0615 0617 0618 0619 061a 061b 061c 061d 061e 061f 0621 0622 0623 0625 0626 0627 0628 062a 062b 062c 062d 062e 0630 0631 0632 0633 0635 0637 0638 063a 0640 0641 0643 0644 0645 0646 0647 0648 0649 064a 064b 064c 0651 0652 0653 0654 0655 0656 0658 0659 065a 065b 065c 067a 0680 0686 0689 068b 068d 068e 068f 0691 0692 0693 0694 0697 06c0 06c4 06ca 06cd 06d1 06d2 06d8 06d9 06da 06dc 06dd 06de 06df 06e0 06e1 06e2 06e3 06e4 06e5 06e6 06e7 06e8 06e9 06ea 06eb 06ec 06ef 06f1 06f8 06f9 06fa 06fb 06fd 06ff 0702 0711 0714 0719 0725 0728 072b 072e 0732 0743 0753 0754 0763 0771 0772 0773 0774 0776 077a 077b 077c 077d 077e 077f 0781 0798 0799 079b 079c 07e0 07e1 07e2 07e3 07e5 0807 0823 082f 0830 0837 0840 0841 0842 0844 0845 0846 0847 0848 0849 084a 084b 084c 084d 084f 0850 0860 0861 0862 0863 0864 0865 0866 0867 0868 0869 086a 086c 086d 086e 086f 0870 0871 0872 0873 0874 0876 087a 087d 087e 087f 088e 088f 0891 08a0 08a2 08a3 08a4 08a5 0907 0911 0914 091e 0926 0952 0953 0974 0982 0983 098d 0a20 0a22 0a23 0a26 0a27 0a28 0a29 0a2a 0a2b 0a2c 0a2d 0a32 0a34 0a35 0a38 0a3c 0a60 0a62 0a63 0a64 0a65 0a66 0a67 0a68 0a69 0a6a 0a6c 0a6e 0a6f 0a70 0a71 0a72 0a73 0a74 0a75 0a76 0a78 0a7a 0a7c 0ca0 0ca2 0ca3 0ca4 0ca5 0ca7 0ca8 0ca9 0cac 0caf 0cb0 0cb1 0cbc 0dc0 0dc4 0dc5 0dc6 0dcd 0dce 0dd1 0dd2 0dd3 0dd6 0dd8 0dda 0de0 0de1 0de2 0de3 0de4 0de5 0de8 0de9 0dea 0deb 0dec 0ded 0dee 0def 0df0 0df1 0df2 0df3 0df4 0df5 0df6 0df7 0df8 0df9 0dfa 0dfc 0e22 0e23 0e24 0e30 0e31 0e3a 0e3b 0f00 0f01 0fc0 0fc1 0fc2 0fc6 0fcd 0fce 0fd1 0fd2 0fd3 0fd4 0fd5 0fd8 0fd9 0fdf 0fe0 0fe1 0fe2 0fe3 0fe4 0fef 0ff2 0ff8 0ff9 0ffa 0ffb 0ffc 0ffd 0ffe 0fff 1004 1005 1021 1022 1026 1028 1030 103a 1040 1042 1048 1049 104a 104b 1050 1051 1052 1054 1055 1056 1057 1058 1059 105a 105b 1072 107c 107d 1080 1081 1082 1084 1086 1087 1088 1089 108b 1091 1094 1096 109a 109b 10b8 10c0 10c3 10c5 10cc 10d8 10dd 10e9 10ed 1140 1180 1183 1184 1185 1187 1188 1189 118a 118f 119d 119f 11a0 11a1 11a2 11a3 11a7 11ba 11bc 11bd 11be 11bf 11c0 11c2 11c3 11c4 11c6 11c8 11e0 11e1 11e2 11e3 11fa 11fd 1200 1201 1203 1205 1206 1207 1208 1210 1211 1212 1213 1241 1243 1244 1245 1246 1247 1248 1249 124b 124d 1251 126d 1280 1282 1284 1290 1291 1292 1293 131d 13fd 14a2 14c7 14d2 1507 152d 18ef 18f9 18fb 18fd 18ff 1c42 1c52 202d 20dd 20df 212a 212b 212c 2132 2136 21ba 21fa 2200 220a 223a 224a 2aed 2aef 2af1 2af9 3605 3607 360b 3610 3617 3656 365a 365b 365e 366c 3675 3684 3800 3801 3802 3803 3901 3902 3903 3904 3905 3910 3912 3950 3977 397d 3983 5001 5003 500d 5014 5017 5019 501a 501f 5025 5027 502a 502b 502d 502e 502f 844c 846b 8595 903a a625 aa33 aaa2 ae71 b092 c0d5 c0d7 c0e2 c0e3 c0e4 c652 c709 c711 c736 fa01 fa02 fa03 fa05 fa11 fa13 fa18 fa19 fa21 fa23 fa2a fa32 fa33 fa36 fa38 fa42 fa43 fa45 fa47 fa49 fa58 fa59 fa88 fa89 "

Driver_304_Supported="0040 0041 0042 0043 0044 0045 0046 0047 0048 004e 0090 0091 0092 0093 0095 0098 0099 009d 00c0 00c1 00c2 00c3 00c8 00c9 00cc 00cd 00ce 00f1 00f2 00f3 00f4 00f5 00f6 00f8 00f9 0140 0141 0142 0143 0144 0145 0146 0147 0148 0149 014a 014c 014d 014e 014f 0160 0161 0162 0163 0164 0165 0166 0167 0168 0169 016a 01d0 01d1 01d2 01d3 01d6 01d7 01d8 01da 01db 01dc 01dd 01de 01df 0211 0212 0215 0218 0221 0222 0240 0241 0242 0244 0245 0247 0290 0291 0292 0293 0294 0295 0297 0298 0299 029a 029b 029c 029d 029e 029f 02e0 02e1 02e2 02e3 02e4 038b 0390 0391 0392 0393 0394 0395 0397 0398 0399 039c 039e 03d0 03d1 03d2 03d5 03d6 0531 0533 053a 053b 053e 07e0 07e1 07e2 07e3 07e5 "

Driver_173_Supported="00fa 00fb 00fc 00fd 00fe 0301 0302 0308 0309 0311 0312 0314 031a 031b 031c 0320 0321 0322 0323 0324 0325 0326 0327 0328 032a 032b 032c 032d 0330 0331 0332 0333 0334 0338 033f 0341 0342 0343 0344 0347 0348 034c 034e "

Driver_96_Supported="0110 0111 0112 0113 0170 0171 0172 0173 0174 0175 0176 0177 0178 0179 017a 017c 017d 0181 0182 0183 0185 0188 018a 018b 018c 01a0 01f0 0200 0201 0202 0203 0250 0251 0253 0258 0259 025b 0280 0281 0282 0286 0288 0289 028c "

Driver_71_Supported="0020 0028 0029 002c 002d 00a0 0100 0101 0103 0150 0151 0152 0153 "

################################################################
# VDPAU Revisions. Currently no Rev E... expect there will be. #
################################################################
VDPAU_Rev_A_Supported="00a0 00a7 0400 0401 0402 0403 0404 0405 0407 0408 0409 040a 040b 040c 040d 040e 040f 0410 0421 0422 0424 0425 0426 0427 0428 0429 042a 042b 042c 042d 042e 042f 0595 05e0 05e1 05e2 05e3 05e6 05e7 05ea 05eb 05ed 05f8 05f9 05fd 05fe 05ff 0600 0601 0602 0603 0604 0605 0606 0607 0608 0609 060a 060b 060c 060d 060f 0610 0611 0612 0613 0614 0615 0617 0618 0619 061a 061b 061c 061d 061e 061f 0621 0622 0623 0625 0626 0627 0628 062a 062b 062c 062d 062e 0630 0631 0632 0633 0635 0637 0638 063a 0640 0641 0643 0644 0645 0646 0647 0648 0649 064a 064b 064c 0651 0652 0653 0654 0655 0656 0658 0659 065a 065b 065c 068f 0693 0697 06e4 0714 0743 0850 0a2d 0ca0 0ca7 10c3 14a2 14d2 202d "

VDPAU_Rev_B_Supported="00b1 060d 06e0 06e1 06e2 06e5 06e6 06e8 06e9 06ea 06eb 06ec 06ef 06f1 06f8 06f9 06fa 06fb 06fd 06ff 0711 0840 0844 0845 0846 0847 0848 0849 084a 084b 084c 084d 0860 0861 0862 0863 0864 0865 0866 0867 0868 0869 086a 086c 086d 086e 086f 0870 0871 0872 0873 0874 0876 087a 087d 087e 087f 0a68 0a69 10c0 1c42 1c52 360b "

VDPAU_Rev_C_Supported="0003 054d 054e 0554 0557 0562 0565 0568 0590 0592 0594 0595 05a2 05b1 05b2 05b3 05da 05e8 05f4 0600 0606 064a 064c 067a 0680 0686 0689 068b 068d 068e 0691 0692 0694 06c0 06c4 06ca 06cd 06d1 06d2 06d8 06d9 06da 06dc 06dd 06de 06df 0702 0719 0725 0728 072b 072e 0732 0753 0754 0763 0771 0772 0773 0774 0776 077a 077b 077c 077d 077e 077f 0781 0798 0799 079b 079c 0807 0823 082f 0830 0837 0840 0841 0842 0846 0866 088e 088f 0891 08a0 08a2 08a3 08a4 08a5 0907 0911 0914 091e 0926 0952 0953 0974 0982 0983 098d 0a20 0a23 0a26 0a27 0a28 0a29 0a2a 0a2b 0a2c 0a32 0a34 0a35 0a38 0a3c 0a60 0a62 0a63 0a64 0a65 0a66 0a6a 0a6c 0a6e 0a6f 0a70 0a71 0a72 0a73 0a74 0a75 0a76 0a78 0a7a 0a7c 0ca2 0ca3 0ca4 0ca5 0ca8 0ca9 0cac 0caf 0cb0 0cb1 0cbc 0dc0 0dc4 0dc5 0dc6 0dcd 0dce 0dd1 0dd2 0dd3 0dd6 0dd8 0dda 0de0 0de1 0de2 0de3 0de4 0de5 0de8 0de9 0dea 0deb 0dec 0ded 0dee 0def 0df0 0df1 0df2 0df3 0df4 0df5 0df6 0df7 0df8 0df9 0dfa 0dfc 0e22 0e23 0e24 0e30 0e31 0e3a 0e3b 0f00 0f01 0fc0 0fc1 0fc2 0fce 0fd2 0fd3 1030 1040 1049 1050 1052 1058 1059 105a 1072 1080 1081 1082 1084 1086 1087 1088 1089 108b 1091 1094 1096 109a 109b 10b8 10c5 10cc 10d8 10dd 10e9 10ed 1140 11fd 1200 1201 1203 1205 1206 1207 1208 1210 1211 1212 1213 1241 1243 1244 1245 1246 1247 1248 1249 124b 124d 1251 126d 1282 1284 131d 13fd 14c7 1507 152d 18ef 18f9 18fb 18fd 18ff 20dd 20df 212a 212b 212c 2132 2136 21ba 21fa 2200 220a 223a 224a 2aef 2af9 3605 3607 3610 3617 3656 365a 365b 365e 366c 3800 3801 3802 3803 3901 3902 3903 3904 3905 3910 3912 3950 3977 397d 3983 5001 5003 500d 5014 5017 5019 501a 501f 5025 5027 502a 502b 502d 502e 502f 8595 903a aa33 aaa2 ae71 b092 c0d5 c0d7 c0e2 c0e3 c0e4 c652 c709 c711 c736 fa01 fa02 fa03 fa05 fa11 fa13 fa18 fa19 fa21 fa23 fa2a fa32 fa33 fa36 fa38 fa42 fa43 fa45 fa47 fa49 fa58 fa59 fa88 fa89 "

VDPAU_Rev_D_Supported="0625 0fc6 0fcd 0fd1 0fd2 0fd4 0fd5 0fd8 0fd9 0fdf 0fe0 0fe1 0fe2 0fe3 0fe4 0fef 0ff2 0ff8 0ff9 0ffa 0ffb 0ffc 0ffd 0ffe 0fff 1004 1005 1021 1022 1026 1028 103a 1042 1048 104a 104b 1051 1054 1055 1056 1057 1058 105b 107c 107d 1180 1183 1184 1185 1187 1188 1189 118a 118f 119d 119f 11a0 11a1 11a2 11a3 11a7 11ba 11bc 11bd 11be 11bf 11c0 11c2 11c3 11c4 11c6 11c8 11e0 11e1 11e2 11e3 11fa 1280 1290 1291 1292 1293 2aed 2af1 3675 3684 844c 846b a625 "

VDPAU_Rev_E_Supported=""
Title: Re: 1204 nvidia stuffs
Post by: l3mce on August 30, 2013, 05:44:05 pm
The only people I can think of for whom this is not awesomesauce, are you weirdos running Mac etc, where the PCIIDs are not part of any docs from nVidia concerning linux compatibility (sorry Ocho) so you will need to add your pciids to the template it creates. I would expect whatever it is will be a rev C. Check similar numbers.
Title: Re: 1204 nvidia stuffs
Post by: Crumble on September 01, 2013, 06:52:22 am
I just installed 12.04, the script works great.  I could not really discern what it did (other than download some new stuff) as the boot prompts are fast.  It did not break anything.  Let me know if there are any logs or such I can post for you.  Thank You for hard work l3mce.