Nvidia dGPU not being recognized by Bazzite

I’ve installed Bazzite(KDE Nvidia installer) on an Asus TUF Gaming A16 FA608UMI laptop.
The laptop has an AMD Ryzen 260 CPU (with Radeon 780m graphics), and an Nvidia RTX 5060 dGPU, but only the iGPU (780m) is recognized, or used by the OS or games. Fastfetch lists the Nvidia GPU, but other utilities like nvtop or GPU-Viewer do not show the 5060. If I install windows on the laptop the Nvidia GPU works as expected. I’ve tried installing with Secure-boot disabled, and also enabled with the MOK key enrolled, but both have the same outcome. My current install was with secure-boot disabled. The Nvidia GPU is not disabled in the BIOS.

rpm-ostree status outputs ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable Digest: sha256:9d1c1ababec12feb8421984ee54e83ad8a9a0a6878a89ceaf6ffddabf745415a Version: 44.20260629 (2026-06-29T06:37:34Z)
and I’ve also tried rebasing to the testing branch.

If I run nvida-smi I get NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

I’ve installed the Asusctl & ROG control center from the bazzite portal, and switching the GPU from Hybrid to Ultimate does not help.

Can anyone help me get this working?

Looking at the boot-up logs, I found the following:

Jul 03 19:57:34 bazzite kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 505
Jul 03 19:57:34 bazzite kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
                                NVRM: BAR0 is 0M @ 0x0 (PCI:0000:01:00.0)
Jul 03 19:57:34 bazzite kernel: nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
Jul 03 19:57:34 bazzite kernel: NVRM: The NVIDIA probe routine failed for 1 device(s).
Jul 03 19:57:34 bazzite kernel: NVRM: None of the NVIDIA devices were initialized.
Jul 03 19:57:34 bazzite kernel: nvidia-nvlink: Unregistered Nvlink Core, major device number 505

Searching for “NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:” turned up a few results on the nvidia developer forum including this:

The advice was to add the following kernel parameter:

pci=realloc

Looking at the Bazzite docs, the way to do is this:

rpm-ostree kargs --append-if-missing="pci=realloc"

After a reboot, the Nvidia GPU finally shows up in nvidia-smi, and nvtop.