Upinel / BetterRDP

This is to enable 60fps and GPU acceleration on RDP connection
Apache License 2.0
158 stars 12 forks source link

Is this for the client or the server? #4

Open refriedfood opened 1 month ago

refriedfood commented 1 month ago

Thanks.

yllekz commented 1 month ago

Via Github Copilot:

This code is meant for optimizing settings on an RDP server. It modifies various registry keys to enhance the performance and visual experience of RDP sessions.This code is meant for optimizing settings on an RDP server. It modifies various registry keys to enhance the performance and visual experience of RDP sessions.

refriedfood commented 1 month ago

_This code is meant for optimizing settings on an RDP server. It modifies various registry keys to enhance the performance and visual experience of RDP sessions.

Ah, well, it doesn't work, either way. I've tested it client side only, server side only, and server and client side at the same time with no improvement whatsoever.

refriedfood commented 1 month ago

Also, here is the appropriate reg file content to remove all the entries:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
"SelectTransport"=-
"fEnableVirtualizedGraphics"=-
"fEnableRemoteFXAdvancedRemoteApp"=-
"MaxCompressionLevel"=-
"VisualExperiencePolicy"=-
"GraphicsProfile"=-
"bEnumerateHWBeforeSW"=-
"AVC444ModePreferred"=-
"AVCHardwareEncodePreferred"=-
"VGOptimization_CaptureFrameRate"=-
"VGOptimization_CompressionRatio"=-
"ImageQuality"=-

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"SystemResponsiveness"=dword:00000014

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations]
"DWMFRAMEINTERVAL"=-

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"InteractiveDelay"=dword:00000032

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"DisableBandwidthThrottling"=dword:00000001
"DisableLargeMtu"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
"fEnableWddmDriver"=-
yllekz commented 1 month ago

Worked just fine for me.

refriedfood commented 1 month ago

Worked just fine for me.

Then prove it.

Upinel commented 1 month ago

If you don't work fine, it is possible you don't have a GPU/iGPU or you have a poor performance emulated GPU inside a VM environment. Because the modification is mainly enabling Microsoft's RemoteFX feature, originally for Microsoft RemoteApp services which by design aim to allow 3D applications running on a remote environment, as known as VDI technology.

This script is for RDP host side. Although the client side needs to use a supported RDP client app, which means Microsoft RDP, using a third-party RDP client might not support some RemoteFX features.