void-linux / void-linux/void-packages

i965 VAAPI is broken in wayland

Open
#53,443 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void x86_64 river (wlroots) Intel i3-2330M

Package(s) Affected

libva

Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://github.com/intel/intel-vaapi-driver/issues/419

Expected behaviour

vainfo should give all the hardware codecs

Actual behaviour

vainfo looks for a symbol wl_drm_interface in /usr/lib/libEGL_mesa.so.0, can't find it and fails.

Steps to reproduce
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/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_9
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
libva error: /usr/lib/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported vainfo command and compare its Wayland output with the linked upstream intel-vaapi-driver issue. Trace the affected libva package and driver initialization around the missing wl_drm_interface symbol; done means vainfo initializes successfully and reports the available hardware codecs on this system.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.