Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474460 - x11-libs/libvdpau-va-gl - VDPAU driver with VA-API/OpenGL backend
Summary: x11-libs/libvdpau-va-gl - VDPAU driver with VA-API/OpenGL backend
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/i-rinat/libvdpau-v...
Whiteboard:
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2013-06-23 08:12 UTC by Fat-Zer
Modified: 2015-02-11 13:03 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
propoused ebuild: x11-libs/libvdpau-va-gl-9999 (libvdpau-va-gl-9999.ebuild,918 bytes, text/plain)
2013-06-23 08:12 UTC, Fat-Zer
Details
x11-libs/libvdpau-va-gl-9999 (libvdpau-va-gl-9999.ebuild,854 bytes, text/plain)
2013-06-23 08:21 UTC, Fat-Zer
Details
x11-libs/libvdpau-va-gl-9999 (libvdpau-va-gl-9999.ebuild,853 bytes, text/plain)
2013-06-23 08:23 UTC, Fat-Zer
Details
x11-libs/libvdpau-va-gl-9999 (libvdpau-va-gl-9999.ebuild,732 bytes, text/plain)
2013-06-23 08:29 UTC, Fat-Zer
Details
x11-libs/libvdpau-va-gl-9999 (libvdpau-va-gl-9999.ebuild,977 bytes, text/plain)
2013-06-23 09:27 UTC, Nikoli
Details
x11-libs/libvdpau-va-gl-9999 (libvdpau-va-gl-9999.ebuild,757 bytes, text/plain)
2013-06-24 01:47 UTC, Nikoli
Details
libvdpau-va-gl-0.1.0.ebuild (libvdpau-va-gl-0.1.0.ebuild,803 bytes, text/plain)
2013-07-06 13:47 UTC, Nikoli
Details
libvdpau-va-gl-0.2.1.ebuild (libvdpau-va-gl-0.2.1.ebuild,1.12 KB, text/plain)
2014-01-17 13:22 UTC, Nikoli
Details
live ebuild (libvdpau-va-gl-9999.ebuild,790 bytes, text/plain)
2014-01-17 13:25 UTC, Nikoli
Details
build error when using ffmpeg-1.0.8 (build_error_ffmpeg-1.0.8.log,28.59 KB, text/plain)
2014-04-19 18:22 UTC, chrulri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fat-Zer 2013-06-23 08:12:49 UTC
Created attachment 351706 [details]
propoused ebuild: x11-libs/libvdpau-va-gl-9999

This library provides the VA-API/OpenGL/libswscale backend for VDPAU.
See the description on github: https://github.com/i-rinat/libvdpau-va-gl/
Comment 1 Fat-Zer 2013-06-23 08:21:59 UTC
Created attachment 351710 [details]
x11-libs/libvdpau-va-gl-9999
Comment 2 Fat-Zer 2013-06-23 08:23:16 UTC
Created attachment 351712 [details]
x11-libs/libvdpau-va-gl-9999
Comment 3 Fat-Zer 2013-06-23 08:29:23 UTC
Created attachment 351716 [details]
x11-libs/libvdpau-va-gl-9999
Comment 4 Nikoli 2013-06-23 09:27:34 UTC
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.
Comment 5 stlifey 2013-06-23 09:36:20 UTC
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                -
Comment 6 Nikoli 2013-06-24 01:47:29 UTC
Created attachment 351780 [details]
x11-libs/libvdpau-va-gl-9999

Upstream fixed build system.
Comment 7 Nikoli 2013-07-06 10:43:03 UTC
Added to x11 overlay.
Comment 8 Nikoli 2013-07-06 13:47:51 UTC
Created attachment 352720 [details]
libvdpau-va-gl-0.1.0.ebuild

Upstream released version 0.1.0
Comment 9 Vladimir Smirnov (RETIRED) gentoo-dev 2013-07-08 17:57:13 UTC
Works for me quite fine.
HW: Intel HD 4000 (Ivy Bridge)
mplayer: 1.1.1-r1
libvdpau-va-gl: 0.1.0
Comment 10 Nikoli 2014-01-17 13:22:41 UTC
Created attachment 368000 [details]
libvdpau-va-gl-0.2.1.ebuild
Comment 11 Nikoli 2014-01-17 13:25:15 UTC
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
Comment 12 Alex Xu (Hello71) 2014-03-03 01:07:41 UTC
RDEPEND should be sorted probably
Comment 13 Nikoli 2014-04-08 10:35:32 UTC
Latest ebuilds are now in x11 overlay, all tests work fine for both 0.3.4 and 9999.

> RDEPEND should be sorted probably

Done.
Comment 14 chrulri 2014-04-19 13:48:48 UTC
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.
Comment 15 Nikoli 2014-04-19 16:05:48 UTC
chrulri, please check what minimal libav version works fine, because ebuild is now using virtual/ffmpeg.
Comment 16 chrulri 2014-04-19 18:19:39 UTC
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
-----------------------------------------
Comment 17 chrulri 2014-04-19 18:22:49 UTC
Created attachment 375324 [details]
build error when using ffmpeg-1.0.8
Comment 18 Alex Xu (Hello71) 2014-06-26 17:32:10 UTC
I would be willing to proxy-maintain this package.
Comment 19 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-02-11 13:03:23 UTC
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