I bought a latest laptop (MSI LEOPARD GP66-10UG). It has both intel and rtx3070 grapics cards. I installed the latest nvidia drivers from ppa repository. There was no error in installation but the graphic card is not shifting from intel to nvidia.
Running nvidia-smi
gives the following result:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Running nvidia-settings
give:
sudo nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:32617): GLib-GObject-CRITICAL **: 00:19:12.109: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 00:19:12.111: PRIME: Requires offloading
** Message: 00:19:12.111: PRIME: is it supported? yes
** Message: 00:19:12.134: PRIME: Usage: /usr/bin/prime-select nvidia|intel|query
** Message: 00:19:12.134: PRIME: on-demand mode: “0”
** Message: 00:19:12.134: PRIME: is “on-demand” mode supported? no
Secure boot is disabled.
logs: nvidia-bug-report.log.gz (2.1 MB)