No hardware encoding/decoding on Ubuntu 20.04

Forum / NoMachine for Linux / No hardware encoding/decoding on Ubuntu 20.04

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #47506
    alienpriv
    Participant

    Hi,

    I’m using NoMachine on Ubuntu 20.04 machines (clients and servers), with Nvidia RTX GPUs but I’m only getting software encoding/decoding.

    How can I enable hardware encoding? Attaching logs.

    Thanks,

    Lukas

    #47519
    Britgirl
    Keymaster

    This is dealt with in the following topic: https://forum.nomachine.com/topic/no-gpu-hardware-encoding.

    Logs should be sent to forum[at]nomachine[dot]com. That way we can verify if the drivers are the cause.

    #47520
    alienpriv
    Participant

    Hi,

    Sorry, the logs did not attach previously. Here they are.

    I’m already using driver 535.

     

    Lukas

    #47527
    Britgirl
    Keymaster

    Are these the logs taken from Ubuntu machine you are connecting to (the remote server)?

    #47528
    alienpriv
    Participant

    Sorry, those were logs generated from the NoMachine client. Attaching here server logs.

    Lukas

    #47536
    Britgirl
    Keymaster

    Hardware encoding is not enabled because NVENC, the Nvidia hardware encoder, doesn’t support resolutions over 4K for H.264 hardware encoding. In your logs we can see the following “Info: Remote desktop resized to 5120×1440”. So that is the reason for hardware encoding not being possible.

    As for hardware decoding, the resolution limit should be larger but there are no errors in the logs about decoding. Can you check if it’s disabled in the Display settings? Open the session menu (Ctrl-Alt-0) -> Display -> Settings and tell us what you see there (or submit a screenshot). Does hardware decoding work if you resize the remote desktop to a lower resolution?

    #47537
    alienpriv
    Participant

    Hey,

    The resolution 5120×1440 is actually 2 screens with 2560×1440

    I’ve tried switching to 1920×1080 on the server and that did cause hardware encoding to work, but not decoding (client is 2 x 2560×1440)

    Is there no way to get hardware encoding working with 2560×1440 dual screen setup? HD is really low resolution these days, especially if you work with media.

    Lukas

    #47540
    Britgirl
    Keymaster

    Is there no way to get hardware encoding working with 2560×1440 dual screen setup?

    It’s an nvidia limitation, I’m afraid. You can either disable one the monitors or use the option you already tried which is to resize both of them to 1920.

    #47543
    alienpriv
    Participant

    OK, thank you for checking this for me.

    I’m afraid we’ll need to switch to different software then – like DCV – which somehow works on GPU in higher resolutions.

    #47565
    Britgirl
    Keymaster

    At the moment, in its current version, NoMachine considers the monitors as one big screen.  What you need is for NoMachine to capture and encode each monitor as a separate video stream. Such a feature is planned and work has started, although we are unable to provide a target version.

     

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.