Reading Time: < 1 minute

I was re-installing on a fresh new copy of Ubuntu server 19.10 the tools, and I didn’t get to get it working.

I’ve followed this guide which isn’t too bad : https://www.alexanderjsingleton.com/infosexy-how-to-use-hashcat-to-crack-passwords-in-ubuntu-18-04/

lshw -c display

ubuntu-drivers devices (to see and check the recommanded driver : nvidia-driver-435 – distro non-free recommended)

ubuntu-drives autoinstall

reboot

lshw -c display (driver should now be NVIDIA instead of nouveau)

apt install ocl-icd-libopencl1 nvidia-cuda-toolkit clinfo

but then the command nvidia-smi throw me an error

Unable to determine the device handle for GPU 0000:03:00.0: Unknown Error

I had to add the following to my vmx file on my Virtual machine (read in this forum : https://forums.developer.nvidia.com/t/nvidia-smi-reports-unable-to-determine-the-device-handle-for-gpu/46835/3 )

hypervisor.cpuid.v0 = FALSE

0