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 … 9 Next »
Cannot transcode with Vaapi on intel GeminiLake [UHD Graphics 600]

 
  • 0 Vote(s) - 0 Average
Cannot transcode with Vaapi on intel GeminiLake [UHD Graphics 600]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#11
2022-09-29, 11:31 PM
I didn't know that, so you probably would need to add non-free.

deb http://deb.debian.org/debian bullseye main non-free

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#12
2022-09-30, 12:44 AM
vaapi did appear to be broken when I checked it this morning. Added non-free, and installing i965-va-driver-shaders did get it functioning.

I've updated a new docker build tagged nextpvr/nextpvr_amd64:prerelease
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#13
2022-09-30, 06:10 AM
Thanks sub, I tried that build but no luck. VAINFO produces the following:

root@c3dfca999de4:/app# 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@c3dfca999de4:/app#
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#14
2022-09-30, 07:02 AM
Hmm, that's odd. I installed it on my Synology NAS, and have vaapi is working there, and I've run a test to see it encode video

Quote:root@cb9016d04420:/app# 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 info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel i965 driver for Intel® Broxton - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
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
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD

You definitely included "--device /dev/dri:/dev/dri" on the docker container?
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#15
2022-09-30, 07:06 AM
Thanks sub, yes, dev/dri definitely included. I'll have another poke around in the morning (cooking dinner for the whanau right now) and post some logs if it still doesn't work.
prahal
Offline

Junior Member

France
Posts: 26
Threads: 2
Joined: Sep 2022
#16
2022-10-04, 01:16 PM
@sub i965-va-driver-shaders is in bullseye non-free. The image apt source misses the contrib and non-free required for this package.
In /etc/apt/sources.list
change:

Code:
deb http://deb.debian.org/debian bullseye main
to:
Code:
deb http://deb.debian.org/debian bullseye main contrib non-free
then:
Code:
apt update
I forgot about I changed it, sorry.
Dockerfile change, per https://stackoverflow.com/questions/4587...ebian-repo, ie:
Code:
RUN \
  sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list \
  && apt-get -q update


About the fact it should have worked before, maybe the other distribution your previous image was built upon shipped a different i965-va-driver than Debian.
But on Debian, there was no recent change in the packaging and they have had this issue for a long time https://bugs.debian.org/cgi-bin/bugrepor...bug=910486 . But maybe your hardware and video profile combination work without the missing shaders. Or your video stream codec is not affected by the missing shaders.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#17
2022-10-04, 01:23 PM
@prahal did you try sub's pre-release https://forums.nextpvr.com/showthread.ph...#pid575190 where added non-free?

Martin
prahal
Offline

Junior Member

France
Posts: 26
Threads: 2
Joined: Sep 2022
#18
2022-10-04, 02:46 PM
@sub sorry for the spurious reply, I was still on page 1 of the thread.

@mvallevand yes, prerelease tag works fine.

Thank you!
prahal
Offline

Junior Member

France
Posts: 26
Threads: 2
Joined: Sep 2022
#19
2022-10-04, 02:55 PM
@PaddytheKiwi my vainfo is fine.
Previous i965-va-driver and i965-va-driver-shaders are the same source with a few added binary shaders. Was current stable NextPVR image working for you (ie with i965-va-driver)?
What is your lspci Intel graphic card (from host OS)? Mine is:
Code:
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 600] (rev 03)


Code:
root@argos:/app# 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 info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Gemini Lake - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main              : VAEntrypointVLD
      VAProfileH264Main              : VAEntrypointEncSlice
      VAProfileH264Main              : VAEntrypointEncSliceLP
      VAProfileH264High              : VAEntrypointVLD
      VAProfileH264High              : VAEntrypointEncSlice
      VAProfileH264High              : VAEntrypointEncSliceLP
      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
      VAProfileHEVCMain10            : VAEntrypointVLD
      VAProfileHEVCMain10            : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSlice
      VAProfileVP9Profile2            : VAEntrypointVLD
PaddytheKiwi
Offline

Junior Member

New Zealand
Posts: 15
Threads: 1
Joined: Apr 2021
#20
2022-10-05, 08:57 PM
Thanks prahal, mine is

00:02.0 VGA compatible controller: Intel Corporation Device 4c8a (rev 04)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Add Intel iHD Driver to Docker Image for NextPVR thelanofvilles 8 1,471 2024-06-16, 08:10 PM
Last Post: thelanofvilles
  Vaapi on Intel 11th Gen integrated graphics PaddytheKiwi 10 3,642 2022-04-17, 08:40 PM
Last Post: PaddytheKiwi

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

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

Linear Mode
Threaded Mode