Forum Replies Created
-
AuthorPosts
-
nathan.osullivanParticipant
> Can I ask which information you think is out-of-date?
I’m referring to https://knowledgebase.nomachine.com/AR09O00938 for example:
> E.g. on Ubuntu 20.04 it’s enough to install the following:
> sudo apt install intel-media-va-driver libmfx1 libva2 libva-drm2That’s not “enough”, and even with the symlink tricks on ( https://forums.nomachine.com/topic/anyone-gotten-quicksync-encoding-working-on-a-recent-ubuntu ) it still will not work.
The information further down on how to install the MediaSDK is out-of-date too, and makes it look far more complicated than the process actually is.
nathan.osullivanParticipantI wrestled with this same issue last few days having also seen https://forums.nomachine.com/topic/anyone-gotten-quicksync-encoding-working-on-a-recent-ubuntu#post-32641 . I can only conclude that information is out-of-date.
What ultimately did work for me is to just install the Intel Media SDK , which despite what’s written on nomachine knowledgebase is actually very easy nowadays (at least on Ubuntu)
1. Delete your existing fake /opt/intel/mediasdk that contains symlinks etc (rm -rf /opt/intel/mediasdk)
2. wget https://github.com/Intel-Media-SDK/MediaSDK/releases/download/intel-mediasdk-21.2.3/MediaStack.tar.gz (I’m not sure which version to use exactly, but this one worked for me.)
3. tar xf MediaStack.tar.gz && cd MediaStack/ && bash install_media.sh
Install process takes just a few seconds, then reboot as directed. Worked straight away with no further tweaking. For reference, my ~/.nx/node/C-*/session file contains this blob confirming it is all working:
libva info: VA-API version 1.12.0
libva info: User environment variable requested driver ‘iHD’
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
libva info: va_openDriver() returns 0
Info: Using Intel H.264 hardware encoder.Hope this spares someone hours of frustration 🙂
-
AuthorPosts