My T460p really has 2 video card: one is Nvidia another is intel. This is the reason I set iHD in the environment. My native chromium is able to work, I am not sure which kind of driver or configuration takes action.
Today I switch an old N3450 pure intel machine.
The native machine vainfo output. It seems everything is OK, my chrome/chromium both support video hardware decode.
###
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.14.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
###
Here I used the latest snap : Successfully built on lcy02-amd64-062
Result:
Gtk-Message: 09:52:13.084: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:52:13.088: Failed to load module "canberra-gtk-module"
libva info: VA-API version 1.14.0
libva info: Trying to open /snap/chromium/x1/usr/lib/x86_64-linux-gnu/dri//iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
[20720:20720:0706/095213.442312:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is egl, ANGLE is
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
[20591:20689:0706/095217.052042:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
chomium/current/usr/lib/x86_64-linux-gnu/dri/ chromium --enable-features=VaapiVideoDecoder
Gtk-Message: 09:53:53.666: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:53:53.670: Failed to load module "canberra-gtk-module"
libva info: VA-API version 1.14.0
libva info: Trying to open /snap/chromium/x1/usr/lib/x86_64-linux-gnu/dri//iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
[21323:21420:0706/095357.511707:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
Video Acceleration Information
Decoding
Encoding
It keeps the same as previous. No video decoder.
I use the shell to get more libva inform
snap run --shell chromium
LIBVA_DRIVERS_PATH=/snap/chromium/current/usr/lib/x86_64-linux-gnu/dri/ vainfo
vainfo: VA-API version: 1.14 (libva 2.6.0) <<== this is the problem.
I know the chromium/chrome required the latest 2.14 libva, but it does not understand why libva 2.6.0 happened here.
Would you take a look?
In fact, I also took hours/days to make my notebook, old N3450 to get video decodeing. And then I got final success. With your snap version support, I pretty sure lots of users like me will save these hours/days just snap install, it will be a great contribution.
Thank you for going on the snap.
My T460p really has 2 video card: one is Nvidia another is intel. This is the reason I set iHD in the environment. My native chromium is able to work, I am not sure which kind of driver or configuration takes action.
Today I switch an old N3450 pure intel machine.
The native machine vainfo output. It seems everything is OK, my chrome/chromium both support video hardware decode. x86_64- linux-gnu/ dri/iHD_ drv_video. so MPEG2Simple : VAEntrypointVLD MPEG2Main : VAEntrypointVLD H264Main : VAEntrypointVLD H264Main : VAEntrypointEnc SliceLP H264High : VAEntrypointVLD H264High : VAEntrypointEnc SliceLP JPEGBaseline : VAEntrypointVLD JPEGBaseline : VAEntrypointEnc Picture H264Constrained Baseline: VAEntrypointVLD H264Constrained Baseline: VAEntrypointEnc SliceLP VP8Version0_ 3 : VAEntrypointVLD HEVCMain : VAEntrypointVLD HEVCMain10 : VAEntrypointVLD VP9Profile0 : VAEntrypointVLD
###
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.14.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
###
Here I used the latest snap : Successfully built on lcy02-amd64-062
LIBVA_MESSAGING _LEVEL= 2 LIBVA_DRIVERS_ PATH=/snap/ chromium/ current/ usr/lib/ x86_64- linux-gnu/ dri/ chromium --use-gl=egl --enable- features= VaapiVideoDecod er,VaapiVideoEn coder --disable- features= UseChromeOSDire
Result: gtk-module" gtk-module" x1/usr/ lib/x86_ 64-linux- gnu/dri/ /iHD_drv_ video.so 20720:0706/ 095213. 442312: ERROR:gpu_ init.cc( 486)] Passthrough is not supported, GL is egl, ANGLE is 20689:0706/ 095217. 052042: ERROR:udev_ watcher. cc(98)] Failed to begin udev enumeration.
Gtk-Message: 09:52:13.084: Failed to load module "canberra-
Gtk-Message: 09:52:13.088: Failed to load module "canberra-
libva info: VA-API version 1.14.0
libva info: Trying to open /snap/chromium/
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
[20720:
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
[20591:
In this log no problem. (Good to see)
But in about:gpu
Video Acceleration Information
Decoding
Encoding
Encode h264 baseline 321x241 to 4096x4096 pixels, and/or 30.000 fps
Encode h264 main 321x241 to 4096x4096 pixels, and/or 30.000 fps
Encode h264 high 321x241 to 4096x4096 pixels, and/or 30.000 fps
Encode vp8 321x241 to 4096x4096 pixels, and/or 30.000 fps
Only have encoding ability, without decoding. (I more care of decoding)
LIBVA_MESSAGING _LEVEL= 2 LIBVA_DRIVERS_ PATH=/snap/ chromium/ current/ usr/lib/ x86_64- linux-gnu/ dri/ chromium --enable- features= VaapiVideoDecod er
The result:
chomium/ current/ usr/lib/ x86_64- linux-gnu/ dri/ chromium --enable- features= VaapiVideoDecod er gtk-module" gtk-module" x1/usr/ lib/x86_ 64-linux- gnu/dri/ /iHD_drv_ video.so 21420:0706/ 095357. 511707: ERROR:udev_ watcher. cc(98)] Failed to begin udev enumeration.
Gtk-Message: 09:53:53.666: Failed to load module "canberra-
Gtk-Message: 09:53:53.670: Failed to load module "canberra-
libva info: VA-API version 1.14.0
libva info: Trying to open /snap/chromium/
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
WARNING: Kernel has no file descriptor comparison support: Operation not permitted
[21323:
Video Acceleration Information
Decoding
Encoding
It keeps the same as previous. No video decoder.
I use the shell to get more libva inform
snap run --shell chromium PATH=/snap/ chromium/ current/ usr/lib/ x86_64- linux-gnu/ dri/ vainfo
LIBVA_DRIVERS_
### current/ usr/lib/ x86_64- linux-gnu/ dri//iHD_ drv_video. so eoProc MPEG2Simple : VAEntrypointVLD MPEG2Main : VAEntrypointVLD H264Main : VAEntrypointVLD H264Main : VAEntrypointEnc Slice H264Main : VAEntrypointFEI H264Main : VAEntrypointEnc SliceLP H264High : VAEntrypointVLD H264High : VAEntrypointEnc Slice H264High : VAEntrypointFEI H264High : VAEntrypointEnc SliceLP VC1Simple : VAEntrypointVLD VC1Main : VAEntrypointVLD VC1Advanced : VAEntrypointVLD JPEGBaseline : VAEntrypointVLD JPEGBaseline : VAEntrypointEnc Picture H264Constrained Baseline: VAEntrypointVLD H264Constrained Baseline: VAEntrypointEnc Slice H264Constrained Baseline: VAEntrypointFEI H264Constrained Baseline: VAEntrypointEnc SliceLP VP8Version0_ 3 : VAEntrypointVLD VP8Version0_ 3 : VAEntrypointEnc Slice HEVCMain : VAEntrypointVLD HEVCMain : VAEntrypointEnc Slice HEVCMain : VAEntrypointFEI HEVCMain10 : VAEntrypointVLD VP9Profile0 : VAEntrypointVLD
libva info: VA-API version 1.14.0
libva info: Trying to open /snap/chromium/
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.3 (dc9d9f7)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVid
VAProfileNone : VAEntrypointStats
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
###
It seems ok, but
vainfo: VA-API version: 1.14 (libva 2.6.0) <<== this is the problem.
I know the chromium/chrome required the latest 2.14 libva, but it does not understand why libva 2.6.0 happened here.
Would you take a look?
In fact, I also took hours/days to make my notebook, old N3450 to get video decodeing. And then I got final success. With your snap version support, I pretty sure lots of users like me will save these hours/days just snap install, it will be a great contribution.