Module: Mesa Branch: master Commit: 863872e1418ec94f840ffdb5d7b5e3aaac07d8de URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=863872e1418ec94f840ffdb5d7b5e3aaac07d8de
Author: Chris Wilson <[email protected]> Date: Thu Oct 31 07:29:55 2019 +0000 egl: Mention if swrast is being forced The system can be disabling HW acceleration unbeknown to the user, leading to a long debug session trying to work out which component is failing. A quick mention that it is the environment override would be very useful. v2: Use more generic "CPU renderer" and so try to avoid jargon. Reviewed-By: Tapani Pälli <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Acked-by: Martin Peres <[email protected]> --- src/egl/main/egldriver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 0d8919aa0e1..526de02e53b 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -92,6 +92,8 @@ _eglMatchDriver(_EGLDisplay *disp) /* set options */ disp->Options.ForceSoftware = env_var_as_boolean("LIBGL_ALWAYS_SOFTWARE", false); + if (disp->Options.ForceSoftware) + _eglLog(_EGL_DEBUG, "Found 'LIBGL_ALWAYS_SOFTWARE' set, will use a CPU renderer"); best_drv = _eglMatchAndInitialize(disp); if (!best_drv && !disp->Options.ForceSoftware) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
