I installed a Linux Mint 21.3 in VM from proxmox. I made all the config to make the passthrough of my RTX NVIDIA 3060 to the Linux Mint 21.3.
Later I installed the Nvidia driver in the VM. The Linux Mint wizard suggested "nvidia-driver-535" and installed it successfully. Later reboot I can see the green boot logo of Linux mint, in both the real and the virtual monitors. But later the lightdm started, and the real monitor stopped sending the video and entered the power-saving mode. The virtual web monitor works fine always.
Using the command in the VM Nvidia-settings, in the left panel show the monitor Dell S2240M. I can see the info on my Nvidia card. And everything in the info is correct. But when I clicked on the monitor info the right panel did not show so much info.
In the VM guest my output from my
lspci -v
root@pve:~# qm config 100
Later I installed the Nvidia driver in the VM. The Linux Mint wizard suggested "nvidia-driver-535" and installed it successfully. Later reboot I can see the green boot logo of Linux mint, in both the real and the virtual monitors. But later the lightdm started, and the real monitor stopped sending the video and entered the power-saving mode. The virtual web monitor works fine always.
Using the command in the VM Nvidia-settings, in the left panel show the monitor Dell S2240M. I can see the info on my Nvidia card. And everything in the info is correct. But when I clicked on the monitor info the right panel did not show so much info.
In the VM guest my output from my
lspci -v
Code:
...
01:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GA106 [GeForce RTX 3060 Lite Hash Rate]
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at fc000000 [virtual] [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: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [bb0] Physical Resizable BAR
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 4074
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fc080000 (32-bit, non-prefetchable) [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
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
...
root@pve:~# qm config 100
Code:
boot: order=virtio0;ide2;net0
cores: 8
cpu: host
hostpci0: 0000:01:00,pcie=1
ide2: media_disk01_proxmox:iso/linuxmint-21.3-cinnamon-64bit.iso,media=cdrom,size=2995344K
machine: q35
memory: 8192
meta: creation-qemu=8.1.2,ctime=1706223769
name: linux-test-01
net0: virtio=BC:24:11:D1:20:D7,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
parent: Before_NVidia
scsihw: virtio-scsi-single
smbios1: uuid=e185888e-c7ba-4e46-905b-8ace0d0e906f
sockets: 1
vga: virtio
virtio0: media_disk01_proxmox:100/vm-100-disk-3.qcow2,iothread=1,size=32G
vmgenid: 3ffeb450-5ae6-4cd8-8508-360a8b894915