Nvidia-smi No devices were found

I have a machine with two Nividia titan rtx and an integrated graphic cards.
The machine doe snot boot to GUI if any monitor connected to NVIDIA cards.it can boot to console.
if there is no monitor connected to the Nvidia card and only connected to the integrated GPU, Ubuntu 20.04 boot to GUI.

-I have Nivida-driver 440.100 installed and ubutnu setting tell that there is two TU102 [titan rtx]
-the prime-select is nvidia

  • the nvidia-persistenced.service is running

but the dmesg has this error:
[ 8.169719] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 440.100 Fri May 29 08:45:51 UTC 2020
[ 11.927925] NVRM: GPU 0000:c1:00.0: RmInitAdapter failed! (0x26:0xffff:1227)
[ 11.927964] NVRM: GPU 0000:c1:00.0: rm_init_adapter failed, device minor number 0
[ 12.602467] NVRM: GPU 0000:41:00.0: RmInitAdapter failed! (0x26:0xffff:1227)
[ 12.602506] NVRM: GPU 0000:41:00.0: rm_init_adapter failed, device minor number 1

The nvidia-bug-report.log.gz did not upload until I add .txt to extension please remove this “txt”.

nvidia-bug-report.log.gz.txt (160.9 KB)

from what I read that far at this board, the “RmInitAdapter failed” message points to hardware failure.
Does a single card work?
Is the motherboard bios up to date?
Is your power supply strong enough?
Please try different PCI slots with single cards.
If the problem is on every slot with every card, the bios is up to date and the power supply is sufficient, I’d say they are faulty.