"Enhanced graphics mode" greatly increases 3D performance by leveraging the hardware acceleration capability of the browser. This means that by enabling the Enhanced graphics mode, you should see improved performance for both 2D and 3D workflows.
This feature requires Group Policy and Registry settings to enable the RDP hardware acceleration.
Updating a template to support Enhanced graphics
Update your Windows VM
- Launch an environment from the template you want to update.
- Log into the Windows VM that you want to configure for Enhanced graphics
-
Open a PowerShell commandline and run the following PowerShell script:
#Group Policy [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-PackageProvider -Name "NuGet" -RequiredVersion "2.8.5.208" -Force Install-Module -Name PolicyFileEditor -Scope AllUsers -Force Import-Module PolicyFileEditor $MachinePath = "$env:windir\system32\GroupPolicy\Machine\registry.pol" $policies = @( @{ Name = "bEnumerateHWBeforeSW"; Value = 1 }, @{ Name = "AVC444ModePreferred"; Value = 1 }, @{ Name = "MaxCompressionLevel"; Value = 0 }, @{ Name = "AVCHardwareEncodePreferred"; Value = 1 } ) foreach ($policy in $policies) { Set-PolicyFileEntry -Path $MachinePath -Key "Software\Policies\Microsoft\Windows NT\Terminal Services" ` -ValueName $policy.Name -Type DWord -Data $policy.Value } gpupdate /force - Reboot the VM
- Login to the VM,
- Open Local Group Policy Editor,
- Navigate to Computer Configuration | Administrative Templates | Remote Desktop Services | Remote Desktop Session Host | Remote Session Environment.
- Confirm the following settings:
| Use hardware graphics adapters for all Remote Desktop Services |
| Prioritize H.264/AVC 444 graphics mode for Remote Desktop |
| Configure H.264/AVC hardware encoding for Remote Desktop |
| Configure compression for RemoteFX data (Do not use an RDP compression algorithm) |
Save environment as template
- In Heropa, Navigate to the environment that was updated
- Follow the instructions to save your environment as a template
- Once the new template is ready, click on it to open.
- From the Detailsb tab, click on the Window VM that you updated
- Enable Enhanced graphics mode.
- Next, navigate to VM Images and open the new VM Image.
- Click on the Details tab enable Enhanced graphics mode.
FAQ
| What happens if the Group Policy setting is set in the VM but 'Enhanced graphics mode' is unchecked? Is there a bypass? |
If the group policy (GP) setting is set in the VM but 'Enhanced graphics mode' is unchecked, there is no impact. This is because if enhanced graphics is not enabled, the connection to the VM is not effected by the particular GP settings because it will not attempt to establish a hardware-accelerated connection. The system dynamically calculates the connection type to the VM based on whether "Enhanced graphics" is on or off when the workspace opens. |
| How does the Enhanced graphics mode work? |
When Enhanced graphics mode is enabled, the VM connection type is upgraded to a format that browsers can support with hardware acceleration. This connection type tells the RDP broker to create a 3D-enabled or hardware-accelerated connection to the VM. To turn enhanced graphics on or off, no reboot or rebuild is required; the user only needs to refresh their browser. The connection to the VM is dynamically calculated based on these settings. |
| Does Enhanced graphics mode have any effect on direct RDP connections? | No. |
Comments
0 comments
Please sign in to leave a comment.