Forum / NoMachine for Linux / Nvidia GPU only is slower than hybrid with Intel graphics
- This topic has 4 replies, 2 voices, and was last updated 4 years, 6 months ago by NighTurs.
-
AuthorPosts
-
May 28, 2020 at 07:34 #27816NighTursParticipant
When I’m running NoMachine server with Nvidia prime hybrid graphics driver everything is fine. As I understand with this setup desktop is using Intel graphics, although I’m seeing /usr/NX/bin/nxnode.bin process in nvidia-smi. When I install vanilla Nvidia proprietary drivers (Intel graphics is off) I’m having slowness issues (typing lags, slower responsiveness). So basically I have better performance from Intel graphics, which I would rather turn off completely.
Server:
- Intel i5-3470
- Nvidia RTX 2070 (proprietary drivers 440.82, but tried different versions)
- Not headless
- Manjaro linux (with 4.19 kernel, tried also 5.4)
- Gnome 3.36 (X session)
The client is also Gnome 3 (X) Manjaro but without GPU. I’m using 6.10.12 NoMachine from https://aur.archlinux.org/packages/nomachine . Connecting to physical display over LAN. Haven’t seen any errors in logs. Had exactly the same issue with 6.9.2.
June 1, 2020 at 10:26 #27884fra81ModeratorHi,
in some cases, even if the machine is headless, the GPU could be “turned off” if the monitor is switched off. Can this be the case? If so, could you try to switch on the monitor attached to the server and check again?
Also, to narrow things down, you can try to disable hardware encoding in NoMachine (‘EnableHardwareEncoding 0’ in /usr/NX/etc/node.cfg) and see if you still experience worse performance on Nvidia than on Intel.
June 2, 2020 at 09:28 #27894NighTursParticipantHey, thanks for reply! Really appreciated.
The monitor is always on, so it shouldn’t be the case.
The problem persists with and without EnableHardwareEncoding. Same jumpiness during text input, etc. And no issues with Intel.
Since my initial post I tried two things with the server:
- Installed fresh Manjaro installation with XFCE. Same problem, so not Gnome related issue.
- The same problem also on Fedora 32, so not a Manjaro specific.
I attached statistics I took during nvidia and intel sessions, maybe they will be helpful. Any further directions?
June 4, 2020 at 17:25 #27973fra81ModeratorHi,
unfortunately there is nothing more that can be done in the NoMachine software. After excluding hardware encoding, GPU is not used by NoMachine directly. I have seen other similar cases where the local X server is slow to pull pixels data back from video memory. This is an issue on the video card/drivers side. You may try to use a different version of the drivers, but I can’t say if that will solve the problem.
June 5, 2020 at 23:51 #28009NighTursParticipantIndeed it turned out to be this Nvidia issue https://forums.developer.nvidia.com/t/vnc-server-on-nvidia-linux-does-not-refresh-screen-after-every-keystroke/68287
The workaround is to have something with high updates frequency on the screen.
-
AuthorPosts
This topic was marked as solved, you can't post.