WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: intel-vaapi-driver broken in wayland  (Read 60 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1662
intel-vaapi-driver broken in wayland
« on: October 06, 2025, 04:01:00 PM »
Hi Juanito. You are the maintainer of intel-vaapi-driver.tcz. I think it needs a patch in order to work in wayland (e.g., labwc).

I'm on TCL16.2 x86_64. I have this at the very top of my onboot.lst:
Code: [Select]
libva22.tcz
intel-vaapi-driver.tcz

If I boot into X (fluxbox), all is well:
Code: [Select]
$ vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_22
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
But if I boot into wayland (labwc)--same machine and same extensions loaded--I get this:
Code: [Select]
$ vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_22
error: failed to resolve wl_drm_interface(): /usr/local/lib/libEGL.so.1: undefined symbol: wl_drm_interface
libva error: /usr/local/lib/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Apparently libva 2.22.0 broke something and now this patch is needed for intel-vaapi-driver: https://github.com/intel/intel-vaapi-driver/pull/566

Would you be able to repackage intel-vaapi-driver.tcz with this patch?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15267
Re: intel-vaapi-driver broken in wayland
« Reply #1 on: October 06, 2025, 05:14:25 PM »
Sure, but it’ll have to wait until the weekend 🙂

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1662
Re: intel-vaapi-driver broken in wayland
« Reply #2 on: October 06, 2025, 11:11:29 PM »
No worries. Thank you.