Ubuntu 22.04 I drivers all failed (No devices were found)

Hello , I have been struggling with nvidia driver
Board name : ASUS M3A32-MVP DELUXE (yes not so young)
GPU : NVIDIA TESLA M40 24gb (x2)
OS : Ubuntu 22.04
I tested 535, 470 drivers but all failed (No devices were found)

I’ve checked some solutions from fellows on the forum, but had no succeed.

Hope for your help!
nvidia-bug-report.log (9.2 MB)

See if this helps!

also confirm your drivers using ubuntu-drivers devices

The log contains the following:

[ 5427.235824] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR5 is 0M @ 0x0 (PCI:0000:02:00.0)
[ 5427.351661] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR1 is 0M @ 0x0 (PCI:0000:07:00.0)
[ 5427.351665] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR2 is 0M @ 0x0 (PCI:0000:07:00.0)
[ 5427.351668] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR3 is 0M @ 0x0 (PCI:0000:07:00.0)
[ 5427.351670] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR4 is 0M @ 0x0 (PCI:0000:07:00.0)
[ 5427.351673] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
               NVRM: BAR5 is 0M @ 0x0 (PCI:0000:07:00.0)
[ 5427.467392] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  535.54.03  Tue Jun  6 22:20:39 UTC 2023

In all likelihood this is due to your motherboard not being able to assign enough BAR memory.

Edit: Product brief removed, due to being for P40 not M40. However the previous comment probably stands as the BAR1 requirement is shown as 16MB here.

If you search this forum for “BAR”, you will find a number of discussions around the somewhat problematic task of installing Tesla class GPUs in less than adequate motherboards.

If you can install the cards in a system that will load the driver, you could try configuring them in “Graphics” mode, before installing them back on this board and it’s possible they may work, as the BAR requirements are less.