nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Error when calling vdp_device_create_x11 (http://www.nvnews.net/vbulletin/showthread.php?t=141656)

jesso 11-22-09 10:32 AM

[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...


AaronP 11-22-09 04:23 PM

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".

jesso 11-22-09 06:06 PM

Re: Error when calling vdp_device_create_x11
 
Quote:

Originally Posted by AaronP (Post 2128693)
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 11-22-09 06:15 PM

Re: Error when calling vdp_device_create_x11
 
2 Attachment(s)
Quote:

Originally Posted by AaronP (Post 2128693)
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.

AaronP 11-22-09 06:54 PM

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.

jesso 11-22-09 07:32 PM

Re: Error when calling vdp_device_create_x11
 
Quote:

Originally Posted by AaronP (Post 2128780)
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

sxe 11-23-09 06:06 AM

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


All times are GMT -5. The time now is 06:53 AM.

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