Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong
GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/packages/bsp/rk3399/02-modesetting.conf
18120 views
1
Section "Device"
2
Identifier "Rockchip Graphics"
3
Driver "modesetting"
4
5
### Use Rockchip RGA 2D HW accel
6
# Option "AccelMethod" "exa"
7
8
### Use GPU HW accel
9
Option "AccelMethod" "glamor"
10
11
Option "DRI" "2"
12
13
### Set to "always" to avoid tearing, could lead to up 50% performance loss
14
Option "FlipFB" "always"
15
16
### Limit flip rate and drop frames for "FlipFB" to reduce performance lost
17
Option "MaxFlipRate" "25"
18
19
Option "NoEDID" "true"
20
EndSection
21
22
Section "Screen"
23
Identifier "Default Screen"
24
Device "Rockchip Graphics"
25
Monitor "Default Monitor"
26
EndSection
27
28
### Valid values for rotation are "normal", "left", "right"
29
Section "Monitor"
30
Identifier "Default Monitor"
31
Option "Rotate" "normal"
32
EndSection
33
34