Forum / NoMachine Terminal Server Products / GPU utilization
- This topic has 5 replies, 3 voices, and was last updated 7 years, 4 months ago by
Britgirl.
-
AuthorPosts
-
June 29, 2018 at 08:40 #18837
shoe54ParticipantHow can I determine whether the Terminal Server is utilizing the GPU to encode the video stream for the WebPlayer?
Regards,
Shu
July 2, 2018 at 15:52 #18857
fra81ModeratorHi Shu,
at the moment you have to look for this info in the logs. Session logs are located (by default) inside directories starting with the ‘C-‘ prefix in the ‘/usr/NX/var/log/node’ location. More info on how to retrieve the logs in https://www.nomachine.com/AR10K00697. If GPU is used for encoding, you will see in the ‘session’ file something like:
Info: Using H.264 hardware encoder.
Note that in future versions of NoMachine this info will also be available in the client GUI.
July 11, 2018 at 09:10 #18981
shoe54ParticipantAccording to https://www.nomachine.com/AR10K00706 under Section 2.3, does it mean that the Terminal Server Evaluation is not able to utilize the hardware GPU for encoding?
Thanks,
Shu
July 11, 2018 at 10:26 #18987
BritgirlKeymasterHi, section 2.3 refers to software encoding which is used when the H.264 software encoder is present on the server. The H.264 codec is not shipped in the evaluation.
Hardware encoding is possible regardless of the NoMachine server you have – the free version, an evaluation even – provided there are the right GPU capabilities in place. From the article:
1. NoMachine and H.264 hardware acceleration
NoMachine supports H.264 hardware acceleration for these types of sessions:
(i) Connections to the remote physical desktop.
(ii) Linux virtual desktops without activating X11 vector graphics mode.1.1. On server side
NoMachine supports H.264 hardware encoding provided by graphics cards with Nvidia Kepler microarchitecture and later.
1.2. On client side
NoMachine software on the user’s computer (i.e. NoMachine used as a client or Enterprise Client) supports the H.264 hardware decoding on Windows and Mac hosts with hardware accelerated video cards (GPUs). No further action is required.
and from https://www.nomachine.com/AR10K00706
In the case of web sessions, H.264 codec is supported from v. 6 provided all the following requirements are met:
(i) H.264 hardware or software encoding is available on the remote host where NoMachine sessions are run.
(ii) The browser supports WebRTC/HTML5 and H.264.
(iii) support for WebRTC is enabled on the NoMachine Server.July 12, 2018 at 08:33 #18991
shoe54ParticipantThanks for clearing up the confusion. I’ve met those requirements but the GPU doesn’t seem to be utilized. I’ve set up a virtual desktop with X11 vector graphics mode disabled:
AgentX11VectorGraphics 0
I have attached the session logs. There are 3 log files, the 1001 log file is generated when the server starts up even when there are no client connections established. The 1002 and 1003 log files are generated when a single client connection is established via the WebPlayer.
Nowhere in the session logs does it indicate that the hardware encoder is being used. In addition, there is a line in the 1002 log:
Warning: Can’t load H.264 codec library.
Hope you can help.
Thanks.
July 13, 2018 at 09:29 #19009
BritgirlKeymasterAre you sure WebRTC is enabled? Without WebRTC there will be no video encoding.
Can you submit here a screenshot of your Display settings? (Connection menu->Display->Display settings)
-
AuthorPosts
Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.
