From f0594fb732259606c0652f5fb1b847b86a746b35 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Fri, 24 Jan 2020 19:31:39 +0100 Subject: backend/drm: add env variable to disable modifiers In some cases modesets fail if the planes are initialized with modifiers. Since in this case possibly all planes need to reinitialized, which is not possible in the current wlroots design, add an environment variable for affected users. --- docs/env_vars.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/env_vars.md b/docs/env_vars.md index 6e6f846a..48f96f7f 100644 --- a/docs/env_vars.md +++ b/docs/env_vars.md @@ -17,6 +17,8 @@ wlroots reads these environment variables considered the primary DRM device. * *WLR_DRM_NO_ATOMIC*: set to 1 to use legacy DRM interface instead of atomic mode setting +* *WLR_DRM_NO_MODIFIERS*: set to 1 to always allocate planes without modifiers, + this can fix certain modeset failures because of bandwidth restrictions. ## Headless backend -- cgit v1.2.3