Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • linuxmce linuxmce
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 255
    • Issues 255
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linuxmce
  • linuxmcelinuxmce
  • Issues
  • #2793

Closed
Open
Created Sep 08, 2017 by ardirtbiker@ardirtbiker

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.

Edited Sep 08, 2017 by ardirtbiker
Assignee
Assign to
Time tracking