RTX5090 driver installation on Ubuntu 24

I am trying to install the GPU drivers for RTX5090 on Ubuntu 24. My motherboard is Asus B85M-E. I tried installing driver version 580.82.09 from the site Driver Details | NVIDIA but installation fails. I attached the installer log.

I tried booting with EFI, disabling secure boot, adding pci=realloc to boot arguments but nothing helps.

nvidia-installer.log (32.0 KB)

Why? Use “Software & Updates” tab “Additional Drivers” instead. Use open drivers for 5090 (nvidia-driver-580-open).

1 Like

I did also try that. The driver gets installed but doesn’t run, it keeps printing:

[ 155.516941] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 155.516943] NVRM: None of the NVIDIA devices were initialized.
[ 155.517816] nvidia-nvlink: Unregistered Nvlink Core, major device number 237
[ 155.698891] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 155.698898] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
[ 155.704308] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1

Are above 4G decoding and resizable BAR on in BIOS settings?

Hi mate, I wasn’t able to get the .run driver to work in Debian 13 either. I did end up finding a process that works, since Ubuntu is a downstream distro of Debian, you might want to give the nvidia-open driver a try:

If you follow the instructions in the linked post, just replace the wget keyring path in step 2. so it reflects your Ubuntu 24 distro:

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb

Good luck!

I enabled something named “Memory Remap” in my motherboard which should be the “above 4G decoding”. Unfortunately it seems like the resizable BAR is not supported.

So does that mean I have to get a newer motherboard/CPU?

How come the GPU then works with Windows and reports full 32GB of memory?

I happened to notice by accident that on two machines a Blackwell GPU (5050 and 5060 here) didn’t work without that decoding and ReBAR turned on, whereas a 4060 Ti didn’t care. It could be that the Windows driver doesn’t require them for some reason or another.

There is the module option NVreg_EnableResizableBar=0 that could be worth a try.

@jaka.kordez your module builds okay but won’t load. From your nvidia-installer.log:

590 │ → Kernel module compilation complete.
591 │ ERROR: Unable to load the kernel module ‘nvidia.ko’.

594 │ → Kernel module load error: No such device

Do you have Secure Boot enabled? The driver should work with or without ReBAR enabled.

Secure boot is disabled and I’m booting in UEFI mode.

I can try the NVreg_EnableResizableBar option as mentioned by @marq above.

Tried setting the value to 0 but it also doesn’t help.

Hi @jaka.kordez , Could you try again after adding the kernel cmdline parameter pci=realloc=off?
Please help to upload the full bug report taken using sudo nvidia-bug-report.sh taken after installation failure.

Adding the “pci=realloc=off” to the parameters did the trick. The GPU is now correctly recognized by the driver. Thanks for your support!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.