Created attachment 568478 [details] emerge --info The previous error of nvenc was fixed, but now a new problem has cropped up.
checking for gcc... /usr/bin/gcc In file included from ../libhb/internal.h:13, from ../libhb/common.h:97, from ../libhb/hb.h:17, from ../libhb/hb.c:10: ../libhb/qsv_libav.h:119:10: fatal error: mfx/mfxvideo.h: No such file or directory #include "mfx/mfxvideo.h" ^~~~~~~~~~~~~~~~ compilation terminated. In file included from ../libhb/internal.h:13, from ../libhb/common.h:97, from ../libhb/hb.h:17, from ../libhb/decavcodec.c:41: ../libhb/qsv_libav.h:119:10: fatal error: mfx/mfxvideo.h: No such file or directory #include "mfx/mfxvideo.h" ^~~~~~~~~~~~~~~~ compilation terminated. make: *** [../libhb/module.rules:12: libhb/decavcodec.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [../libhb/module.rules:12: libhb/hb.o] Error 1 In file included from ../libhb/internal.h:13, from ../libhb/common.h:97, from ../libhb/hbffmpeg.h:24, from ../libhb/nvenc_common.c:10: ../libhb/qsv_libav.h:119:10: fatal error: mfx/mfxvideo.h: No such file or directory #include "mfx/mfxvideo.h" ^~~~~~~~~~~~~~~~ compilation terminated. In file included from ../libhb/internal.h:13, from ../libhb/common.h:97, from ../libhb/plist.c:17: ../libhb/qsv_libav.h:119:10: fatal error: mfx/mfxvideo.h: No such file or directory #include "mfx/mfxvideo.h" ^~~~~~~~~~~~~~~~ compilation terminated. make: *** [../libhb/module.rules:12: libhb/nvenc_common.o] Error 1 make: *** [../libhb/module.rules:12: libhb/plist.o] Error 1
Wow, this is quite a bumpy ride this time...
(In reply to Lars Wendler (Polynomial-C) from comment #2) > Wow, this is quite a bumpy ride this time... It happens, it's not phasing me a bit.. still love gentoo.. because the devops are awesome
Same here with these USE: --- media-video/handbrake-1.2.2-r1::gentoo [1.2.2::pmaci] USE="fdk gstreamer gtk -libav -libav-aac -nvenc vaapi%* x265" 0 KiB in the new -r1 ebuild you can see this line: --- $(use_enable vaapi qsv) What is this last "qsv"?
(In reply to Ulenrich from comment #4) > Same here with these USE: > --- > media-video/handbrake-1.2.2-r1::gentoo [1.2.2::pmaci] USE="fdk gstreamer gtk > -libav -libav-aac -nvenc vaapi%* x265" 0 KiB > > in the new -r1 ebuild you can see this line: > --- > $(use_enable vaapi qsv) > > What is this last "qsv"? qsv is Intel quick sync video
It turns out, disabling the new inserted USE -vaapi, resolves the build issue: --- media-video/handbrake-1.2.2-r1::gentoo [1.2.2::pmaci] USE="fdk gstreamer gtk -libav -libav-aac -nvenc -vaapi% x265" 0 KiB ... >>> Emerging (4 of 4) media-video/handbrake-1.2.2-r1::gentoo >>> Installing (4 of 4) media-video/handbrake-1.2.2-r1::gentoo --- Which makes me wonder, because all of following emerges had USE vaapi set without issues: media-libs/avidemux-core media-libs/mesa media-libs/opencv media-libs/qtav media-video/avidemux media-plugins/gst-plugins-meta media-video/ffmpeg media-video/mpv media-video/vlc virtual/ffmpeg I don't have intel graphics but nvidia in my 10y old Apple MacMini
Indeed, it builds with USE -vaapi. But that loses encoding performance (depending on hardware capabilities), doesn't it?
(In reply to Timo Ollech from comment #7) > Indeed, it builds with USE -vaapi. But that loses encoding performance > (depending on hardware capabilities), doesn't it? yes, turns off GPU rendering and relies totally on CPU. GPU is much faster encoding.
It depends on media-libs/intel-mediasdk which introduces the x11-libs/libva-intel-media-driver. It's a much better driver for chipsets from Broadwell to Ice Lake.
(In reply to Sebastian Lüttich from comment #9) > It depends on media-libs/intel-mediasdk which introduces the > x11-libs/libva-intel-media-driver. It's a much better driver for chipsets > from Broadwell to Ice Lake. I came up with the same idea yesterday, but having a nvidia graphics card, this: --- emerge -1p x11-libs/libva-intel-media-driver These are the packages that would be merged, in order: Calculating dependencies .... .... ..... done! !!! All ebuilds that could satisfy "x11-libs/libva-intel-media-driver" have been masked. !!! One of the following masked packages is required to complete your request: - x11-libs/libva-intel-media-driver-9999::gentoo (masked by: missing keyword) - x11-libs/libva-intel-media-driver-18.4.1::gentoo (masked by: ~amd64 keyword) - x11-libs/libva-intel-media-driver-18.3.0::gentoo (masked by: ~amd64 keyword) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
(In reply to Sebastian Lüttich from comment #9) > It depends on media-libs/intel-mediasdk which introduces the > x11-libs/libva-intel-media-driver. It's a much better driver for chipsets > from Broadwell to Ice Lake. Any idea when this driver will be stabilized?
(In reply to Timo Ollech from comment #11) > (In reply to Sebastian Lüttich from comment #9) > > It depends on media-libs/intel-mediasdk which introduces the > > x11-libs/libva-intel-media-driver. It's a much better driver for chipsets > > from Broadwell to Ice Lake. > > Any idea when this driver will be stabilized? I suspect it's also necessary to have "intel" in VIDEO_CARDS in order to have libdrm and mesa compiled with support - not sure.
I'm going to simply drop the vaapi flag for now. If you look at the docs[1] its quite some work to get it right, and I don't have the bandwidth to maintain it. If someone is willing to do the work then patches are welcome! 1. https://github.com/Intel-FFmpeg-Plugin/Intel_FFmpeg_plugins/wiki
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398a8e5b8ee3b29ea8954e2fdc3406390cfe9950 commit 398a8e5b8ee3b29ea8954e2fdc3406390cfe9950 Author: Ian Whyman <thev00d00@gentoo.org> AuthorDate: 2019-03-12 21:54:43 +0000 Commit: Ian Whyman <thev00d00@gentoo.org> CommitDate: 2019-03-12 21:54:59 +0000 media-video/handbrake: Drop VAAPI flag Add message that our builds are not supported by upstream Closes: https://bugs.gentoo.org/625822 Closes: https://bugs.gentoo.org/679964 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Ian Whyman <thev00d00@gentoo.org> .../{handbrake-1.2.2-r1.ebuild => handbrake-1.2.2-r2.ebuild} | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)