This question already has an answer here:
I've tried for hours to install nvidia drivers for my laptop. The standard nvidia-390, the newer nvidia-418 through the repo, various other versions, the .run files from Nvidia's website, tried changing into lightdm, tried the various grub parameters like nomodeset etc. Last thing I tried was installing nvidia-384 because why the hell not at this point, which resulted in a login loop. Not the first time this is happening either, the standard nvidia-390 does the same and I have no idea why. Has someone managed to install nvidia drivers in a similar system that could help me? Thank you. Edit: I've disabled secure boot, so unless my BIOS is lying to me, this shouldn't be an issue...
EDIT 2: After installing nvidia-driver-418 I can boot the system, but the command nvidia-settings give me this output:
ERROR: Unable to load info from any available system (nvidia-settings:2477): GLib-GObject-CRITICAL **: 12:22:32.065: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ** Message: 12:22:32.070: PRIME: No offloading required. Abort ** Message: 12:22:32.070: PRIME: is it supported? no
And the nvidia-settings window is empty. Any ideas?