Make sure Video Output is going to AST2500 / BMC and not to discreet Graphics card past Grub & onwards?

jbattermann

Member
Jul 26, 2021
6
0
6
44
Good evening,

I have just put together a new system on which I intend to run Proxmox on, however I have one problem: the board comes with a BMC and an AST2500 based graphics "card" on board, and I am going to / want to use a real (Nvidia) graphics card for one of the future VMs.

In the system bios the integrated/"Onboard Graphics card" is selected as primary GPU, however I can see everything up to the proxmox bootmanager / grub on both screens (the BMC virtual/remote one but also the one I had plugged in to the graphics card) and past grub, graphics are only output to the Nvidia-connected monitor.. the AST2500 "screen" shows the last grub message before booting into the Proxmox system.

So I -assume- there's something I did wrong or is missing that might diverge the output to the non-primary (bios/system wise) graphics card.

Does anyone have an idea where to look / what to do to make sure the AST2500 graphics card and its output -is- being used as main output?

Thanks!
-J
 
That's basically the last I see.. all Proxmox boot messages and everything past that are output to the discreet graphics card.

1647055680577.png
 
You could blacklist the nvidia drivers like described in the wiki:
https://pve.proxmox.com/wiki/Pci_passthrough#GPU_Passthrough
Then PVE won't use/initialize the nvidia card and you can pass it through to a VM.
Thanks @Dunuin for the reply! I had in fact already done that, but no change other than the boot output was looking to be a lower resolution after that :-/

The Nvidia card is already only using the vfio-pci drivers, no longer the nvidiafb & nouveau ones:

Code:
root@jBProxmoxSecondary:~# lspci -v -s 47:00
47:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. GA102 [GeForce RTX 3080]
        Flags: fast devsel, IRQ 255, NUMA node 2, IOMMU group 51
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 28060000000 (64-bit, prefetchable) [size=256M]
        Memory at 28070000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 6000 [size=128]
        Expansion ROM at b3000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [420] Advanced Error Reporting
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] Secondary PCI Express
        Capabilities: [bb0] Physical Resizable BAR
        Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
        Capabilities: [d00] Lane Margining at the Receiver <?>
        Capabilities: [e00] Data Link Feature <?>
        Kernel driver in use: vfio-pci
        Kernel modules: nvidiafb, nouveau

47:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 87b0
        Flags: fast devsel, IRQ 255, NUMA node 2, IOMMU group 51
        Memory at b3080000 (32-bit, non-prefetchable) [disabled] [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [160] Data Link Feature <?>
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel
 
Thanks @Dunuin for the reply! I had in fact already done that, but no change other than the boot output was looking to be a lower resolution after that :-/

The Nvidia card is already only using the vfio-pci drivers, no longer the nvidiafb & nouveau ones:

Code:
root@jBProxmoxSecondary:~# lspci -v -s 47:00
47:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. GA102 [GeForce RTX 3080]
        Flags: fast devsel, IRQ 255, NUMA node 2, IOMMU group 51
        Memory at b2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 28060000000 (64-bit, prefetchable) [size=256M]
        Memory at 28070000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 6000 [size=128]
        Expansion ROM at b3000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [420] Advanced Error Reporting
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] Secondary PCI Express
        Capabilities: [bb0] Physical Resizable BAR
        Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
        Capabilities: [d00] Lane Margining at the Receiver <?>
        Capabilities: [e00] Data Link Feature <?>
        Kernel driver in use: vfio-pci
        Kernel modules: nvidiafb, nouveau

47:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 87b0
        Flags: fast devsel, IRQ 255, NUMA node 2, IOMMU group 51
        Memory at b3080000 (32-bit, non-prefetchable) [disabled] [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [160] Data Link Feature <?>
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel
Did you ever fix this? Mine is doing the same thing with drivers blacklisted.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!