I get a black screen using a NVIDIA Quadro P4000 running Ubuntu 20.04 on a Supermicro Server

Hello,

I need help figuring out how to fix my settings such that my display works again. I am using driver 470.129.06. I have tried other drivers, but they all fail to display, including the recommended driver. I get a black screen. My gpu is a NVIDIA Quadro P4000. I am running Ubuntu 20.04 on a Supermicro server. The nvidia-bug-report seems to point to a problem, but I am not sure how to fix it. The bug report indicates an invalid kernel configuration. I think that a operating system update may have caused my problem because my graphics has been working with no issues.

Thank you, Doug.

nvidia-bug-report.log.gz (418.2 KB)

Your primary graphics is a Aspeed server graphics, its driver doesn’t support prime. To get graphics on the nvidia, create a minimal xorg.conf:

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"
EndSection

Can I put xorg.conf into the /etc/X11/ directory using an editor like vi? Thank you, Doug.

Yes.

There has been some progress! Thank you. I have two monitors connected to the Supermicro computer. One monitor is connected to the VGA port on the computer. I have been using that monitor to debug the gpu. The other monitor is connected to 1 of 4 DisPlay ports on the Nvidia Quadro P4000. I put xorg.conf in /etc/X11 as you suggested. I rebooted the machine. I got two SuperMicro splash screens on the VGA monitor, which is normal, but none on the DisPlay port monitor. I use to get the Supermicro splash screens on the DisPlay port monitor. I then got a request to enter a password to decrypt my hard drive on the VGA monitor but none on the DisPlay port monitor. I entered a password to decrypt the drive. The VGA monitor went blank but the login screen appeared on the DisPlay port monitor. I entered a password on the DisPlay port monitor, and I got my desktop on the DisPlay port monitor but nothing on the VGA monitor.

My display issues have improved somewhat, but I am still a member of the ASPEED Graphics Family. I will try a different driver.

$sudo lshw -C display

*-display
description: VGA compatible controller
product: GP104GL [Quadro P4000]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:3800-37ff iomemory:3800-37ff irq:180 memory:f6000000-f6ffffff memory:38060000000-3806fffffff memory:38070000000-38071ffffff ioport:3000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: ASPEED Graphics Family
vendor: ASPEED Technology, Inc.
physical id: 0
bus info: pci@0000:42:00.0
version: 41
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller cap_list rom
configuration: driver=ast latency=0
resources: irq:171 memory:c4000000-c4ffffff memory:c5000000-c501ffff ioport:6000(size=128) memory:c0000-dffff

There is an option in the BIOS to set onboard or off board priority of the VGA. I set it to off board. The Supermicro splash and decrypt prompt now go to the DisPlay port monitor. I don’t understand how my setup worked in the past. I did not change that BIOS setting.