Code:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630M] (rev ff)
root@kali:~# optirun glxspheres64
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
243.416053 frames/sec - 204.644744 Mpixels/sec
246.672039 frames/sec - 207.382117 Mpixels/sec
195.415671 frames/sec - 164.289863 Mpixels/sec
170.460050 frames/sec - 143.309173 Mpixels/sec
171.786163 frames/sec - 144.424063 Mpixels/sec
167.925432 frames/sec - 141.178269 Mpixels/sec
166.438969 frames/sec - 139.928570 Mpixels/sec
168.091304 frames/sec - 141.317721 Mpixels/sec
171.926627 frames/sec - 144.542154 Mpixels/sec
170.618800 frames/sec - 143.442638 Mpixels/sec
168.957864 frames/sec - 142.046256 Mpixels/sec
174.145734 frames/sec - 146.407802 Mpixels/sec
172.519375 frames/sec - 145.040489 Mpixels/sec
169.868780 frames/sec - 142.812081 Mpixels/sec
===========
= Summary =
===========
Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-5.5
Samples: Installed in /root/NVIDIA_CUDA-5.5_Samples
* Please make sure your PATH includes /usr/local/cuda-5.5/bin
* Please make sure your LD_LIBRARY_PATH
* for 32-bit Linux distributions includes /usr/local/cuda-5.5/lib
* for 64-bit Linux distributions includes /usr/local/cuda-5.5/lib64:/lib
* OR
* for 32-bit Linux distributions add /usr/local/cuda-5.5/lib
* for 64-bit Linux distributions add /usr/local/cuda-5.5/lib64 and /lib
* to /etc/ld.so.conf and run ldconfig as root
* To uninstall CUDA, remove the CUDA files in /usr/local/cuda-5.5
* Installation Complete
Please see CUDA_Getting_Started_Linux.pdf in /usr/local/cuda-5.5/doc/pdf for detailed information on setting up CUDA.
root@kali:~# rm /lib/modules/3.14-kali1-amd64/updates/dkms/nvidia-uvm.ko
root@kali:~# cp /usr/src/nvidia-current-331.67/uvm/nvidia-uvm.ko /lib/modules/3.14-kali1-amd64/updates/dkms/
root@kali:~# modprobe nvidia-uvm
ERROR: could not insert 'nvidia_uvm': No such device
- CONTENT OF dkms.conf -
# DKMS configuration for the NVIDIA kernel module. -*- sh -*-
# The version is replaced at build time by dh_dkms invoked in debian/rules.
PACKAGE_NAME="nvidia-current"
PACKAGE_VERSION="331.67"
BUILT_MODULE_NAME[0]="nvidia"
DEST_MODULE_NAME[0]="$PACKAGE_NAME"
DEST_MODULE_LOCATION[0]="/updates/dkms"
AUTOINSTALL=yes
MAKE[0]="env CCACHE_DISABLE=1 \
make -C . SYSSRC=${kernel_source_dir}"
CLEAN="make -C . SYSSRC=${kernel_source_dir} clean"
BUILT_MODULE_NAME[1]="nvidia-uvm"
BUILT_MODULE_LOCATION[1]="uvm/"
DEST_MODULE_LOCATION[1]="/updates/dkms"
MAKE[0]+="; env CCACHE_DISABLE=1 \
make -C uvm SYSSRC=${kernel_source_dir}"
CLEAN+="; make -C uvm SYSSRC=${kernel_source_dir} clean"
- END OF CONTENT -
root@kali:~# diff /usr/src/nvidia-current-331.67/Module.symvers /usr/src/nvidia-current-331.67/uvm/Module.symvers
root@kali:~#
NO FEEDBACK
root@kali:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin
root@kali:~# cat /etc/modprobe.d/nvidia.conf
alias nvidia nvidia-current
remove nvidia-current rmmod nvidia
root@kali:~# modprobe nvidia-uvm
ERROR: could not insert 'nvidia_uvm': No such device
root@kali:~# lsmod
Module Size Used by
nls_utf8 12456 1
nls_cp437 16553 1
vfat 17185 1
fat 57965 1 vfat
nfnetlink_log 17241 0
nfnetlink 12989 1 nfnetlink_log
bbswitch 12866 0
binfmt_misc 16949 1
loop 26605 0
dm_crypt 22731 0
joydev 17108 0
snd_hda_codec_hdmi 45004 1
snd_hda_codec_realtek 54360 1
snd_hda_codec_generic 59079 1 snd_hda_codec_realtek
btusb 25619 0
bluetooth 243618 2 btusb
6lowpan_iphc 16588 1 bluetooth
x86_pkg_temp_thermal 12965 0
intel_powerclamp 17159 0
arc4 12543 2
snd_hda_intel 39656 3
i915 743012 2
snd_hda_codec 99921 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
snd_hwdep 13148 1 snd_hda_codec
lpc_ich 20768 0
ir_rc6_decoder 12433 0
ir_jvc_decoder 12433 0
iwldvm 130998 0
mac80211 488308 1 iwldvm
iwlwifi 87784 1 iwldvm
drm_kms_helper 39998 1 i915
drm 240557 3 i915,drm_kms_helper
i2c_algo_bit 12751 1 i915
intel_rapl 17344 0
snd_pcm 88538 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer 26606 1 snd_pcm
snd 61039 14 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore 13026 1 snd
mei_me 13446 0
i2c_i801 16963 0
mei 50039 1 mei_me
i2c_core 24265 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
cfg80211 436618 3 iwlwifi,mac80211,iwldvm
ir_sony_decoder 12435 0
ir_sanyo_decoder 12437 0
ir_lirc_codec 12675 0
ir_mce_kbd_decoder 12574 0
ir_nec_decoder 12433 0
lirc_dev 16951 1 ir_lirc_codec
ir_rc5_decoder 12433 0
coretemp 12854 0
kvm_intel 138949 0
kvm 404503 1 kvm_intel
rc_rc6_mce 12396 0
ene_ir 21814 0
rc_core 18235 12 lirc_dev,ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,ene_ir,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,rc_rc6_mce
psmouse 86464 0
serio_raw 12849 0
evdev 17489 13
rtsx_pci_ms 12802 0
memstick 13696 1 rtsx_pci_ms
mxm_wmi 12515 0
toshiba_acpi 18063 0
sparse_keymap 12760 1 toshiba_acpi
rfkill 18902 5 cfg80211,toshiba_acpi,bluetooth
toshiba_bluetooth 12641 0
battery 13101 0
processor 28221 0
ac 12678 0
video 17804 1 i915
thermal_sys 27685 4 video,intel_powerclamp,processor,x86_pkg_temp_thermal
wmi 17339 2 toshiba_acpi,mxm_wmi
button 12944 1 i915
ext4 489943 1
crc16 12343 2 ext4,bluetooth
mbcache 13082 1 ext4
jbd2 86788 1 ext4
dm_mod 89276 1 dm_crypt
hid_generic 12393 0
usbhid 44481 0
hid 94062 2 hid_generic,usbhid
sg 30043 0
sr_mod 21898 0
cdrom 39232 1 sr_mod
sd_mod 44346 5
crc_t10dif 12431 1 sd_mod
usb_storage 52037 4
rtsx_pci_sdmmc 17076 0
mmc_core 93950 1 rtsx_pci_sdmmc
crct10dif_pclmul 13348 1
crct10dif_common 12356 2 crct10dif_pclmul,crc_t10dif
crc32_pclmul 12915 0
crc32c_intel 21809 0
ghash_clmulni_intel 12978 0
ahci 29195 0
aesni_intel 151423 0
libahci 27103 1 ahci
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
glue_helper 12690 1 aesni_intel
ablk_helper 12572 1 aesni_intel
cryptd 14560 3 ghash_clmulni_intel,aesni_intel,ablk_helper
libata 169163 2 ahci,libahci
scsi_mod 186841 5 sg,usb_storage,libata,sd_mod,sr_mod
rtsx_pci 33623 2 rtsx_pci_ms,rtsx_pci_sdmmc
mfd_core 12601 2 lpc_ich,rtsx_pci
r8169 64490 0
mii 12675 1 r8169
ehci_pci 12472 0
xhci_hcd 111830 0
ehci_hcd 48517 1 ehci_pci
usbcore 166472 6 btusb,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common 12440 1 usbcore
root@kali:~#
root@kali:~# modprobe nvidia
root@kali:~# modprobe nvidia-current
ERROR: could not insert 'nvidia_current': No such device
root@kali:~# modprobe nvidia-uvm
ERROR: could not insert 'nvidia_uvm': No such device
root@kali:~# depmod -a
root@kali:~#
root@kali:~# cat /lib/modules/3.14-kali1-amd64/modules.dep | grep -i nvidia
kernel/drivers/net/ethernet/nvidia/forcedeth.ko:
updates/dkms/nvidia-uvm.ko: updates/dkms/nvidia-current.ko kernel/drivers/i2c/i2c-core.ko
updates/dkms/nvidia-current.ko: kernel/drivers/i2c/i2c-core.ko