libva/vdpau incompatible OpenSuse 11.3 repo?

*nix specific usage questions
nz256
New Cone
New Cone
Posts: 3
Joined: 12 Aug 2010 23:06

libva/vdpau incompatible OpenSuse 11.3 repo?

Postby nz256 » 13 Aug 2010 08:25

I'm using the VLC provided repo for OpenSUSE 11.3 and it seems there is some incompatibility between the vdpau and libva1 rpms.
Libva reports __vaDriverInit_0_31is missing because it is called __vaDriverInit_0_31_1_sds in vdpau.

Am I correct, or have I messed up the install somehow?

vdpau-video-nvidia-0.6.10-1.1.x86_64 from VideoLAN Project (http://www.videolan.org)
libva1-1.0.4-1.1.x86_64 from VideoLAN Project (http://www.videolan.org)

% vainfo
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva error: /usr/lib64/dri/nvidia_drv_video.so has no function __vaDriverInit_0_31
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

nz256
New Cone
New Cone
Posts: 3
Joined: 12 Aug 2010 23:06

Re: libva/vdpau incompatible OpenSuse 11.3 repo?

Postby nz256 » 13 Aug 2010 12:45

I fixed the above issue by downloading the libva source rpm, I edited the definition of __vaDriverInit_0_31 so that it matched __vaDriverInit_0_31_1_sds, I rebuilt the library, and then I manually installed the new library. This seems to have done the trick:

% vainfo
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API - 0.6.10
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libva/vdpau incompatible OpenSuse 11.3 repo?

Postby Jean-Baptiste Kempf » 13 Aug 2010 16:21

It should work in Vlc now.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dimstar
Cone that earned his stripes
Cone that earned his stripes
Posts: 177
Joined: 15 Dec 2006 14:05
Location: Bucuresti, Romania
Contact:

Re: libva/vdpau incompatible OpenSuse 11.3 repo?

Postby dimstar » 15 Aug 2010 18:29

Thanks for the report.

The issue got triggered with the update of libva from 1.0.1 to 1.0.4, which triggered a slight different code path in the detection during 'configure', resulting in this issue. The patch in vdpau-video-nvidia has been updated to reflect this change, and the currently published repo has this issue fixed.

nz256
New Cone
New Cone
Posts: 3
Joined: 12 Aug 2010 23:06

Re: libva/vdpau incompatible OpenSuse 11.3 repo?

Postby nz256 » 17 Aug 2010 11:17

Works great now. Thanks.

ASLok
New Cone
New Cone
Posts: 1
Joined: 27 Oct 2010 19:39

Re: libva/vdpau incompatible OpenSuse 11.3 repo?

Postby ASLok » 27 Oct 2010 19:56

Same problem with last Ubuntu:
Description: Ubuntu 10.10
Kernel: 2.6.35-22-generic

I have GeForce 9800 GT and last drivers for 64bits from nvidia.com. VDPAU work correctly in mplayer, but i have error with vlc.

Code: Select all

[aslok@3r]27.10.2010-20:46:09:~$ vlc Фильмы/The\ Harder\ They\ Come\ \(1972\)/The\ Harder\ They\ Come\ \(1972\).avi VLC media player 1.1.4 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") Blocked: call to setlocale(6, "") Blocked: call to sigaction(17, 0x7f63c3af6b20, 0x7f63c3af6a80) Blocked: call to setlocale(6, "") (2972) KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-aslok/icon-cache.kcache" page size is 4096 (2972) KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized (2972) KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping (2972) KSharedDataCache::Private::mapSharedMemory: 4501504 bytes available out of 10485760 Bus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/nvidia_drv_video.so Ошибка сегментирования [aslok@3r]27.10.2010-20:46:44:~$
Ошибка сегментирования means Segmentation error =(

Code: Select all

[aslok@3r]27.10.2010-20:48:23:~$ dpkg -S /usr/lib/dri/nvidia_drv_video.so vdpau-va-driver: /usr/lib/dri/nvidia_drv_video.so [aslok@3r]27.10.2010-20:48:41:~$ lsf /usr/lib/dri/ итого 42M -rw-r--r-- 1 root root 18K 2010-10-12 17:01 dummy_drv_video.so -rw-r--r-- 1 root root 3,3M 2010-09-30 20:19 i915_dri.so -rw-r--r-- 1 root root 3,4M 2010-09-30 20:19 i965_dri.so -rw-r--r-- 1 root root 3,2M 2010-09-30 20:19 mga_dri.so lrwxrwxrwx 1 root root 18 2010-10-27 12:24 nvidia_drv_video.so -> vdpau_drv_video.so -rw-r--r-- 1 root root 3,1M 2010-09-30 20:19 r128_dri.so -rw-r--r-- 1 root root 3,3M 2010-09-30 20:19 r200_dri.so -rw-r--r-- 1 root root 3,3M 2010-09-30 20:19 r300_dri.so -rw-r--r-- 1 root root 3,4M 2010-09-30 20:19 r600_dri.so -rw-r--r-- 1 root root 3,3M 2010-09-30 20:19 radeon_dri.so lrwxrwxrwx 1 root root 18 2010-10-27 12:24 s3g_drv_video.so -> vdpau_drv_video.so -rw-r--r-- 1 root root 3,2M 2010-09-30 20:19 savage_dri.so -rw-r--r-- 1 root root 3,2M 2010-09-30 20:19 sis_dri.so -rw-r--r-- 1 root root 2,9M 2010-09-30 20:19 swrast_dri.so -rw-r--r-- 1 root root 3,2M 2010-09-30 20:19 tdfx_dri.so -rw-r--r-- 1 root root 3,1M 2010-09-30 20:19 unichrome_dri.so -rw-r--r-- 1 root root 63K 2010-09-20 20:16 vdpau_drv_video.so [aslok@3r]27.10.2010-20:49:02:~$ dpkg -l | grep -i vdpau ii libvdpau1 0.4-5ubuntu1 Video Decode and Presentation API for Unix (libraries) ii nvidia-current 260.19.06-0ubuntu1 NVIDIA binary Xorg driver, kernel module and VDPAU library ii vdpau-va-driver 0.6.3-1 VDPAU-based backend for VA API [aslok@3r]27.10.2010-20:49:24:~$ dpkg -l | grep -i vlc rc libvlc2 1.0.6-1ubuntu1.1 multimedia player and streamer library ii libvlc5 1.1.4-1ubuntu1 multimedia player and streamer library rc libvlccore2 1.0.6-1ubuntu1.1 base library for VLC and its modules ii libvlccore4 1.1.4-1ubuntu1 base library for VLC and its modules ii vlc 1.1.4-1ubuntu1 multimedia player and streamer ii vlc-data 1.1.4-1ubuntu1 Common data for VLC ii vlc-nox 1.1.4-1ubuntu1 multimedia player and streamer (without X support) ii vlc-plugin-pulse 1.1.4-1ubuntu1 PulseAudio plugin for VLC [aslok@3r]27.10.2010-20:49:28:~$
I did check vainfo

Code: Select all

[aslok@3r]27.10.2010-20:53:59:~$ vainfo libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/nvidia_drv_video.so Ошибка сегментирования [aslok@3r]27.10.2010-20:54:00:~$ cat /var/log/Xorg.0.log | grep -i '"dri' -A5 [ 42.540] (II) LoadModule: "dri" [ 42.541] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so [ 42.553] (II) Module dri: vendor="X.Org Foundation" [ 42.553] compiled for 1.9.0, module version = 1.0.0 [ 42.553] ABI class: X.Org Server Extension, version 4.0 [ 42.553] (II) Loading extension XFree86-DRI [ 42.553] (II) LoadModule: "dri2" [ 42.554] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so [ 42.566] (II) Module dri2: vendor="X.Org Foundation" [ 42.566] compiled for 1.9.0, module version = 1.2.0 [ 42.566] ABI class: X.Org Server Extension, version 4.0 [ 42.566] (II) Loading extension DRI2 -- [ 44.457] (II) Loading sub module "dri2" [ 44.457] (II) LoadModule: "dri2" [ 44.457] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so [ 44.457] (II) NVIDIA(0): [DRI2] Setup complete [ 44.457] (==) RandR enabled [ 44.457] (II) Initializing built-in extension Generic Event Extension [ 44.457] (II) Initializing built-in extension SHAPE [aslok@3r]27.10.2010-20:54:34:~$
Ошибка сегментирования means Segmentation error =( I dont understand problem, can u see break point?

With mplayer everything is fine, no problems:

Code: Select all

[aslok@3r]27.10.2010-20:54:34:~$ mplayer -vo vdpau Фильмы/Крохотные\ Существа\ 1.avi MPlayer SVN-r1.0~svn-r32493-4.4.3 (C) 2000-2010 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Фильмы/Крохотные Существа 1.avi. AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 640x480 12bpp 25.000 fps 1454.9 kbps (177.6 kbyte/s) Clip info: Software: Nandub v1.0rc2 Title: Minuscule - La Vie priv�e des insectes - Volume 1 Subject: Minuscule - La Vie priv�e des insectes - Volume 1 Artist: beepbeeep ;) Copyright: 2K7.04 Comments: ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... [mpeg4 @ 0xbd9200]Invalid and inefficient vfw-avi packed B frames detected Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vdpau] 640x480 => 640x480 Planar YV12 A: 3.2 V: 3.2 A-V: -0.002 ct: -0.040 81/ 81 19% 10% 0.6% 3 0 Exiting... (Quit) [aslok@3r]27.10.2010-20:57:17:~$

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libva/vdpau incompatible OpenSuse 11.3 repo?

Postby Jean-Baptiste Kempf » 28 Oct 2010 22:48

vainfo output doesn't look good.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests