Hello everyone, I have MSI laptop, intel/nvidia cards.
Ubuntu installed after windows if it matters.
Secure boot / fast boot disabled in uefi.
Initially Ubuntu suspend was not working because some modprobe (probbly nvidia) was failing to suspend.
I switched from Wayland to Xorg and purged/reinstalled nvidia drivers, now suspending work, but still not nvidia driver as seen from terminal when starting nvidia-settings:
~$ nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:34389): GLib-GObject-CRITICAL **: 17:31:15.791: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** (nvidia-settings:34389): CRITICAL **: 17:31:15.793: 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: 17:31:15.814: PRIME: Requires offloading
** Message: 17:31:15.815: PRIME: is it supported? yes
** Message: 17:31:15.834: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 17:31:15.834: PRIME: on-demand mode: “1”
** Message: 17:31:15.834: PRIME: is “on-demand” mode supported? yes
I can switch between nvidia / ondemand in nvidia settings GUI or using nvidia-prime but it has no effect and as I remember when driver is loaded - in nvidia settings there should be siome info about GPU, not it’s missing.
My /etc/gdm3/custom.conf
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=gor
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
/lib/modprobe.d/blacklist-nvidia.conf doesn’t exist
My GRUB config:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_sleep=nonvs acpi_osi=Linux"
GRUB_CMDLINE_LINUX=""
I was trying add “pci=realloc”
both with acpi_sleep=nonvs acpi_osi=Linux and without (which I added trying to fix suspend issue)
But with pci=realloc system fails to boot, shows some “audit” staff in the boot log forever.
nvidia-bug-report.log.gz (496.1 KB)
Nvidia bug report attached.