Skip to content

Error initialising vaapi on Gnome Wayland #7

@darren-steven

Description

@darren-steven

I know this issue might be broader than just this app, but I think vaapi is working on other apps under wayland (vlc for example)

chromium-vaapi-70.0.3538.77-1.fc29.x86_64.rpm from rpmfusion koji
Hardware Intel Skylake

$ chromium-vaapi
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
[22955:22955:1116/104946.418564:ERROR:vaapi_wrapper.cc(328)] vaInitialize failed: unknown libva error

  • Defaults to software decoder in youtube

Works fine in Gnome X11 session (I see GPU decoder selected in chrome://media-internals for youtube)

vaainfo reports same info on wayland and X11

$ vainfo
libva info: VA-API version 1.3.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_3
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.3 (libva 2.3.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.2.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions