Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-11-10, 09:51 PM   #13
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: [vdpau] bad usage cpu/fpu/ram ???

MPlayer can use OpenGL output, so files /usr/lib/*GL* may cause problems if they're the incorrect versions. However, there's no easy fix for those files; there aren't multiple places these files could be,so you won't be able to solve this just by deleting the wrong versions.

However, if you run this before vdpinfo:

export VDPAU_NVIDIA_DEBUG=3

do you still get the *exact* same error? If not, can you please post it.
Stephen Warren is offline   Reply With Quote
Old 01-12-10, 04:21 AM   #14
Gillian00
Gillian
 
Gillian00's Avatar
 
Join Date: Dec 2009
Location: Belgium
Posts: 34
Default Re: [vdpau] bad usage cpu/fpu/ram ???

Quote:
[gillian@##### ~]$ export VDPAU_NVIDIA_DEBUG=3
[gillian@##### ~]$ vdpinfo
display: :0.0 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
[gillian@##### ~]$

thank you
__________________
acer 5920G - intel centrino - geforce 9500M GS
Archlinux x64 kernel 2.6.32
Gillian00 is offline   Reply With Quote
Old 01-12-10, 11:39 AM   #15
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: [vdpau] bad usage cpu/fpu/ram ???

Sorry, my commands were incomplete. Please also execute the following command, as P.Kosunen mentioned:

ln -s /usr/lib/libvdpau_nvidia.so.195.30 /usr/lib/libvdpau_nvidia.so
Stephen Warren is offline   Reply With Quote
Old 01-12-10, 11:51 AM   #16
Gillian00
Gillian
 
Gillian00's Avatar
 
Join Date: Dec 2009
Location: Belgium
Posts: 34
Default Re: [vdpau] bad usage cpu/fpu/ram ???

Already did, and it give same result.

After doing these commands, I also reinstalled drivers, verified /usr/lib/vdpau, and recompiled mplayer but it doesn't works
__________________
acer 5920G - intel centrino - geforce 9500M GS
Archlinux x64 kernel 2.6.32
Gillian00 is offline   Reply With Quote
Old 01-12-10, 11:54 AM   #17
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: [vdpau] bad usage cpu/fpu/ram ???

That's odd then. What does this command say now:

ls -l /{usr/{local/,},}lib*/{vdpau/,}libvdpau_nvidia*

Can you please execute this command and attach log.txt:

LD_DEBUG=all strace -e open -f vdpinfo > log.txt

(you may need to "bzip2 log.txt" or "gzip log.txt" to compress it before attaching it)
Stephen Warren is offline   Reply With Quote
Old 01-12-10, 12:27 PM   #18
Gillian00
Gillian
 
Gillian00's Avatar
 
Join Date: Dec 2009
Location: Belgium
Posts: 34
Default Re: [vdpau] bad usage cpu/fpu/ram ???

1e command:

Quote:
~]$ ls -l /{usr/{local/,},}lib*/{vdpau/,}libvdpau_nvidia*
ls: ne peut accéder /usr/local/lib*/vdpau/libvdpau_nvidia*: Aucun fichier ou dossier de ce type
ls: ne peut accéder /usr/local/lib*/libvdpau_nvidia*: Aucun fichier ou dossier de ce type
ls: ne peut accéder /lib*/vdpau/libvdpau_nvidia*: Aucun fichier ou dossier de ce type
ls: ne peut accéder /lib*/libvdpau_nvidia*: Aucun fichier ou dossier de ce type
lrwxrwxrwx 1 root root 34 jan 12 17:48 /usr/lib/libvdpau_nvidia.so -> /usr/lib/libvdpau_nvidia.so.195.30
lrwxrwxrwx 1 root root 25 jan 12 15:17 /usr/lib/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.195.30
-rwxr-xr-x 1 root root 1636512 jan 12 15:17 /usr/lib/vdpau/libvdpau_nvidia.so.195.30
[gillian@oztracker ~]$

for the second, I have this in my log.txt

Quote:
display: :0.0 screen: 0
but this in my console:

