[SOLVED] VDPAU troubles, "Trying to open /usr/lib64/dri/nvidia_drv_video.so" [14.1,current]
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
VDPAU troubles, "Trying to open /usr/lib64/dri/nvidia_drv_video.so" [14.1,current]
I'm marking the thread solved for now.
It turned out that the package "libvdpau-va-gl-0.3.4-x86_64-1ponce" created some scrips in /etc/profile.d/ that set the VDPAU_DRIVER environment variable to va_gl and these files did not get removed on package uninstallation.
I am now merely running libvdpau-1.1 and the proprietary NVIDIA driver.
vdpauinfo now shows progress.
Code:
vdpauinfo
display: :0 screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library 352.30 Tue Jul 21 18:25:55 PDT 2015
Video surface:
name width height types
-------------------------------------------
420 4096 4096 NV12 YV12
422 4096 4096 UYVY YUYV
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 0 65536 4080 4080
MPEG2_SIMPLE 3 65536 4080 4080
MPEG2_MAIN 3 65536 4080 4080
H264_BASELINE --- not supported ---
H264_MAIN 41 65536 4096 4096
H264_HIGH 41 65536 4096 4096
VC1_SIMPLE 1 8190 2048 2048
VC1_MAIN 2 8190 2048 2048
VC1_ADVANCED 4 8190 2048 2048
MPEG4_PART2_SP 3 8192 2048 2048
MPEG4_PART2_ASP 5 8192 2048 2048
DIVX4_QMOBILE 0 8192 2048 2048
DIVX4_MOBILE 0 8192 2048 2048
DIVX4_HOME_THEATER 0 8192 2048 2048
DIVX4_HD_1080P 0 8192 2048 2048
DIVX5_QMOBILE 0 8192 2048 2048
DIVX5_MOBILE 0 8192 2048 2048
DIVX5_HOME_THEATER 0 8192 2048 2048
DIVX5_HD_1080P 0 8192 2048 2048
H264_CONSTRAINED_BASELINE --- not supported ---
H264_EXTENDED --- not supported ---
H264_PROGRESSIVE_HIGH --- not supported ---
H264_CONSTRAINED_HIGH --- not supported ---
H264_HIGH_444_PREDICTIVE --- not supported ---
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 16384 16384 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2 16384 16384 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
Bitmap surface:
name width height
------------------------------
B8G8R8A8 16384 16384
R8G8B8A8 16384 16384
R10G10B10A2 16384 16384
B10G10R10A2 16384 16384
A8 16384 16384
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL y
INVERSE_TELECINE y
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 y
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 1 4096
VIDEO_SURFACE_HEIGHT y 1 4096
CHROMA_TYPE y
LAYERS y 0 4
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
Original post:
I am not very experienced with VDPAU so I can't give much info from myself, if there is something I should post, please tell me.
The error I am getting:
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
The VDPAU tab in the nvidia-settings tool reports API version 1, with no supported codecs listed.
I'm on Slackware 14.1 current, 64 bit, multilib.
I'm using an Nvidia GTX 750Ti card.
I'm using the proprietary nvidia driver version 352.30, straight from the *.run package, not the slackbuild one.
I have the following libraries installed:
libva-1.5.1-x86_64-1
libva-compat32-1.5.1-x86_64-1compat32
libva-intel-driver-1.5.1-x86_64-1
libva-intel-driver-compat32-1.5.1-x86_64-1compat32
I have tried removing the packages and reinstalling the driver, it offered to install (some deprecated?) wrappers that come with the driver package for me.
That didn't solve the problem. I was prompted to supply the libvdpau-va-gl library in that case.
Is this something that can be fixed? Or did I perhaps buy a card that doesn't support VDPAU under Linux? (Edit: Internet searches suggest it has support for it, some reviewers actually calling it excellent.https://www.phoronix.com/scan.php?pa...50linux&num=13 )
Maybe, as a quick try, grab Alien Bob's vlc package as that has vdpau built in and see if it works.
I can't access pastebin at work, so I am unable to help you with your compile error, but hopefully someone else can chime in.
Hm, playback withAlien Bobs VLC seems accellerated. The file I tried playing back with mplayer, which had the video lag behind the audio is playing correctly. Thank you for pointing me into that direction.
Some build log highlights:
Code:
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBVA_DEPS... yes
checking for LIBVA_X11_DEPS... yes
checking for LIBVA_GLX_DEPS... yes
checking for VA API... yes
checking for VA API (GLX extensions)... no
checking for VA drivers path... /usr/lib64/dri
checking for VDPAU... yes
checking for VDPAU/MPEG-4 support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
vdpau-video configuration summary:
VA-API version ................... : 0.37.0
VA-API drivers path .............. : /usr/lib64/dri
VDPAU version .................... : 1
VDPAU/MPEG-4 support ............. : yes
GLX support ...................... : no
vdpau_driver.c: In function vdpau_do_Initialize:
vdpau_driver.c:288:16: error: request for member vaTerminate in something not a structure or union
ctx->vtable.vaTerminate = vdpau_Terminate;
^
vdpau_driver.c:289:16: error: request for member vaQueryConfigEntrypoints in something not a structure or union
ctx->vtable.vaQueryConfigEntrypoints = vdpau_QueryConfigEntrypoints;
^
vdpau_driver.c:290:16: error: request for member vaQueryConfigProfiles in something not a structure or union
ctx->vtable.vaQueryConfigProfiles = vdpau_QueryConfigProfiles;
----------------------
(this continues for various members)
----------------------
vdpau_dump.c: In function string_of_VABufferType:
vdpau_dump.c:62:11: error: VAEncH264VUIBufferType undeclared (first use in this function)
_(VAEncH264VUIBufferType);
^
vdpau_decode.c: In function vdpau_EndPicture:
vdpau_decode.c:1400:43: error: invalid use of void expression
obj_context->vdp_bitstream_buffers);
^
The rest of the log is mostly about warnings and notes about various macros.
I have tried building the 14.1 version of the package but it doesn't compile either. Don't have the log for that on hand right now though. I can add it, if it might be helpful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.