Yes. My Thinkpad T460p has two video card, one is nvidia (not not helpful for video decoder/encoder), and another is the intel video card.
>> You may confirm this with "snap run --shell chromium", and then contrast "vainfo" with "LIBVA_DRIVERS_PATH=/snap/chromium/current/usr/lib/x86_64-linux-gnu/dri/ vainfo".
It is an interesting result:
snap run --shell chromium
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
>> Also, I guess you have Nvidia GPU?
Yes. My Thinkpad T460p has two video card, one is nvidia (not not helpful for video decoder/encoder), and another is the intel video card.
>> You may confirm this with "snap run --shell chromium", and then contrast "vainfo" with "LIBVA_ DRIVERS_ PATH=/snap/ chromium/ current/ usr/lib/ x86_64- linux-gnu/ dri/ vainfo".
It is an interesting result:
snap run --shell chromium
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
redux@redux: /home/redux/ Downloads$ LIBVA_DRIVERS_ PATH=/snap/ chromium/ current/ usr/lib/ x86_64- linux-gnu/ dri/ vainfo current/ usr/lib/ x86_64- linux-gnu/ dri//iHD_ drv_video. so eoProc MPEG2Simple : VAEntrypointVLD MPEG2Simple : VAEntrypointEnc Slice MPEG2Main : VAEntrypointVLD MPEG2Main : VAEntrypointEnc Slice 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 HEVCMain : VAEntrypointVLD HEVCMain : VAEntrypointEnc Slice HEVCMain : VAEntrypointFEI
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'iHD'
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
Strang, it finds the proper driver, so the following line impact this in the run time.
https:/ /github. com/ubuntu/ snapcraft- desktop- helpers/ blob/ec861254c2 a1d2447b2c58944 6e6cdf04c75c260 /common/ desktop- exports# L89-L95
My native working environment :
vainfo: VA-API version: 1.14 (libva 2.14.0), but snap
vainfo: VA-API version: 1.14 (libva 2.6.0)
Is there a way to solve this?