xwayland/glamor: Change errors to verbose messages
On a normal startup sequence, the Xwayland glamor backend would log an error whenever a required Wayland protocol is missing. Those are not really errors though, more informational messages along the glamor backend selection process. Demote those errors to verbose messages to reduce the verbosity of Xwayland at startup by default. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
96c82befa2
commit
30d0d4a19b
|
@ -691,12 +691,14 @@ xwl_glamor_eglstream_has_wl_interfaces(struct xwl_screen *xwl_screen)
|
|||
xwl_eglstream_get(xwl_screen);
|
||||
|
||||
if (xwl_eglstream->display == NULL) {
|
||||
ErrorF("glamor: 'wl_eglstream_display' not supported\n");
|
||||
LogMessageVerb(X_INFO, 3,
|
||||
"glamor: 'wl_eglstream_display' not supported\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (xwl_eglstream->controller == NULL) {
|
||||
ErrorF("glamor: 'wl_eglstream_controller' not supported\n");
|
||||
LogMessageVerb(X_INFO, 3,
|
||||
"glamor: 'wl_eglstream_controller' not supported\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -835,7 +835,7 @@ xwl_glamor_gbm_has_wl_interfaces(struct xwl_screen *xwl_screen)
|
|||
struct xwl_gbm_private *xwl_gbm = xwl_gbm_get(xwl_screen);
|
||||
|
||||
if (xwl_gbm->drm == NULL) {
|
||||
ErrorF("glamor: 'wl_drm' not supported\n");
|
||||
LogMessageVerb(X_INFO, 3, "glamor: 'wl_drm' not supported\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -415,7 +415,8 @@ xwl_glamor_select_gbm_backend(struct xwl_screen *xwl_screen)
|
|||
return TRUE;
|
||||
}
|
||||
else
|
||||
ErrorF("Missing Wayland requirements for glamor GBM backend\n");
|
||||
LogMessageVerb(X_INFO, 3,
|
||||
"Missing Wayland requirements for glamor GBM backend\n");
|
||||
#endif
|
||||
|
||||
return FALSE;
|
||||
|
@ -431,7 +432,8 @@ xwl_glamor_select_eglstream_backend(struct xwl_screen *xwl_screen)
|
|||
return TRUE;
|
||||
}
|
||||
else
|
||||
ErrorF("Missing Wayland requirements for glamor EGLStream backend\n");
|
||||
LogMessageVerb(X_INFO, 3,
|
||||
"Missing Wayland requirements for glamor EGLStream backend\n");
|
||||
#endif
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue