After the emerge I was getting some messages in /var/log/messages about a mismatch:
Code: Select all
kernel: NVRM: API mismatch: the client has the version 358.16, but\x0aNVRM: this kernel module has the version 355.11. Please\x0aNVRM: make sure that this kernel module and all NVIDIA driver\x0aNVRM: components have the same version.Code: Select all
# lsmod | grep nvidia
nvidia 8608490 0
# modprobe -r nvidia
modprobe: FATAL: Module nvidia-uvm not found.After a reboot from a console window:
Code: Select all
# lsmod | grep nvidia
nvidia_modeset 700005 2
nvidia 8691502 36 nvidia_modeset
# /etc/init.d/xdm stop
* Stopping xdm ... # lsmod | grep nvidia
nvidia_modeset 700005 0
nvidia 8691502 1 nvidia_modeset
# modprobe -r nvidia
modprobe: FATAL: Module nvidia-uvm not found.
modprobe: FATAL: Error running remove command for nvidia
# lsmod | grep nvidia
# modprobe nvidia
# lsmod | grep nvidia
nvidia 8691502 0
# /etc/init.d/xdm start
* Setting up xdm ...
# lsmod | grep nvidia
nvidia_modeset 700005 2
nvidia 8691502 36 nvidia_modesetEverything seems to work but there is no nvidia-uvm in /lib/modules/4.1.15-gentoo-r1/video:Added nvidia-uvm.ko, the NVIDIA Unified Memory kernel module, to the NVIDIA Linux driver package. This kernel module provides support for the new Unified Memory feature in an upcoming CUDA release.
Code: Select all
-rw-r--r-- 1 root root 976744 Jan 31 10:19 nvidia-modeset.ko
-rw-r--r-- 1 root root 12129976 Jan 31 10:19 nvidia.ko

