Bug 232737 - [graphics/mesa-dri]Incorrect config help for VAAPI
Summary: [graphics/mesa-dri]Incorrect config help for VAAPI
Status: Closed Overcome By Events
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-27 03:38 UTC by rkoberman
Modified: 2021-09-15 22:58 UTC (History)
3 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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!
Comment 7 Jan Beich freebsd_committer freebsd_triage 2021-09-03 10:24:47 UTC
Likely obsolete, see bug 255524.
Comment 8 rkoberman 2021-09-03 14:51:56 UTC
(In reply to Jan Beich from comment #7)

Agreed. Looks like "Overcome by events".

That said, clear documentation of getting video acceleration properly set up would be very useful. Also hard to maintain as there are multiple ports that work with a very large number of different hardware options, so may not be practical.
Comment 9 Daniel Engberg freebsd_committer freebsd_triage 2021-09-15 22:58:00 UTC
Let's go with that