On running Nvidia-Modprobe from the Developer Zone CUDA 5.5 repository with Mint 15 x64, Nvidia-Current 319.21-0ubuntu1, and Xorg 1:7.7+1ubuntu4, and a GTX 570, the task fails with the following output:
sudo nvidia-modprobe
libkmod: ERROR ../libkmod/libkmod-module.c:791 kmod_module_insert_module: could not find module by name='nvidia_current'
ERROR: could not insert 'nvidia_current': Function not implemented
This causes the desktop environment to crash on login due to being unable to detect OpenGL and thus it goes to a fallback mode.
Upon trying to run Nvidia bug report, I get the following output:
sudo nvidia-bug-report.sh
nvidia-bug-report.sh will now collect information about your
system and create the file 'nvidia-bug-report.log.gz' in the current
directory. It may take several seconds to run. In some
cases, it may hang trying to capture data generated dynamically
by the Linux kernel and/or the NVIDIA kernel module. While
the bug report log file will be incomplete if this happens, it
may still contain enough data to diagnose your problem.
Please include the 'nvidia-bug-report.log.gz' log file when reporting
your bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to 'linux-bugs@nvidia.com'.
Running nvidia-bug-report.sh...
If the bug report script hangs after this point consider running with
--safe-mode command line argument.
libkmod: ERROR ../libkmod/libkmod-module.c:791 kmod_module_insert_module: could not find module by name='nvidia_current'
ERROR: could not insert 'nvidia_current': Function not implemented
NVIDIA: failed to load the NVIDIA kernel module.
libkmod: ERROR ../libkmod/libkmod-module.c:791 kmod_module_insert_module: could not find module by name='nvidia_current'
ERROR: could not insert 'nvidia_current': Function not implemented
NVIDIA: failed to load the NVIDIA kernel module.
complete.
Do you have any files in /lib/modprobe.d, /etc/modprobe.d, or /run/modprobe.d that alias the module ‘nvidia’ to ‘nvidia_current’? That could explain why libkmod has the wrong name for the module. Do you see the same problem if you run “modprobe nvidia” as root?
sudo modprobe nvidia
libkmod: ERROR ../libkmod/libkmod-module.c:791 kmod_module_insert_module: could not find module by name='nvidia_current'
ERROR: could not insert 'nvidia_current': Function not implemented
Reinstalling puts in the file nvidia-graphics-drivers.conf with the contents:
# This file was installed by nvidia-current
# Do not edit this file manually
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current-updates
blacklist nvidia-173-updates
blacklist nvidia-96-updates
alias nvidia nvidia_current
alias nouveau off
alias lbm-nouveau off
Trying to mess with
alias nvidia nvidia_current
tosses a syntax error or an error saying it can’t find anything.
Hmm, I don’t think those packages were meant to be used on Raring (and by extension, Olivia).
I just tried installing the nvidia-current-319 package on a Raring system, and it looks like the dkms.conf file tries to apply a patch which isn’t necessary for 319, probably left over from a previous driver version that didn’t support Linux 3.8.
This is what happens when I try to go ahead with the DKMS build on my system:
applying patch buildfix_kernel_3.8.patch...patching file conftest.sh
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file conftest.sh.rej
(bad exit status: 1)
Error! Application of patch buildfix_kernel_3.8.patch failed.
Check /var/lib/dkms/nvidia-current/319.24/build/ for more information.
Does the following help?
dkms remove -m nvidia-current -v 319.21 --all
edit /usr/src/nvidia-current-319.21/dkms.conf and remove the “PATCH” and “PATCH_MATCH” lines
dkms install -m nvidia-current -v 319.21
In the meantime, I’ll inform the team that produces those packages that they’re picking up a redundant patch.
I get the same error as th3flyboy when I run modprobe nvidia. I have
installed debian 7.2.0 and the nvidia drivers I installed was 319.72 for
a geforce 9400GT. I didn’t try to run the above 3 steps because there
are no lines containing PATCH or PATCH_MATCH in
/usr/src/nvidia-current-319.72/dkms.conf.
I get this error to, using debian testing repo. I got a GTX 780Ti and no PATCH/PATCH_MATCH in dkms.conf.
It looks likes the installer can’t find the kernel headers in debian 7/testing.