Ubuntu 22.04.2 LTS + NVIDIA GeForce MX150 + Nvidia 525 - crash when laptop suspends

When my laptop suspends it crashes, looking at the dmesg i found that it was generated by the nvidia card. Here i leave the dmesg mesage and upload the nvidia-bug-report.

abr 13 14:31:16 kernel: process ‘/usr/bin/gotop’ started with executable stack
abr 13 14:31:54 kernel: NVRM: GPU at PCI:0000:01:00: GPU-6820d9e9-e345-0d11-5c49-071cad90d19c
abr 13 14:31:54 kernel: NVRM: Xid (PCI:0000:01:00): 79, pid=‘’, name=, GPU has fallen off the bus.
abr 13 14:31:54 kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.
abr 13 14:31:54 kernel: NVRM: A GPU crash dump has been created. If possible, please run
NVRM: nvidia-bug-report.sh as root to collect this data before
NVRM: the NVIDIA kernel module is unloaded.
Processing: nvidia-bug-report.log.gz…

Seems the nvid gpu fails to power on again, might be a bios bug. Please check for a bios update.
The log upload failed, please try to unzip and upload again.

nvidia-bug-report.log (1.7 MB)

Oh i see, i have checked and i dont have any pending bios update also here it is the report log. Thanks!

According to the log, this has nothing to do with suspend, the gpu seems to always shut down 1 minute after boot. So there’s a bigger issue.
Please set kernel parameters
intel_idle.max_cstate=1 pcie_aspm=off
to check if there’s something wrong with pcie power management.

I have been checking with this kernel parameters and everything was going fine until checking my dmesg i got the same message. I dont know if the report will be the same thats why i will upload here the new nvidia-bug-report.log
nvidia-bug-report.log (2.8 MB)

The last two boots seemed fine, this boot was crashing again but the kernel parameters weren’t applied. Please check.

Yes after checking I found i wasnt using the kernel parameters, adding them directly in the grub bootloader edit menu and it seems that the edit only applies to the current boot so that means that the last two boots were fine for some reason other than the kernel parameters. right now im using the kernel parameters and the gpu didnt fell.