Hi @AK51,
Please read the following post and attach the nvidia-bug-report.log.gz
file here
But my first guess would be that you would be best of by starting from scratch. By now you have so many mismatching libraries on your system that it will be very difficult to clean it up again.
The recommended way is to
- first install Ubuntu and *do not chose 3rd party apps during initial installation.
- After Ubuntu has booted properly with default Display support go into the 3rd party apps and install the 525 or 530 driver. Start with the normal packages, not the Open Kernel version
- Follow the setup process and instructions exactly since it will guide you through the signing (MOK) process
- Don’t forget to reboot as soon as this is done to make sure the singing goes through without issues!
After that you should have a properly working nvidia-smi
result.
Only then should you look into how to install other libraries like the CUDA toolkit without the driver since that could cause issues.
Only install DKMS and/or the open kernel modules if you really plan on modifying them and know what you are doing.
Ideally whenever you update GPU drivers or packages touching them, start withour an X11 server running! Otherwise the kernel modules are in use and will not be updated.
I hope that helps.