aboutsummaryrefslogtreecommitdiff
path: root/docs/env_vars.md
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-11-24 10:52:39 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-25 15:12:32 +0000
commit2e33139ef732040c86e913ecb984c8eb0bf66cb2 (patch)
tree22d8c1b765b69956ab5d2198952afaee24dc5110 /docs/env_vars.md
parentf29abe4c777ba8293ab76334ef2ac83eaa0043f6 (diff)
render: introduce WLR_RENDER_DRM_DEVICE
This env var allows to override the DRM node used by the GLES2 and Vulkan renderers. It's especially useful to select a DRM node when running with the headless backend. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2656
Diffstat (limited to 'docs/env_vars.md')
-rw-r--r--docs/env_vars.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/env_vars.md b/docs/env_vars.md
index 66c6dcc6..a07b2f19 100644
--- a/docs/env_vars.md
+++ b/docs/env_vars.md
@@ -10,6 +10,8 @@ wlroots reads these environment variables
of following shell search semantics for "Xwayland")
* *WLR_RENDERER*: forces the creation of a specified renderer (available
renderers: gles2, pixman, vulkan)
+* *WLR_RENDER_DRM_DEVICE*: specifies the DRM node to use for
+ hardware-accelerated renderers.
## DRM backend