I apologize if this is a repeat, but I don't even know the right thing to search for to find the solution...
I'm on Zorin 15.3, using a 2018 Matebook X Pro with MX-150 with nvidia-driver-460 enabled in the Software & Updates application. Most often, I use two different USB-C dongles with HDMI outputs to hook up to my external monitors (still saving up for a proper thunderbolt dock), but also use the internal display by itself from time to time.
Nvidia X Server is empty when I launch it. When running
nvidia-settings in the terminal I get an error back.
ERROR: NVIDIA driver is not loaded ERROR: Unable to load info from any available system (nvidia-settings:14010): GLib-GObject-CRITICAL **: 23:35:49.113: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ** Message: 23:35:49.117: PRIME: No offloading required. Abort ** Message: 23:35:49.117: PRIME: is it supported? no
I can enable the Nvidia drivers using
sudo prime-select nvidia and
reboot, but I get stuck in a login loop. I can see the User selection screen, enter my password, see the login screen take the password and think about logging in, but it fails and loops back to the main login screen. The only way to get past the login loop is to
CTRL + ALT + F3, login,
sudo prime-select intel, and reboot.
This happens regardless of whether I'm hooked up to my displays or on the internal display.