Piter Dias

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #44740
    Piter Dias
    Participant

    Hi, Britgirl. Two weeks ago I sent the logs that you asked me generate. Today I just upgraded to 8.6.1 in both machines (Windows and Linux) but the weird screen showed in last reply remains. Did you have time to check it?

    Thanks a lot.

    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #44477
    Piter Dias
    Participant

    Hi. I am almost there. After digging into nvidia-vaapi-driver driver repository on Github I add the following line to /usr/NX/bin/nxplayer, just before exec `”$NX_SYSTEM/bin/nxplayer.bin” “$@”
    export NVD_BACKEND=direct
    export LIBVA_DRIVER_NAME=nvidia`
    Now I have hardware decode but the image is very ugly (see attached) and I see some strange messages in the log. Can someone help?

    libva info: VA-API version 1.14.0
    libva info: User environment variable requested driver 'nvidia'
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
    libva info: Found init function __vaDriverInit_1_0
    libva info: va_openDriver() returns 0
    Info: Detected VA-API NVDEC driver [direct backend].
    Info: Using H.264 hardware decoder.
    10289 10359 2023-06-03 17:35:32 085,898 VADecoder/VADecoder: WARNING! Failed to derive image. Falling back to default image retrieve method.
    10289 10359 2023-06-03 17:35:32 088,237 VADecoder/VADecoder: ERROR Failed to acquire buffer handle. Error was: 20
    10289 10359 2023-06-03 17:35:32 088,280 Failed to pass yuv planes to gpu pipeline. Fallint back to default yuv planes passing.
    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #44475
    Piter Dias
    Participant

    Hi, SparkleCoder. I am the one who opened this thread.

    After adding Nvidia sources, upgrading to 525 driver session, adding your ppa and installing nvidia-vaapi-driver, I still have the same errors using GTX 1060 and software decoder.

    Am I missing some step?

    Thanks in advance.

    Info: Established display connection.
    libva info: VA-API version 1.14.0
    libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
    18408 18595 2023-06-02 20:11:54 693,796 VADecoder/VADecoder: WARNING! Failed to initialize DRM display for device /dev/dri/renderD128 with error 0xffffffffffffffff.
    libva info: VA-API version 1.14.0
    libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
    18408 18595 2023-06-02 20:11:54 693,909 VADecoder/VADecoder: WARNING! Failed to initialize DRM display for device /dev/dri/card0 with error 0xffffffffffffffff.
    Info: H264 support is available.
    Info: RT handler running with pid 18612.
    Info: Forwarded new display connection.
    Info: Display client for channel 9 connected on Fri Jun  2 20:11:54 2023.
    Info: Remote desktop resized to 1920×1080.
    Info: Session window surface configured.
    Info: Changing display mode to ‘viewport’.
    18408 18408 2023-06-02 20:11:54 985,942 ClientSession: Ignore request to create a view without a frame.
    Info: Using H.264 software decoder.

     

     

    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #42990
    Piter Dias
    Participant

    Ok. Thanks.

    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #42716
    Piter Dias
    Participant

    See below the outputs. Isn’t the problem related to the drop of vdpau-va-driver by Debian? See “vainfo requires a nvidia sofile not in repositories”.

    Thanks a lot.

    vainfo
    *** Trying /dev/dri/by-path ***
    Failed to open the given device!
    *** Trying /dev/dri/card0 ***
    libva info: VA-API version 1.14.0
    libva info: User environment variable requested driver ‘nvidia’
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
    libva info: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit
    *** Trying /dev/dri/renderD128 ***
    libva info: VA-API version 1.14.0
    libva info: User environment variable requested driver ‘nvidia’
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
    libva info: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit

    lsmod
    $ lsmod
    Module Size Used by
    nf_tables 249856 0
    libcrc32c 16384 1 nf_tables
    nfnetlink 20480 1 nf_tables
    binfmt_misc 24576 1
    intel_rapl_msr 20480 0
    mei_hdcp 24576 0
    intel_rapl_common 40960 1 intel_rapl_msr
    intel_tcc_cooling 16384 0
    x86_pkg_temp_thermal 20480 0
    intel_powerclamp 20480 0
    coretemp 24576 0
    kvm_intel 368640 0
    zfs 3821568 8
    kvm 1028096 1 kvm_intel
    zunicode 348160 1 zfs
    rapl 20480 0
    wl 6467584 0
    zzstd 491520 1 zfs
    snd_hda_codec_realtek 159744 1
    snd_hda_codec_generic 102400 1 snd_hda_codec_realtek
    intel_cstate 20480 0
    snd_hda_codec_hdmi 77824 1
    ledtrig_audio 16384 1 snd_hda_codec_generic
    zlua 163840 1 zfs
    zavl 20480 1 zfs
    icp 323584 1 zfs
    eeepc_wmi 16384 0
    nls_iso8859_1 16384 1
    wmi_bmof 16384 0
    snd_hda_intel 53248 4
    snd_intel_dspcfg 28672 1 snd_hda_intel
    snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
    serio_raw 20480 0
    zcommon 106496 2 zfs,icp
    snd_usb_audio 356352 0
    snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
    snd_usbmidi_lib 45056 1 snd_usb_audio
    znvpair 98304 2 zfs,zcommon
    mxm_wmi 16384 0
    snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
    snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
    snd_pcm 143360 5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
    ee1004 20480 0
    spl 118784 6 zfs,icp,zzstd,znvpair,zcommon,zavl
    cfg80211 974848 1 wl
    snd_seq_midi 20480 0
    snd_seq_midi_event 16384 1 snd_seq_midi
    snd_rawmidi 49152 2 snd_seq_midi,snd_usbmidi_lib
    uvcvideo 106496 0
    snd_seq 77824 2 snd_seq_midi,snd_seq_midi_event
    videobuf2_vmalloc 20480 1 uvcvideo
    videobuf2_memops 20480 1 videobuf2_vmalloc
    snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
    snd_timer 40960 2 snd_seq,snd_pcm
    videobuf2_v4l2 32768 1 uvcvideo
    videobuf2_common 77824 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
    input_leds 16384 0
    joydev 32768 0
    videodev 258048 3 videobuf2_v4l2,uvcvideo,videobuf2_common
    snd 106496 21 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
    mei_me 40960 1
    mc 65536 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
    mei 135168 3 mei_hdcp,mei_me
    soundcore 16384 1 snd
    acpi_pad 184320 0
    mac_hid 16384 0
    nvidia_uvm 1339392 0
    sch_fq_codel 20480 3
    nvidia_fs 258048 0
    msr 16384 0
    parport_pc 49152 0
    ppdev 24576 0
    lp 28672 0
    parport 69632 3 parport_pc,lp,ppdev
    ramoops 32768 0
    pstore_blk 16384 0
    reed_solomon 28672 1 ramoops
    pstore_zone 32768 1 pstore_blk
    efi_pstore 16384 0
    ip_tables 32768 0
    x_tables 53248 1 ip_tables
    autofs4 49152 2
    hid_generic 16384 0
    usbhid 65536 0
    hid 151552 2 usbhid,hid_generic
    nvidia_drm 69632 10
    nvidia_modeset 1183744 20 nvidia_drm
    nvidia 55201792 1294 nvidia_uvm,nvidia_modeset
    drm_kms_helper 311296 1 nvidia_drm
    mfd_aaeon 16384 0
    syscopyarea 16384 1 drm_kms_helper
    crct10dif_pclmul 16384 1
    asus_wmi 45056 2 eeepc_wmi,mfd_aaeon
    sysfillrect 20480 1 drm_kms_helper
    sparse_keymap 16384 1 asus_wmi
    crc32_pclmul 16384 0
    ghash_clmulni_intel 16384 0
    aesni_intel 376832 0
    crypto_simd 16384 1 aesni_intel
    platform_profile 16384 1 asus_wmi
    cryptd 24576 2 crypto_simd,ghash_clmulni_intel
    nvme 49152 2
    psmouse 176128 0
    sysimgblt 16384 1 drm_kms_helper
    fb_sys_fops 16384 1 drm_kms_helper
    cec 61440 1 drm_kms_helper
    rc_core 65536 1 cec
    i2c_i801 36864 0
    e1000e 299008 0
    i2c_smbus 20480 1 i2c_i801
    nvme_core 135168 3 nvme
    ahci 45056 4
    drm 622592 14 drm_kms_helper,nvidia,nvidia_drm
    libahci 45056 1 ahci
    xhci_pci 24576 0
    xhci_pci_renesas 20480 1 xhci_pci
    wmi 32768 4 asus_wmi,wmi_bmof,mfd_aaeon,mxm_wmi
    video 61440 1 asus_wmi

    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #42458
    Piter Dias
    Participant

    Hi. I believe this package was removed from Ubuntu 22.04 LTS. In fact, searching Ubuntu repositories I just found it on Ubuntu 18.04 LTS.

    sudo apt install vdpau-va-driver
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    Package vdpau-va-driver is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    mesa-va-drivers:i386 mesa-va-drivers

    E: Package ‘vdpau-va-driver’ has no installation candidate

    sudo apt install mesa-va-drivers
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    mesa-va-drivers is already the newest version (22.0.5-0ubuntu0.3).
    0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

    sudo apt-cache depends mesa-va-drivers
    mesa-va-drivers
    Depends: libc6
    Depends: libdrm-amdgpu1
    Depends: libdrm-nouveau2
    Depends: libdrm-radeon1
    Depends: libdrm2
    Depends: libelf1
    Depends: libexpat1
    Depends: libgcc-s1
    Depends: libllvm13
    Depends: libstdc++6
    Depends: libx11-xcb1
    Depends: libxcb-dri2-0
    Depends: libxcb-dri3-0
    Depends: libxcb-present0
    Depends: libxcb-sync1
    Depends: libxcb-xfixes0
    Depends: libxcb1
    Depends: libxshmfence1
    Depends: libzstd1
    Depends: zlib1g
    Breaks: <vdpau-va-driver>
    Replaces: <vdpau-va-driver>
    Enhances: libva2

     

    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #42402
    Piter Dias
    Participant

    Hi. This is the output

    dpkg -l | grep -i “libva\|vaapi\|vdpau”
    ii  i965-va-driver:amd64                2.4.1+dfsg1-1                  amd64        VAAPI driver for Intel G45 & HD Graphics family
    ii  intel-media-va-driver:amd64    22.3.1+dfsg1-1ubuntu1   amd64        VAAPI driver for the Intel GEN8+ Graphics family
    ii  libva-drm2:amd64                     2.14.0-1                           amd64        Video Acceleration (VA) API for Linux — DRM runtime
    ii  libva-glx2:amd64                      2.14.0-1                            amd64        Video Acceleration (VA) API for Linux — GLX runtime
    ii  libva-wayland2:amd64              2.14.0-1                            amd64        Video Acceleration (VA) API for Linux — Wayland runtime
    ii  libva-x11-2:amd64                    2.14.0-1                            amd64        Video Acceleration (VA) API for Linux — X11 runtime
    ii  libva2:amd64                             2.14.0-1                            amd64        Video Acceleration (VA) API for Linux — runtime
    ii  libvariable-magic-perl                        0.62-1build5                                amd64        module to associate user-defined magic to variables from Perl
    ii  libvdpau1:amd64                               1.4-3build2                                 amd64        Video Decode and Presentation API for Unix (libraries)
    ii  mesa-vdpau-drivers:amd64                      22.0.5-0ubuntu0.1                           amd64        Mesa VDPAU video acceleration drivers
    ii  vdpau-driver-all:amd64                        1.4-3build2                                 amd64        Video Decode and Presentation API for Unix (driver metapackage)
    ii  vdpauinfo                                     1.4-2                                       amd64        Video Decode and Presentation API for Unix (vdpauinfo utility)

    in reply to: No hardware decode on Kubuntu 22.04 + GTX 1060 6GB #41956
    Piter Dias
    Participant

    Now with client log and configuration file.

    Attachments:
    in reply to: Weird mouse swap (Linux Mint -> Windows 11) #38819
    Piter Dias
    Participant

    Awesome. Thanks a lot. I must say that NoMachine is, by far, the best remote connect experience I already had.

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