nvidia driver is unable to load

Hi,

After upgrading to Ubuntu 14.04, my nvidia driver is refusing to start up. I tried a bunch with no effect - 331.38, 304.117. I install them through Ubuntu’s additional drivers utility.

This is what Xorg.0.log has to say about the driver:

[ 41.297] (II) LoadModule: “nvidia”
[ 41.392] (WW) Warning, couldn’t open module nvidia
[ 41.392] (II) UnloadModule: “nvidia”
[ 41.392] (II) Unloading nvidia
[ 41.392] (EE) Failed to load module “nvidia” (module does not exist, 0)

How can I fix this issue?

I’ve yet to see an single instance of an Ubuntu upgrade work correctly. Hard to tell what the issue is, but seems like the module is not being compiled/created at all.

Try uninstalling and installing via:
sudo apt-get remove nvidia-current (assuming this is what ubuntu installed via the driver manager)
sudo apt-get install nvidia-331 (I believe nvidia-337 is the latest beta, but try 331 first)

Here is what I get upon installing:

vadi@vadimp-hp-z200-workstation:~$ sudo apt-get remove nvidia-current
[sudo] password for vadi: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'nvidia-current' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libgtksourceview2.0-0 libgtksourceview2.0-common linux-image-generic
  python-gnome2 python-gtksourceview2 python-pyorbit
