Sorry, you need to enable JavaScript to visit this website.

Problem with nvidia drivers

1 post / 0 new
EN's picture
Starter
EN

Feb 29, 2016 - 10:37am

  • EN's picture
    EN
    Hello! I have a laptop with nvidia optimus.
    I just tried to install Intel Graphics Installre 1.4.0. Installation was ok and intel drivers works, but when i tried to switch to nvidia drivers, some errors appears.
     
    $ sudo modprobe nvidia_352
    modprobe: ERROR: could not insert 'nvidia_352': Invalid argument
    $ dmesg
    [ 1069.280487] nvidia: disagrees about version of symbol drm_pci_init
    [ 1069.280491] nvidia: Unknown symbol drm_pci_init (err -22)
    [ 1069.280554] nvidia: disagrees about version of symbol drm_gem_prime_handle_to_fd
    [ 1069.280555] nvidia: Unknown symbol drm_gem_prime_handle_to_fd (err -22)
    [ 1069.280581] nvidia: disagrees about version of symbol drm_gem_private_object_init
    [ 1069.280582] nvidia: Unknown symbol drm_gem_private_object_init (err -22)
    [ 1069.280692] nvidia: disagrees about version of symbol drm_gem_handle_create
    [ 1069.280694] nvidia: Unknown symbol drm_gem_handle_create (err -22)
    [ 1069.280740] nvidia: disagrees about version of symbol drm_pci_set_busid
    [ 1069.280741] nvidia: Unknown symbol drm_pci_set_busid (err -22)
    [ 1069.280776] nvidia: disagrees about version of symbol drm_pci_exit
    [ 1069.280777] nvidia: Unknown symbol drm_pci_exit (err -22)
    [ 1069.280813] nvidia: disagrees about version of symbol drm_gem_prime_export
    [ 1069.280814] nvidia: Unknown symbol drm_gem_prime_export (err -22)
     
    Same errors appears if I switch to discrete gpu with
    prime-select nvidia
    and reboot.
     
    PC: Lenovo Flex 2-14
    OS: Ubuntu Gnome 15.10
    GPU: Nvidia GeForce 840M
    Nvidia Drivers: 352
    Kernel: 4.2.0-30-generic
     
    I need to be able to load nvidia drivers to use cuda.
    Please let me know if you have any advice.
    Thank you
    Feb 29, 2016 - 10:37am
  • Sounds like the nvidia kernel module needs to be rebuilt for the new kernel - did a bit of searching, found this:

    http://askubuntu.com/questions/539152/cannot-access-secondary-gpu-error-could-not-load-gpu-driver

    See the last bit at the end about updating your initramfs/initrd (depending on what ubuntu uses these days).

    You may also be able to achieve the same thing by apt-get install --reinstall <nvidia-packages-here>

    Mar 01, 2016 - 06:41am