Skip to content

vGPU selection rules

Roles with access

Administrators assign vGPU profiles from the administration panel. Users with permission on a profile can also pick it when creating or editing their desktops.

This page explains the rules IsardVDI applies when vGPU profiles are assigned to a desktop or a template, why each rule exists, and how the selectors group the profiles. For card types, profiles and operating modes, see the vGPU guide and vGPUs.

Three concepts first

  • Card: the physical GPU, installed in one specific server (hypervisor).
  • Profile: the way a card is split, for example NVIDIA-A10-2Q (2 GB of video memory per desktop). The same profile can be enabled on many cards, even on different servers.
  • NUMA socket: on a server with two processors, each processor has its own memory and its own cards attached close to it. Reaching the other processor's memory is slower.

The key idea: a desktop asks for a profile, not for a specific card. When it starts, IsardVDI looks for a free card with that profile.

flowchart LR
  E["Desktop"] -->|asks for| P["Profile NVIDIA-A10-2Q<br/>(one identifier)"]
  P --> T1["Card 1<br/>hypervisor A"]
  P --> T2["Card 2<br/>hypervisor B"]
  P --> T3["Card 3<br/>hypervisor C"]

Rules checked when saving

At most 4 profiles per desktop

This is the product limit. It is always checked when saving, and the selectors do not let you pick a fifth profile.

No repeated profile

A desktop cannot carry the same profile twice. A profile is an identifier, not a card: listing it twice does not mean "two cards", it means the same thing twice.

To attach two identical cards to one desktop, give each card its own variant, a name of the form ~<server>n<socket>b<bus> (for example NVIDIA-A10-2Q~hypervisor01n0b41). Passthrough cards receive one automatically. The desktop then asks for two different identifiers.

All profiles must fit on one server

When a desktop carries more than one profile, at least one hypervisor must have all of them enabled. A virtual machine always runs on a single server and can only use the cards physically attached to that server.

If IsardVDI does not have complete information about which cards carry each profile, it applies a simpler fallback rule: all profiles must be of the same GPU model.

The profile must exist and be allowed

  • A profile that no longer exists (for example, disabled on every card) cannot be assigned.
  • A user can only add profiles they are allowed to use. Profiles the desktop already carried are kept even if the permission was removed later.
flowchart TD
  A["Save desktop or template"] --> B{"More than 4 profiles?"}
  B -->|yes| E1["too_many_vgpu_profiles"]
  B -->|no| C{"Any profile repeated?"}
  C -->|yes| E2["duplicate_vgpu_profiles"]
  C -->|no| D{"Do they all exist?"}
  D -->|no| E3["vgpu_profile_not_found"]
  D -->|yes| F{"May the user add the new ones?"}
  F -->|no| E4["reservable_not_allowed"]
  F -->|yes| G{"More than one profile?"}
  G -->|no| OK["Saved"]
  G -->|yes| H{"One hypervisor has them all?"}
  H -->|yes| OK
  H -->|no| E5["vgpu_profiles_different_hypervisors"]
  H -->|"incomplete data"| I{"Same model?"}
  I -->|yes| OK
  I -->|no| E6["vgpu_profiles_different_models"]

How the selectors group profiles

Grouping helps you choose well. Only the one-server rule greys out profiles; the NUMA grouping never forbids anything.

By hypervisor

Profiles are grouped by the server they are on, so you can see which ones can go together. A profile enabled on several servers is listed once, under the first server, and its label names the other servers where it is also available. Once a profile is picked, the profiles that do not share a server with the selection are greyed out.

By NUMA socket (two-socket servers only)

Inside a two-processor server, profiles are grouped by the socket their card is attached to. When two or more profiles are picked, the form shows a hint:

  • Green: there is a socket where all the selected cards can go together. Best performance.
  • Amber: they can only be placed on different sockets. The desktop still starts, but memory access across sockets is slower.

This is only a hint: IsardVDI already places the desktop's CPU and memory on the socket of its card. Crossing the link between processors hurts performance but never stops the desktop from working. Single-socket servers show no socket grouping.

flowchart LR
  subgraph HA["Hypervisor A (2 sockets)"]
    subgraph S0["Socket 0"]
      C0["Card 41<br/>pt~n0, 8Q, 4Q"]
    end
    subgraph S1["Socket 1"]
      C1["Card c1<br/>pt~n1, 8Q, 2Q"]
    end
  end
  subgraph HB["Hypervisor B (1 socket)"]
    C2["Card 81<br/>8Q"]
  end
  HA --> V["Selector<br/>A · NUMA 0: pt~n0, 8Q (also on B; NUMA 0/1), 4Q<br/>A · NUMA 1: pt~n1, 2Q"]
  HB --> V

Error codes

Code Meaning What to do
duplicate_vgpu_profiles The same profile is listed twice Remove the repetition; for two identical cards use per-card variants
too_many_vgpu_profiles More than 4 profiles Reduce the number of profiles
vgpu_profiles_different_hypervisors No server has all the selected profiles Pick profiles from the same server, or enable them on a common server
vgpu_profiles_different_models Different models and incomplete card data Pick profiles of the same model, or check that the cards are registered
vgpu_profile_not_found The profile no longer exists Pick another profile, or enable it again on a card
reservable_not_allowed The user is not allowed to use this profile Review the profile's allowed roles, categories, groups and users

Same profile shown several times in the administration edit form

Older versions of the administration panel listed a profile once per hypervisor where it was enabled, and editing a desktop selected every copy, so saving failed with duplicate_vgpu_profiles. If you see this, remove the repeated entries from the GPU field and keep only one before saving.