4. Install Cuda Toolkit Kali Linux Optimus Laptop
Fajar Purnama
If you prefer to read, then go to my article https://0darkking0.blogspot.com/2020/10/fix-blank-screen-nvidia-optimus-laptop.html or alternatively if you are a crypto fan https://www.publish0x.com/0fajarpurnama0/fix-blank-screen-nvidia-optimus-laptop-linux-and-cuda-xolemgw?a=4oeEw0Yb0B&tid=youtube.
00:00 checklist of Nvidia Card. 00:45 Download suitable CUDA version from website where I chose CUDA 8 deb network. 01:00 sudo dpkg -i [your deb package].deb and apt-key add /var/cuda...../[...].pub (which will be shown on your terminal) 01:40 apt update && apt install cuda-toolkit-8-0 03:35 Edit /etc/environment, edit and add the following lines:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda/bin" LD_LIBRARY_PATH="/usr/local/cuda/lib64:/usr/local/cuda/targets/x86_64-linux/lib"
03:45 reboot and after that try nvcc -V 04:45 try some C and still need fixing or maybe just reboot ... https://www.youtube.com/watch?v=-pxfhJO1Ldo
24113064 Bytes