Tesla T4 - PCI I/O region invalid


I’m trying to use a Tesla T4 card.
Unfortunately, the card is not shown in nvidia-smi.
Instead, dmesg shows

[   38.828288] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR0 is 0M @ 0x0 (PCI:0000:04:00.0)
[   38.828289] NVRM: The system BIOS may have misconfigured your GPU.
[   38.828307] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   38.828308] NVRM: None of the NVIDIA devices were initialized.


it seems that I have to enable “Above 4G decoding” in my BIOS. However, I cannot find such a setting.
I would be grateful for any ideas on how to remedy this problem.

Ubuntu 18.04, kernel 5.3.0
ASUS TUF GAMING X570-PLUS (most recent BIOS), 32GiB RAM, AMD Ryzen 3950X
Drivers: 440.64.00 (from https://www.nvidia.com/Download/driverResults.aspx/158191/en-us)

Try enabling “SR-IOV Support”, maybe this will implicitly enable 64-bit BARs. Of course, make sure your OS boots using EFI, disable CSM in bios.
If all that doesn’t help, you’re out of luck with that board.

Just a general note, when not used in specific servers, the T4 needs an additional fan for cooling.

With SR-IOV Support enabled and the T4 card installed the system does not seem to boot at all (no POST screen, but also no beeping).
I am using an additional fan, the system boots using EFI and CSM is disabled.
Is there some kind of compatibility list of mainboards (ideally with support for the current Ryzen processors) that are known to work with the T4?

No, that list won’t exist because Ryzen means consumer/gaming hardware and Tesla means enterprise/server/workstation hardware. Nobody will test that combo officially.
So most if not all workstation/server mainboards will support this but finding an Ryzen consumer mainboard which supports this will be up to you.