Skip to content

Draft: egl: display information about device/platform

Much like in the d3d11 code, display which device/vendor/driver is used, which is useful for the NVidia case on Linux (knowing which driver is actually used in logs) or in a multi-gpu context.

Typical output on Linux with multiple GPU:

egl_wl gl debug: EGL version 1.5 by Mesa Project
egl_wl gl debug:  extensions: EGL_ANDROID_blob_cache EGL_EXT_....
[00007f1c7c0e3bf0] egl_wl gl debug: EGL has 3 devices:
[00007f1c7c0e3bf0] egl_wl gl debug:  device 0: EGL_EXT_device_drm vendor= renderer= /dev/dri/card1
[00007f1c7c0e3bf0] egl_wl gl debug:  device 1: EGL_EXT_device_drm vendor= renderer= /dev/dri/card0
[00007f1c7c0e3bf0] egl_wl gl debug:  device 2: EGL_MESA_device_software vendor= renderer=
[00007f1c7c0e3bf0] egl_wl gl debug: Using EGL device: EGL_EXT_device_drm
[00007f1c7c0e3bf0] egl_wl gl debug: Using EGL driver: nouveau
main generic debug: using opengl module "egl_wl"
Edited by Alexandre Janniaux

Merge request reports

Loading