Reply To: Hardware encoder not working on Linux

NoMachine for Linux / Hardware encoder not working on Linux / Reply To: Hardware encoder not working on Linux

#47727
BritgirlBritgirl
Keymaster

There is a difference in what is printed in the earlier logs and what is printed in the example procedure (#post-47716).

Logs show:
libva info: VA-API version 1.19.0
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so

Your example:
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

It’s a different libva version and also a different filepath for the iHD driver.

You should check that you don’t have mixed libva libraries. For example, if you’re using Debian/Ubuntu, from a shell run dpkg -l libva*. What’s the output?

Next, make sure you’re using the iHD driver that is being used in your example, which is /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so. A quick way to do that is to rename iHD_drv_video.so which is in /opt/intel/mediasdk/lib64/to something else, for example:

cd /opt/intel/mediasdk/lib64/
mv iHD_drv_video.so iHD_drv_video.so.original

and restart NoMachine. Does that help?