You are not logged in.

#1 2013-04-27 21:32:03

fixide
Member
Registered: 2013-04-27
Posts: 38

VLC don't use libva

Hello. I try to have VLC on my arch freshly installed with the acceleration functional.(intel driver)

The use of the gpu is checked in the option. Vlc did not mention the use of libva or any error in the console message.

Everything looks good at the driver (vainfo ok) but VLC does not seem to try to use va-api.

An idea?

thank you

vlc c*

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x178f108] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[0x7fcb88c06a08] dts decoder: DTS channels:6 samplerate:48000 bitrate:1536000
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7fcb64000958] pulse audio output error: PulseAudio server connection failure: Connection refused
Fontconfig warning: FcPattern object size does not accept value "0"
[h264 @ 0x7fcb88c33be0] Cannot parallelize deblocking type 1, decoding such frames in sequential order
Stream with high frequencies VQ coding

Vainfo :

vainfo
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.1)
vainfo: Driver version: Intel i965 driver - 1.0.20
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD

Installed :

ffmpeg libva libva-intel-driver vlc

Last edited by fixide (2013-04-27 21:59:29)

Offline

#2 2013-04-27 21:49:34

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: VLC don't use libva

Please use code tags for this kind of thing.

Offline

#3 2013-04-27 21:59:49

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

WonderWoofy wrote:

Please use code tags for this kind of thing.

Done smile

Offline

#4 2013-04-28 06:27:12

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: VLC don't use libva

