DualCoder / vgpu_unlock

Unlock vGPU functionality for consumer grade GPUs.
MIT License
4.45k stars 422 forks source link

GTX 1650 Super Compatibility #86

Open mrgitstone opened 2 years ago

mrgitstone commented 2 years ago

Hello,

I would like to know if the GTX 1650 Super is supported. I was testing it by following multiple tutorials but I still haven't been able to unlock the vGpus. So I would like to know your confirmation please.

Greetings

psmerica commented 2 years ago

I can confirm that a GTX 1650 Super works. I couldn't get to spoof the id for the vm, but installed the grid drivers in a win 10 guest and it worked.

magauthority commented 2 years ago

@psmerica What did you use for your x-pci-device-id? I've got the same setup and I'm struggling to get the right windows driver loaded. I'm assuming you're using proxmox or some other linux distro?

psmerica commented 2 years ago

@magauthority I have used 0x1e30.. here hare my config lines for 2 vms...

Quadro 1 ede9c50a-05a9-4979-9aab-d6e9558b564a

Quadro 2 1ce4719b-7f05-478b-8910-c50858362192

mdevctl start -u ede9c50a-05a9-4979-9aab-d6e9558b564a -p 0000:09:00.0 --type nvidia-257 mdevctl start -u 1ce4719b-7f05-478b-8910-c50858362192 -p 0000:09:00.0 --type nvidia-257

mdevctl define --auto --uuid ede9c50a-05a9-4979-9aab-d6e9558b564a mdevctl define --auto --uuid 1ce4719b-7f05-478b-8910-c50858362192

Quadro 1

args: -device 'vfio-pci,sysfsdev=/sys/bus/mdev/devices/ede9c50a-05a9-4979-9aab-d6e9558b564a,display=off,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-pci-vendor-id=0x10de,x-pci-device-id=0x1e30,x-pci-sub-vendor-id=0x10de,x-pci-sub-device-id=0x11A0' -uuid 00000000-0000-0000-0000-000000000100

Quadro 2

args: -device 'vfio-pci,sysfsdev=/sys/bus/mdev/devices/1ce4719b-7f05-478b-8910-c50858362192,display=off,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-pci-vendor-id=0x10de,x-pci-device-id=0x1e30,x-pci-sub-vendor-id=0x10de,x-pci-sub-device-id=0x11A0' -uuid 00000000-0000-0000-0000-000000000101

args: -device 'vfio-pci,sysfsdev=/sys/bus/mdev/devices/ede9c50a-05a9-4979-9aab-d6e9558b564a' -uuid 00000000-0000-0000-0000-000000000100

args: -device 'vfio-pci,sysfsdev=/sys/bus/mdev/devices/1ce4719b-7f05-478b-8910-c50858362192' -uuid 00000000-0000-0000-0000-000000000101

Also yes I am using Proxmox Virtual Environment 6.4-13 for the setup. In windows vm I'm using the professional grid drivers from Nvidia. I couldn't spoof my device id in Proxmox (as to seem I'm using a different card than a gtx1650S) it didn't work for me with this card.. Obviously my above config is for my system and my pci location ids..

magauthority commented 2 years ago

Thank you! That was a help. Got it working 100%

Abdelwahed-Aridj commented 2 years ago

yep tested it its working in Proxmox