1# The env variables below can be overridden 2 3# Comment out this for atomic related functions, e.g. sprites 4export WESTON_DISABLE_ATOMIC=1 5 6# Allow using drm modifier, e.g. ARM AFBC 7# export WESTON_ALLOW_GBM_MODIFIERS=1 8 9# Enable black background for fullscreen views 10# export WESTON_FULLSCREEN_BLACK_BACKGROUND=1 11 12# Allow disabling unused CRTCs 13# WESTON_DRM_MASTER=1 14 15# Override output's freezing time 16# export WESTON_DRM_RESIZE_FREEZE_MS=1000 17 18# Primary screen 19# export WESTON_DRM_PRIMARY=eDP-1 20 21# Single screen 22# export WESTON_DRM_SINGLE_HEAD=1 23 24# Fallback to any available connector 25# export WESTON_DRM_HEAD_FALLBACK=1 26 27# Connector selecting mode: 28# default|primary|internal|external|external-dual 29# export WESTON_DRM_HEAD_MODE=external-dual 30 31# Screens layout direction 32# horizontal|vertical|same-as 33# export WESTON_OUTPUT_FLOW=vertical 34 35# Virtual display size 36# export WESTON_DRM_VIRTUAL_SIZE=1024x768 37 38# Comment out these to disable mirror mode 39export WESTON_DRM_MIRROR=1 40# export WESTON_DRM_KEEP_RATIO=1 41 42# Disable DRM plane hardware scale feature 43# export WESTON_DRM_DISABLE_PLANE_SCALE=1 44 45# Tag file for freezing weston display 46export WESTON_FREEZE_DISPLAY=/tmp/.freeze_weston 47 48# Set dynamic config file path 49# export WESTON_DRM_CONFIG=/tmp/.weston_drm.conf 50# 51# Dynamic config examples: 52# echo "compositor:state:sleep" > /tmp/.weston_drm.conf # off + input wakeable 53# echo "compositor:state:block" > /tmp/.weston_drm.conf # no input 54# echo "compositor:state:freeze" > /tmp/.weston_drm.conf # no input + freeze 55# echo "compositor:state:off" > /tmp/.weston_drm.conf # no input + off 56# echo "compositor:state:on" > /tmp/.weston_drm.conf 57# echo "output:DSI-1:off" > /tmp/.weston_drm.conf 58# echo "output:eDP-1:freeze" > /tmp/.weston_drm.conf 59# echo "output:DSI-1:on" > /tmp/.weston_drm.conf 60# echo "output:all:rotate90" > /tmp/.weston_drm.conf 61# echo "output:all:rect=<100,20,1636,2068>" > /tmp/.weston_drm.conf 62# echo "output:HDMI-A-1:mode=800x600" > /tmp/.weston_drm.conf 63# echo "output:HDMI-A-1:pos=100,200" > /tmp/.weston_drm.conf 64# echo "output:HDMI-A-1:size=1920x1080" > /tmp/.weston_drm.conf 65# echo "output:HDMI-A-1:prefer" > /tmp/.weston_drm.conf 66# echo "output:HDMI-A-1:primary" > /tmp/.weston_drm.conf 67# echo "output:HDMI-A-1:input=*" > /tmp/.weston_drm.conf 68# echo "output:HDMI-A-1:input=" > /tmp/.weston_drm.conf 69# echo "output:HDMI-A-1:input=event6" > /tmp/.weston_drm.conf 70# echo "output:HDMI-A-1:input=goodix*" > /tmp/.weston_drm.conf 71# echo "output:HDMI-A-1:input=goodix-ts" > /tmp/.weston_drm.conf 72