It does not work again on Ubuntu 22.04 LTS with i965. I am not sure whether i965_drv_video.so is packaged with the snap or not.
If I do:
```
troels@troels-ThinkPad-X230-Tablet:~$ LIBVA_DRIVER_NAME=i965 vainfo
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
```
However, if it force the iHD driver:
```
troels@troels-ThinkPad-X230-Tablet:~$ LIBVA_DRIVER_NAME=iHD vainfo
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit
```
So my computer does not work with the iHD driver, that I think the snap comes packaged with. Maybe I by mistake in Ubuntu 21.10 was using the normal packaged version of Firefox, which enabled me to use the i965 VA driver.
It does not work again on Ubuntu 22.04 LTS with i965. I am not sure whether i965_drv_video.so is packaged with the snap or not.
If I do: troels- ThinkPad- X230-Tablet: ~$ LIBVA_DRIVER_ NAME=i965 vainfo x86_64- linux-gnu/ dri/i965_ drv_video. so MPEG2Simple : VAEntrypointVLD MPEG2Simple : VAEntrypointEnc Slice MPEG2Main : VAEntrypointVLD MPEG2Main : VAEntrypointEnc Slice H264Constrained Baseline: VAEntrypointVLD H264Constrained Baseline: VAEntrypointEnc Slice H264Main : VAEntrypointVLD H264Main : VAEntrypointEnc Slice H264High : VAEntrypointVLD H264High : VAEntrypointEnc Slice H264StereoHigh : VAEntrypointVLD VC1Simple : VAEntrypointVLD VC1Main : VAEntrypointVLD VC1Advanced : VAEntrypointVLD eoProc JPEGBaseline : VAEntrypointVLD
```
troels@
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
VAProfile
```
However, if it force the iHD driver:
``` troels- ThinkPad- X230-Tablet: ~$ LIBVA_DRIVER_ NAME=iHD vainfo x86_64- linux-gnu/ dri/iHD_ drv_video. so x86_64- linux-gnu/ dri/iHD_ drv_video. so init failed
troels@
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_14
libva error: /usr/lib/
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit
```
So my computer does not work with the iHD driver, that I think the snap comes packaged with. Maybe I by mistake in Ubuntu 21.10 was using the normal packaged version of Firefox, which enabled me to use the i965 VA driver.