NVIDIA GT620 PCI passthrough with Ubuntu Server

theonex

New Member
Feb 20, 2024
2
0
1
Greetings Community,

I am new to Proxmox and the Ubuntu/Linux environment.

I am currently facing a challenge with executing the following command on Ubuntu Server 22.04.4 LTS

nvidia-smi

while I try to verify my passthrough of the NVIDIA GT620.

As far as I understood from this forum along with some online videos. It says that I have to hide the host machine by modifying VM#.conf located at the following PVE directory

/etc/pve/nodes/[host name]/qemu-server

to Hide VM identifiers from nVidia, by modifying the CPU Type parameter as the following line

cpu: host,hidden=1

after doing the above changes, executing "nvidia-smi" inside my Ubuntu server VM crashes my proxmox PVE on the host machine. Then, I have to restart my Host Machine.

Your kind support and advice are much appreciated in overcoming this challenge.

Below is some information for your kind reference.

//lspci -v output on the Ubuntu server VM

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc. Qemu virtual machine
Flags: fast devsel

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc. Qemu virtual machine
Physical Slot: 1
Flags: medium devsel

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (p rog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
Subsystem: Red Hat, Inc. Qemu virtual machine
Physical Slot
: 1
Flags: bus master, medium devsel, latency 0
Memory at 000001f0 (32-bit, non-prefetchable) [virtual]
Memory at 000003f0 (type 3, non-prefetchable) [virtual]
Memory at 00000170 (32-bit, non-prefetchable) [virtual]
Memory at 00000370 (type 3, non-prefetchable) [virtual]
I/O ports at f100 [virtual]

Kernel driver in use: ata_piix
Kernel modules: pata_acpi

00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] ( rev 01) (prog-if 00 [UHCI])
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Physical Slot: 1
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at f0c0
Kernel driver in use: uhci_hcd

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc. Qemu virtual machine
Physical Slot: 1
Flags: medium devsel, IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4

00:02.0 VGA compatible controller: Device 1234:1111 (rev 02) (prog-if 00 [VGA co ntroller])
Subsystem: Red Hat, Inc. Device 1100
Flags: bus master, fast devsel, latency 0
Memory at fa000000 (32-bit, prefetchable) [size=16M]
Memory at fe674000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Kernel driver in use: bochs-drm
Kernel modules: bochs

00:03.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
Subsystem: Red Hat, Inc. Virtio memory balloon
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at f080
Memory at fb600000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: virtio-pci

00:05.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge (prog-if 00 [Normal decode ])
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
Memory at fe675000 (64-bit, non-prefetchable)
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff [size=4K]
Memory behind bridge: fe400000-fe5fffff [size=2M]
Prefetchable memory behind bridge: 00000000fb400000-00000000fb5fffff [si ze=2M]
Capabilities: <access denied>

00:10.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 620 OEM] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GF119 [GeForce GT 62 0 OEM]
Physical Slot: 16
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (64-bit, prefetchable) [size=128M]
Memory at f8000000 (64-bit, prefetchable) [size=32M]
I/O ports at f000
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

00:10.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GF119 HDMI Audio Con troller
Physical Slot: 16
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fe670000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
Subsystem: Red Hat, Inc. Virtio network device
Physical Slot: 18
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at f0e0
Memory at fe676000 (32-bit, non-prefetchable) [size=4K]
Memory at fb604000 (64-bit, prefetchable) [size=16K]
Expansion ROM at fe600000 [disabled] [size=256K]
Capabilities: <access denied>
Kernel driver in use: virtio-pci

00:1e.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge (prog-if 00 [Normal decode ])
Flags: 66MHz, fast devsel, IRQ 10
Memory at fe677000 (64-bit, non-prefetchable)
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000d000-0000dfff [size=4K]
Memory behind bridge: fe200000-fe3fffff [size=2M]
Prefetchable memory behind bridge: 00000000fb200000-00000000fb3fffff [si ze=2M]
Capabilities: <access denied>

00:1f.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge (prog-if 00 [Normal decode ])
Flags: 66MHz, fast devsel, IRQ 11
Memory at fe678000 (64-bit, non-prefetchable)
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000c000-0000cfff [size=4K]
Memory behind bridge: fe000000-fe1fffff [size=2M]
Prefetchable memory behind bridge: 00000000fb000000-00000000fb1fffff [si ze=2M]
Capabilities: <access denied>

01:01.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI
Subsystem: Red Hat, Inc. Virtio SCSI
Physical Slot: 1-2
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at e000
Memory at fe400000 (32-bit, non-prefetchable) [size=4K]
Memory at fb400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: virtio-pci
 
Last edited:

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!