Package Details: libva-intel-driver-g45-h264 20150703-1

Package Base: libva-intel-driver-g45-h264
Description: VA-API implementation for Intel G45 chipsets with H264 support.
Upstream URL: http://freedesktop.org/wiki/Software/vaapi
Category: lib
Licenses: MIT
Conflicts: libva-intel-driver
Provides: libva-intel-driver
Replaces: libva-intel-driver
Submitter: pedromj
Maintainer: pedromj
Last Packager: pedromj
Votes: 37
First Submitted: 2014-08-04 02:05
Last Updated: 2015-07-03 09:36

Latest Comments

Comment by pedromj

2015-07-21 19:36

This is already in AUR4.

Comment by alium

2015-07-21 17:41

pedomj: You will be moved by at aur4 too, right?

Comment by e8hffff

2015-07-19 01:40

Wanted to say thanks pedromj.

Comment by pedromj

2015-07-03 09:36

Updated, please test.

Comment by alium

2015-07-03 07:52

Hi,
new version 20150703 (1.6.0) is out. I moved my source repo to bitbucket:
source=(https://bitbucket.org/alium/g45-h264/downloads/intel-driver-g45-h264-$pkgver.tar.gz)
sha256sums=('67c5d1d35e1f76f2b028fcc85cad435e2560c8ab2c91cf4f387807d0bcf15980')

Comment by pedromj

2015-04-16 13:46

Updated, please test.

Comment by alium

2015-04-15 18:07

new version 20150415:
vainfo: VA-API version: 0.37 (libva 1.5.1)

sha256sums=('b38ecd32425b086d17234e28757bf8a38d5b63609f6eb24aa9f7a499e467a26c')

Comment by cb474

2015-01-01 04:33

Thanks alium.

Comment by alium

2014-12-31 10:21

@cb474:
you need update to libva-1.5.0 in [extra],
after update you can see:

[alois@toshiba ~]$ vainfo
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.37 (libva 1.5.0)

Comment by cb474

2014-12-31 10:04

I get this error when trying to build:

configure: error: Package requirements (libva >= 0.37) were not met:

Requested 'libva >= 0.37' but version of libva is 0.36.0

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBVA_DEPS_CFLAGS
and LIBVA_DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Comment by pedromj

2014-12-30 20:00

Updated, please test.

Comment by pedromj

2014-10-09 09:56

Tested and uploaded. Please, check it works right. Thank you.

Comment by City-busz

2014-08-04 04:24

libva-driver-intel-g45-h264 merged into libva-intel-driver-g45-h264.

Comment by pedromj

2014-08-04 02:07

Hi all,

The requested name change is totally reasonable, so I've done it. Please, find the new package in:

https://aur.archlinux.org/packages/libva-intel-driver-g45-h264/

[Do not forget to vote, so we may be able to get it included in the official repositories sometime in the future :-D].

Regards,
Pedro

Comment by City-busz

2014-08-01 14:07

Please rename this package to libva-intel-driver-g45-h264 to make it consistent with the package in [extra]. After you uploaded it in the new name, I'll merge this one.

Comment by pedromj

2014-05-18 08:42

Updated, please check.

Regards,
Pedro

Comment by alium

2014-05-10 21:26

libva 1.3.1 is out.
I merged the master tree, and I added/enabled VPP (video postprocesing) now, please test before the deployment. For me works 720p x264 videos in vlc and mpv.

vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver - 1.3.2.pre1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc

Link for test: https://downloads.sourceforge.net/project/g45h264/testing/intel-driver-g45-h264-20140510.tar.gz - sha256sums=('13bcea803592d2175ac18a0825fb6096e95ded181cbf3eea02e12567d04343c0')

I waiting for clarification from Intel's developer that the VPP on the G45 is really supported/implemented. If no problems, I move it from testing.

Comment by pedromj

2014-03-26 15:31

Updated version. Please test.

Comment by piyushbhatt

2013-09-24 15:28

i installed the package ,vainfo is proper. And everything else seems to work fine.

Comment by pedromj

2013-09-23 18:49

Hi,

I've updated the package. Please test it and let me know any problem. Thank you.

Regards,
Pedro

Comment by pedromj

2013-09-23 18:49

Hi,

I've updated the package. Please test it and let me know any problem. Thank you.

Regards,
Pedro

Comment by pedromj

2013-07-02 12:28

Updated package. Please test it and report any problem. Thank you.

Comment by stativ

2013-07-02 10:26

trapanator: I just did a simple test, where I first checked the output of "vainfo" and then I tried to play a file that is encoded in h264 using "mplayer -vo vaapi file.mp4"

Comment by andrea76

2013-07-02 10:17

@stativ: how do you test your card with these libs?

Comment by stativ

2013-07-02 09:24

alium: I did a quick test of commit 4568e24f0382d2d03215bcaf78eb0eae68f88ae5 and it seems to work fine on my GMA 4500MHD.

Comment by pedromj

2013-07-01 12:00

Uploaded the updated package. Please, test it and give us feedback as @alium mentioned. Thank you.

Comment by pedromj

2013-07-01 10:43

It still does not work and I tried what you said. The SHA256 sums differ from the ones you posted. Please, point me to the source package you used to get the hash:

sha256sums=('f391d8fa2e109295d722ae7ba3f069dc6dba0c8d7c23549d4b7e35542f1f8bed')

or send it to me (pedromj@gmail.com) because the file I get from the following URL:

https://downloads.sourceforge.net/project/g45h264/intel-driver-g45-h264-20130701.tar.gz

has the following hash:

sha256sums=('a8dbe9fb92b3ccc6f1718121a6f168614cdbe7814cea8a65fe19283b82b8d78d')

so I wonder where is the file you have used.

Thank you.

Comment by pedromj

2013-07-01 10:06

The new file does not match the SHA256sum you posted. However, even after updating the PKGBUILD to match the SHA256sum of the new file, it does not work properly, does not show H264 profile.

Comment by pedromj

2013-07-01 09:55

This version does not work properly:

$ vainfo
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.2.1)
vainfo: Driver version: Intel i965 driver - 1.2.1.pre1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD

