first commit
This commit is contained in:
33
external/packages/bsp/rk356x/etc/X11/xorg.conf.d/20-modesetting.conf
vendored
Normal file
33
external/packages/bsp/rk356x/etc/X11/xorg.conf.d/20-modesetting.conf
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
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"
|
||||
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
|
||||
Reference in New Issue
Block a user