iMX6 - Qt5 serious tearing problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX6 - Qt5 serious tearing problem

1,687件の閲覧回数
alanvice
Contributor I

Hi all!

I'm developing a software based on Qt5+QML that shows on a fullhd screen some sliding images and scrolling text.

The hardware is an iMX6Quad with debian 7 arm + vivante drivers. Kernel version 3.0.35-g210bacb.

I tried to compile Qt5 with eglfs and xcb support and both have the same tearing problem even defining QML_FIXED_ANIMATION_STEP=1 (see attached pictures).

As you can see in the pictures if i declare QML_FIXED_ANIMATION_STEP the fps jumps to >60 values but the tearing is still there.

The "top" screenshot is taken during the animation and shows that the problem is not caused by cpu overload.


Has anyone encountered the same problem? How can i solve it?

 

This is the glxinfo output:

./glxinfo name of display: :0 display: :0  screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions:     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,     GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,     GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,     GLX_SGIX_pbuffer, GLX_MESA_copy_sub_buffer, GLX_INTEL_swap_event client glx vendor string: Vivante Corp client glx version string: 1.4 client glx extensions:     GLX_SGI_make_current_read,  GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,     GLX_ARB_get_proc_address GLX version: 1.4 GLX extensions:     GLX_SGI_make_current_read, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer OpenGL vendor string: Vivante Corporation OpenGL renderer string: GC2000 Graphics Engine OpenGL version string: 2.1 2.0.1 OpenGL shading language version string: 1.20 OpenGL extensions:     WGL_ARB_extensions_string, WGL_EXT_extensions_string,     WGL_EXT_swap_control, GL_EXT_texture_env_add, GL_ARB_multitexture,     GL_ARB_multisample, GL_ARB_texture_env_add, GL_ARB_texture_compression,     GL_ARB_texture_env_combine, GL_ARB_depth_texture, GL_ARB_window_pos,     GL_ARB_vertex_buffer_object, GL_ARB_shader_objects, GL_ARB_vertex_shader,     GL_ARB_fragment_shader, GL_ARB_texture_non_power_of_two,     GL_ARB_fragment_program_shadow, GL_EXT_texture_rectangle,     GL_ARB_texture_rectangle, GL_ARB_pixel_buffer_object, GL_EXT_abgr,     GL_EXT_blend_color, GL_EXT_polygon_offset, GL_EXT_texture,     GL_EXT_texture3D, GL_EXT_subtexture, GL_EXT_histogram,     GL_EXT_convolution, GL_EXT_texture_object, GL_SGIS_texture_lod,     GL_EXT_rescale_normal, GL_EXT_vertex_array, GL_SGIS_generate_mipmap,     GL_EXT_draw_range_elements, GL_EXT_bgra, GL_EXT_separate_specular_color,     GL_EXT_secondary_color, GL_EXT_texture_env_combine,     GL_EXT_blend_func_separate, GL_EXT_texture_lod_bias,     GL_EXT_texture_filter_anisotropic, GL_EXT_texture_compression_s3tc,     GL_NV_texture_rectangle, GL_ATI_vertex_array_object, GL_ATI_element_array,     GL_EXT_stencil_two_side, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,     GL_ATI_separate_stencil, GL_EXT_blend_equation_separate,     GL_EXT_pixel_buffer_object, GL_EXT_color_table, GL_SGI_color_matrix,     GL_EXT_texture_cube_map, GL_ARB_imaging, GL_EXT_framebuffer_object,     GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,     GL_EXT_texture_array, GL_EXT_draw_buffers2, GL_EXT_texture_buffer_object,     GL_EXT_draw_instanced, GL_EXT_timer_query   16 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 ---------------------------------------------------------------------------- 0x0c2 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x0c3 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 None 0x0c4 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x0c5 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 None 0x0ca 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x0cb 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 None 0x0cc 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x0cd 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 None 0x0d1 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x0d2 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 None 0x0d3 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x0d4 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 None 0x0d9 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x0da 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 None 0x0db 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x0dc 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 None   16 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 ---------------------------------------------------------------------------- 0x052 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x053 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow 0x054 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x055 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow 0x05a 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x05b 16 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow 0x05c 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x05d 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow 0x092 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x093 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow 0x094 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None 0x095 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow 0x09a 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x09b 16 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow 0x09c 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None 0x09d 16 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow  

Original Attachment has been moved to: tearing.zip

ラベル(4)
0 件の賞賛
0 返答(返信)