mbilker / vgpu_unlock-rs

Unlock vGPU functionality for consumer grade GPUs
MIT License
443 stars 52 forks source link

Fix profile overrides on R525 vgpu driver #22

Closed polloloco closed 1 year ago

polloloco commented 1 year ago

Starting with the R525 branch, a different rm control code is used to load the vgpu config data. I've reverse engineered parts of that "new" struct by looking at nvidia-vgpud as it uses the same struct when registering vgpu profiles in the kernel driver.

This patch works on R525 and it also should work on everything before that but I only verified R525 personally