### Use Rockchip DRM driver Section "OutputClass" Identifier "RockchipDRM" MatchDriver "rockchip" Option "PrimaryGPU" "yes" EndSection Section "Device" Identifier "Rockchip Graphics" Driver "modesetting" ### Use Rockchip RGA 2D HW accel # Option "AccelMethod" "exa" ### Use GPU HW accel Option "AccelMethod" "glamor" Option "DRI" "2" ### Set to "always" to avoid tearing, could lead to up 50% performance loss Option "FlipFB" "always" ### Limit flip rate and drop frames for "FlipFB" to reduce performance lost # Option "MaxFlipRate" "60" Option "NoEDID" "true" Option "UseGammaLUT" "true" ### Set virtual screen size (scaled by VOP hardware) # Option "VirtualSize" "DSI-1:600x1080" ### Set physical display paddings # Option "Padding" "DSI-1:180,300,300,540" EndSection Section "Screen" Identifier "Default Screen" Device "Rockchip Graphics" Monitor "Default Monitor" EndSection ### Valid values for rotation are "normal", "left", "right" Section "Monitor" Identifier "Default Monitor" Option "Rotate" "normal" EndSection