* [ISSUE] i950 VAAPI is broken in wayland
@ 2024-12-10 2:27 FoundOne
2024-12-11 1:27 ` i965 " zlice
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: FoundOne @ 2024-12-10 2:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
New issue by FoundOne on void-packages repository
https://github.com/void-linux/void-packages/issues/53443
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
```$ 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/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
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
@ 2024-12-11 1:27 ` zlice
2024-12-11 13:10 ` FoundOne
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: zlice @ 2024-12-11 1:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 657 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2533412714
Comment:
swear i remember i came across another i965 bug for after libva 1.21 or something but i'm not finding it. and what i did find doesn't mention wl_drm_interface. could try downgrading libva? (may have been this? https://github.com/intel/libva/issues/830)
the issue you have mentions https://github.com/clearlinux/distribution/issues/3166#issuecomment-2257682682 `LIBVA_DRIVER_NAME=i965` - you have that set right?
there's a mesa issue open right now for 24.3.1, but 24.2.7 has no wl_drm_interface mention either
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
2024-12-11 1:27 ` i965 " zlice
@ 2024-12-11 13:10 ` FoundOne
2024-12-11 13:18 ` zlice
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: FoundOne @ 2024-12-11 13:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
New comment by FoundOne on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2535951033
Comment:
I'm pretty sure I have `LIBVA_DRIVER_NAME=i965` set in my `~/.bash_profile`. The iHD driver just segfaults I think. The issue is that it's a fresh install, so I'm not sure I have that old package to rollback.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
2024-12-11 1:27 ` i965 " zlice
2024-12-11 13:10 ` FoundOne
@ 2024-12-11 13:18 ` zlice
2024-12-18 3:29 ` dodidev
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: zlice @ 2024-12-11 13:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2535971441
Comment:
ya you probably have to rebuild it. bit of a pain if you don't have the xbps-src/void-packages repo set up, buf i you do it's just changing the version number and the hash and `./xbps-src pkg libva && sudo xbps-install -R hostdir/binpkgs/ -f libva` or `xdowngrade hostdir/binpkgs/libva....xbps`
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (2 preceding siblings ...)
2024-12-11 13:18 ` zlice
@ 2024-12-18 3:29 ` dodidev
2024-12-18 3:29 ` dodidev
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dodidev @ 2024-12-18 3:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]
New comment by dodidev on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2550235525
Comment:
After i rebuild the driver i got this error message:
`❯ vainfo
Trying display: wayland
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.4.0.pre1 (2.3.0-39-gfd727a4)
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`
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (3 preceding siblings ...)
2024-12-18 3:29 ` dodidev
@ 2024-12-18 3:29 ` dodidev
2024-12-18 3:31 ` dodidev
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dodidev @ 2024-12-18 3:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
New comment by dodidev on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2550235525
Comment:
After i rebuild the driver i got this error message:
❯ vainfo
Trying display: wayland
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.4.0.pre1 (2.3.0-39-gfd727a4)
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (4 preceding siblings ...)
2024-12-18 3:29 ` dodidev
@ 2024-12-18 3:31 ` dodidev
2024-12-18 18:15 ` zlice
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dodidev @ 2024-12-18 3:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]
New comment by dodidev on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2550235525
Comment:
After i rebuild the driver i got this error message:
```bash
❯ vainfo
Trying display: wayland
error: failed to resolve wl_drm_interface(): /usr/lib/libEGL_mesa.so.0: undefined symbol: wl_drm_interface
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.4.0.pre1 (2.3.0-39-gfd727a4)
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
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (5 preceding siblings ...)
2024-12-18 3:31 ` dodidev
@ 2024-12-18 18:15 ` zlice
2024-12-25 21:07 ` virtualistic
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: zlice @ 2024-12-18 18:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New comment by zlice on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2551980586
Comment:
that says 1.22 still. did you try 1.21?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (6 preceding siblings ...)
2024-12-18 18:15 ` zlice
@ 2024-12-25 21:07 ` virtualistic
2025-01-12 8:13 ` mubarokila
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: virtualistic @ 2024-12-25 21:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2384 bytes --]
New comment by virtualistic on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2562000118
Comment:
I'm running Arch on an old Lenovo Flex2-15 and stumbled here after seeing similar errors after running `vainfo` .
(background: Was able to get some gpu-offloading by using the mpv-firefox-youtube workaround, playing native from firefox doesn't seem to work according to intel_gpu_top.)
anyway...
I downgraded the libva package running:
```bash
sudo pacman -U https://archive.archlinux.org/packages/l/libva/libva-2.21.0-1-x86_64.pkg.tar.zst
```
I also see the same version info
```bash $ vainfo
Trying display: wayland
vainfo: VA-API version: 1.21 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell 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
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
```
Relevant packages installed:
```bash
intel-gmmlib 22.5.4-1
intel-gpu-tools 1.29-1
intel-media-driver 24.4.4-1
intel-ucode 20241112-1
libva-intel-driver 2.4.1-3
mesa 1:24.3.2-1
```
(I guess the intel-media-driver is not needed because of the Haswell CPU used in the laptop)
.bashrc contains the proper entries:
```bash
export LIBVA_DRIVER_NAME=i965
export LIBVA_DRIVERS_PATH=/usr/lib/dri
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (7 preceding siblings ...)
2024-12-25 21:07 ` virtualistic
@ 2025-01-12 8:13 ` mubarokila
2025-01-13 18:59 ` virtualistic
2025-01-13 18:59 ` virtualistic
10 siblings, 0 replies; 12+ messages in thread
From: mubarokila @ 2025-01-12 8:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 521 bytes --]
New comment by mubarokila on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2585635421
Comment:
> ya you probably have to rebuild it. bit of a pain if you don't have the xbps-src/void-packages repo set up, buf i you do it's just changing the version number and the hash and `./xbps-src pkg libva && sudo xbps-install -R hostdir/binpkgs/ -f libva` or `xdowngrade hostdir/binpkgs/libva....xbps`
I downgraded to version 1.21.0, and that resolved the issue for me. thanks
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (8 preceding siblings ...)
2025-01-12 8:13 ` mubarokila
@ 2025-01-13 18:59 ` virtualistic
2025-01-13 18:59 ` virtualistic
10 siblings, 0 replies; 12+ messages in thread
From: virtualistic @ 2025-01-13 18:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]
New comment by virtualistic on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2562000118
Comment:
I'm running Arch on an old Lenovo Flex2-15 and stumbled here after seeing similar errors after running `vainfo` .
(background: Was able to get some gpu-offloading by using the mpv-firefox-youtube workaround, playing native from firefox doesn't seem to work according to intel_gpu_top.)
anyway...
I downgraded the libva package running:
```bash
sudo pacman -U https://archive.archlinux.org/packages/l/libva/libva-2.21.0-1-x86_64.pkg.tar.zst
```
I see this version info after the downgrade
```bash $ vainfo
Trying display: wayland
vainfo: VA-API version: 1.21 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell 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
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
```
Relevant packages installed:
```bash
intel-gmmlib 22.5.4-1
intel-gpu-tools 1.29-1
intel-media-driver 24.4.4-1
intel-ucode 20241112-1
libva-intel-driver 2.4.1-3
mesa 1:24.3.2-1
```
(I guess the intel-media-driver is not needed because of the Haswell CPU used in the laptop)
.bashrc contains the proper entries:
```bash
export LIBVA_DRIVER_NAME=i965
export LIBVA_DRIVERS_PATH=/usr/lib/dri
```
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: i965 VAAPI is broken in wayland
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
` (9 preceding siblings ...)
2025-01-13 18:59 ` virtualistic
@ 2025-01-13 18:59 ` virtualistic
10 siblings, 0 replies; 12+ messages in thread
From: virtualistic @ 2025-01-13 18:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2389 bytes --]
New comment by virtualistic on void-packages repository
https://github.com/void-linux/void-packages/issues/53443#issuecomment-2562000118
Comment:
I'm running Arch on an old Lenovo Flex2-15 and stumbled here after seeing similar errors after running `vainfo` .
(background: Was able to get some gpu-offloading by using the mpv-firefox-youtube workaround, playing native from firefox doesn't seem to work according to intel_gpu_top.)
anyway...
I downgraded the libva package running:
```bash
sudo pacman -U https://archive.archlinux.org/packages/l/libva/libva-2.21.0-1-x86_64.pkg.tar.zst
```
I see this info after the downgrade
```bash $ vainfo
Trying display: wayland
vainfo: VA-API version: 1.21 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell 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
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
```
Relevant packages installed:
```bash
intel-gmmlib 22.5.4-1
intel-gpu-tools 1.29-1
intel-media-driver 24.4.4-1
intel-ucode 20241112-1
libva-intel-driver 2.4.1-3
mesa 1:24.3.2-1
```
(I guess the intel-media-driver is not needed because of the Haswell CPU used in the laptop)
.bashrc contains the proper entries:
```bash
export LIBVA_DRIVER_NAME=i965
export LIBVA_DRIVERS_PATH=/usr/lib/dri
```
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-01-13 18:59 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-10 2:27 [ISSUE] i950 VAAPI is broken in wayland FoundOne
2024-12-11 1:27 ` i965 " zlice
2024-12-11 13:10 ` FoundOne
2024-12-11 13:18 ` zlice
2024-12-18 3:29 ` dodidev
2024-12-18 3:29 ` dodidev
2024-12-18 3:31 ` dodidev
2024-12-18 18:15 ` zlice
2024-12-25 21:07 ` virtualistic
2025-01-12 8:13 ` mubarokila
2025-01-13 18:59 ` virtualistic
2025-01-13 18:59 ` virtualistic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).