DualCoder / vgpu_unlock

Unlock vGPU functionality for consumer grade GPUs.
MIT License
4.61k stars 430 forks source link

RTX3090 vgpu_unlock encounter error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56 #99

Open Robbot-Zhao opened 2 years ago

Robbot-Zhao commented 2 years ago

we are facing this error now, we found that Ampere is not supported at this moment, the status is in progress. Is there some progress now?

vwellum commented 2 years ago

Same question :) I'm waiting for the Ampere to be unlocked. I have one in my mini ITX build hosting proxmox, vgpu would be great addition to share gpu power over several vm's at once instead of direct passthrough.

alx696 commented 2 years ago

RTX 3090 Ti almost working:

9月 06 17:49:19 v-amd nvidia-vgpu-mgr[857]: VgpuStart {
                                                 uuid: {00000000-0000-0000-0000-000000000001},
                                                 config_params: "vgpu_type_id=529",
                                                 qemu_pid: 3100,
                                                 unknown_414: [0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0],
                                             }
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: vmiop-env: guest_max_gpfn:0x0
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: Unable to get VM name from QEMU commandline, using VM's UUID as VM name. 0x57
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: (0x0): Received start call from nvidia-vgpu-vfio module: mdev uuid 00000000-0000-0000-0000-000000000001 GPU PCI id 00:01:00.0 config params vgpu_type_id=529
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: (0x0): pluginconfig: vgpu_type_id=529
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: Successfully updated env symbols!
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: cmd: 0x2080014b failed.
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: VgpuConfig {
                                                  vgpu_type: 529,
                                                  vgpu_name: "NVIDIA RTXA6000-8Q",
                                                  vgpu_class: "Quadro",
                                                  vgpu_signature: 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
                                                  features: "Quadro-Virtual-DWS,5.0;GRID-Virtual-WS,2.0;GRID-Virtual-WS-Ext,2.0",
                                                  max_instances: 6,
                                                  num_heads: 4,
                                                  max_resolution_x: 7680,
                                                  max_resolution_y: 4320,
                                                  max_pixels: 66355200,
                                                  frl_config: 60,
                                                  cuda_enabled: 1,
                                                  ecc_supported: 1,
                                                  mig_instance_size: 0,
                                                  multi_vgpu_supported: 0,
                                                  vdev_id: 0x22301501,
                                                  pdev_id: 0x2230,
                                                  fb_length: 0x1dc000000,
                                                  mappable_video_size: 0x400000,
                                                  fb_reservation: 0x24000000,
                                                  encoder_capacity: 0x64,
                                                  bar1_length: 0x100,
                                                  frl_enable: 1,
                                                  adapter_name: "NVIDIA RTXA6000-8Q",
                                                  adapter_name_unicode: "NVIDIA RTXA6000-8Q",
                                                  short_gpu_name_string: "GA102-A",
                                                  licensed_product_name: "NVIDIA RTX Virtual Workstation",
                                                  vgpu_extra_params: 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
                                              }
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): gpu-pci-id : 0x100
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vgpu_type : Quadro
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Framebuffer: 0x1dc000000
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Virtual Device Id: 0x2230:0x1501
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): FRL Value: 60 FPS
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: ######## vGPU Manager Information: ########
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: Driver Version: 510.85.03
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vGPU supported range: (0x70001, 0xd0001)
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: cmd: 0x20801322 failed.
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Init frame copy engine: syncing...
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vGPU migration enabled
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: display_init inst: 0 successful
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: cmd: 0x20801322 failed.
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: ######## Guest NVIDIA Driver Information: ########
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: Driver Version: 512.78
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: vGPU version: 0xd0001
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vGPU license state: Unlicensed (Unrestricted)
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Guest driver unloaded!
wnark commented 2 years ago

RTX 3090 Ti almost working:

9月 06 17:49:19 v-amd nvidia-vgpu-mgr[857]: VgpuStart {
                                                 uuid: {00000000-0000-0000-0000-000000000001},
                                                 config_params: "vgpu_type_id=529",
                                                 qemu_pid: 3100,
                                                 unknown_414: [0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0],
                                             }
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: vmiop-env: guest_max_gpfn:0x0
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: Unable to get VM name from QEMU commandline, using VM's UUID as VM name. 0x57
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: (0x0): Received start call from nvidia-vgpu-vfio module: mdev uuid 00000000-0000-0000-0000-000000000001 GPU PCI id 00:01:00.0 config params vgpu_type_id=529
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: (0x0): pluginconfig: vgpu_type_id=529
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_env_log: Successfully updated env symbols!
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: cmd: 0x2080014b failed.
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: VgpuConfig {
                                                  vgpu_type: 529,
                                                  vgpu_name: "NVIDIA RTXA6000-8Q",
                                                  vgpu_class: "Quadro",
                                                  vgpu_signature: 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
                                                  features: "Quadro-Virtual-DWS,5.0;GRID-Virtual-WS,2.0;GRID-Virtual-WS-Ext,2.0",
                                                  max_instances: 6,
                                                  num_heads: 4,
                                                  max_resolution_x: 7680,
                                                  max_resolution_y: 4320,
                                                  max_pixels: 66355200,
                                                  frl_config: 60,
                                                  cuda_enabled: 1,
                                                  ecc_supported: 1,
                                                  mig_instance_size: 0,
                                                  multi_vgpu_supported: 0,
                                                  vdev_id: 0x22301501,
                                                  pdev_id: 0x2230,
                                                  fb_length: 0x1dc000000,
                                                  mappable_video_size: 0x400000,
                                                  fb_reservation: 0x24000000,
                                                  encoder_capacity: 0x64,
                                                  bar1_length: 0x100,
                                                  frl_enable: 1,
                                                  adapter_name: "NVIDIA RTXA6000-8Q",
                                                  adapter_name_unicode: "NVIDIA RTXA6000-8Q",
                                                  short_gpu_name_string: "GA102-A",
                                                  licensed_product_name: "NVIDIA RTX Virtual Workstation",
                                                  vgpu_extra_params: 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
                                              }
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): gpu-pci-id : 0x100
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vgpu_type : Quadro
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Framebuffer: 0x1dc000000
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Virtual Device Id: 0x2230:0x1501
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): FRL Value: 60 FPS
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: ######## vGPU Manager Information: ########
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: Driver Version: 510.85.03
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vGPU supported range: (0x70001, 0xd0001)
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: cmd: 0x20801322 failed.
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Init frame copy engine: syncing...
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vGPU migration enabled
9月 06 17:49:19 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: display_init inst: 0 successful
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: cmd: 0x20801322 failed.
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: ######## Guest NVIDIA Driver Information: ########
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: Driver Version: 512.78
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: vGPU version: 0xd0001
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): vGPU license state: Unlicensed (Unrestricted)
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: (0x0): Guest driver unloaded!

It is necessary to install the driver in the guest, and the graphics card in the guest can be used normally.

alx696 commented 2 years ago

@wnark Guest driver installed:

9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: ######## Guest NVIDIA Driver Information: ########
9月 06 17:49:39 v-amd nvidia-vgpu-mgr[3120]: notice: vmiop_log: Driver Version: 512.78
efschu commented 2 years ago

Any progress?