void-linux / void-linux/void-packages

libva-intel-driver (i965) not working in Wayland

Open
#62,265 0 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?

No

System Info

Void 6.18.48_1 x86_64 GenuineIntel uptodate rrrrrrmmFFFF

Package(s) Affected

libva-intel-driver-2.4.1_1

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

https://github.com/void-linux/void-packages/issues/53443#issuecomment-2562000118
https://github.com/intel/intel-vaapi-driver/issues/419

Expected behaviour

vainfo --display wayland should show supported VAAPI profiles and entrypoints for the i965 driver, same as it does on X11.

Actual behaviour

vainfo --display wayland does instead:

Trying display: wayland
libva info: VA-API version 1.24.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/lib64/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/lib64/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Steps to reproduce
  1. Install libva-intel-driver (im on KDE plasma but i dont think thats related)
  2. Run vainfo --display wayland
  3. you will see the wl_drm_interface error

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 failure with vainfo --display wayland using libva-intel-driver-2.4.1_1, then inspect the reported i965_drv_video.so initialization failure and the libEGL_mesa.so.0 symbol error. Read the linked Void Linux and intel-vaapi-driver reports before choosing an approach. Done means the i965 driver initializes under Wayland and vainfo lists its supported profiles and entrypoints.

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
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.