HDMI and LVDS does not clone opengl content

Dexter Travis dexter.travis at precisionplanting.com
Fri Dec 1 15:05:20 UTC 2017


I am running kernel 4.14 and mesa 17.2 with etnaviv on a imx6 dual plus. I
do not have X11 my application is Qt5.9 with eglfs.

Currently applications that write to the framebuffer show on both screens.
psplash and fb-test both display on both screens at the same time.

OpenGL apps such as kmscube only output to the HDMI screen.  The old
framebuffer content is left on the lvds screen.

Please help me get opengl content cloned at the same time to both screens.

Some system information is below.

root at ppdisplayimx:~# kmscube -D /dev/dri/card1
Using display 0x93f060 with EGL version 1.4
===================================
EGL information:
  version: "1.4 (DRI2)"
  vendor: "Mesa Project"
  client extensions: "EGL_EXT_client_extensions EGL_EXT_platform_base
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_MESA_platform_gbm"
  display extensions: "EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context
EGL_KHR_create_context_no_error EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export "
===================================
OpenGL ES 2.x information:
  version: "OpenGL ES 2.0 Mesa 17.2.5"
  shading language version: "OpenGL ES GLSL ES 1.0.16"
  vendor: "etnaviv"
  renderer: "Vivante GC3000 rev 5450"
  extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer
GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8
GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float
GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil
GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary
GL_APPLE_texture_max_level GL_EXT_discard_framebuffer
GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments
GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object
GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil
GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug
GL_OES_surfaceless_context GL_EXT_separate_shader_objects
GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex
GL_EXT_texture_border_clamp GL_KHR_context_flush_control
GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp
GL_KHR_no_error "
===================================
^C
root at ppdisplayimx:~# uname -a
Linux ppdisplayimx 4.14.0-fslc+g0b2f8f4 #13 SMP PREEMPT Thu Nov 30 17:35:59
CST 2017 armv7l GNU/Linux

root at ppdisplayimx:~# cat /proc/cmdline
console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw isplus=plus
video=HDMI-A-1:1200x800 at 60e


Thank you,


Dexter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20171201/4084ff62/attachment.html>


More information about the etnaviv mailing list