diff options
author | Brett Ernst <brett.ernst@icongroup.com> | 2023-07-18 15:12:08 -0700 |
---|---|---|
committer | Brett Ernst <brett.ernst@icongroup.com> | 2023-07-18 15:26:54 -0700 |
commit | 49c7fcdfb11c2525f8dbf57eb5069ca674e22424 (patch) | |
tree | 6dc2b760e7967c35b132e2b08449085ce66ae2e4 | |
parent | 71daec9441494e5cd2985708536b513d936878a1 (diff) |
backend/wayland: log output test failure reasons
-rw-r--r-- | backend/wayland/output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c index 9371ca72..18502ec9 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -266,6 +266,7 @@ static bool output_test(struct wlr_output *wlr_output, assert(wlr_output->adaptive_sync_status == WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED); if (state->committed & WLR_OUTPUT_STATE_ADAPTIVE_SYNC_ENABLED) { if (!state->adaptive_sync_enabled) { + wlr_log(WLR_DEBUG, "Disabling adaptive sync is not supported"); return false; } } @@ -274,12 +275,14 @@ static bool output_test(struct wlr_output *wlr_output, assert(state->mode_type == WLR_OUTPUT_STATE_MODE_CUSTOM); if (state->custom_mode.refresh != 0) { + wlr_log(WLR_DEBUG, "Refresh rates are not supported"); return false; } } if ((state->committed & WLR_OUTPUT_STATE_BUFFER) && !test_buffer(output->backend, state->buffer)) { + wlr_log(WLR_DEBUG, "Unsupported buffer format"); return false; } |