No hardware acceleration in Fedora 24
Posted: 24 Jul 2016 16:53
Hello,
I have installed VLC 3.0.0-git Vetinari (revision 2b82c9f) (version provided by RPMFusion) on a clean Fedora 24 installation but I am not able to get hardware acceleration working. I'm using a Haswell laptop with integrated Intel graphics and a dedicated Nvidia card, which is currently deactivated. I would like to use VA-API for acceleration, obviously.
I had no trouble getting it to work on Fedora 23 just by adding the "libva-intel-driver" package and specifying "VA-API video decoder via DRM" under "Hardware-accelerated decoding" in Preferences. The main difference is that, in that case, RPMFusion provides VLC 2.2.4
The package seems to be correctly installed:
I'll now list everything I tried.
If starting VLC from terminal, I get the following error:
No reference to the VA-API version.
As a consequence I tried to install "libvdpau-va-gl" which provides that shared object. Trying to run again VLC from terminal returns the following reference to VA-API:
With this setup, however, the hardware acceleration doesn't work either. Moreover, I got another problem related to the fullscreen mode, the window occupies the whole screen but the video does not fit the window dimension, remaining on the top-left angle and leaving the rest of the screen black.
Then, I tried to change the output mode under the "Video" section in Preferences. In this way, I realized that the strange behaviour of the fullscreen mode happened only with "VDPAU output".
I tried setting "OpenGL GLX video output", "XVideo output", "X11 video output" "OpenGL video output" but with every one of them the hardware acceleration is not working either and there is no reference to VA-API in the output starting VLC from command line.
I made all these attempts leaving the "Hardware-accelerated decoding" on "VA-API video decoder via DRM".
I'm available for further tests or explanations of my problem.
I have installed VLC 3.0.0-git Vetinari (revision 2b82c9f) (version provided by RPMFusion) on a clean Fedora 24 installation but I am not able to get hardware acceleration working. I'm using a Haswell laptop with integrated Intel graphics and a dedicated Nvidia card, which is currently deactivated. I would like to use VA-API for acceleration, obviously.
I had no trouble getting it to work on Fedora 23 just by adding the "libva-intel-driver" package and specifying "VA-API video decoder via DRM" under "Hardware-accelerated decoding" in Preferences. The main difference is that, in that case, RPMFusion provides VLC 2.2.4
The package seems to be correctly installed:
Code: Select all
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.7.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
If starting VLC from terminal, I get the following error:
Code: Select all
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
As a consequence I tried to install "libvdpau-va-gl" which provides that shared object. Trying to run again VLC from terminal returns the following reference to VA-API:
Code: Select all
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Then, I tried to change the output mode under the "Video" section in Preferences. In this way, I realized that the strange behaviour of the fullscreen mode happened only with "VDPAU output".
I tried setting "OpenGL GLX video output", "XVideo output", "X11 video output" "OpenGL video output" but with every one of them the hardware acceleration is not working either and there is no reference to VA-API in the output starting VLC from command line.
I made all these attempts leaving the "Hardware-accelerated decoding" on "VA-API video decoder via DRM".
I'm available for further tests or explanations of my problem.