My laptop has GP108M [GeForce MX150] card. It is on dual boot with windows 10 and ubuntu 19.04. The problem is in ubuntu where despite the driver installed, the system is not using the graphics card. Running “nvidia-settings” gives the following output.
ERROR: Unable to load info from any available system
(nvidia-settings:5808): GLib-GObject-CRITICAL **: 18:33:32.098: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 18:33:32.103: PRIME: Requires offloading
** Message: 18:33:32.103: PRIME: is it supported? yes
and opens windows where i can only select which card to use.
The nvidia driver now correctly loads but no Xorg logs get created so I suspect a GDM bug. Please switch to lightdm using
sudo apt install lightdm
and check if that resolves the issue.
Ok, at least you now get an xorg log. Please delete the file
/usr/share/X11/xorg.conf.d/20-intel.conf
that is restricting the xserver to intel only usage. If it still doesn’t resolve the issue, create a new nvidia-bug-report.log afterwards.
It worked! The graphics card is in use now.
Just a little doubt. Will using lightdm instead of gdm in 19.04 affect the performance in any way or does it have any disadvantage?
Hi there,
I am having similar problems and have followed the steps above. I am running Ubuntu 18.04 on a AMD Ryzen 7 5800h with GeForce RTX 3070 Laptop GPU on an Omen 15. I have successfully installed nvidia-driver-470 and get the attached output with nvidia-smi. I’ve swapped to lightdm and it seems to generate the xorg logs you mention previously.
I’ve also attached the nvidia bug report. Any advice would be great to get my laptop to use the nvidia-driver and not llvmpipe. nvidia-bug-report.log.gz (294.7 KB)
Cheers for any help.
The problem is that Ubuntu 18.04 doesn’t really support your AMD/Nvidia combo. You should rather use 21.04 and up which supports your system ootb.
If you really can’t upgrade, you’ll have to install a newer kernel, firmware files and config manually
Kernel:
You will need 4 packages
linux-headers-XX
linux-headers-XX-generic
linux-image-unsigned-XX-generic
linux-modules-XX-generic
from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.75/
Hi I’m facing similar issue here. I’m using Supermicro SYS-1028GQ-TRT on Ubuntu 22.04 .1 LTS, with a NVIDIA GeForce GTX 1080 Ti and nvidia driver 525 installed. However, my system doesnt seem to be utilising the nvidia gpu.
This is what I get from nvidia-smi:
Wed Mar 1 13:56:36 2023
±----------------------------------------------------------------------------+
| NVIDIA-SMI 525.78.01 Driver Version: 525.78.01 CUDA Version: 12.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:81:00.0 Off | N/A |
| 27% 49C P2 58W / 250W | 184MiB / 11264MiB | 1% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 3256 G /usr/lib/xorg/Xorg 4MiB |
| 0 N/A N/A 4606 C /usr/NX/bin/nxnode.bin 175MiB |
±----------------------------------------------------------------------------+