[Mesa-users] EGL: eglChooseConfig returns num_config=0

Christian Stadelmann christian.stadelmann at mailbox.org
Wed May 8 21:29:58 UTC 2019


Dear mesa-EGL developers,

I just updated to Fedora 30 [1] and I start to get an error message:

> Failed to initialize accelerated iGPU/dGPU framebuffer sharing: No
matching EGL configs

which happens because (see [2] for details) eglChooseConfig returns 0
matches. Is this expected to happen? 

My hardware has only one GPU: an Intel iGPU from the first generation
of Core i5 CPUs, i.e. Core i5-650. [3]

I've attached the standard output of `eglinfo`. It prints this line to
stderr though:

> i965_dri.so does not support the 0xffffffff PCI ID.


[1] with: mesa-egl 19.0.3, kernel 5.0.11, gnome-shell 3.32.1, mutter
3.32.1

[2] The warning consists of 2 parts being generated by
1. mutter's src/backends/native/meta-renderer-native.c:3773 in
init_secondary_gpu_data()
https://gitlab.gnome.org/GNOME/mutter/blob/gnome-3-32/src/backends/native/meta-renderer-native.c#L3773
2. mutter's src/backends/meta-egl.c:325 in meta_egl_choose_all_configs
https://gitlab.gnome.org/GNOME/mutter/blob/gnome-3-32/src/backends/meta-egl.c#L324

[3] Details: 
https://ark.intel.com/content/www/us/en/ark/products/43546/intel-core-i5-650-processor-4m-cache-3-20-ghz.html

-- 
Regards
Chris
-------------- next part --------------
EGL client extensions string:
    EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query
    EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
    EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland
    EGL_EXT_platform_x11 EGL_MESA_platform_gbm
    EGL_MESA_platform_surfaceless

GBM platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import 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_colorspace
    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_EXT_pixel_format_float
    EGL_KHR_wait_sync EGL_MESA_configless_context
    EGL_MESA_image_dma_buf_export
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x34325241--         y  y  y     win
0x02 32  0  8  8  8  8 16  0  0 0 0x34325241--         y  y  y     win
0x03 32  0  8  8  8  8 24  0  0 0 0x34325241--         y  y  y     win
0x04 32  0  8  8  8  8 24  8  0 0 0x34325241--         y  y  y     win
0x05 32  0  8  8  8  8 32  0  0 0 0x34325241--         y  y  y     win
0x06 24  0  8  8  8  0  0  0  0 0 0x34325258--         y  y  y     win
0x07 24  0  8  8  8  0 16  0  0 0 0x34325258--         y  y  y     win
0x08 24  0  8  8  8  0 24  0  0 0 0x34325258--         y  y  y     win
0x09 24  0  8  8  8  0 24  8  0 0 0x34325258--         y  y  y     win
0x0a 24  0  8  8  8  0 32  0  0 0 0x34325258--         y  y  y     win
0x0b 16  0  5  6  5  0  0  0  0 0 0x36314752--         y  y  y     win
0x0c 16  0  5  6  5  0 16  0  0 0 0x36314752--         y  y  y     win
0x0d 16  0  5  6  5  0 24  0  0 0 0x36314752--         y  y  y     win
0x0e 16  0  5  6  5  0 24  8  0 0 0x36314752--         y  y  y     win
0x0f 16  0  5  6  5  0 32  0  0 0 0x36314752--         y  y  y     win

Wayland platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_swap_buffers_with_damage 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_colorspace 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_base
    EGL_KHR_no_config_context EGL_KHR_reusable_sync
    EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage
    EGL_EXT_pixel_format_float EGL_KHR_wait_sync
    EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 16  0  5  6  5  0  0  0  0 0 0x00--         y  y  y     win
0x02 16  0  5  6  5  0 16  0  0 0 0x00--         y  y  y     win
0x03 32  0  8  8  8  8  0  0  0 0 0x00--         y  y  y     win
0x04 32  0  8  8  8  8 24  8  0 0 0x00--         y  y  y     win
0x05 24  0  8  8  8  0  0  0  0 0 0x00--         y  y  y     win
0x06 24  0  8  8  8  0 24  8  0 0 0x00--         y  y  y     win

X11 platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_CHROMIUM_sync_control EGL_EXT_buffer_age
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    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_colorspace
    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_EXT_pixel_format_float
    EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x24TC      a  y  y  y     win,pb,pix
0x02 32  0  8  8  8  8 24  8  0 0 0x24TC      a  y  y  y     win,pb,pix
0x03 24  0  8  8  8  0  0  0  0 0 0x24TC      y  y  y  y     win,pb,pix
0x04 24  0  8  8  8  0 24  8  0 0 0x24TC      y  y  y  y     win,pb,pix
0x05 32  0  8  8  8  8  0  0  0 0 0x25DC      a  y  y  y     win,pb,pix
0x06 32  0  8  8  8  8 24  8  0 0 0x25DC      a  y  y  y     win,pb,pix
0x07 24  0  8  8  8  0  0  0  0 0 0x25DC      y  y  y  y     win,pb,pix
0x08 24  0  8  8  8  0 24  8  0 0 0x25DC      y  y  y  y     win,pb,pix



More information about the mesa-users mailing list