Page 1 of 1

RPM with hardware acceleration

Posted: 05 Jun 2010 12:03
by arcane
Do there exist any precompiled packages (rpm for OpenSUSE, preferably) for VLC 1.1 with hardware acceleration (VDPAU/VAAPI)? I tried the 1.1.rc and 1.2-preview packages from the VideoLAN repository but hw acceleration doesn't seem to be enabled.

Re: RPM with hardware acceleration

Posted: 07 Jun 2010 22:28
by Jean-Baptiste Kempf
Can you activate it in the GUI ?

Re: RPM with hardware acceleration

Posted: 08 Jun 2010 00:48
by arcane
I finally did find the option "Use GPU acceleration (experimental)" after I switched the options/settings dialog to "simple". Usually I have it set to "all" where this option doesn't seem to exist. Unfortunately, "Use GPU acceleration" is grayed out (for 1.1.rc and 1.2.beta). So guess this answers my question if the build from the VideoLAN repository has hardware acceleration enabled in the negative.

The question that remains is: where can I find a build where hardware acceleration can be enabled? Or is this option only available if certain prerequisites are fulfilled (e.g libva or vdpau-video which I have both installed)?

Re: RPM with hardware acceleration

Posted: 10 Jun 2010 07:59
by dimstar
New RPMs for 1.1-rc2 ad also 1.2 preview with libva enabled have arrived on the mirrors. Not sure though if anything is missing.

Re: RPM with hardware acceleration

Posted: 11 Jun 2010 00:28
by arcane
I installed the new rpm of vlc-1.2.0 and now I can activate "GPU acceleration".

Unfortunately, when opening a h264 video I get the following error message:

libva: libva version 0.31.0
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 -1

I have x11-video-nvidiaG02 195.36.15 installed and the library "libvdpau_nvidia.so" does exist, but I could not find "nvidia_drv_video.so". Where do I get this library from?

Re: RPM with hardware acceleration

Posted: 11 Jun 2010 21:24
by dimstar
The required DRI drivers are, of course, out of scope for the VLC player and it's repositories.
Nevertheless, as an info on where to find the proper driver:

http://freedesktop.org/wiki/Software/vaapi (vaapi is the library / api used; it is manufacturer independent)

There you can find links to various DRI drivers, namely also one for nvidia cards.
Hth,
Dominique

Re: RPM with hardware acceleration

Posted: 13 Jun 2010 14:44
by dimstar
For users of openSUSE Factory (11.3 to be) there are currently some vdpau-video-nvidia packages in the VideoLAN repository. Testing is welcome.

On 11.2 those did not yet build successfully (well, mainly lib dpau did not build, so you could get the srpm and try rpmbuilding it on your own machine, as vdpau is installed with the nvidia binary driver on such a machine)

Re: RPM with hardware acceleration

Posted: 03 Dec 2010 17:01
by martin_t
I installed the new rpm of vlc-1.2.0 and now I can activate "GPU acceleration".

Unfortunately, when opening a h264 video I get the following error message:

libva: libva version 0.31.0
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 -1

I have x11-video-nvidiaG02 195.36.15 installed and the library "libvdpau_nvidia.so" does exist, but I could not find "nvidia_drv_video.so". Where do I get this library from?
I had this problem and it was solved by installing vdpau-va-driver (I use Debian Squeeze and have an nvidia graphics card)

I found this later: http://alien.slackbook.org/blog/decodin ... eo-in-vlc/