Use 'apt-get autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
vadi@vadimp-hp-z200-workstation:~$ sudo apt-get remove nvidia-*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'nvidia-331-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-compute-profiler' for regex 'nvidia-*'
Note, selecting 'nvidia-319-updates-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-cg-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-310-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-cuda-doc' for regex 'nvidia-*'
Note, selecting 'nvidia-libopencl1' for regex 'nvidia-*'
Note, selecting 'nvidia-visual-profiler' for regex 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-304-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-persistenced' for regex 'nvidia-*'
Note, selecting 'nvidia-driver' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-304-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-331-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-libopencl1-304-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-cg-doc' for regex 'nvidia-*'
Note, selecting 'nvidia-settings' for regex 'nvidia-*'
Note, selecting 'nvidia-304-updates-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-cuda-gdb' for regex 'nvidia-*'
Note, selecting 'nvidia-kernel-486' for regex 'nvidia-*'
Note, selecting 'nvidia-common' for regex 'nvidia-*'
Note, selecting 'nvidia-glx' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-binary' for regex 'nvidia-*'
Note, selecting 'nvidia-325-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-libopencl1-331-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-kernel-686-pae' for regex 'nvidia-*'
Note, selecting 'nvidia-current-dev' for regex 'nvidia-*'
Note, selecting 'nvidia' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-310-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-304' for regex 'nvidia-*'
Note, selecting 'nvidia-current-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-310-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-kernel-amd64' for regex 'nvidia-*'
Note, selecting 'nvidia-310' for regex 'nvidia-*'
Note, selecting 'nvidia-313' for regex 'nvidia-*'
Note, selecting 'nvidia-319' for regex 'nvidia-*'
Note, selecting 'nvidia-libopencl1-304' for regex 'nvidia-*'
Note, selecting 'nvidia-nsight' for regex 'nvidia-*'
Note, selecting 'nvidia-331-updates-uvm' for regex 'nvidia-*'
Note, selecting 'nvidia-325' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-319-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-331' for regex 'nvidia-*'
Note, selecting 'nvidia-310-updates-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-cg-toolkit' for regex 'nvidia-*'
Note, selecting 'nvidia-331-updates-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-libopencl1-331' for regex 'nvidia-*'
Note, selecting 'nvidia-cuda-debugger' for regex 'nvidia-*'
Note, selecting 'nvidia-driver-binary' for regex 'nvidia-*'
Note, selecting 'bumblebee-nvidia' for regex 'nvidia-*'
Note, selecting 'nvidia-cuda-toolkit' for regex 'nvidia-*'
Note, selecting 'nvidia-opencl-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-313-updates-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-opencl-profiler' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-experimental-304' for regex 'nvidia-*'
Note, selecting 'nvidia-319-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-310-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-304' for regex 'nvidia-*'
Note, selecting 'nvidia-current-updates-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-319-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-331' for regex 'nvidia-*'
Note, selecting 'nvidia-texture-tools' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-304' for regex 'nvidia-*'
Note, selecting 'libgl1-nvidia-glx' for regex 'nvidia-*'
Note, selecting 'nvidia-kernel-dkms' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-310' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-319' for regex 'nvidia-*'
Note, selecting 'nvidia-va-driver' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-304-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-cuda-profiler' for regex 'nvidia-*'
Note, selecting 'nvidia-current' for regex 'nvidia-*'
Note, selecting 'nvidia-prime' for regex 'nvidia-*'
Note, selecting 'nvidia-settings-313-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-173-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-libopencl1-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-304' for regex 'nvidia-*'
Note, selecting 'nvidia-304-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-310' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-313' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-319' for regex 'nvidia-*'
Note, selecting 'boinc-nvidia-cuda' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-325' for regex 'nvidia-*'
Note, selecting 'nvidia-vdpau-driver' for regex 'nvidia-*'
Note, selecting 'nvidia-experimental-331' for regex 'nvidia-*'
Note, selecting 'nvidia-cuda-dev' for regex 'nvidia-*'
Note, selecting 'nvidia-304-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-profiler' for regex 'nvidia-*'
Note, selecting 'nvidia-173' for regex 'nvidia-*'
Note, selecting 'nvidia-313-updates' for regex 'nvidia-*'
Note, selecting 'libgl1-nvidia-alternatives' for regex 'nvidia-*'
Note, selecting 'nvidia-331-updates' for regex 'nvidia-*'
Note, selecting 'nvidia-331-uvm' for regex 'nvidia-*'
Package 'libgl1-nvidia-alternatives' is not installed, so not removed
Package 'nvidia-vdpau-driver' is not installed, so not removed
Note, selecting 'nvidia-settings' instead of 'nvidia-settings-binary'
Package 'nvidia-driver' is not installed, so not removed
Package 'nvidia-glx' is not installed, so not removed
Package 'nvidia-kernel-dkms' is not installed, so not removed
Package 'nvidia-kernel-amd64' is not installed, so not removed
Package 'nvidia-kernel-686-pae' is not installed, so not removed
Package 'nvidia-kernel-486' is not installed, so not removed
Package 'nvidia' is not installed, so not removed
Package 'nvidia-313' is not installed, so not removed
Package 'nvidia-experimental-313' is not installed, so not removed
Package 'nvidia-experimental-319' is not installed, so not removed
Package 'nvidia-325' is not installed, so not removed
Package 'nvidia-325-updates' is not installed, so not removed
Package 'nvidia-experimental-325' is not installed, so not removed
Package 'nvidia-experimental-331' is not installed, so not removed
Note, selecting 'libnvtt-bin' instead of 'nvidia-texture-tools'
Package 'nvidia-libopencl1-dev' is not installed, so not removed
Note, selecting 'vdpau-va-driver' instead of 'nvidia-va-driver'
Package 'libgl1-nvidia-glx' is not installed, so not removed
Package 'nvidia-cuda-debugger' is not installed, so not removed
Package 'nvidia-libopencl1' is not installed, so not removed
Package 'nvidia-compute-profiler' is not installed, so not removed
Package 'nvidia-cuda-profiler' is not installed, so not removed
Package 'nvidia-opencl-profiler' is not installed, so not removed
Package 'nvidia-settings-304' is not installed, so not removed
Package 'nvidia-settings-304-updates' is not installed, so not removed
Package 'nvidia-settings-310' is not installed, so not removed
Package 'nvidia-settings-310-updates' is not installed, so not removed
Package 'nvidia-settings-313-updates' is not installed, so not removed
Package 'nvidia-settings-319' is not installed, so not removed
Package 'nvidia-settings-319-updates' is not installed, so not removed
Package 'nvidia-settings-experimental-304' is not installed, so not removed
Package 'nvidia-settings-updates' is not installed, so not removed
Package 'nvidia-173' is not installed, so not removed
Package 'nvidia-173-dev' is not installed, so not removed
Package 'nvidia-304' is not installed, so not removed
Package 'nvidia-304-dev' is not installed, so not removed
Package 'nvidia-304-updates' is not installed, so not removed
Package 'nvidia-304-updates-dev' is not installed, so not removed
Package 'nvidia-310' is not installed, so not removed
Package 'nvidia-310-dev' is not installed, so not removed
Package 'nvidia-310-updates' is not installed, so not removed
Package 'nvidia-310-updates-dev' is not installed, so not removed
Package 'nvidia-313-updates' is not installed, so not removed
Package 'nvidia-313-updates-dev' is not installed, so not removed
Package 'nvidia-319' is not installed, so not removed
Package 'nvidia-319-dev' is not installed, so not removed
Package 'nvidia-319-updates' is not installed, so not removed
Package 'nvidia-319-updates-dev' is not installed, so not removed
Package 'nvidia-331-dev' is not installed, so not removed
Package 'nvidia-331-updates' is not installed, so not removed
Package 'nvidia-331-updates-dev' is not installed, so not removed
Package 'nvidia-331-updates-uvm' is not installed, so not removed
Package 'nvidia-331-uvm' is not installed, so not removed
Package 'nvidia-current' is not installed, so not removed
Package 'nvidia-current-dev' is not installed, so not removed
Package 'nvidia-current-updates' is not installed, so not removed
Package 'nvidia-current-updates-dev' is not installed, so not removed
Package 'nvidia-experimental-304' is not installed, so not removed
Package 'nvidia-experimental-304-dev' is not installed, so not removed
Package 'nvidia-experimental-310' is not installed, so not removed
Package 'nvidia-experimental-310-dev' is not installed, so not removed
Package 'nvidia-libopencl1-304' is not installed, so not removed
Package 'nvidia-libopencl1-304-updates' is not installed, so not removed
Package 'nvidia-libopencl1-331-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-304' is not installed, so not removed
Package 'nvidia-opencl-icd-304-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-331-updates' is not installed, so not removed
Package 'bumblebee-nvidia' is not installed, so not removed
Package 'nvidia-common' is not installed, so not removed
Package 'boinc-nvidia-cuda' is not installed, so not removed
Package 'nvidia-cg-dev' is not installed, so not removed
Package 'nvidia-cg-doc' is not installed, so not removed
Package 'nvidia-cg-toolkit' is not installed, so not removed
Package 'nvidia-cuda-dev' is not installed, so not removed
Package 'nvidia-cuda-doc' is not installed, so not removed
Package 'nvidia-cuda-gdb' is not installed, so not removed
Package 'nvidia-cuda-toolkit' is not installed, so not removed
Package 'nvidia-nsight' is not installed, so not removed
Package 'nvidia-opencl-dev' is not installed, so not removed
Package 'nvidia-profiler' is not installed, so not removed
Package 'nvidia-visual-profiler' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libgtksourceview2.0-0 libgtksourceview2.0-common linux-image-generic
  python-gnome2 python-gtksourceview2 python-pyorbit
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  nvidia-331 nvidia-libopencl1-331 nvidia-opencl-icd-331 nvidia-prime
  nvidia-settings