Working fine here.  Are you using OpenGL for your output?  Is Direct Rendering enabled (check with "glxinfo | grep direct")? Do you have a setup that supports enabling VSync (to eliminate tearing)? [usually depends upon compositor used and it's settings]

$ vlc c*
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0xd571e8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[h264 @ 0x7f3c08c17d80] Cannot parallelize deblocking type 1, decoding such frames in sequential order

In my experience, if you choose hardware acceleration in VLC and it is not supported, you will either get no video output or very very slow video output.

You can also try '$ vlc --ffmpeg-hw yourvideofile' to look for error messages.

Offline

#5 2013-04-28 10:17:19

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

I have GLX (XCB) for the output in the "video" menu. I use only Kwin (i'm on kde) effects, but off (alt+ maj + f12) same issue. Previously i was on fedora and my vlc show if it use or not libva. 

With ffmpeg-hw i have :
[0x7fd4f8ca38b8] avcodec decoder warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled.
But no line "libva" after... The worry is that the log does not say if this is ok or not as if there were no libva for VLC.

Here is my glxinfo

glxinfo
name of display: :0
brwCreateContext: failed to init intel context
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_multisample, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_framebuffer_sRGB, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, 
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control, 
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile 
OpenGL version string: 2.1 Mesa 9.1.1
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_ANGLE_texture_compression_dxt3, 
    GL_ANGLE_texture_compression_dxt5, GL_APPLE_object_purgeable, 
    GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, 
    GL_ARB_ES2_compatibility, GL_ARB_color_buffer_float, GL_ARB_copy_buffer, 
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, 
    GL_ARB_depth_texture, GL_ARB_draw_buffers, 
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced, 
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions, 
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, 
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object, 
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, 
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, 
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query, 
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_range, GL_ARB_multisample, 
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, 
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sampler_objects, 
    GL_ARB_seamless_cube_map, GL_ARB_shader_bit_encoding, 
    GL_ARB_shader_objects, GL_ARB_shader_texture_lod, 
    GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_sync, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
    GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_storage, 
    GL_ARB_texture_swizzle, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra, 
    GL_ARB_vertex_array_object, GL_ARB_vertex_buffer_object, 
    GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_window_pos, 
    GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, 
    GL_ATI_envmap_bumpmap, GL_ATI_separate_stencil, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_abgr, 
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, GL_EXT_draw_buffers2, 
    GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, 
    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, 
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_provoking_vertex, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_shader_objects, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, 
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, 
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_array, 
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle, 
    GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm, 
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_vertex_array, 
    GL_EXT_vertex_array_bgra, GL_IBM_multimode_draw_arrays, 
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, 
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_texture_array, 
    GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_MESA_ycbcr_texture, 
    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, 
    GL_NV_primitive_restart, GL_NV_texgen_reflection, 
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_OES_EGL_image, 
    GL_OES_read_format, GL_S3_s3tc, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, 
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

12 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x022 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x077 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x078 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x079 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x07b 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x07c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x07d 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07f 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x05e 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

24 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x05f  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x060  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x061  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x062  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x063 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x064 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x065 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x066 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x067  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x068  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x069 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x06a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x06b  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06c  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06d  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06e  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06f 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x070 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x071 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x072 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x073  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x074  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x075 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x076 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

Last edited by fixide (2013-04-28 10:27:31)

Offline

#6 2013-04-28 15:48:12

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: VLC don't use libva

Well, when I use vlc -v (for verbose output) it appears that libva is not being used with the intel driver anyway.  Nevertheless, I do not see any tearing or flaws when watching videos as long as VSync is enabled.  I run kwin on my Mageia 2 partition (same laptop).  There is a setting there for enabling VSync. 

Go to Desktop Effects > Advanced.  Try the following settings.

Compositing type: OpenGL
Keep window thumbnails: Only for Shown Windows
Scale method: Accurate
unchecked - Suspend desktop effects for fullscreen windows
unchecked - Use OpenGL 2 Shaders
checked - Use VSync

See also: http://wiki.videolan.org/VLC_VAAPI

Offline

#7 2013-04-28 17:24:18

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

Compositing type: OpenGL : Already done
Keep window thumbnails: Only for Shown Windows : Already done
Scale method: Accurate : Already done
unchecked - Suspend desktop effects for fullscreen windows : Already done
unchecked - Use OpenGL 2 Shaders : Done
checked - Use VSync : Already done

Test with verbose output and no mention of libva sad.

 vlc -v M*
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libgme_plugin.so' (libgme.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)             
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/text_renderer/libsvg_plugin.so' (librsvg-2.so.2: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)  
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_dv_plugin.so' (libavc1394.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)  
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_gnomevfs_plugin.so' (libgnomevfs-2.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)                                                                                               
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libdc1394_plugin.so' (libdc1394.so.22: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)     
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_mtp_plugin.so' (libmtp.so.9: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)     
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libvcdx_plugin.so' (libvcdinfo.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)       
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/services_discovery/libmtp_plugin.so' (libmtp.so.9: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.2: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libgoom_plugin.so' (libgoom2.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libtwolame_plugin.so' (libtwolame.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so' (libfluidsynth.so.1: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/audio_output/libportaudio_plugin.so' (libportaudio.so.2: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/notify/libxosd_plugin.so' (libxosd.so.2: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
[0x21d0108] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[0x7f3d880030a8] ps demux warning: garbage at input, trying to resync...
[0x7f3d880030a8] ps demux warning: found sync code
[0x7f3d88c16118] avcodec decoder warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled
[0x7f3d88c16118] avcodec decoder warning: threaded slice decoding is not compatible with ffmpeg-hw, disabled
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7f3d58000958] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x7f3d58000958] alsa audio output warning: device cannot be paused
Fontconfig warning: FcPattern object size does not accept value "0"

Offline

#8 2013-04-28 17:47:11

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

I have take VLC 2.1.0 git and we have more infos :

Edit : Work with mplayer-vaapi , but not with vlc sad

vlc M*
VLC media player 2.1.0-git Rincewind (revision 1.3.0-git-5243-gdc647fe)
[0xed0fc8] pulse audio output error: PulseAudio server connection failure: Connection refused
[0xdff108] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_33
[0xed0fc8] alsa audio output error: cannot find supported channels map
libva info: va_openDriver() returns 0
[0x7f8bc0c44128] avcodec decoder error: acceleration not available
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"

Last edited by fixide (2013-04-28 18:03:06)

Offline

#9 2013-04-28 18:36:08

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: VLC don't use libva

fixide wrote:

Compositing type: OpenGL : Already done
Keep window thumbnails: Only for Shown Windows : Already done
Scale method: Accurate : Already done
unchecked - Suspend desktop effects for fullscreen windows : Already done
unchecked - Use OpenGL 2 Shaders : Done
checked - Use VSync : Already done

Test with verbose output and no mention of libva sad .

I didn't mean that would enable libva in VLC.  Just that you should not get video tearing with those settings.

Offline

#10 2013-05-08 12:01:10

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: VLC don't use libva

I found the answer you are looking for in the following bug report:
https://bugs.archlinux.org/task/33901

I tried the following, and it works.
Install ffmpeg 1.1.2-3. 

Start by clicking on the download link on the following webpage.

https://projects.archlinux.org/svntogit … adf3814e33

Next follow the directions for installing a package from AUR.
https://wiki.archlinux.org/index.php/Ar … Repository

Not sure why ffmpeg 1.1.2-3 is not available in /extra/ or /extra/testing/, and not sure why later upgrades are not applied to ffmpeg 1.1.2-3.

https://projects.archlinux.org/svntogit … ges/ffmpeg

Offline

#11 2013-05-08 15:48:54

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

Running fine !

Big thanks !

libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
[0x7fb440c0cca8] avcodec decoder: Using VA API version 0.33 for hardware decoding.
libva info: VA-API version 0.33.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
[0x7fb440c0cca8] avcodec decoder: Using VA API version 0.33 for hardware decoding.

Offline

#12 2013-05-12 14:43:14

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

There was an update with the version 1:1.2.1-1 which had the same issue.

https://projects.archlinux.org/svntogit … ges/ffmpeg

Offline

#13 2013-05-12 17:35:28

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: VLC don't use libva

Not exactly sure what you mean by "the same issue".  Does it work or not?  I currently do not have internet available on my personal computer to check out that update.  I flagged the previous update as "out of date" and received the following message from the maintainer 2 days ago.

On 2013-05-09 09:30, Arch Website Notification wrote:
> xxxxx@xxx.net wants to notify you that the following packages may be out-of-date:
>
>
> * ffmpeg 1:1.2-2 [extra] (i686): https://www.archlinux.org/packages/extra/i686/ffmpeg/
> * ffmpeg 1:1.2-2 [extra] (x86_64): https://www.archlinux.org/packages/extra/x86_64/ffmpeg/
>
>
> The user provided the following additional text:
>
> ffmpeg 1.1.3 from 02/26/13 fixes problem with vaapi on intel hardware (64-bit here) but is not in /extra/ or /extra/testing/  Oddly later updates to ffmpeg in arch are lower version numbers than 1.1.3.
>

Hi,

I just pushed ffmpeg 1.2.1. I hope it does fix your issue.

Cheers!

--
Bartłomiej Piotrowski

EDIT:  Notice that the version number that was pushed by the maintainer is different than the version number of the update 2 days ago (1.2.1 vs 1.1.2.1).  Perhaps a typo?

Last edited by David Batson (2013-05-12 17:41:31)

Offline

#14 2013-05-12 18:00:31

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

Everything worked with the version you gave me 08/05 and I have compiled. (1.1.2-3?)

However I did a pacman-Syu today and it gave me an updated ffmpeg with the new push by the maintainer 1.1.2.1-1 (?)

And with the update , that don't work. The symptoms are the same as the beginning. No trace of libva to launch the same video with the verbose mode.

Last edited by fixide (2013-05-12 18:02:57)

Offline

#15 2013-05-12 18:07:16

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

The newest version on repos pushed on pacman who wants me to do this update (don't work) :

[damien@Mithril ~]$ ffmpeg
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 10 2013 16:31:05 with gcc 4.8.0 (GCC) 20130502 (prerelease)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-vdpau --enable-version3 --enable-x11grab
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Your version (work) :

[damien@Mithril ~]$ ffmpeg
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  8 2013 17:44:58 with gcc 4.8.0 (GCC) 20130502 (prerelease)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-version3 --enable-x11grab
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Last edited by fixide (2013-05-12 18:12:43)

Offline

#16 2013-05-20 19:04:18

fixide
Member
Registered: 2013-04-27
Posts: 38

Re: VLC don't use libva

No idea? sad

Offline

#17 2013-06-12 10:32:44

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 218

Re: VLC don't use libva

i've got the same with vlc, mplayer2 with smplayer works fine.

Last edited by Perfect Gentleman (2013-06-16 15:28:51)

Offline

#18 2013-07-05 15:01:15

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 121

Re: VLC don't use libva

Can anyone post the compiled package for the patched ffmpeg, please? My computer is so slow...


/usr/bin/drinking

Offline

#19 2013-07-08 14:22:29

ftoretan
Member
Registered: 2013-07-08
Posts: 1

Re: VLC don't use libva

I had the same issue with vaapi and vlc not using hardware acceleration. It loks like Arch ffmpeg package compiled without vaapi support, I've managed to fix the issue by adding

--enable-vaapi

to ffmpeg PKGBUILD, and recompiling the package

 ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 14 2013 17:55:38 with gcc 4.8.1 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug
 --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex 
--enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-postproc 
--enable-runtime-cpudetect --enable-shared --enable-vdpau --enable-vaapi --enable-version3 --enable-x11grab
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100                                                                                                                                            
Hyper fast Audio and Video encoder                                                                                                                                                  
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

VLC is now working using h/w acceleration

Offline

Board footer

Powered by FluxBB