Hi,
i have MSI laptop, intel/nvidia cards.
$ nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ nvidia-settings
(nvidia-settings:310208): GLib-GObject-CRITICAL **: 11:39:29.935: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** (nvidia-settings:310208): CRITICAL **: 11:39:29.936: ctk_powermode_new: assertion ‘(ctrl_target != NULL) && (ctrl_target->h != NULL)’ failed
ERROR: nvidia-settings could not find the registry key file or the X server is
not accessible. This file should have been installed along with this
driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
** Message: 11:39:29.959: PRIME: Requires offloading
** Message: 11:39:29.959: PRIME: is it supported? yes
** Message: 11:39:29.981: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 11:39:29.981: PRIME: on-demand mode: “1”
** Message: 11:39:29.981: PRIME: is “on-demand” mode supported? yes
uname -r
6.5.0-41-generic
$ dkms status
bbswitch/0.8, 6.5.0-41-generic, x86_64: installed
I have already tried to purge and reinstall the drivers and to prime-select.
Here is the bug report:
nvidia-bug-report.log (40.3 MB)
Is there anything I can do?
Thank you in advance for your help.
It’s an old MSI bios bug. Please set kernel parameter pci=realloc
I trypci=realloc but nothing happened, it’s still don’t work so i reinstall all OS.
I install nvidia-driver from Software&Updates and pci=realloc still do nothing.
Now i have something like this:
nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and runnin
nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:6416): GLib-GObject-CRITICAL **: 14:21:00.592: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** (nvidia-settings:6416): CRITICAL **: 14:21:00.593: ctk_powermode_new: assertion ‘(ctrl_target != NULL) && (ctrl_target->h != NULL)’ failed
ERROR: nvidia-settings could not find the registry key file or the X server is
not accessible. This file should have been installed along with this
driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
** Message: 14:21:00.615: PRIME: No offloading required. Abort
** Message: 14:21:00.615: PRIME: is it supported? no
uname -r
6.5.0-1025-oem
dkms status
nvidia/535.183.01: added
Here is the bug report:
nvidia-bug-report.log (1.1 MB)
I have almost the same problem with my DELL precision 3660 and my asus rtx 3090 Tuf
The difference is that dkms status returns
nvidia/555.42.02, 6.5.0-1025-oem, x86_64: installed
Is it the same problem with the pci reallocation parameter?
Thanks
Ok i think i set it as kernel parameter
BOOT_IMAGE=/boot/vmlinuz-6.5.0-1025-oem root=UUID=26b9951d-2307-4ee3-a1ef-9849cee24123 ro quiet splash pci=realloc vt.handoff=7
@pj.vazquez very unlikely, this was specific to MSI notebooks/mainboards built 2/3 years ago.
@jarecki121416 please create a new nvidia-bug-report.log with that parameter set.
Thanks @generix
Do you have any idea about this problem with the dell precision?
Any help should be fine.
I tested the system with windows 11 and everything looked fine, but not with ubuntu 22.04
Seems my problem was solved, my NVIDIA GPU GeForce RTX 3060 Mobile / Max-Q now work properly after add pci=realloc just as you suggest.
This is my bug report:
nvidia-bug-report.log (17.7 MB)