0 to upgrade, 0 to newly install, 5 to remove and 2 not to upgrade.
After this operation, 211 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 240482 files and directories currently installed.)
Removing nvidia-331 (331.38-0ubuntu7) ...
Removing all DKMS Modules
Done.
INFO:Disable nvidia-331
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
stop: Unknown instance: 
update-initramfs: deferring update (trigger activated)
Removing nvidia-libopencl1-331 (331.38-0ubuntu7) ...
Removing nvidia-opencl-icd-331 (331.38-0ubuntu7) ...
Removing nvidia-prime (0.6.2) ...
Removing nvidia-settings (331.20-0ubuntu8) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for initramfs-tools (0.103ubuntu4) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for mime-support (3.54ubuntu1) ...
vadi@vadimp-hp-z200-workstation:~$ sudo apt-get install nvidia-331
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgtksourceview2.0-0 libgtksourceview2.0-common linux-image-generic
  python-gnome2 python-gtksourceview2 python-pyorbit
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  nvidia-libopencl1-331 nvidia-opencl-icd-331 nvidia-prime nvidia-settings
Suggested packages:
  nvidia-331-uvm
The following NEW packages will be installed
  nvidia-331 nvidia-libopencl1-331 nvidia-opencl-icd-331 nvidia-prime
  nvidia-settings
0 to upgrade, 5 to newly install, 0 to remove and 2 not to upgrade.
Need to get 45.6 MB of archives.
After this operation, 211 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ trusty/restricted nvidia-331 amd64 331.38-0ubuntu7 [36.4 MB]
Get:2 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ trusty/restricted nvidia-libopencl1-331 amd64 331.38-0ubuntu7 [17.4 kB]
Get:3 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ trusty/restricted nvidia-opencl-icd-331 amd64 331.38-0ubuntu7 [8,332 kB]
Get:4 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ trusty/main nvidia-prime amd64 0.6.2 [11.2 kB]
Get:5 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ trusty/main nvidia-settings amd64 331.20-0ubuntu8 [774 kB]
Fetched 45.6 MB in 10s (4,487 kB/s)                                            
Selecting previously unselected package nvidia-331.
(Reading database ... 240207 files and directories currently installed.)
Preparing to unpack .../nvidia-331_331.38-0ubuntu7_amd64.deb ...
Unpacking nvidia-331 (331.38-0ubuntu7) ...
Selecting previously unselected package nvidia-libopencl1-331.
Preparing to unpack .../nvidia-libopencl1-331_331.38-0ubuntu7_amd64.deb ...
Unpacking nvidia-libopencl1-331 (331.38-0ubuntu7) ...
Selecting previously unselected package nvidia-opencl-icd-331.
Preparing to unpack .../nvidia-opencl-icd-331_331.38-0ubuntu7_amd64.deb ...
Unpacking nvidia-opencl-icd-331 (331.38-0ubuntu7) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.6.2_amd64.deb ...
Unpacking nvidia-prime (0.6.2) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../nvidia-settings_331.20-0ubuntu8_amd64.deb ...
Unpacking nvidia-settings (331.20-0ubuntu8) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Setting up nvidia-331 (331.38-0ubuntu7) ...
update-alternatives: using /usr/share/nvidia-331/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 132) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-331-331.38 DKMS files...
Building only for 3.13.0-24-generic
Building for architecture x86_64
Building initial module for 3.13.0-24-generic
Done.

