Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-libs/xvba-video-0.8.0-r1 failed
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rbaprado
n00b
n00b


Joined: 18 Oct 2005
Posts: 59

PostPosted: Sat Nov 24, 2012 7:50 pm    Post subject: x11-libs/xvba-video-0.8.0-r1 failed Reply with quote

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
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Sat Nov 24, 2012 8:05 pm    Post subject: Reply with quote

u need "libXvBAW.so.1" from x11-drivers/ati-drivers
Code:
ls -1 /usr/lib*/libXvBA*
Back to top
View user's profile Send private message
rbaprado
n00b
n00b


Joined: 18 Oct 2005
Posts: 59

PostPosted: Sat Nov 24, 2012 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Sat Dec 01, 2012 1:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
hexum
n00b
n00b


Joined: 14 Dec 2012
Posts: 2

PostPosted: Fri Dec 14, 2012 12:20 am    Post subject: xvba-sdk on AMD official site Reply with quote

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
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Fri Dec 14, 2012 7:09 am    Post subject: Reply with quote

There are ebuilds for xvba-sdk-0.74_p404001

http://gpo.zugaina.org/x11-libs/xvba-sdk/ChangeLog

But I still cannot get xvba-video-0.8.0-r1 compiled.
Back to top
View user's profile Send private message
drobbins
Retired Dev
Retired Dev


Joined: 10 Apr 2002
Posts: 19
Location: Albuquerque, NM

PostPosted: Wed Dec 19, 2012 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Fri Dec 21, 2012 4:25 am    Post subject: Reply with quote

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. :D
Back to top
View user's profile Send private message
drobbins
Retired Dev
Retired Dev


Joined: 10 Apr 2002
Posts: 19
Location: Albuquerque, NM

PostPosted: Fri Dec 21, 2012 10:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Sat Dec 22, 2012 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
drobbins
Retired Dev
Retired Dev


Joined: 10 Apr 2002
Posts: 19
Location: Albuquerque, NM

PostPosted: Sun Dec 23, 2012 3:51 am    Post subject: Reply with quote

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
View user's profile Send private message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Sat Jan 19, 2013 5:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum