View previous topic :: View next topic |
Author |
Message |
rbaprado n00b
Joined: 18 Oct 2005 Posts: 59
|
Posted: Sat Nov 24, 2012 7:50 pm Post subject: x11-libs/xvba-video-0.8.0-r1 failed |
|
|
When emerging:
Code: |
(...)
checking for VA-API (GLX extensions)... yes
checking for VA drivers path... /usr/lib64/va/drivers
checking for XvBA... no
configure: error: you need XvBA to build this package
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/config.log
* ERROR: x11-libs/xvba-video-0.8.0-r1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2831: Called econf '--disable-debug' '--enable-glx'
* phase-helpers.sh, line 501: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=x11-libs/xvba-video-0.8.0-r1'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/xvba-video-0.8.0-r1'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/xvba-video-0.8.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/xvba-video-0.8.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0'
* S: '/var/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0'
|
Any ideas? |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Sat Nov 24, 2012 8:05 pm Post subject: |
|
|
u need "libXvBAW.so.1" from x11-drivers/ati-drivers
Code: | ls -1 /usr/lib*/libXvBA* |
|
|
Back to top |
|
|
rbaprado n00b
Joined: 18 Oct 2005 Posts: 59
|
Posted: Sat Nov 24, 2012 9:05 pm Post subject: |
|
|
megabaks wrote: | u need "libXvBAW.so.1" from x11-drivers/ati-drivers
Code: | ls -1 /usr/lib*/libXvBA* |
|
Here's the output:
Code: |
ls -1 /usr/lib*/libXvBA*
/usr/lib/libXvBAW.so.1
/usr/lib/libXvBAW.so.1.0
/usr/lib32/libXvBAW.so.1
/usr/lib32/libXvBAW.so.1.0
/usr/lib64/libXvBAW.so.1
/usr/lib64/libXvBAW.so.1.0
|
|
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sat Dec 01, 2012 1:13 pm Post subject: |
|
|
this is the error:
conftest.c:44:21: fatal error: amdxvba.h: No such file or directory
which is not part of the driver package. hmmm _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
hexum n00b
Joined: 14 Dec 2012 Posts: 2
|
Posted: Fri Dec 14, 2012 12:20 am Post subject: xvba-sdk on AMD official site |
|
|
amdxvba.h now provided separately in this package. Also I found some useful utilities to work with XvBA. But there is no ebuild.
Can someone help with ebuilds? Need a ticket to bugzilla? |
|
Back to top |
|
|
chrisyu Apprentice
Joined: 10 Apr 2003 Posts: 207 Location: China
|
|
Back to top |
|
|
drobbins Retired Dev
Joined: 10 Apr 2002 Posts: 19 Location: Albuquerque, NM
|
Posted: Wed Dec 19, 2012 7:18 pm Post subject: |
|
|
You should be able to fix this by doing this:
# cd /usr/lib64
# ln -s libXvBAW.so.1 libXvBAW.so
The problem is that gcc cannot find a match for -lXvBAW because of this missing symbolic link. I am working on some fixes to ati-drivers and the xvba stuff for Funtoo Linux and will push my fixes upstream to Gentoo Linux so that you guys can benefit when I'm done.
Best Regards,
Daniel Robbins |
|
Back to top |
|
|
chrisyu Apprentice
Joined: 10 Apr 2003 Posts: 207 Location: China
|
Posted: Fri Dec 21, 2012 4:25 am Post subject: |
|
|
drobbins wrote: | You should be able to fix this by doing this:
# cd /usr/lib64
# ln -s libXvBAW.so.1 libXvBAW.so
The problem is that gcc cannot find a match for -lXvBAW because of this missing symbolic link. I am working on some fixes to ati-drivers and the xvba stuff for Funtoo Linux and will push my fixes upstream to Gentoo Linux so that you guys can benefit when I'm done.
Best Regards,
Daniel Robbins |
Thanks, link works. |
|
Back to top |
|
|
drobbins Retired Dev
Joined: 10 Apr 2002 Posts: 19 Location: Albuquerque, NM
|
Posted: Fri Dec 21, 2012 10:38 pm Post subject: |
|
|
You're welcome - I have a patch available for ati-drivers-12.11_beta11 from xorg overlay that fixes several issues and makes XVBA integration more seamless (USE="vaapi" emerge ati-drivers takes care of it.) This should make VAAPI support pretty seamless for ATI users. I have submitted it upstream to Gentoo land and you can view/follow the Gentoo bug report here:
https://bugs.gentoo.org/show_bug.cgi?id=444528#c11
Best Regards,
Daniel _________________ Funtoo Linux - the next generation |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sat Dec 22, 2012 7:30 pm Post subject: |
|
|
well, I created the symlink and it still fails here. I stay by my former post:
Quote: |
this is the error:
conftest.c:44:21: fatal error: amdxvba.h: No such file or directory
|
_________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
drobbins Retired Dev
Joined: 10 Apr 2002 Posts: 19 Location: Albuquerque, NM
|
Posted: Sun Dec 23, 2012 3:51 am Post subject: |
|
|
Yes, you need that header from xvba-sdk. The patch I submitted to gentoo will install that header for you so you don't need to worry about it. If you aren't using my patch, then you will need to manually download it from here:
http://developer.amd.com.php53-23.ord1-1.websitetestlink.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz
Find the header in there, copy it to /usr/include, ensure you have your symlinks fixed as described above, and then xvba-video will merge. If/when my patch is applied to Gentoo's ati-drivers, then this will all be seamless and will just work.
Regards,
Daniel _________________ Funtoo Linux - the next generation |
|
Back to top |
|
|
ryszardzonk Apprentice
Joined: 18 Dec 2003 Posts: 225 Location: Rzeszów, POLAND
|
Posted: Sat Jan 19, 2013 5:56 pm Post subject: |
|
|
Guys I tried ati-drivers for the first time after using open source driver for as long as I remember to among others find myself with the problem related to the mentioned subject
Code: | checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... yes
checking for LIBVA_DEPS... yes
checking for LIBVA_X11_DEPS... yes
checking for LIBVA_GLX_DEPS... yes
checking for VA-API... yes
checking for VA-API (GLX extensions)... yes
checking for VA drivers path... /usr/lib64/va/drivers
checking for XvBA... yes
checking for DRM_DEPS... yes
checking for VALGRIND_DEPS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian.upstream/Makefile
config.status: creating src/Makefile
config.status: creating src/shaders/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
xvba-video configuration summary:
VA-API version ................... : 0.33.0
GLX support ...................... : yes
Cg compiler ...................... : no
Enable debugging information ..... : no
Enable XvBA tracer ............... : yes
>>> Source configured.
>>> Compiling source in /tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0 ...
make -j7
Making all in debian.upstream
make[1]: Wejście do katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/debian.upstream'
sed \
-e 's|\@PACKAGE_VERSION\@|0.8.0|' \
-e 's|\@LIBVA_SDS_PACKAGE_VERSION\@|0.31.0-1+sds1|' \
-e 's|\@DATE\@|'"`LC_ALL=C date +'%a, %d %b %Y %X %z'`"'|' \
changelog.in > changelog
sed \
-e 's|\@PACKAGE_VERSION\@|0.8.0|' \
-e 's|\@LIBVA_SDS_PACKAGE_VERSION\@|0.31.0-1+sds1|' \
-e 's|\@DATE\@|'"`LC_ALL=C date +'%a, %d %b %Y %X %z'`"'|' \
control.in > control
make[1]: Opuszczenie katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/debian.upstream'
Making all in src
make[1]: Wejście do katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/src'
make all-recursive
make[2]: Wejście do katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/src'
Making all in shaders
make[3]: Wejście do katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/src/shaders'
python pso2h.py -n Bicubic_fp -o Bicubic.h Bicubic.pso
python pso2h.py -n NV12_fp -o NV12.h NV12.pso
python pso2h.py -n YV12_fp -o YV12.h YV12.pso
python pso2h.py -n ProcAmp_fp -o ProcAmp.h ProcAmp.pso
python pso2h.py -n Evergreen_mix_1_fp -o Evergreen_mix_1.h Evergreen_mix_1.pso
python pso2h.py -n Evergreen_mix_2_fp -o Evergreen_mix_2.h Evergreen_mix_2.pso
python pso2h.py -n Evergreen_mix_3_fp -o Evergreen_mix_3.h Evergreen_mix_3.pso
File "pso2h.py", line 82
print __doc__
^
SyntaxError: invalid syntax
File "pso2h.py", line 82
print __doc__
^
SyntaxError: invalid syntax
File "pso2h.py", line 82
print __doc__
make[3]: ^
*** [NV12.h] Błąd 1SyntaxError: invalid syntax
make[3]: *** Oczekiwanie na niezakończone zadania....
make[3]: *** [ProcAmp.h] Błąd 1
make[3]: *** [Evergreen_mix_1.h] Błąd 1
File "pso2h.py", line 82
print __doc__
^
SyntaxError: invalid syntax
File "pso2h.py", line 82
print __doc__
^
SyntaxError: invalid syntax
make[3]: *** [Bicubic.h] Błąd 1
make[3]: *** [YV12.h] Błąd 1
File "pso2h.py", line 82
print __doc__
^
SyntaxError: invalid syntax
make[3]: *** [Evergreen_mix_2.h] Błąd 1
File "pso2h.py", line 82
print __doc__
^
SyntaxError: invalid syntax
make[3]: *** [Evergreen_mix_3.h] Błąd 1
make[3]: Opuszczenie katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/src/shaders'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/src'
make[1]: *** [all] Błąd 2
make[1]: Opuszczenie katalogu `/tmp/portage/x11-libs/xvba-video-0.8.0-r1/work/xvba-driver-0.8.0/src'
make: *** [all-recursive] Błąd 1
* ERROR: x11-libs/xvba-video-0.8.0-r1 failed (compile phase):
* emake failed |
Any ideas what am I doing wrong? Google does not seem to be as much of an help here and without it I get no hardware video acceleration
PS Seems that used python version might be incompatible with the package but if so then ebuilds usually set them properly and that should be of no issue I think
EDIT: It turns out changing python from 3.2 to 2.7 made an ebuild work as everything got compiled correctly. I find it strange no one noticed that bug previously...
simpy adding Code: | PYTHON_DEPEND="2:2.7" | and
Code: | pkg_setup() {
python_set_active_version 2
python_pkg_setup
} | solved the problem
EDIT 2: Bug filled https://bugs.gentoo.org/show_bug.cgi?id=453036 _________________ Sky is not the limit... |
|
Back to top |
|
|
|