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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Jan Beich <[email protected]> has asked freebsd-x11 (Nobody) <[email protected]>
for maintainer-feedback:
Bug 266875: multimedia/libva-utils: VAAPI X11 driver only works as root
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266875



--- Comment #1 from Jan Beich <[email protected]> ---
(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).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.