Skip to content

lib: params_size for v19 driver compatibility: NVA081_CTRL_CMD_VGPU_CONFIG_GET_VGPU_TYPE_INFO #51

@gentoorax

Description

@gentoorax

I've updated the v19 drivers and I'm seeing the following. I suspect it's maybe something similar to the bug just fixed on main lib: params_size for v18 driver compatibility, but I'm not close enough to it all to be sure. Unless I'm doing something wrong after updating to this version. I did git pull on vgpu_unlock-rs and rebuilt cargo clean, cargo build --release hopefully that's enough.

Help is much appreciated.

Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: Parameters size for NVA081_CTRL_CMD_VGPU_CONFIG_GET_VGPU_TYPE_INFO was 5424 bytes, expected 4960 bytes
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: cmd: 0x2080014b failed.
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: Parameters size for NVA081_CTRL_CMD_VGPU_CONFIG_GET_VGPU_TYPE_INFO was 5424 bytes, expected 4960 bytes

Driver: NVIDIA-Linux-x86_64-580.65.05-vgpu-kvm.run

Cargo.toml

[package]
name = "vgpu_unlock-rs"
version = "2.5.0"
edition = "2018"

[lib]
crate-type = ["cdylib"]

[dependencies]
ctor = "0.2.7"
libc = "0.2.102"
parking_lot = "0.12.1"
serde = { version = "1.0.130", features = ["derive"] }
toml = "0.8.11"

[features]
# Feature flag to enable syntactic sugar for proxmox users
default = ["proxmox"]
proxmox = []

nvidia-smi

Wed Aug 27 22:27:58 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.65.05              Driver Version: 580.65.05      CUDA Version: N/A      |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A5000               On  |   00000000:3B:00.0 Off |                    0 |
| 33%   62C    P8             35W /  230W |    1857MiB /  23028MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A          118156    C+G   vgpu                                   1856MiB |
+-----------------------------------------------------------------------------------------+

journalctl -u nvidia-vgpu-mgr.service

notice: vmiop_env_log: (0x0): Received start call from nvidia-vgpu-vfio module: mdev uuid 00000000-0000-0000-0000-000000000116 GPU PCI id 00:3b:00.7 config params vgpu_type_id=660
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_env_log: (0x0): pluginconfig: vgpu_type_id=660
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_env_log: Successfully updated env symbols!
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): detected a VF at 0:3b:0.7
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: Parameters size for NVA081_CTRL_CMD_VGPU_CONFIG_GET_VGPU_TYPE_INFO was 5424 bytes, expected 4960 bytes
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: cmd: 0x2080014b failed.
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: Parameters size for NVA081_CTRL_CMD_VGPU_CONFIG_GET_VGPU_TYPE_INFO was 5424 bytes, expected 4960 bytes
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): gpu-pci-id : 0x3b00
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vgpu_type : Quadro
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): Framebuffer: 0x74000000
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): Virtual Device Id: 0x2231:0x1565
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): FRL Value: 60 FPS
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: ######## vGPU Manager Information: ########
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: Driver Version: 580.65.05
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU BAR1 size 256 MB
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): Detected ECC enabled on physical GPU.
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): Guest usable FB size is reduced due to ECC.
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU supported range: (0x120001, 0x1a0001)
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU manager is running in SRIOV mode.
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): placement Id: 0xffff
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU UUID : 4e410c41-838b-11f0-9aae-bcd7ccdde9ed
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): Init frame copy engine: syncing...
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU migration enabled
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: cmd: 0x20801322 failed.
Aug 27 22:17:58 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: display_init inst: 0 successful
Aug 27 22:18:24 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): Detected ECC enabled by guest.
Aug 27 22:18:24 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: ######## Guest NVIDIA Driver Information: ########
Aug 27 22:18:24 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: Driver Version: 580.65.06
Aug 27 22:18:24 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: vGPU version: 0x1a0001
Aug 27 22:18:24 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): MBP is enabled
Aug 27 22:18:24 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU license state: Unlicensed (Unrestricted)
Aug 27 22:18:27 gamma nvidia-vgpu-mgr[118156]: notice: vmiop_log: (0x0): vGPU license state: Licensed

lspci -nn | grep nvidia

3b:00.0 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:00.4 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:00.5 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:00.6 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:00.7 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.0 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.1 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.2 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.3 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.4 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.5 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.6 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:01.7 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.0 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.1 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.2 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.3 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.4 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.5 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.6 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:02.7 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:03.0 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:03.1 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:03.2 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)
3b:03.3 3D controller [0302]: NVIDIA Corporation GA102GL [RTX A5000] [10de:2231] (rev a1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions