Hello, I have a proxmox installation on my old gaming computer with a Kali linux VM. I did passthrough the video card to the VM and the VM is able to see it but I can’t get 3D acceleration to work for sunshine/moonlight and hooking a display up to the card doesn’t work (no input).
I followed the guide to install the nvidia drivers for Kali (Install NVIDIA GPU Drivers | Kali Linux Documentation) and the card is able to be seen:
┌──(smoochii㉿kali)-[~]
└─$ lspci | grep -i vga
00:01.0 VGA compatible controller: Red Hat, Inc. Virtio 1.0 GPU (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1)
┌──(smoochii㉿kali)-[~]
└─$ lspci -s 01:00.0 -v
01:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. Device 1996
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at 80000000 (32-bit, non-prefetchable) [size=16M]
Memory at 800000000 (64-bit, prefetchable) [size=256M]
Memory at 810000000 (64-bit, prefetchable) [size=32M]
I/O ports at 8000 [size=128]
Expansion ROM at 81020000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidia
┌──(smoochii㉿kali)-[~]
└─$ nvidia-smi -i 0 -q
==============NVSMI LOG==============
Timestamp : Sun Jun 16 10:45:23 2024
Driver Version : 535.161.08
CUDA Version : 12.2
Attached GPUs : 1
GPU 00000000:01:00.0
Product Name : NVIDIA GeForce GTX 980 Ti
Product Brand : GeForce
Product Architecture : Maxwell
Display Mode : Enabled
Display Active : Disabled
Persistence Mode : Disabled
But when I run inxi -Gxx
, I don’t see any ports for the video card.
┌──(smoochii㉿kali)-[~]
└─$ inxi -Gxx
Graphics:
Device-1: Red Hat Virtio 1.0 GPU driver: virtio-pci v: 1 ports: active: Virtual-1 empty: none
bus-ID: 00:01.0 chip-ID: 1af4:1050
Device-2: NVIDIA GM200 [GeForce GTX 980 Ti] vendor: eVga.com. driver: nvidia v: 535.161.08
arch: Maxwell pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:17c8
Display: server: X.org v: 1.21.1.11 compositor: xfwm4 driver: X: loaded: modesetting,nvidia
unloaded: fbdev,nouveau,vesa alternate: nv gpu: virtio-pci,nvidia tty: 165x40
Monitor-1: Virtual-1 model: QEMU Monitor res: 1280x800 dpi: 100 diag: 383mm (15.1")
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: kms_swrast device: 3
drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia inactive: wayland,x11,device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.0.8-1 note: console (EGL sourced)
renderer: llvmpipe (LLVM 17.0.6 128 bits), NVIDIA GeForce GTX 980 Ti/PCIe/SSE2
I do have a virtual display added to the VM which I can use to VNC but when I go to settings I only see that “fake” monitor and don’t see the HDMI dummy plug that is connected or my portable monitor connected. What can I do to fix this or what is the issue here?
Please let me know any further information that I can provide.
nvidia-bug-report.log.gz (376.5 KB)