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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-22-09, 10:32 AM   #1
jesso
Registered User
 
Join Date: Nov 2006
Posts: 38
Default [Solved] Error when calling vdp_device_create_x11

I am using Arch Linux.

They have a libvdpau package now. So I upgrade nvidia-utils and installed libvdpau.

I get no video now on mkv.

If I uninstall libvdpau and go back to the previous nvidia-utils, no problem.

Does anyone know what the problem is?


Code:
MPlayer SVN-r29354-4.4.2 (C) 2000-2009 MPlayer Team

Playing /home/jason/media/Video/Movies/aliens_in_the_attic.mkv.
Cache fill:  2.28% (5980160 bytes)
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_DTS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x688  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 1536000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:4484:(parse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:4617:(snd_config_expand) Parse arguments error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hw:0,1,AES0=6
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Video: no video
Starting playback...
jesso is offline   Reply With Quote
Old 11-22-09, 04:23 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Error when calling vdp_device_create_x11

Please see the forum sticky posts about how to generate a bug report. Please also attach the output of "ls -l /usr/lib/*vdpau*" along with the output of "strace -eopen vdpauinfo".
AaronP is offline   Reply With Quote
Old 11-22-09, 06:06 PM   #3
jesso
Registered User
 
Join Date: Nov 2006
Posts: 38
Default Re: Error when calling vdp_device_create_x11

Quote:
Originally Posted by AaronP View Post
Please see the forum sticky posts about how to generate a bug report. Please also attach the output of "ls -l /usr/lib/*vdpau*" along with the output of "strace -eopen vdpauinfo".
I get this with strace:

Code:
strace -eopen vdpauinfo
strace: vdpauinfo: command not found
Code:
[jason@dory ~]$ ls -l /usr/lib/*vdpau*
lrwxrwxrwx 1 root root   17 2009-11-21 16:23 /usr/lib/libvdpau.so -> libvdpau.so.1.0.0
lrwxrwxrwx 1 root root   21 2009-11-22 16:49 /usr/lib/libvdpau.so.1 -> libvdpau.so.185.18.31
-rwxr-xr-x 1 root root 5.4K 2009-11-21 16:23 /usr/lib/libvdpau.so.1.0.0
-rwxr-xr-x 1 root root 3.6K 2009-03-30 14:40 /usr/lib/libvdpau.so.180.44
-rwxr-xr-x 1 root root 3.6K 2009-05-03 12:15 /usr/lib/libvdpau.so.180.51
-rwxr-xr-x 1 root root 3.6K 2009-06-11 13:55 /usr/lib/libvdpau.so.185.18.14
-rwxr-xr-x 1 root root 3.6K 2009-08-01 02:07 /usr/lib/libvdpau.so.185.18.31
lrwxrwxrwx 1 root root   28 2009-11-22 16:49 /usr/lib/libvdpau_nvidia.so -> libvdpau_nvidia.so.185.18.31
-rwxr-xr-x 1 root root 1.4M 2009-03-30 14:40 /usr/lib/libvdpau_nvidia.so.180.44
-rwxr-xr-x 1 root root 1.4M 2009-05-03 12:15 /usr/lib/libvdpau_nvidia.so.180.51
-rwxr-xr-x 1 root root 1.4M 2009-06-11 13:55 /usr/lib/libvdpau_nvidia.so.185.18.14
-rwxr-xr-x 1 root root 1.4M 2009-08-01 02:07 /usr/lib/libvdpau_nvidia.so.185.18.31
lrwxrwxrwx 1 root root   27 2009-11-22 16:49 /usr/lib/libvdpau_trace.so -> libvdpau_trace.so.185.18.31
-rwxr-xr-x 1 root root  44K 2009-03-30 14:40 /usr/lib/libvdpau_trace.so.180.44
-rwxr-xr-x 1 root root  44K 2009-05-03 12:15 /usr/lib/libvdpau_trace.so.180.51
-rwxr-xr-x 1 root root  49K 2009-06-11 13:55 /usr/lib/libvdpau_trace.so.185.18.14
-rwxr-xr-x 1 root root  49K 2009-08-01 02:07 /usr/lib/libvdpau_trace.so.185.18.31

/usr/lib/vdpau:
total 1.5M
lrwxrwxrwx 1 root root   25 2009-11-21 16:11 libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.190.42
-rwxr-xr-x 1 root root 1.5M 2009-11-21 16:11 libvdpau_nvidia.so.190.42
lrwxrwxrwx 1 root root   23 2009-11-21 16:23 libvdpau_trace.so -> libvdpau_trace.so.1.0.0
lrwxrwxrwx 1 root root   23 2009-11-21 16:23 libvdpau_trace.so.1 -> libvdpau_trace.so.1.0.0
-rwxr-xr-x 1 root root  57K 2009-11-21 16:23 libvdpau_trace.so.1.0.0
jesso is offline   Reply With Quote
Old 11-22-09, 06:15 PM   #4
jesso
Registered User
 
Join Date: Nov 2006
Posts: 38
Default Re: Error when calling vdp_device_create_x11

Quote:
Originally Posted by AaronP View Post
Please see the forum sticky posts about how to generate a bug report. Please also attach the output of "ls -l /usr/lib/*vdpau*" along with the output of "strace -eopen vdpauinfo".
Here is the report.
Attached Files
File Type: gz nvidia-bug-report.log.gz (36.1 KB, 114 views)
File Type: gz strace_mplayer.txt.gz (21.4 KB, 133 views)
jesso is offline   Reply With Quote
Old 11-22-09, 06:54 PM   #5
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Error when calling vdp_device_create_x11

Okay, thanks. The strace from mplayer achieved the same thing I was hoping to get from vdpauinfo. The problem here is that you still have a /usr/lib/libvdpau.so.185.18.31, and a /usr/lib/libvdpau.so.1 symlink to it. That's the old version of the library that doesn't look in the new /usr/lib/vdpau directory and instead just looks for /usr/lib/libvdpau_nvidia.so, which on your system is a symlink to the 185.18.31 version even though you have the 190.42 driver installed.

I'm not sure how you ended up with your system in this state. You have a bunch of different libvdpau_nvidia.so.* files from different versions, even though they should have been removed by the installer when it uninstalled the old versions.

I'd recommend deleting /usr/lib/libvdpau_nvidia* and then reinstalling the distribution packages that contain them.
AaronP is offline   Reply With Quote
Old 11-22-09, 07:32 PM   #6
jesso
Registered User
 
Join Date: Nov 2006
Posts: 38
Default Re: Error when calling vdp_device_create_x11

Quote:
Originally Posted by AaronP View Post
Okay, thanks. The strace from mplayer achieved the same thing I was hoping to get from vdpauinfo. The problem here is that you still have a /usr/lib/libvdpau.so.185.18.31, and a /usr/lib/libvdpau.so.1 symlink to it. That's the old version of the library that doesn't look in the new /usr/lib/vdpau directory and instead just looks for /usr/lib/libvdpau_nvidia.so, which on your system is a symlink to the 185.18.31 version even though you have the 190.42 driver installed.

I'm not sure how you ended up with your system in this state. You have a bunch of different libvdpau_nvidia.so.* files from different versions, even though they should have been removed by the installer when it uninstalled the old versions.

I'd recommend deleting /usr/lib/libvdpau_nvidia* and then reinstalling the distribution packages that contain them.
Thanks!. That did it.

I've been going back and forth from Beta to Stable to Distro. I always did uninstall though. Strange.

Anyways, I'm fine!!!

Thx
jesso is offline   Reply With Quote
Old 11-23-09, 06:06 AM   #7
sxe
Registered User
 
Join Date: Nov 2009
Posts: 2
Default Re: Error when calling vdp_device_create_x11

Hey,

i want to let you know, that i ran into the same problems on archlinux with vdpau. But with the instructions from AaronP I was able to fix it. Thx
sxe 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 06:18 PM.


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