[Bug 266875] multimedia/libva-utils: VAAPI X11 driver only works as root

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Oct 2022 08:44:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266875

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(jbeich |maintainer-feedback+,
                   |@FreeBSD.org)               |maintainer-feedback?(x11@Fr
                   |                            |eeBSD.org)
           Assignee|jbeich@FreeBSD.org          |x11@FreeBSD.org
                 CC|                            |x11@FreeBSD.org

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to edenist-fbz from comment #0)
> FreeBSD: 12.3-STABLE FreeBSD 12.3-STABLE stable/12-3a9e60169ee GENERIC  amd64
> libva-utils: libva-utils-2.15.0  (built via poudriere)

I can't reproduce inside 12.3-RELEASE amd64 jail under 14.0-CURRENT amd64 host
with Skylake GT2 (aka HD530).

> recently noticed VAAPI wasn't being used with mpv anymore

How recently? Can you bisect? Possible candidates are ports 0fe260b63e82, libva
updates, libdrm updates and xorg-server updates. However, drm-fbsd12.0-kmod is
ancient, so maybe the issue is somewhere else.

> get chip id failed: -1 [13]
> param: 4, val: 0

Diagnostic from libdrm: DRM_IOCTL_I915_GETPARAM for I915_PARAM_CHIPSET_ID
failed with EPERM.
libva-x11 uses DRI2 for authentication as DRI3 (similar to Wayland) requires
libva >= 2.17 (unreleased).

Over to x11@. I'm not familar with Xorg and can't test drm-fbsd12.0-kmod (not
supported on -CURRENT).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.