Summary: | x11-libs/libvdpau-va-gl - VDPAU driver with VA-API/OpenGL backend | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fat-Zer <fatzer2> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | IN_PROGRESS --- | ||
Severity: | normal | CC: | aklhfex, alex_y_xu, b.brachaczek, chrulri, jrmalaq, nikoli, paolo.pedroni, proxy-maint, stlifey, sven.koehler |
Priority: | Normal | Keywords: | EBUILD, InOverlay |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/i-rinat/libvdpau-va-gl/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
propoused ebuild: x11-libs/libvdpau-va-gl-9999
x11-libs/libvdpau-va-gl-9999 x11-libs/libvdpau-va-gl-9999 x11-libs/libvdpau-va-gl-9999 x11-libs/libvdpau-va-gl-9999 x11-libs/libvdpau-va-gl-9999 libvdpau-va-gl-0.1.0.ebuild libvdpau-va-gl-0.2.1.ebuild live ebuild build error when using ffmpeg-1.0.8 |
Description
Fat-Zer
2013-06-23 08:12:49 UTC
Created attachment 351710 [details]
x11-libs/libvdpau-va-gl-9999
Created attachment 351712 [details]
x11-libs/libvdpau-va-gl-9999
Created attachment 351716 [details]
x11-libs/libvdpau-va-gl-9999
Created attachment 351724 [details]
x11-libs/libvdpau-va-gl-9999
Added several missing deps, migrated to virtual/ffmpeg, fixed install path, removed -ggdb from CFLAGS, disabled tests, cosmetics.
the newer ebuild works with mpv in my x230 vdpauinfo output: display: :0 screen: 0 [VS] Software VDPAU backend library initialized API version: 1 Information string: OpenGL/VAAPI/libswscale backend for VDPAU Video surface: name width height types ------------------------------------------- 420 1920 1080 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 422 1920 1080 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 444 1920 1080 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 Decoder capabilities: name level macbs width height ------------------------------------------- MPEG2_SIMPLE 3 16384 2048 2048 MPEG2_MAIN 3 16384 2048 2048 H264_BASELINE 51 16384 2048 2048 H264_MAIN 51 16384 2048 2048 H264_HIGH 51 16384 2048 2048 VC1_SIMPLE 1 16384 2048 2048 VC1_MAIN 2 16384 2048 2048 VC1_ADVANCED 4 16384 2048 2048 Output surface: name width height nat types ---------------------------------------------------- B8G8R8A8 8192 8192 - R8G8B8A8 8192 8192 - R10G10B10A2 8192 8192 - B10G10R10A2 8192 8192 - A8 8192 8192 - Bitmap surface: name width height ------------------------------ B8G8R8A8 8192 8192 R8G8B8A8 8192 8192 R10G10B10A2 8192 8192 B10G10R10A2 8192 8192 A8 8192 8192 Video mixer: feature name sup ------------------------------------ DEINTERLACE_TEMPORAL - DEINTERLACE_TEMPORAL_SPATIAL - INVERSE_TELECINE - NOISE_REDUCTION - SHARPNESS - LUMA_KEY - HIGH QUALITY SCALING - L1 - HIGH QUALITY SCALING - L2 - HIGH QUALITY SCALING - L3 - HIGH QUALITY SCALING - L4 - HIGH QUALITY SCALING - L5 - HIGH QUALITY SCALING - L6 - HIGH QUALITY SCALING - L7 - HIGH QUALITY SCALING - L8 - HIGH QUALITY SCALING - L9 - parameter name sup min max ----------------------------------------------------- VIDEO_SURFACE_WIDTH - VIDEO_SURFACE_HEIGHT - CHROMA_TYPE - LAYERS - attribute name sup min max ----------------------------------------------------- BACKGROUND_COLOR - CSC_MATRIX - NOISE_REDUCTION_LEVEL - SHARPNESS_LEVEL - LUMA_KEY_MIN_LUMA - LUMA_KEY_MAX_LUMA - Created attachment 351780 [details]
x11-libs/libvdpau-va-gl-9999
Upstream fixed build system.
Added to x11 overlay. Created attachment 352720 [details]
libvdpau-va-gl-0.1.0.ebuild
Upstream released version 0.1.0
Works for me quite fine. HW: Intel HD 4000 (Ivy Bridge) mplayer: 1.1.1-r1 libvdpau-va-gl: 0.1.0 Created attachment 368000 [details]
libvdpau-va-gl-0.2.1.ebuild
Created attachment 368002 [details] live ebuild All tests work fine now when building git master: https://github.com/i-rinat/libvdpau-va-gl/issues/6#issuecomment-31613171 Using VDPAU_DRIVER=va_gl seems not required when using new enough x11-drivers/xf86-video-intel: https://github.com/i-rinat/libvdpau-va-gl/issues/23#issuecomment-32598637 RDEPEND should be sorted probably Latest ebuilds are now in x11 overlay, all tests work fine for both 0.3.4 and 9999.
> RDEPEND should be sorted probably
Done.
Just installed version 0.3.4 from the x11 overlay. I had ffmpeg installed (required for libswscale) but version 1.0.x of ffmpeg does not provide the required pixel formats for this library. I upgraded to ffmpeg 1.2.6 and then I was able to install libvdpau-va-gl. I suggest to add a minimal version of ffmpeg (>=1.2) to the dependencies. chrulri, please check what minimal libav version works fine, because ebuild is now using virtual/ffmpeg. Nikoli, I tested libav-0.8.7 (current stable and also lowest version available in gentoo portage tree) and it compiled just fine. version output of ffmpeg 1.0.8 (not ok): ----------------------------------------- ~ $ ffmpeg -version ffmpeg version 1.0.8 built on Apr 19 2014 19:48:59 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --disable-debug --disable-doc --disable-runtime-cpudetect --enable-libmp3lame --enable-libvo-aacenc --enable-libx264 --enable-libxvid --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --enable-libpulse --disable-outdev=oss --enable-libfreetype --enable-libbluray --enable-libvorbis --enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-mmxext --disable-vis --disable-neon --cpu=host --enable-hardcoded-tables libavutil 51. 73.101 / 51. 73.101 libavcodec 54. 59.100 / 54. 59.100 libavformat 54. 29.104 / 54. 29.104 libavdevice 54. 2.101 / 54. 2.101 libavfilter 3. 17.100 / 3. 17.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 ----------------------------------------- version output of libav 0.8.7 (ok): ----------------------------------------- ~ $ avconv -version avconv version 0.8.7, Copyright (c) 2000-2013 the Libav developers built on Apr 19 2014 20:05:18 with gcc 4.7.3 avconv 0.8.7 libavutil 51. 22. 1 / 51. 22. 1 libavcodec 53. 35. 0 / 53. 35. 0 libavformat 53. 21. 1 / 53. 21. 1 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 15. 0 / 2. 15. 0 libswscale 2. 1. 0 / 2. 1. 0 ----------------------------------------- version output of ffmpeg 1.2.6 (ok): ----------------------------------------- ~ $ ffmpeg -version ffmpeg version 1.2.6 built on Apr 19 2014 20:09:12 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --enable-ffplay --enable-vaapi --enable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --disable-libtheora --disable-libtwolame --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --disable-libv4l2 --enable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-libass --enable-libfreetype --disable-libsoxr --disable-pthreads --disable-libopencore-amrwb --disable-libopencore-amrnb --enable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgsm --disable-libmodplug --disable-libopus --disable-librtmp --disable-libschroedinger --disable-libspeex --enable-libvorbis --disable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-mmxext --disable-vis --disable-neon --cpu=host libavutil 52. 18.100 / 52. 18.100 libavcodec 54. 92.100 / 54. 92.100 libavformat 54. 63.104 / 54. 63.104 libavdevice 54. 3.103 / 54. 3.103 libavfilter 3. 42.103 / 3. 42.103 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100 ----------------------------------------- Created attachment 375324 [details]
build error when using ffmpeg-1.0.8
I would be willing to proxy-maintain this package. If you are still interested in proxy maintaining the package, you can contact the Proxy Maintainers project: http://wiki.gentoo.org/wiki/Project:Proxy_Maintainers |