Public bug reported:

Hi there, please see here for further information:

https://github.com/intel/libva/issues/830

The package update to 2.22 breaks HW acceleration on Wayland:

```
$ env LIBVA_DRIVER_NAME=i965 vainfo                                             
                                                                                
   
Trying display: wayland
libva info: VA-API version 1.22.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_20
error: failed to resolve wl_drm_interface(): 
/lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
```

```
$ env LIBVA_DRIVER_NAME=i965 vainfo --display x11                               
                                                                                
  
Trying display: x11
libva info: VA-API version 1.22.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_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.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
```

Thank you.

** Affects: libva (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/2084823

Title:
  HW acceleration is broken on Wayland after libva 2.22.0 update

Status in libva package in Ubuntu:
  New

Bug description:
  Hi there, please see here for further information:

  https://github.com/intel/libva/issues/830

  The package update to 2.22 breaks HW acceleration on Wayland:

  ```
  $ env LIBVA_DRIVER_NAME=i965 vainfo                                           
                                                                                
     
  Trying display: wayland
  libva info: VA-API version 1.22.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_20
  error: failed to resolve wl_drm_interface(): 
/lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
  libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
  libva info: va_openDriver() returns -1
  vaInitialize failed with error code -1 (unknown libva error),exit
  ```

  ```
  $ env LIBVA_DRIVER_NAME=i965 vainfo --display x11                             
                                                                                
    
  Trying display: x11
  libva info: VA-API version 1.22.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_20
  libva info: va_openDriver() returns 0
  vainfo: VA-API version: 1.22 (libva 2.22.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
  ```

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libva/+bug/2084823/+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