After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728640 - Be smarter when selecting a driver
Be smarter when selecting a driver
Status: RESOLVED OBSOLETE
Product: cogl
Classification: Platform
Component: EGL
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-04-21 08:06 UTC by drago01
Modified: 2021-06-10 11:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description drago01 2014-04-21 08:06:58 UTC
Currently when I try to run any cogl application (like mutter) on the NVIDIA binary driver using the EGL winsys it fails because it tryes to use big gl which is not supported when running EGL.

Output of eglinfo:

EGL API version: 1.4
EGL vendor string: NVIDIA
EGL version string: 1.4
EGL client APIs: OpenGL_ES
EGL extensions string:
    EGL_NV_system_time EGL_KHR_surfaceless_context 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_config_attribs EGL_KHR_fence_sync EGL_NV_sync EGL_KHR_reusable_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_KHR_stream EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_stream_consumer_gltexture EGL_NV_stream_sync EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_image_pixmap EGL_EXT_buffer_age


It clearly says that it only supports opengles so it should use the GLES2 driver (which works just fine if I do COGL_DRIVER=gles2) or it should fail back to try other drivers if the default selected driver does not work instead of failing after initialization failure.
Comment 1 André Klapper 2021-06-10 11:19:31 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of cogl, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/cogl/-/issues/

Thank you for your understanding and your help.