RPM with hardware acceleration

*nix specific usage questions
arcane
New Cone
New Cone
Posts: 8
Joined: 15 Jan 2010 22:32

RPM with hardware acceleration

Postby arcane » 05 Jun 2010 12:03

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.

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

Re: RPM with hardware acceleration

Postby Jean-Baptiste Kempf » 07 Jun 2010 22:28

Can you activate it in the GUI ?
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.

arcane
New Cone
New Cone
Posts: 8
Joined: 15 Jan 2010 22:32

Re: RPM with hardware acceleration

Postby arcane » 08 Jun 2010 00:48

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)?

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

Re: RPM with hardware acceleration

Postby dimstar » 10 Jun 2010 07:59

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.

arcane
New Cone
New Cone
Posts: 8
Joined: 15 Jan 2010 22:32

Re: RPM with hardware acceleration

Postby arcane » 11 Jun 2010 00:28

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?

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

Re: RPM with hardware acceleration

Postby dimstar » 11 Jun 2010 21:24

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

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

Re: RPM with hardware acceleration

Postby dimstar » 13 Jun 2010 14:44

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)

martin_t
New Cone
New Cone
Posts: 1
Joined: 03 Dec 2010 16:40

Re: RPM with hardware acceleration

Postby martin_t » 03 Dec 2010 17:01

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/


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

Who is online

Users browsing this forum: No registered users and 7 guests