Last active
November 2, 2023 16:54
-
-
Save leon332157/cb31aa42d055b3e17d24b19551bbd492 to your computer and use it in GitHub Desktop.
X11 config for cwt18 arch on visionfive2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "Device" | |
Identifier "Video Device" | |
Driver "modesetting" | |
# Option "Atomic" "true" | |
Option "NoCursor" "true" | |
EndSection | |
Section "OutputClass" | |
Identifier "starfive display" | |
MatchDriver "starfive" | |
Option "PrimaryGPU" "true" | |
EndSection | |
Section "Monitor" | |
Identifier "Monitor" | |
# Option "DPMS" "false" | |
EndSection | |
Section "Screen" | |
Identifier "Screen" | |
Monitor "Monitor" | |
Device "Video Device" | |
DefaultDepth 16 | |
EndSection | |
Section "ServerLayout" | |
Identifier "Server Layout" | |
Screen "Screen" | |
EndSection | |
Section "ServerFlags" | |
Option "DefaultServerLayout" "Server Layout" | |
# Enable support for DRM format modifiers | |
# Option "Debug" "dmabuf_capable" | |
# Disable screen blanking. Disable DPMS in the Monitor section as well. | |
# Option "BlankTime" "35790" | |
# Option "StandbyTime" "35790" | |
# Option "SuspendTime" "35790" | |
# Option "OffTime" "35790" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change the default bitdepth to 16 for internal HDMI output to show the correct color.