whilst trying to use tensorflow-gpu, I ran into the error that tf-gpu was not recognizing CUDA in my computer. I have a dell xps15 laptop, where I have installed ubuntu budgie 20.04. I ran
nvidia-smi and got the following:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running
I purged the nvidia drivers and re-installed using
sudo apt install nvidia-driver-440
I rebooted and ran
nvidia-smi and got the exact same error. I looked up into several other discussions, but I am still unsure of why is this happening.
here’s the output of
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: N/A Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.0.8
lsmod | grep nvidia I get nothing.
lshw -class display yields:
*-display UNCLAIMED description: 3D controller product: TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress cap_list configuration: latency=0 resources: memory:ec000000-ecffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128) memory:ed000000-ed07ffff *-display description: VGA compatible controller product: UHD Graphics 630 (Mobile) vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 00 width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:178 memory:eb000000-ebffffff memory:80000000-8fffffff ioport:4000(size=64) memory:c0000-dffff
I’d deeply appreciate some help