With previous versions it did offer support H264 profile for my hardware (X4500MHD). Alium, please, test it and let me know how to fix it so I can upgrade the package. Thank you.

Comment by pedromj

2013-04-13 15:48

I've revised the PKGBUILD, fixed some little problems, tested it builds and works properly, and uploaded the new package version. Thanks alium.

Comment by andrea76

2013-04-13 12:26

thank you, alium. Now I have h264 accelerarion, too, on my 4500. Remember to uninstall libva-intel-driver before.

Comment by pedromj

2013-04-07 20:28

Do not hesitate to get the PKGBUILD and adapt it to work with current version. I can review and upload it (do not forget to add your contribution line). Thank you.

Comment by andrea76

2013-04-07 20:03

the branch 'g45-h264' is removed from GIT, because it isn't compatible with libva-1.1.0 anymore :-(

Anyone fixed this problem?

Comment by pedromj

2013-02-04 13:32

I've tried but does not easily work. If you can provide a PKGBUILD, I'll give it a try and update this. Thank you.

Anonymous comment

2013-02-03 20:10

Suggestion - change pkgbuild to use "git clone --depth 1" to reduce network traffic and download times. We don't need the entire history, just the current snapshot.

Comment by pedromj

2013-01-24 18:15

I have tested and uploaded the version provided by "vbmithr".

Comment by arkusuma

2013-01-22 09:39

I'm orphaning this package.

Comment by vbmithr

2013-01-22 09:21

To the maintainer: update it or orphan it.

Here is a PKGBUILD that works and take account on input of previous comments:

http://pastebin.com/DQRM8MJB

Comment by chx

2013-01-12 00:01

I needed to install libtool to get this package installing.

Comment by wapmorgan

2013-01-11 14:46

If during compiling you received this message - http://pastebin.com/VHVBt6qC - then do (replace "wapmorgan" in dirs to your name) :
0. Delete libva-intel-driver packages (if you installed it)
$ sudo pacman -R libva-intel-driver
1. Change dir to the source dir (e.g. /tmp/yaourt-tmp-wapmorgan/aur-libva-driver-intel-g45-h264/src/intel-driver)
$ cd /tmp/yaourt-tmp-wapmorgan/aur-libva-driver-intel-g45-h264/src/intel-driver
2. Edit "configure.ac": replace
AM_CONFIG_HEADER([src/config.h])
to
AC_CONFIG_HEADERS([src/config.h])
(25 line);
$ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
3. Go to dir where PKGBUILD stays
$ cd /tmp/yaourt-tmp-wapmorgan/aur-libva-driver-intel-g45-h264
4. Comment git clone command
$ sed -i 's/git clone/#git clone/' PKGBUILD
5. Compile/install packages
$ makepkg -i

