Nvidia-settings (5204), nvidia-smi error

Hi,

I’m getting some errors for nVidia gpu on my Dell precision. I need to use them but I’m unable to do so. I have even selected performance mode in the settings. I have integrated Intel UHD graphics.

$nvidia-settings

ERROR: Unable to load info from any available system

(nvidia-settings:5204): GLib-GObject-CRITICAL **: 03:25:46.419: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 03:25:46.422: PRIME: Requires offloading
** Message: 03:25:46.422: PRIME: is it supported? yes
** Message: 03:25:46.446: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 03:25:46.446: PRIME: on-demand mode: “1”
** Message: 03:25:46.446: PRIME: is “on-demand” mode supported? yes

$nvidia-smi
No devices were found

$prime-select query
nvidia

$uname -a
Linux Precision-3551 5.11.0-43-generic #47~20.04.2-Ubuntu SMP Mon Dec 13 11:06:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I’ve attached the nvidia bug report log file. Please help me what’s the issue here? If you need any information, please let me know.

Thanks in advance.
nvidia-bug-report.log.gz (299.6 KB)

[ 11.690132] nvidia 0000:01:00.0: enabling device (0006 → 0007)
[ 11.805566] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 470.86 Tue Oct 26 21:55:45 UTC 2021
[ 11.884419] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.86 Tue Oct 26 21:46:51 UTC 2021
[ 12.077628] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 12.104853] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20201113/nsarguments-61)
[ 16.104060] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:2267)
[ 16.104117] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

try booting with kernel parameter pci=realloc.
If that does not help I think the gpu is broken.
You could install Windows to verify that (look in device manager for errors).

Hi Mart,

I don’t know how to boot with that parameter. Could you please explain?

Thanks.

https://wiki.ubuntu.com/Kernel/KernelBootParameters