Forum Replies Created
August 11, 2022 at 14:14 in reply to: Feature Request: NoMachine client should be able to control input (mouse and keys) #39673
When its checked, Player window should automatically lose focus when mouse leaves the window and on mouse enter, it’ll be focus as it is now.
This is a feature some Operating Systems have, generally called ‘focus follows mouse’. I do believe that the Player window should not interfere with the normal rules imposed by the OS about how the focus is moved, even if it would be possible to do so.
However, in case you don’t know already, there is a key combination to release the mouse when it is grabbed by the Player window: Ctrl+Alt+Left mouse button. Would this help you?August 9, 2022 at 17:27 in reply to: Feature Request: NoMachine client should be able to control input (mouse and keys) #39634
what you want to achieve is not currently possible and, to be honest, I think it could be unexpected and difficult to understand for most users in the most common setups. Thank you for your interest in NoMachine 🙂August 8, 2022 at 17:55 in reply to: Ubuntu 20.0.4 NoMachine no cursor or keyboard control in Mac OS X client #39615
it seems like you are in view-only mode. Please check the value of the ‘PhysicalDesktopMode’ key in the ‘/usr/NX/etc/server.cfg’ file, change it to ‘1’ or ‘2’ if necessary, then try again.July 11, 2022 at 09:19 in reply to: Wayland Pipewire screenshare #39167
please gather logs while reproducing the problem with pipewire (that is, as you say, the ‘compositor’ option) and send them to forum[at]nomachine[dot]com. You can find instructions in https://kb.nomachine.com/DT11R00182.
As for ‘egl’, is the Wayland Gnome option reported as available in the login window? What are the exact Manjaro and Gnome versions?July 1, 2022 at 13:56 in reply to: Using Karabiner on macOS #39070
NoMachine transfers the pressed key and injects it on the server at the system level. If we understand how Karabiner is working, doing the remapping of the pressed key to produce a different event, as it remaps the physical key, it should also remap the key injected by NoMachine. Since that’s not the case, it means that Karabiner works at a different level of the device handling stack and that the key NoMachine sends is interpreted by the OS by-passing the capture Karabiner does. Unfortunately we don’t know at which level Karabiner is working, so you should probably try to contact the Karabiner support.June 23, 2022 at 10:16 in reply to: Automatic keyboard layout configuration #38979
It would be enough for the client to somehow hint at the local configuration in a way that could be parsed in a desktop start script on the server.
This is what NoMachine normally does. Do the clients have this problem only when reconnecting to an existing virtual desktop? Or even when creating a new virtual desktop?
Can you share the logs from one of the problematic sessions? You can find instructions in https://kb.nomachine.com/DT11R00181. Please also tell what is the expected keyboard layout for that client.June 23, 2022 at 09:54 in reply to: Using NoMachine with a custom keyboard layout #38978
NoMachine doesn’t load the keymaps from the system path (/usr/share/X11/xkb), but it ships its own keyboard config files in /usr/NX/share/X11/xkb. You can try to add the layout file there.June 9, 2022 at 11:02 in reply to: Resizing of NoMachine changes resolution on Ubuntu server? #38830
NoMachine doesn’t change the refresh rate explicitly, it just chooses a different resolution among the ones made available by the system in order to fit the size of the NoMachine player window. This is only done if you have the ‘Resize remote display’ option set, which I assume is your case, otherwise no change should occur on the remote system.
It would be interesting to know the system configuration at the time the problem is reproduced. Could you try to reproduce again, run the ‘xrandr -q’ command on the server and show us the output?June 8, 2022 at 09:24 in reply to: Uncompressed Option i.e. no-encoding #38816
As we said, we believe using uncompressed streams over any network, in a software like NoMachine makes no sense, but we will surely explore both of these, as soon as they become more widespread, as we always do with any new advancements and any new technologies ;-).June 7, 2022 at 16:27 in reply to: Uncompressed Option i.e. no-encoding #38813
In theory yes, in practice unfortunately not. It’s true that 49 ms needed to transfer the same frame, on a 1 Gbps network, would become 4.9 ms, on a 10 Gbps network, but this is only in theory. In practice moving the data from the network layer to the video RAM is much, much more expensive. We did our experimentation, of course, and the real frame-rate that we were able to achieve, with uncompressed data, on a 10 Gbps network, with a dedicated switch, with only the client and server on the physical layer, were close to 20 frames-per-second. And this only at times, with a sustained rate much lower than that. And this with the code that is inside the production NoMachine software, code that is optimized to be zero-copy (except the copy from the network layer to the video RAM, of course). The fact is that data-tranfers are expensive. Operating systems can use DMA, but doing that in user-level code is basically impossible and, even if it was possible, it would only be at conditions that would greatly reduce the number of systems where the “feature” can be leveraged and users make real use of it. The point, in the end, is that even if we did such “uncompressed encoding”, and even if it worked, it would be of so little use for almost the totality of our users that it would just be a quirk, something to mess about with. Different is the approach we have taken, the continued work on algorithmically improving the “end quality” of the output, so much to appear visually lossless.June 7, 2022 at 12:26 in reply to: Uncompressed Option i.e. no-encoding #38809
Let’s do some math considering a 1Gbps Ethernet connection and a screen resolution of 1280*960, which, you will agree, is pretty low for today’s standards.
For a start, we can calculate how many MBs can be transferred on the network per second:
(1000000000 / 10) / 1024 = 97656.25
1Gbps = 97.656MBs
The size of a single 1280×960 frame is given by:
(1280 * 960 * 4) / 1024 = 4800.00
Size of 1 frame = 4.8MB
Now we can calculate how many frames can be transferred on the network per second:
97656.25 / 4800.00 = 20.34
It is possible to transfer 20.34 frames per second, which is very far from the 60 fps that would be considered a good frame rate.
We can also calculate how much time is needed to transfer a single frame, that will directly affect the latency:
1000 / 20.34 = 49.16
So it takes 49.16 ms to transfer a single frame through the Ethernet. This considering a direct gigabit Ethernet link between only the two computers. Any other computer on the same network could add more latency. And we can easily imagine what could happen with a FullHD (1920×1080) or a 4K resolution.
This explains why what you say makes perfectly sense in theory but not really in practice. It is far better making the CPU and GPU do the work to reduce the transferred size, as they will always be faster than any network.May 2, 2022 at 15:48 in reply to: Media sometimes plays faster #38488
I’m not sure I understand the scenario. Are you playing a video on the server and watching it on the client through the NoMachine connection? Can you provide some more details?
If you could record a video showing the issue, that would be very useful.April 8, 2022 at 20:03 in reply to: Ubuntu 20.04 black screen with physical display #38268
are the 2 physical monitors turned on? How are they connected to the server (HDMI, Displayport…)?
From the logs it seems you are connecting to the server’s login screen. Do you still get a black screen if the server is logged on to the user’s desktop?
Can you try to disable hardware encoding as shown in https://knowledgebase.nomachine.com/DT11R00180#2.5?April 8, 2022 at 19:53 in reply to: Configuring NoMachine performance setting #38267
in your case I would not change any of the default settings and let NoMachine adapt automatically to network conditions and available hardware resources, but with one exception: check the ‘Disable client side image post-processing’ option, that can be a heavy operation for your pi. Do not choose a specific codec or a specific frame rate, as NoMachine will use, at any moment, the best values to optimize performance.March 24, 2022 at 13:41 in reply to: What are the benefits of using x264 encoding? #37997
just for the record, x264 is the software H.264 encoder, that doesn’t make use of the GPU, while you want to leverage the hardware encoding made available by the graphics card, namely NVENC. Hardware encoding support is not available in virtual desktop sessions when X11 vector graphics mode is enabled, as explained here. You can try to disable X11 vector graphics, so that hardware encoding will be used, and compare the results. It will mostly depend on the applications used.
The graphics card is also used to accelerate the applications running in the virtual desktop, by means of VirtualGL support (https://knowledgebase.nomachine.com/AR05P00982). This would only be useful if you run applications that use OpenGL for rendering.