Comment by piyushbhatt

2012-11-27 17:01

instead of conflicts=('libva-driver-intel')

Should be
conflicts=('libva-intel-driver')
provides=('libva-intel-driver=$pkgver')

Anonymous comment

2012-09-21 20:46

Built from modifying PKGBUILD worked fine. Thanks for this heads up.

Anonymous comment

2012-09-21 20:31

Vote here if you want this fixed. https://bugs.archlinux.org/task/31491

Anonymous comment

2012-09-21 20:27

How do you downgrade to 1.0.16? I only fount 1.0.15.

Comment by alium

2012-09-11 10:26

https://bugs.archlinux.org/task/31491

Comment by alium

2012-09-11 07:09

@protomog: it is because libva 1.1.0 have API changes, please switch your version libva to 1.0.16. 1.1.0 is reverted and exist no more.

Anonymous comment

2012-09-10 22:05

Fails to compile:

In file included from intel_batchbuffer.h:9:0,
from gen6_mfc.c:35:
intel_driver.h:112:1: error: unknown type name 'Bool'
intel_driver.h:113:1: error: unknown type name 'Bool'
In file included from i965_render.h:36:0,
from i965_drv_video.h:206,
from gen6_mfc.c:38:
i965_post_processing.h:370:1: error: unknown type name 'Bool'
i965_post_processing.h:372:1: error: unknown type name 'Bool'
In file included from i965_drv_video.h:206:0,
from gen6_mfc.c:38:
i965_render.h:82:1: error: unknown type name 'Bool'
i965_render.h:83:1: error: unknown type name 'Bool'
In file included from i965_encoder.h:39:0,
from gen6_mfc.c:39:
gen6_vme.h:86:1: error: unknown type name 'Bool'
gen6_vme.h:87:1: error: unknown type name 'Bool'
In file included from i965_encoder.h:40:0,
from gen6_mfc.c:39:
gen6_mfc.h:103:1: error: unknown type name 'Bool'
gen6_mfc.h:104:1: error: unknown type name 'Bool'
gen6_mfc.c:955:1: error: unknown type name 'Bool'
gen6_mfc.c: In function 'gen6_mfc_context_init':
gen6_mfc.c:957:12: error: 'True' undeclared (first use in this function)
gen6_mfc.c:957:12: note: each undeclared identifier is reported only once for each function it appears in
gen6_mfc.c: At top level:
gen6_mfc.c:960:1: error: unknown type name 'Bool'
gen6_mfc.c: In function 'gen6_mfc_context_destroy':
gen6_mfc.c:990:12: error: 'True' undeclared (first use in this function)
gen6_mfc.c: At top level:
gen6_mfc.c:388:13: warning: 'gen6_mfc_avc_directmode_state' defined but not used [-Wunused-function]
gen6_mfc.c:599:1: warning: 'gen6_mfc_avc_insert_object' defined but not used [-Wunused-function]
gen6_mfc.c: In function 'gen6_mfc_context_destroy':
gen6_mfc.c:991:1: warning: control reaches end of non-void function [-Wreturn-type]
gen6_mfc.c: In function 'gen6_mfc_context_init':
gen6_mfc.c:958:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [i965_drv_video_la-gen6_mfc.lo] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-name/aur-libva-driver-intel-g45-h264/src/intel-driver/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-name/aur-libva-driver-intel-g45-h264/src/intel-driver/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-name/aur-libva-driver-intel-g45-h264/src/intel-driver/src'

Anonymous comment

2011-11-27 10:03

Does this replace xf86-video-intel?

Comment by arkusuma

2011-11-27 09:53

No it doesn't.

Anonymous comment

2011-11-27 09:32

Does this replace xf86-video-intel?

Comment by arkusuma

2011-11-04 11:26

I don't think so. This is the output of libva-driver-intel-1.0.15-1
from extra on my laptop (4500MHD graphic):

$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.15
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD

Comment by wonder

2011-11-04 11:10

hmm i was thinking g45-h264 was merged in master.