In my test, these packages in PPA fixed the problem.
add PPA and update & upgrade, the issue disappear.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libva in Ubuntu.
https://bugs.launchpad.net/bugs/1961484

Title:
  20.04.3: libva2 fails under Wayland (wl_drm@22: error 0: authenticate
  failed)

Status in libva package in Ubuntu:
  Confirmed

Bug description:
  In current 20.04.3 libva2 fails to authenticate connection to Wayland
  composer. This may be related to update of Mesa to 21.2.6. Any program
  using libva2 fails with

  bor@bor-Latitude-E5450:~$ vainfo
  wl_drm@7: error 0: authenticate failed
  VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)
  libva info: VA-API version 1.7.0
  libva error: vaGetDriverNameByIndex() failed with invalid VADisplay, 
driver_name = (null)
  vaInitialize failed with error code 3 (invalid VADisplay),exit
  bor@bor-Latitude-E5450:~$ 

  This is fixed in libva upstream in pull request
  https://github.com/intel/libva/pull/476

  I verified that upstream libva correctly works:

  bor@bor-Latitude-E5450:~/src/intel/libva-utils$ ./vainfo/vainfo
  libva info: VA-API version 1.15.0
  libva info: Trying to open /home/bor/pkg/lib/dri/iHD_drv_video.so
  libva info: va_openDriver() returns -1
  libva info: Trying to open /home/bor/pkg/lib/dri/i965_drv_video.so
  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
        VAProfileMPEG2Simple : VAEntrypointVLD
        VAProfileMPEG2Simple : VAEntrypointEncSlice
        VAProfileMPEG2Main : VAEntrypointVLD
        VAProfileMPEG2Main : VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline: VAEntrypointVLD
        VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
        VAProfileH264Main : VAEntrypointVLD
        VAProfileH264Main : VAEntrypointEncSlice
        VAProfileH264High : VAEntrypointVLD
        VAProfileH264High : VAEntrypointEncSlice
        VAProfileH264MultiviewHigh : VAEntrypointVLD
        VAProfileH264MultiviewHigh : VAEntrypointEncSlice
        VAProfileH264StereoHigh : VAEntrypointVLD
        VAProfileH264StereoHigh : VAEntrypointEncSlice
        VAProfileVC1Simple : VAEntrypointVLD
        VAProfileVC1Main : VAEntrypointVLD
        VAProfileVC1Advanced : VAEntrypointVLD
        VAProfileNone : VAEntrypointVideoProc
        VAProfileJPEGBaseline : VAEntrypointVLD
        VAProfileVP8Version0_3 : VAEntrypointVLD
  bor@bor-Latitude-E5450:~/src/intel/libva-utils$

  With *only* commit 283f776a9649dcef58b47958c1269499adfa1cd4 reverted

  bor@bor-Latitude-E5450:~/src/intel/libva-utils$ ./vainfo/vainfo
  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: vaGetDriverNameByIndex() failed with invalid VADisplay, 
driver_name = (null)
  vaInitialize failed with error code 3 (invalid VADisplay),exit
  bor@bor-Latitude-E5450:~/src/intel/libva-utils$

  Please update libva in 20.04.3 to match Mesa. This bug affects any
  application that is trying to use VAAPI for hardware acceleration.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libva2 2.7.0-2
  ProcVersionSignature: Ubuntu 5.13.0-30.33~20.04.1-lowlatency 5.13.19
  Uname: Linux 5.13.0-30-lowlatency x86_64
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Feb 19 19:16:15 2022
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-trusty-amd64-20140620-0
  InstallationDate: Installed on 2015-07-02 (2424 days ago)
  InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 
20140620-04:25
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: libva
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libva/+bug/1961484/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to