Created attachment 201055 [details] v1 $ mpv --hwdec=vaapi /path/to/foo.mp4 ... error: failed to resolve wl_drm_interface(): Undefined symbol "wl_drm_interface" [vaapi] libva: /usr/local/lib/dri/i965_drv_video.so init failed .... $ nm /usr/local/lib/libva-wayland.so | fgrep wl_drm_interface 00000000000051f0 d wl_drm_interface
The patch did not apply cleanly, There's a misalignment in the PORTREVISION line. Anyway After cleaning it it's ok. BTW, would you like to take maintainership for libva and libva-intel-driver? You look better informed than me on the subject and so better suited as the maintainer. If you accept I'd commit this bug and bug 234925 including the maintainer change to you freebsd address.
I accept maintainership but can't promise to work with upstream (due to lack of time/skills). If you plan to land the patch yourself, please - Change "mesa-libs >= 18.3.0" comment to "mesa-libs 18.3+" (in both ports) for consistency with another PATCHFILES line. - Add BUILD_DEPENDS=libva>=2.3.0_3:multimedia/libva to libva-intel-media-driver (In reply to Guido Falsi from comment #1) > The patch did not apply cleanly, There's a misalignment > in the PORTREVISION line. I can't reproduce with the current ports tree.
A commit references this bug: Author: madpilot Date: Wed Jan 16 18:04:06 UTC 2019 New revision: 490498 URL: https://svnweb.freebsd.org/changeset/ports/490498 Log: - Unbreak Wayland support in libva-intel-driver with Mesa 18.3 [1] - Allow disabling X11 support in libva [2] - Update minimum version requirement in libva-intel-media-driver BUILD_DEPENDS (required by submitter/maintainer) [1] - While here, silence some portling warnings - Pass maintainership to jbeich (submitter) [1] PR: 234891 [1], 234925 [2] Submitted by: jbeich Changes: head/multimedia/libva/Makefile head/multimedia/libva/distinfo head/multimedia/libva/pkg-plist head/multimedia/libva-intel-driver/Makefile head/multimedia/libva-intel-driver/distinfo head/multimedia/libva-intel-media-driver/Makefile
Committed. I did not have much collaboration with upstream actually, apart from build related fixes. You really seem to know the subject better than me! Thanks!
(In reply to commit-hook from comment #3) > - Update minimum version requirement in libva-intel-media-driver > BUILD_DEPENDS (required by submitter/maintainer) [1] Actually, I've typo'd libva-intel-driver as libva-intel-media-driver. ;)
(In reply to Jan Beich from comment #5) > (In reply to commit-hook from comment #3) > > - Update minimum version requirement in libva-intel-media-driver > > BUILD_DEPENDS (required by submitter/maintainer) [1] > > Actually, I've typo'd libva-intel-driver as libva-intel-media-driver. ;) It did look strange, but you being the maintainer, I thought you knew better. Anyway all tree ports will be rebuilt, so it should be ok as is.