Bug 232737 - [graphics/mesa-dri]Incorrect config help for VAAPI
Summary: [graphics/mesa-dri]Incorrect config help for VAAPI
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-x11 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-27 03:38 UTC by rkoberman
Modified: 2019-08-08 09:03 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
Corrected VAAPI/VDPAU config help (398 bytes, text/plain)
2018-10-27 03:38 UTC, rkoberman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rkoberman 2018-10-27 03:38:31 UTC
Created attachment 198685 [details]
Corrected VAAPI/VDPAU config help

The config help for graphics/mesa-dri is incorrect for the VAAPI option. I am attaching what I believe is correct text.
Comment 1 Jan Beich freebsd_committer 2018-11-03 07:11:01 UTC
1. Changes have to be submitted in unified diff(1) format.
2. VDPAU/VAAPI in mesa-dri is for Gallium drivers but i915/i965 are not
3. VDPAU is only supported by r300, r600, radeonsi, nouveau
4. VAAPI is only supported by r600, radeonsi, nouveau
5. drm-kmod meta port may select drm-legacy-kmod which lacks VDPAU/VAAPI
6. bug 230298 already updates pkg-help to match recent state
Comment 2 Johannes Lundberg 2018-11-03 09:37:29 UTC
Sorry Jan that's not correct.

Correction:
VAAPI is hardware decoding for Intel GPUs.
VDPAU is dito for Radeon and Nvidia.
Comment 3 Jan Beich freebsd_committer 2018-11-03 10:12:12 UTC
(In reply to Johannes Lundberg from comment #2)
VAAPI on Intel requires multimedia/libva-intel-driver
VAAPI on NVIDIA requires multimedia/libva-vdpau-driver
VDPAU on NVIDIA requires nvidia-driver + multimedia/libvdpau

See also https://www.phoronix.com/scan.php?page=news_item&px=Intel-Iris-Gallium
Comment 4 Johannes Lundberg 2018-11-03 10:34:07 UTC
Yes I missed that nouvou (or however it’s spelled) does support vaapi as well.
Comment 5 Jan Beich freebsd_committer 2018-11-05 21:13:35 UTC
(In reply to Jan Beich from comment #3)
> VAAPI on Intel requires multimedia/libva-intel-driver

More options based on https://wiki.archlinux.org/index.php/Hardware_video_acceleration
- multimedia/libva-intel-driver can partially accelerate VP9 decoding/VP8 encoding via multimedia/libva-intel-hybrid-driver
- multimedia/libva-intel-driver can be replaced (on Broadwell or newer) with multimedia/libva-intel-media-driver (LIBVA_DRIVER_NAME=iHD)
Comment 6 Walter Schwarzenfeld freebsd_triage 2019-08-08 09:03:42 UTC
ping!