[elrepo] EL6 fglrx devel packages?
Andy
andy-nntp23 at linuxtech.net
Thu May 17 22:05:28 EDT 2012
Phil Perry wrote:
> On 17/05/12 08:32, Andy wrote:
>> I can't see the fglrx devel packages in the 'elrepo' EL6 repo, despite the
>> SRPM contains the config for them, how come they are missing?
>>
>
> Hi Andy,
>
> No one ever requested them so they were never released.
>
> I've pushed the devel packages for the last two releases (versions 12.1
> and 12.3) for el5 / el6 to the repos. These should appear on the mirrors
> shortly.
>
> I'll make sure new versions are released going forward. Is that OK for you?
That's ok, thanks. I had been puzzled as to why they where missing rather than
actually missing them myself (as I can always build them from the SRPM).
Anyway, I was also wondering if you are interested in adding the fglrx VA-API
backend package to Elrepo, since you have libva and you have the fglrx drivers
but not the missing link between them.
I have built the package, and it works fine with VLC 2.0.x from my repo
( pkgrepo.linuxtech.net/el6/ ), there is just one obscure bug that I can't
pinpoint (I found a workaround for it but not the source of the bug).
Basically when running vainfo or vlc or presumably any other vaapi client
while using the vxba (fglrx) backend, it attempts to look for libAMDXvBA.cap
in /usr/lib/ (even on x86_64!) rather than %{_libdir}/fglrx/. I cannot figure
out where this has been hardcoded!
For now I have added a simple workaround by sym-linking:
/usr/lib/libAMDXvBA.cap -> %{_libdir}/fglrx/libAMDXvBA.cap
Which solves the issue but of course it's an ugly hack.
You can find my current spec file here:
http://pkgrepo.linuxtech.net/el6/workinprogress/spec-files/libva-driver-xvba.spec
and the SRPM:
http://pkgrepo.linuxtech.net/el6/workinprogress/source/libva-driver-xvba-0.8.0-5.src.rpm
I have tested this using libva-1.0.15 from my repo (should be compatible with
the same package from Elrepo) and fglrx-x11-drv-12.3-1 from Elrepo.
You can repoduce the bug I mentioned earlier by removing the above mentioned
symlink and then running 'strace vainfo'. You will see that it fails on the
missing /usr/lib/libAMDXvBA.cap.
In case you figure out the source of this bug please let me know too!
It would be great if we could stay compatible with regards to these packages
(libva, libva-driver-xvba) as the Elrepo and the Linuxtech repos currently
complement each other quite well and it would be great to keep it that way. :)
Regards,
Andy
More information about the elrepo
mailing list