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.
This commit is contained in:
Rouven Czerwinski 2020-01-24 19:31:39 +01:00 committed by Simon Ser
parent 1f722f5c80
commit f0594fb732
2 changed files with 26 additions and 4 deletions

View file

@ -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