Other Parts Discussed in Thread: TVP5158
Tool/software: Linux
Dear all:
Now I used tvp5158 to capture 4ch D1 video. Used capturevpedisplay 720 288 yuyv 720 576 yuyv 1 1 -s 32:1920x1080, is ok.The video display in HDMI.
But when I used dmabuftest to capture and display video. run the dmabuftest,have error.
dmabuftest --multi 4 -d /dev/video1 -c 720x288@YUYV -d /dev/video2 -c 720x288@YUYV -d /dev/video3 -c 720x288@YUYV -d /dev/video4 -c 720x288@YUYV --kmscube --connector 32 --fov 20
print error: ERROR:init_gl:396: No EGL_EXT_image_dma_buf_import extension?!
In the source code,git.ti.com/glsdk/omapdrmtest/util/display-kmscube.c can find the error priint point.
printf("GL Extensions \"%s\"\n", exts);
394
395
if (!strstr(eglQueryString(disp_kmsc->gl.display, EGL_EXTENSIONS), "EGL_EXT_image_dma_buf_import")) {
396
ERROR("No EGL_EXT_image_dma_buf_import extension?!");
397
return -1;
398
}
how can I add EGL_EXT_image_dma_buf_import extension, to run dmabuftest .
follow is full print:
root@am57xx-evm:~# ./dmabuftest --multi 4 -d /dev/video1 -c 720x288@YUYV -d /dev/video2 -c 720x288@YUYV -d /dev/video3 -c 720x288@YUYV -d /dev/video4 -c 720x288@YUYV --kmscube --connector 32 --fov 20
Opening Display..
Chosen Connector ID = 32
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
Using display 0x1 with EGL version 1.4
EGL Version "1.4 build 1.14@3699939 (MAIN)"
EGL Vendor "Imagination Technologies"
EGL Extensions "EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display"
GL Extensions "GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot GL_OES_surfaceless_context GL_EXT_discard_framebuffer GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_draw_buffers GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture GL_KHR_debug"
ERROR:init_gl:396: No EGL_EXT_image_dma_buf_import extension?!
ERROR:render_thread:984: couldn't init gl(es)