nvidia_331:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-24-generic/updates/dkms/

depmod....

DKMS: install completed.
Setting up nvidia-libopencl1-331 (331.38-0ubuntu7) ...
Setting up nvidia-opencl-icd-331 (331.38-0ubuntu7) ...
Setting up nvidia-prime (0.6.2) ...
nvidia-prime start/running, process 20768
Setting up nvidia-settings (331.20-0ubuntu8) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
vadi@vadimp-hp-z200-workstation:~$

That looks all okay! In my /lib/modules/3.13.0-24-generic/updates/dkms folder, I have the following files:

/lib/modules/3.13.0-24-generic/updates/dkms/bbswitch.ko
/lib/modules/3.13.0-24-generic/updates/dkms/nvidia_331.ko
/lib/modules/3.13.0-24-generic/updates/dkms/vboxdrv.ko
/lib/modules/3.13.0-24-generic/updates/dkms/vboxnetadp.ko
/lib/modules/3.13.0-24-generic/updates/dkms/vboxnetflt.ko
/lib/modules/3.13.0-24-generic/updates/dkms/vboxpci.ko

Looks proper. Restart, but it still doesn’t load:

[ 80.425] (II) LoadModule: “nvidia”
[ 80.510] (WW) Warning, couldn’t open module nvidia
[ 80.510] (II) UnloadModule: “nvidia”
[ 80.510] (II) Unloading nvidia
[ 80.510] (EE) Failed to load module “nvidia” (module does not exist, 0)
[ 80.510] (II) LoadModule: “nouveau”
[ 80.511] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so

I confirmed that I’m on the 3.13.0-24-generic kernel with uname.

It’s trying to load nvidia while the module file is nvidia_331, is that an issue?

Does modprobe nvidia-331 work in a terminal?

Try in a terminal…

  1. modprobe nvidia-331
  2. modprobe nvidia_331
  3. modprobe nvidia

I suspect one of the first two will work, but not the last. Perhaps the installer hasn’t put in an alias… check your /etc/modprobe.d folder. Mine has an nvidia-graphics.drivers.conf that has among other things:

blacklist nouveau
alias nvidia nvidia_337

Maybe something like that is missing on your end and you don’t have the alias pointing to nvidia_331 (or nvidia-331)

None of those worked!

sudo modprobe nvidia-331 modprobe: ERROR: could not insert 'nvidia_331': No such device sudo modprobe nvidia_331
modprobe: ERROR: could not insert ‘nvidia_331’: No such device
$ sudo modprobe nvidia
modprobe: FATAL: Module nvidia not found.

None of the files in /etc/modprobe.d mention nvidia in their name, so it does seem to be missing. I checked packages.ubuntu.com, nobody seems to provide that file!

Add one yourself, just make any file that ends in *.conf and add the blacklist of nouveau and an alias to nvidia… Here’s the contents of mine adapted to the fact that you’re on 331 instead of 337 (nvidia-graphics-drivers.conf), which is really just a symlink to /etc/alternatives/x86_64-linux-gnu_nvidia_modconf on my system.

If for some reason you still have issues after that, you might have to install nvidia-uvm as well – watch out for that one as it doesn’t tend to compile because of a patch mismatch… see here for that:

https://devtalk.nvidia.com/default/topic/699610/334-21-driver-returns-999-on-cuinit-cuda-/

That I know of, the uvm module is only needed in later drivers if you are using CUDA/OpenCL apps.

[ 80.510] (EE) Failed to load module "nvidia" (module does not exist, 0)

Thins means not the kernel-module, this is a missing ddx xorg module!

towo, sorry, what does that mean? Noveau is able to work and power two monitors despite whatever problem is happening (the only issue with it is that sometimes it locks up, making it unacceptable for me).

I ended up fixing it by doing a combination of http://askubuntu.com/a/308504/4918 and http://askubuntu.com/questions/289459/nvidia-drivers-installed-but-not-used#comment426670_308504. Thanks to all who helped!

For the benefit of others who may come across this thread:

If you’re using NVIDIA prime and it’s set to use the Intel GPU, then your video card has probably been disabled via bbswitch. Thus “no such device”. See the documentation on bbswitch for how to reenable it, then you should be able to load the module using modprobe.