I get the same error on Ubuntu 20.04.3. The problem here is likely caused by Mesa drivers update to 21.2.6. Looks like Mesa 21 has changes in Wayland authentication and it requires fix to libva (https://github.com/intel/libva/pull/476). The fix should be present in libva 2.11 and above while Ubuntu 20.04.3 ships libva 2.6.
I verified it using compiled libva/libva-utils from current upstream git. with current upstream
I get the same error on Ubuntu 20.04.3. The problem here is likely caused by Mesa drivers update to 21.2.6. Looks like Mesa 21 has changes in Wayland authentication and it requires fix to libva (https:/ /github. com/intel/ libva/pull/ 476). The fix should be present in libva 2.11 and above while Ubuntu 20.04.3 ships libva 2.6.
I verified it using compiled libva/libva-utils from current upstream git. with current upstream
bor@bor- Latitude- E5450:~ /src/intel/ libva-utils$ ./vainfo/vainfo pkg/lib/ dri/iHD_ drv_video. so pkg/lib/ 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 H264MultiviewHi gh : VAEntrypointVLD H264MultiviewHi gh : VAEntrypointEnc Slice H264StereoHigh : VAEntrypointVLD H264StereoHigh : VAEntrypointEnc Slice VC1Simple : VAEntrypointVLD VC1Main : VAEntrypointVLD VC1Advanced : VAEntrypointVLD eoProc JPEGBaseline : VAEntrypointVLD VP8Version0_ 3 : VAEntrypointVLD Latitude- E5450:~ /src/intel/ libva-utils$
libva info: VA-API version 1.15.0
libva info: Trying to open /home/bor/
libva info: va_openDriver() returns -1
libva info: Trying to open /home/bor/
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.15 (libva 2.15.0.pre1)
vainfo: Driver version: Intel i965 driver for Intel(R) Broadwell - 2.4.0
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
VAProfile
VAProfile
bor@bor-
With *only* commit 283f776a9649dce f58b47958c12694 99adfa1cd4 reverted
bor@bor- Latitude- E5450:~ /src/intel/ libva-utils$ ./vainfo/vainfo ByIndex( ) failed with invalid VADisplay, driver_name = (null) Latitude- E5450:~ /src/intel/ libva-utils$
wl_drm@7: error 0: authenticate failed
VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)
libva info: VA-API version 1.15.0
libva error: vaGetDriverName
vaInitialize failed with error code 3 (invalid VADisplay),exit
bor@bor-
Please update libva/vainfo in 20.04.3 to match Mesa. I can open new bug for 20.04 if needed.