Forum / NoMachine for Linux / Is VirtualGL working correctly?
- This topic has 4 replies, 2 voices, and was last updated 10 hours, 1 minute ago by Britgirl.
-
AuthorPosts
-
October 11, 2024 at 16:52 #50153boospyParticipant
Hello all,
- I’ve downloaded NoMachine Worstation EVAL 8.14.2_1.
- Server: HPE Proliant ML350G10
- GPU Nvidia RTX A2000 (Full featured)
- OS Kubuntu 24.04 LTS
- Driver Nvidia 550.107.02
Basically with normal X11 Login everything is working fine with the card. If I log in with NoMachine virtual desktop, applications such as the desktop, video editing, games, do not use the graphics card. Only 3 processes:
- Displaymanager
- Xserver
- Nxnode
On the NoMachine Client I see this line:
2552×1324, 60FPS, HW encoding, H.264, NVENC, SW decoding
Doesn’t that actually mean that it should work? VirtualGL is enabled and X11VectorGraphics is disabled.
GLXInfo show me that: There doesn’t seem to be a code block or anything like that here, so I was able to copy it in like this.
————————————————————————-
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
GLX_MESA_copy_sub_buffer, GLX_MESA_gl_interop, GLX_MESA_query_renderer,
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_SGIS_multisample,
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0xffffffff)
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 17.0.6, 256 bits)
————————————————————————-
According to the datasheet, NoMachine Workstation can handle GPUs. Am I doing something wrong?
October 11, 2024 at 17:36 #50161BritgirlKeymasterAll NoMachine Linux Terminal Server products support VirtualGL, including the evaluation version. You need to enable VirtualGL first, so this is the first thing you should check. How to do that is explained in the following article:
How to enable VirtualGL support on Linux in NoMachine
https://kb.nomachine.com/AR05P00982In short, the commands to use are
sudo /etc/NX/nxserver --virtualglinstall
andsudo /etc/NX/nxserver --virtualgl yes
. But please consult the article for full steps.Let us know if following those steps helps.
In your output of the client, we can see that HW encoding is working correctly. On the client side the session is using software decoding, and not hardware decoding. If this is not what you expected on the client side (we are not sure from what you wrote), you should send us logs from the device you are connecting from and we will check them. See this article (step 4) https://kb.nomachine.com/DT07S00243.
October 11, 2024 at 21:35 #50169boospyParticipantThank you for your reply. I have already set up VirtualGL according to these instructions.
What I would like is that applications in the KDE desktop, such as Steam, KDEnlive, video player…, or even the whole desktop uses the Nvidia GPU. That was my plan.
Attached is the log I created according to the instructions and a Screenshot from the NX Client on my local machine.
October 11, 2024 at 22:12 #50172boospyParticipantWhat I also noticed is that the variable has no value here, but it should according to the instructions.
env | grep LD_PRELOAD
LD_PRELOAD=
October 15, 2024 at 15:15 #50233BritgirlKeymasterCan you send us the node.cfg file of the NoMachine server, and also the output of this command:
/usr/NX/scripts/vgl/vglrun glxinfo | grep -i “renderer\|vendor”
In the logs we can see that the server sets the LD_PRELOAD library. Maybe is not set in your user profile?
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.