[mythtv-users] NVidia driver giving me grief

R. G. Newbury newbury at mandamus.org
Thu May 13 20:58:57 UTC 2010


On 05/13/2010 03:43 AM, Colin Haubrich wrote:
> Hello,
>
> New to the list and new to MythTV
>
> Here's what I'm running on my backend, front end is PS3:
>
> Dual P4 3.4 Ghz, 4GB RAM
> Nvidia NVS 280 64MB Ram (I know a little on the low end for HD but am
> considering an upgrade if I can get everything working again)
> Redhat FC 12:    2.6.32.11-99.fc12.x86_64
> Hauppauge HVR-2250
>
> I updated my Nvidia driver to 173.14.25 straight from Nvidia (latest
> supported by my Video card) and since then Mythbackend won't run. (It
> was originally installed from Yum and was working. 720p looked good
> 1080p was choppy)
>
> So I thought I'd try compiling MythTV from scratch, well that went as
> far as to say I didn't have the libraries despite me installing them
> from yum. I did a yum install of the following:
>
> libvdpau-devel.i686 : Development files for libvdpau
> libvdpau-devel.x86_64 : Development files for libvdpau
> libvdpau-docs.x86_64 : Documentation for libvdpau
> libvdpau.i686 : Wrapper library for the Video Decode and Presentation API
> libvdpau.x86_64 : Wrapper library for the Video Decode and Presentation API
>
> But am still getting errors when trying to compile MythTV. It seems that
> it's not recognizing the libraries as 64bit:
>
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-redhat-linux/4.4.3/../../../libvdpau.so when
> searching for -lvdpau
> /usr/bin/ld: skipping incompatible /usr/lib/libvdpau.so when searching
> for -lvdpau
> /usr/bin/ld: cannot find -lvdpau
>
> Any help is greatly appreciated. This was working for me and I've been
> up until 1am the past two nights trying to get this back working... I'm
> almost at the point of doing a full re-install.

That should be right. Check that libvidpau.so (it's in /usr/lib) points 
to something meaningful. On this box tracing /usr/lib/gcc/x86   etc 
points to /usr/lib and I have this:

[root at tor1 lib]# ls -al libvd*
lrwxrwxrwx 1 root root   34 2010-03-17 13:40 libvdpau_nvidia.so -> 
vdpau/libvdpau_nvidia.so.195.36.08
lrwxrwxrwx 1 root root   13 2010-03-17 13:40 libvdpau.so -> libvdpau.so.1
lrwxrwxrwx 1 root root   21 2010-03-17 13:40 libvdpau.so.1 -> 
libvdpau.so.195.36.08
-rwxr-xr-x 1 root root 3624 2010-03-17 13:40 libvdpau.so.195.36.08
lrwxrwxrwx 1 root root   33 2010-03-17 13:40 libvdpau_trace.so -> 
vdpau/libvdpau_trace.so.195.36.08

In your case it should point to libvdpau.so.173.14.25.

Another thing to check, I have found, is the listing order in 
/etc/ld.so.conf

Mine looks like this:
include ld.so.conf.d/*.conf
/lib64
/usr/lib64
/usr/local/lib64
/usr/lib64/vdpau
/usr/lib64/qt4
/usr/lib64/qt-3.3/lib
/usr/lib64/xorg/modules/drivers
/usr/lib64/xorg/modules/extensions
/usr/lib64/mysql
/usr/lib64/flash-plugins
/lib
/usr/lib
/usr/local/lib
/usr/lib/codecs

Your setup may be choking on /usr/lib/libvdpau.so because it needs to 
find/see the 64bit files first. (Don't know: just guessing here! I build 
trunk svn with vdpau on Fedora 12 x86_64  without seeing this so it's 
got to be a setup problem of some sort.

One thing to try *before* nuking things, would be to edit xorg.conf to 
use the vesa driver, reboot and then remove all the nvidia/vdpau stuff 
using yum and then re-install. (I presume, from rpmfusion).

Geoff












-- 
         Please let me know if anything I say offends you.
          I may wish to offend you again in the future.

          Tux says: "Be regular. Eat cron flakes."


More information about the mythtv-users mailing list