Created attachment 188928 [details] libva-dir.patch The default installation directory, $PREFIX/lib/dri, is also used by Mesa to install r600 and radeonsi VAAPI drivers. (Also there's just no reason to change the new default to the old default.) Without this patch, Radeon users would need to run programs with an extra environment variable: `LIBVA_DRIVERS_PATH=/usr/local/lib/dri vainfo`. With this patch, just `vainfo` works.
Hi, Thanks for reporting. The patch changing the install location has been there long before I started maintaining this port so I did not touch it and, not having any amd graphics cards, I did not notice the issue. The patch looks good and I agree with your analysis. I'll commit it after a little testing.
A commit references this bug: Author: madpilot Date: Mon Dec 18 21:25:58 UTC 2017 New revision: 456673 URL: https://svnweb.freebsd.org/changeset/ports/456673 Log: Make libva and it's drivers install modules in the standard location PREFIX/lib/dri. This is the same location where other ports(mesa) install drivers, so that everything works out of the box. PR: 224424 Submitted by: Greg V <greg@unrelenting.technology> Changes: head/multimedia/libva/Makefile head/multimedia/libva-intel-driver/Makefile head/multimedia/libva-vdpau-driver/Makefile
Committed. Thanks!