NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 2 3 4 5 6 … 9 Next »
Vaapi on Intel 11th Gen integrated graphics

 
  • 0 Vote(s) - 0 Average
Vaapi on Intel 11th Gen integrated graphics
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#1
2021-11-21, 03:56 AM
Hi

Has anybody managed to get this working for transcoding?  I'm running NextPVR in a Docker container on OMV, VAAPI doesn't seem to want to play.  Works fine on my 6th Gen i7!

TIA

PTK
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#2
2021-11-21, 04:02 AM
You need to make sure omv adds h/w support to the host which is not the default.  Then make sure /dev/dri is passed to Docker and finally upload your zipped logs.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2021-11-21, 04:02 AM
are you mapping /dev/dri into your docker container?
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#4
2021-11-21, 05:05 AM
Apologies, I should have been clearer.  I have mapped /dev/dri through to the container, it's basically the same config that works fine on my old gen 6.

Logs attached, first attempt just now is with VAAPI enabled, second is with CPU transcoding.

Thanks again

PTK


Attached Files
.zip   logs-20211121-0502.zip (Size: 291.28 KB / Downloads: 3)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#5
2021-11-21, 05:19 AM
It is failing for sure,

2021-11-21 05:01:12.793 [DEBUG][20] [FFMPEG]: ffmpeg: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr' failed.

It could be a a lot of things, did you confirm that VAAPI works on the host?

Martin
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#6
2021-11-21, 05:46 AM
Thanks Martin, unfortunately that's where my knowledge starts to run dry. Could you point me in the right direction, not sure how to test if VAAPI is working on the host...
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#7
2021-11-21, 06:44 PM
This may be relevant... When I run vainfo in the console (using Portainer) on the nextpvr container on my old (6th gen) PC it returns:

root@4c9f3dda3a2a:/app# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel® Skylake - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointStats
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointStats
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointStats
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
root@4c9f3dda3a2a:/app#

Running the same command on the new setup however produces a very different restlt:

root@0b19ed5ed06f:/app# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
vainfo: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr' failed.
Aborted (core dumped)
root@0b19ed5ed06f:/app#

Does this suggest a driver issue?

Thanks again

PTK
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#8
2021-11-21, 07:02 PM
One more thing... Running vainfo on the host produces this ourput:

root@dub2:~# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
root@dub2:~#
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#9
2021-11-21, 08:01 PM
Further Update:
VAAPI is now working on the host. I loaded drivers from here: https://dgpu-docs.intel.com/installation...focal.html and vainfo now returns about 100 profiles!

Still not working however on the container. I tried to do tne same installation but got the following messages:

root@0b19ed5ed06f:/app# apt-get install \
> intel-opencl-icd \
> intel-level-zero-gpu level-zero \
> intel-media-va-driver-non-free libmfx1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
intel-level-zero-gpu : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
Depends: libgcc-s1 (>= 3.4) but it is not installable
Depends: libigdgmm11 (>= 21.2.2+i620~u20.04) but it is not going to be installed
Depends: libigc1 (>= 1.0.8517) but it is not going to be installed
Depends: libigdfcl1 (>= 1.0.8517) but it is not going to be installed
intel-media-va-driver-non-free : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libigdgmm11 (>= 21.2.2+i620~u20.04) but it is not going to be installed
intel-opencl-icd : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
Depends: libgcc-s1 (>= 3.4) but it is not installable
Depends: libigdgmm11 (>= 21.2.2+i620~u20.04) but it is not going to be installed
Depends: libstdc++6 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: libigc1 (>= 1.0.8517) but it is not going to be installed
Depends: libigdfcl1 (>= 1.0.8517) but it is not going to be installed
Recommends: intel-igc-cm (>= 1.0.1) but it is not going to be installed
level-zero : Depends: libgcc-s1 (>= 3.0) but it is not installable
libmfx1 : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.4 is to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

root@0b19ed5ed06f:/app# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
vainfo: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr' failed.
Aborted (core dumped)
root@0b19ed5ed06f:/app#

I'm dead in the water again!
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#10
2021-11-22, 07:16 PM
Martin/sub, I wouldn't waste any time on this on my account. CPU transcoding is working well for the limited times I'm viewing using anything other than Kodi.

Thanks

PTK
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot transcode with Vaapi on intel GeminiLake [UHD Graphics 600] prahal 38 5,718 2024-11-04, 08:23 PM
Last Post: sub
  Add Intel iHD Driver to Docker Image for NextPVR thelanofvilles 8 1,245 2024-06-16, 08:10 PM
Last Post: thelanofvilles

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode