question

RAlvesson-9831 avatar image
0 Votes"
RAlvesson-9831 asked LeilaKong-MSFT answered

Remote desktop Windows 10 GPU not being able to use it

Remote Desktop Service attempting to use GPU but failing with several errors...think is a BUG

Full question here with Photos:

https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/remote-desktop-service-attempting-to-use-gpu-but/e47fc34f-81c2-4c82-a983-f31127f316e9?messageId=b72a58b2-5db8-4269-844b-18ca3d17fdef
Hi.


I am working on a project where remote users have to access their Win10pro stations from their homes and they need to be able to use the GPU with different applications including watching youtube videos. Without the GPU the video quality is not good and the CPU usage skyrockets affecting their work.

The problem that we are having is that when connecting via remote desktop the GPU is used for about a minute and then stops working completely. If a user is working in front of his/her station thye GPU works well. The problem is only via RDP.

Here is what is going on. I hope somebody can help us.

I am connecting from a Win10Pro to another Win10Pro (both 20H2 19042.844) in our LAN and the Host machine succeeds but after about a minute fails to use the GPU for the Remote Desktop Service connection. I know this because I left the task manager open with the GPU column visible and it shows for maybe a minute (while the screen is blinking) the Remote Desktop Service using the GPU with about 5% and then 0% thereafter. Afterwards I can not connect anymore and I see an error on the screen (see picture 2 attached)

There are a number of errors (10110, 10111, 7031 and 1000 see screen pictures below)in the event log that in my humble opinion show a bug. I have attached 7 pictures with all the relevant information including the policies active at the moment and the list of error with codes and descriptions.

remote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @RAlvesson-9831 ,

Please try to logon to the Session Host and disable AVC Hardware encode mode to mitigate this incident.

mitigation step via group policy:
1. Launch "Group Policy Editor" (gpedit.msc)
2. Drill down to the policies: Computer Configuration> Administrative Templates> Windows Components> Remote Desktop Services> Remote Desktop Session Host> Remote Session Environment
3. Disable the following policy: Configure H.264/AVC hardware encoding for Remote Desktop connections

Then update group policy or reboot the virtual machine to check if the problem is resolved.

85370-disable-avc-hardware-encode.jpg



Best regards,
Leila


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RAlvesson-9831 avatar image
0 Votes"
RAlvesson-9831 answered

Same thing. The GPU is not used. Please see attached image.



85606-gpu-0-utilization.png



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RAlvesson-9831 avatar image
0 Votes"
RAlvesson-9831 answered

By the way the left column after the name of the service is the GPU% usage

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @RAlvesson-9831 ,

How are things going there on this issue?
Please let me know if you would like further assistance.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @RAlvesson-9831 ,

We haven’t heard from you in a couple of days.
Please post back at your convenience if we can assist further.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.