Commit be57857a authored by Marius Vlad's avatar Marius Vlad
Browse files

compositor-drm: Add an environmental variable to force RENDER-only mode of compositing

Signed-off-by: Marius Vlad's avatarMarius Vlad <>
parent c91cf301
......@@ -4127,7 +4127,7 @@ init_kms_caps(struct drm_backend *b)
* to a fraction. For cursors, it's not so bad, so they are
* enabled.
if (!b->atomic_modeset)
if (!b->atomic_modeset || getenv("WESTON_FORCE_RENDERER"))
b->sprites_are_broken = 1;
ret = drmSetClientCap(b->drm.fd, DRM_CLIENT_CAP_ASPECT_RATIO, 1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment