Nvidia-smi outputs “No devices were found” on Ubuntu 22.04 + driver 530

I had a 20.04 Ubuntu installed and the driver did not work. Now I just updated to 22.04 but it has no effect to the problem. prime-select query says I’m using nvidia, but nvidia-smi says “No devices were found”. Settings/About says I’m using “Mesa Intel® UHD Graphics (CML GT2)” (this is the other graphic card in the laptop). I have an Ideapad gaming 3 with a GeForce GTX 1650. I am attaching the nvidia-bug-report.log:
nvidia-bug-report.log.gz (204.5 KB)