Tesla K20c + GeForce GTX 970 = Fedora-26 config nightmare [384.90, 4.13.5-200.fc26]

I have a system with

02:00.0 3D controller: NVIDIA Corporation GK110GL [Tesla K20c] (rev a1)
04:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

running fedora-26 (kernel: 4.13.5-200.fc26.x86_64), with nvidia-driver.x86_64 (384.90-1.fc26).

No matter what I try, xstart wants to make the Tesla card the primary card, and as a result I end up with no screens. Back in to good old F25 days, a friendly nudge (BusID “PCI:4:0:0” in the Device section) did the trick, but I am stumped.

Any help (please explain like I’m 4.5y/o) would be GREATLY appreciated.

Thanks.
nvidia-bug-report.log.gz (367 KB)

Please run nvidia-bug-report.sh as root and attach the tar.gz file it creates to your post.

attached to the original message. thanks.

Your config is nonsense, it’s telling to use the Tesla as first gpu then set up a multi-gpu config with the gtx970. Doesn’t work, obviously.
The file
/etc/X11/xorg.conf.d/10-nvidia.conf
contains

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    Option "SLI" "Auto"
    Option "BaseMosaic" "on"
    ModulePath "/usr/lib64/nvidia/xorg"
EndSection

it should read

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    ModulePath "/usr/lib64/nvidia/xorg"
EndSection

If that doesn’t work, you have to remove the file and create a /etc/X11/xorg.conf containing

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID  "PCI:4:0:0"
    ModulePath "/usr/lib64/nvidia/xorg"
EndSection

THANK YOU!!!
It works!