Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we support RTX 30 Series (Ampere, GA102) ? #16

Closed
alx696 opened this issue Sep 7, 2022 · 3 comments
Closed

Can we support RTX 30 Series (Ampere, GA102) ? #16

alx696 opened this issue Sep 7, 2022 · 3 comments

Comments

@alx696
Copy link

alx696 commented Sep 7, 2022

If can not using a normal driver. Can we use the grid driver(512.78_grid_win10_win11_server2016_server2019_server2022_64bit_international.exe)?

I have a RTX 3090 Ti 24GB card. Let me know if i can help you to debug.

https://github.com/mbilker/vgpu_unlock-rs/blob/master/src/lib.rs#L413 A6000 not work. So i change it to A10:

                // Ampere
                0x2200..=0x2600 => {
                    // A10
                    (0x2236, 0x1482)
                }

It looks like one step away from success:

9月 07 12:36:41 v-amd nvidia-vgpu-mgr[839]: VgpuStart {
                                                 uuid: {00000000-0000-0000-0000-000000000001},
                                                 config_params: "vgpu_type_id=595",
                                                 qemu_pid: 2629,
                                                 unknown_414: [0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0],
                                             }
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_env_log: vmiop-env: guest_max_gpfn:0x0
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_env_log: Unable to get VM name from QEMU commandline, using VM's UUID as VM name. 0x57
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: 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=595
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_env_log: (0x0): pluginconfig: vgpu_type_id=595
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_env_log: Successfully updated env symbols!
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: cmd: 0x2080014b failed.
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: VgpuConfig {
                                                  vgpu_type: 595,
                                                  vgpu_name: "NVIDIA A10-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: 3,
                                                  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: 0x223614bd,
                                                  pdev_id: 0x2236,
                                                  fb_length: 0x1dc000000,
                                                  mappable_video_size: 0x400000,
                                                  fb_reservation: 0x24000000,
                                                  encoder_capacity: 0x64,
                                                  bar1_length: 0x100,
                                                  frl_enable: 1,
                                                  adapter_name: "NVIDIA A10-8Q",
                                                  adapter_name_unicode: "NVIDIA A10-8Q",
                                                  short_gpu_name_string: "GA102-A",
                                                  licensed_product_name: "NVIDIA RTX Virtual Workstation",
                                                  vgpu_extra_params: 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
                                              }
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: Applying profile nvidia-595 overrides
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: Patching nvidia-595/num_heads: 4 -> 1
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: Patching nvidia-595/max_resolution_x: 7680 -> 1920
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: Patching nvidia-595/max_resolution_y: 4320 -> 1080
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: Patching nvidia-595/max_pixels: 66355200 -> 2073600
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): gpu-pci-id : 0x100
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): vgpu_type : Quadro
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): Framebuffer: 0x1dc000000
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): Virtual Device Id: 0x2236:0x14bd
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): FRL Value: 60 FPS
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: ######## vGPU Manager Information: ########
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: Driver Version: 510.85.03
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): vGPU supported range: (0x70001, 0xd0001)
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: cmd: 0x20801322 failed.
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): Init frame copy engine: syncing...
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): vGPU migration enabled
9月 07 12:36:41 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: display_init inst: 0 successful
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: cmd: 0x20801322 failed.
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: error: vmiop_log: (0x0): Failed to get blacklisted pages:0x56
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: ######## Guest NVIDIA Driver Information: ########
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: Driver Version: 512.78
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: vGPU version: 0xd0001
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): vGPU license state: Unlicensed (Unrestricted)
9月 07 12:37:09 v-amd nvidia-vgpu-mgr[2647]: notice: vmiop_log: (0x0): Guest driver unloaded!
@mbilker
Copy link
Owner

mbilker commented Sep 9, 2022

While Ampere is listed in the source code, the guest driver fails to load on all consumer cards.

@mbilker mbilker closed this as completed Sep 9, 2022
@mbilker
Copy link
Owner

mbilker commented Sep 9, 2022

If you would like to investigate as to why the guest driver does not load, feel free to do so. There are many people that would like to use a 3090 for GPU virtualization outside of Hyper-V's GPU Partitioning.

@alx696
Copy link
Author

alx696 commented Sep 13, 2022

Thank you for your reply! I've been trying to find a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants