Summary: | multimedia/libva should give "unsupported" status on unsupported hardware | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | sasamotikomi |
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> |
Status: | Closed Not A Bug | ||
Severity: | Affects Some People | Flags: | jbeich:
maintainer-feedback+
|
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
sasamotikomi
2023-06-20 22:00:56 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b60e04bce0e505ecff0b60ba9656e14d14be4b9 commit 9b60e04bce0e505ecff0b60ba9656e14d14be4b9 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-06-21 11:40:52 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-06-21 11:44:47 +0000 multimedia/libva-intel-driver: drop unsupported i915 symlink i915 OpenGL driver only covers Gen3 but i965 VA-API requires Gen4+. libva maps crocus/iris OpenGL on Gen4+ to i965 VA-API. https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-22.3.7/include/pci_ids/i915_pci_ids.h https://github.com/intel/intel-vaapi-driver/blob/2.4.1/src/i965_pciids.h#L27-L33 https://github.com/intel/libva/blob/2.18.0/va/x11/va_x11.c#L56-L57 This reverts commit d0cbba0ef619ceda900d53d3763d5f401f2a910b. PR: 272109 multimedia/libva-intel-driver/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) File a bug upstream. On X11 mapping is done based on OpenGL (DRI2) driver name (e.g., crocus from mesa-dri) while on KMS console or Wayland it's based on kernel driver name (e.g., i915 from drm-kmod). That filters based on GPU vendor but the actual support is determined by trying to init VA-API driver(s). https://github.com/intel/libva/blob/2.18.0/va/x11/va_x11.c#L56-L57 https://github.com/intel/libva/blob/2.18.0/va/drm/va_drm_utils.c#L40-L41 |