I am trying to install Nvidia driver on Dell 5530, Ubuntu20. But I got
nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
if it is a laptop, probably you are usìng the discrete intel video card onstead of Nvidia one.
My old laptop uses bumblebee when i need to use the nvidia video card.
I did a web search there are plenty of guide how to setuo an hybrid laptop.