Quote:
9648: symbol=calloc; lookup in file=vdpinfo [0]
9648: symbol=calloc; lookup in file=/usr/lib/libvdpau.so.1 [0]
9648: symbol=calloc; lookup in file=/usr/lib/libX11.so.6 [0]
9648: symbol=calloc; lookup in file=/usr/lib/libstdc++.so.6 [0]
9648: symbol=calloc; lookup in file=/lib/libm.so.6 [0]
9648: symbol=calloc; lookup in file=/usr/lib/libgcc_s.so.1 [0]
9648: symbol=calloc; lookup in file=/lib/libc.so.6 [0]
9648: binding file /usr/lib/libX11.so.6 [0] to /lib/libc.so.6 [0]: normal symbol `calloc' [GLIBC_2.2.5]
9648: symbol=_XConnectXCB; lookup in file=vdpinfo [0]
9648: symbol=_XConnectXCB; lookup in file=/usr/lib/libvdpau.so.1 [0]
9648: symbol=_XConnectXCB; lookup in file=/usr/lib/libX11.so.6 [0]
9648: binding file /usr/lib/libX11.so.6 [0] to /usr/lib/libX11.so.6 [0]: normal symbol `_XConnectXCB'
9648: symbol=xcb_parse_display; lookup in file=vdpinfo [0]
9648: symbol=xcb_parse_display; lookup in file=/usr/lib/libvdpau.so.1 [0]
9648: symbol=xcb_parse_display; lookup in file=/usr/lib/libX11.so.6 [0]
9648: symbol=xcb_parse_display; lookup in file=/usr/lib/libstdc++.so.6 [0]
9648: symbol=xcb_parse_display; lookup in file=/lib/libm.so.6 [0]
9648: symbol=xcb_parse_display; lookup in file=/usr/lib/libgcc_s.so.1 [0]
9648: symbol=xcb_parse_display; lookup in file=/lib/libc.so.6 [0]
9648: symbol=xcb_parse_display; lookup in file=/lib/libdl.so.2 [0]
9648: symbol=xcb_parse_display; lookup in file=/usr/lib/libxcb.so.1 [0]
9648: binding file /usr/lib/libX11.so.6 [0] to /usr/lib/libxcb.so.1 [0]: normal symbol `xcb_parse_display'
9648: symbol=strrchr; lookup in file=vdpinfo [0]
9648: symbol=strrchr; lookup in file=/usr/lib/libvdpau.so.1 [0]
9648: symbol=strrchr; lookup in file=/usr/lib/libX11.so.6 [0]
9648: symbol=strrchr; lookup in file=/usr/lib/libstdc++.so.6 [0]
9648: symbol=strrchr; lookup in file=/lib/libm.so.6 [0]
9648: symbol=strrchr; lookup in file=/usr/lib/libgcc_s.so.1 [0]
9648: symbol=strrchr; lookup in file=/lib/libc.so.6 [0]
9648: binding file /usr/lib/libxcb.so.1 [0] to /lib/libc.so.6 [0]: normal symbol `strrchr' [GLIBC_2.2.5]
(there is not everything of course. sorry, i'm not used to this kind of thing, I surely made a mistake...
__________________
acer 5920G - intel centrino - geforce 9500M GS
Archlinux x64 kernel 2.6.32
Gillian00 is offline   Reply With Quote
Old 01-12-10, 12:35 PM   #19
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: [vdpau] bad usage cpu/fpu/ram ???

Sorry, there was a typo in those commands. Now run:

rm -f /usr/lib/libvdpau_nvidia.so
ln -s /usr/lib/vdpau/libvdpau_nvidia.so.195.30 /usr/lib/libvdpau_nvidia.so

Hopefully now it'll work.

If not, then to get log.txt, there was a missing portion of that command. The following should work:

VDPAU_NVIDIA_DEBUG=3 LD_DEBUG=all strace -e open -f vdpinfo > log.txt 2>&1
bzip2 log.txt
# upload log.txt.bz2
Stephen Warren is offline   Reply With Quote
Old 01-12-10, 12:49 PM   #20
Gillian00
Gillian
 
Gillian00's Avatar
 
Join Date: Dec 2009
Location: Belgium
Posts: 34
Default Re: [vdpau] bad usage cpu/fpu/ram ???

here is my file :

http://www.sendspace.com/file/02rv2q


thank you :-)
__________________
acer 5920G - intel centrino - geforce 9500M GS
Archlinux x64 kernel 2.6.32
Gillian00 is offline   Reply With Quote

Old 01-12-10, 12:53 PM   #21
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: [vdpau] bad usage cpu/fpu/ram ???

OK, it's working correctly now.
Stephen Warren is offline   Reply With Quote
Old 01-12-10, 12:55 PM   #22
Gillian00
Gillian
 
Gillian00's Avatar
 
Join Date: Dec 2009
Location: Belgium
Posts: 34
Default Re: [vdpau] bad usage cpu/fpu/ram ???

Waouh :-) You are right


Thanks a lot for you help :-)
__________________
acer 5920G - intel centrino - geforce 9500M GS
Archlinux x64 kernel 2.6.32
Gillian00 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:21 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.