This chapter demonstrates how to rotate the screen in 90 degree increments using hardware acceleration.
To enable the rotation, add the option Rotate in Section "Monitor".
Option "Rotate" "string"
The valid string could be left, right, normal, inverted. And the corresponding rotation degree is 270, 90, 0, 180 (CW). The default value is normal.
To enable rotation using hardware acceleration, you need to use EXA architecture, otherwise the rotation will be done by the main CPU. Add options into Section "Device" as,
Section "Device" Option "AccelMethod" "EXA" ...... EndSection
To enable EXA architecture, X.Org 6.9/7.0 or above is required.
When EXA is enabled, the video memory in BIOS setting should be larger than 64M.