Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get the hardware acceleration (VAAPI) working on TS 677 with PCIe GPU Nvidia GTX 1050 Ti: Failed to initialise VAAPI connection #68

Closed
chrisjace opened this issue Jan 7, 2024 · 1 comment

Comments

@chrisjace
Copy link

I have followed the instructions, but can't get the hardware acceleration working.
Below is my environment:
QNAP TS 677, with external PCIe GPU Nvidia GTX 1050 Ti
Hardware acceleration working fine with Plex

QTS firmware version: 5.0.1.2376
NVidia GPU driver package installed: NVIDIA_GPU_DRV_5.1.0.0822_x86_64.qpkg
VA-API device showing as: /dev/dri/renderD128

I have tried different combinations of QNAP.Configuration Plugin VAAPI driver with: DefaultValue, i965, and iHD. All failing.

Error I am getting in the logs:
[AVHWDeviceContext @ 0x5555563ce4c0] Failed to initialise VAAPI connection: -1 (unknown libva error).
Device creation failed: -5.
Failed to set value 'vaapi=va:/dev/dri/renderD128' for option 'init_hw_device': Input/output error
Error parsing global options: Input/output error

Any help, whatelse I should be looking at, would be much appreciated!

Thanks!
JC

@chrisjace
Copy link
Author

I managed to solve the issue by adding the /opt/NVIDIA_GPU_DRV/usr/lib to LD_LIBRARY_PATH. I now have the hardware acceleration with Nvidia NVENC and my external PCIe GPU working! The following post was really helpful: https://forum.qnap.com/viewtopic.php?t=167052.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant