How does Proxmox decide what VGA device to use for itself and VMs when there's more than one available, and how can I tell what it's using?
If I wanted to make sure Proxmox shared a PCIe video card (Nvidia) with all VMs instead of the onboard VGA from mb, do I need to blacklist the driver ("ast" according to
Ideally I'd like to be able to tell proxmox to use the nvidia card if it is available and, if that fails, use mb VGA as it would add redundancy in case the card fails one day (it's already got a few years under its belt whereas th mb is 3 months old).
i.e. here's what I would do if the only way was to blacklist the mb VGA driver. I didn't just try it for fear I might not be able to shell into Proxmox after.
Here's the output of
If I wanted to make sure Proxmox shared a PCIe video card (Nvidia) with all VMs instead of the onboard VGA from mb, do I need to blacklist the driver ("ast" according to
lspci
), or can I just tell proxmox to use on-board vga for itself and the Nvidia for all VMs, or even better on a per VM basis? Ideally I'd like to be able to tell proxmox to use the nvidia card if it is available and, if that fails, use mb VGA as it would add redundancy in case the card fails one day (it's already got a few years under its belt whereas th mb is 3 months old).
i.e. here's what I would do if the only way was to blacklist the mb VGA driver. I didn't just try it for fear I might not be able to shell into Proxmox after.
Code:
nano /etc/modprobe.d/blacklist.conf
blacklist ast
update-initramfs -u
Here's the output of
lspci -v
for both:Supermicro built-in VGA
44:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41) (prog-if 00 [VGA controller])
DeviceName: ASPEED Video AST2500
Subsystem: Super Micro Computer Inc ASPEED Graphics Family
Flags: medium devsel, IRQ 270, IOMMU group 48
Memory at b0000000 (32-bit, non-prefetchable) [size=16M]
Memory at b1000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 6000
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
Kernel driver in use: ast
Kernel modules: ast
-----------------------
NVIDIA GT 710
c2:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GK208B [GeForce GT 710]
Flags: bus master, fast devsel, latency 0, IRQ 274, IOMMU group 2
Memory at b6000000 (32-bit, non-prefetchable) [size=16M]
Memory at 18008000000 (64-bit, prefetchable) [size=128M]
Memory at 18010000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
Expansion ROM at b7000000 [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: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau