Nvidia drivers (Legacy 390) on Kali Linux not working correctly

I tried to install the nvidia drivers with “sudo apt install nvidia-legacy-390xx-driver”, they seemed to install correctly but after a restart I was getting bad performance, second monitor not working, low resolution. “nvidia-smi” outputs: “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.”