Laptop and Kernel Panic

I’ve been having trouble i9 13980HX with Linux Mint kernels and not sure why. Ryzen 7945 HX works with both Debian 12 and Linux Mint using xanmod kernel.

Here is a list of BIOS options with 13980HX

ErP

Intel Virtualization Technology

Intel AES-NI

VT-d

Intel laptop also has a MUX switch in the BIOS which might be the problem

labeled - NV DDS function

Dynamic: During POST, the internal display panel will switch to igpu. And after entering the OS, the internal display switch will be controlled by the NV control panel.

dGPU only: Internal display panel will switch to discrete GPU

I’m using custom ISO installer with Nvidia Driver already installed.

Debian 12 only works in dGPU mode while Linux Mint gets a kernel Panic no matter what I do.

I also get

error out of memory

when trying to boot Linux Mint with i9 13980HX with xanmod kernel or any other kernel.