nvidia-install.sh : Video Card Detection (nVIDIA) selects incorrect drivers for cards
During video card detection of nvidia cards (nvidia-install.sh) driver selection appears to be based on the version of Kubuntu:
`getPreferredNvidiaDriver() { PCI_Id=$(getPCI_Id)
case " $Driver_Current_Supported " in *" $PCI_Id "*)
case $(lsb_release -cs) in
precise)
echo "nvidia-340" ;;
trusty)
echo "nvidia-352" ;;
xenial)
echo "nvidia-361" ;;
esac
return 1
esac
case " $Driver_304_Supported " in *" $PCI_Id "*)
echo "nvidia-304"
return 1
esac
case $(lsb_release -cs) in
precise)
echo "nvidia-340"
return 1
;;
trusty)
echo "nvidia-352"
return 1
;;
xenial)
echo "nvidia-361"
return 1
;;
esac
return 0
} `
I have this card in my CORE (running lmce 14.04):
00:18:00.0 VGA compatible controller [0300]: NVIDIA Corporation G71 [GeForce 7950 GT] [10de:0295] (rev a1)
however on Kubuntu 12.04, it will always install nvidia-352, but nvidia-352 does not support this card.. only nvidia-304.
My MD has this card:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] [10de:1244] (rev a1)
This card DOES utilize the nvidia-340 driver, but not nvidia-352.
the card in my testing computer CORE (running lmce 16.04):
0000:18:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96 [GeForce 9500 GT] [10de:0640] (rev a1)
This card supports nvidia-352 driver, but the installer will install nvidia-361
This has been observed and the only fix for this (at least with my cards) is to edit the above listed procedure and change the nvidia-xxx to the correct one for the version of ubuntu/lmce that is installed.