Configuring a Custom xorg.conf

When you can't select a desired resolution you may need to create a custom xorg.conf for you system.

To use a custom xorg.conf you simply have to access the configfiles samba share and save a text file name xorg.conf

If you machine doesn't boot after you have done this. Simply delete the file and reboot.

Please select one of the following xorg.conf based on which GPU your machine has

=Nvidia=

This is for Nvidia GPU's only

Section "Device" Identifier    "nvidia" Driver        "nvidia" Option        "DynamicTwinView" "False" Option        "NoFlip" "false" Option        "NoLogo" "true" Option        "ConnectToAcpid" "0" Option        "FlatPanelProperties" "Scaling = Native" Option        "ModeValidation" "NoVesaModes, NoXServerModes" Option        "HWCursor" "false" Option        "ModeDebug" "false" EndSection Section "Monitor" # 1920x1080p @ 60Hz (EIA/CEA-861B) Identifier    "Monitor0" VendorName    "Unknown" ModelName     "Unknown" HorizSync     26-81 VertRefresh   24-75 ModeLine      "1920x1080_24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync ModeLine      "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync Option        "DPMS" Option        "DPI" "96 x 96" EndSection
 * 1)   Option         "Coolbits" "4"
 * 1) To put Xorg in debug mode change "false" to "true" in the line below:
 * 1) To use a local edid.bin file uncomment the 4 lines below (change DFP-0 to match your card)
 * 2)   Option         "ConnectedMonitor" "DFP-0"
 * 3)   Option         "CustomEDID" "DFP-0:/storage/.config/edid.bin"
 * 4)   Option         "IgnoreEDID" "false"
 * 5)   Option         "UseEDID" "true"

Section "Screen" Identifier    "Screen0" Device        "nvidia0" Monitor       "Monitor0" Option        "ColorRange" "Full" Option        "ColorSpace" "RGB" DefaultDepth   24 Option        "ModeValidation" "NoVesaModes, NoXServerModes" Option        "ExactModeTimingsDVI" "True" SubSection    "Display" Depth      24 Modes     "1920x1080_60" "1920x1080_24" "1920x1080_23.976" EndSubSection EndSection Section "Extensions" Option        "Composite" "Disable" EndSection
 * 1)   Option         "ColorRange" "Limited"
 * 2)   Option         "ColorSpace" "YCbCr444"

Color Space
To configure the colorspace for an Nvidia GPU you have to uncomment and comment out certain lines in the xorg.conf Option "ColorRange""Limited" Avoid using Option "ColorSpace""YCbCr444" as this is not recommended.
 * 1)   Option "ColorRange""Full"

=AMD=

This is for AMD GPU's only

Section "ServerLayout" Identifier    "aticonfig Layout" Screen     0  "screen" 0 0 EndSection

Section "Device" Identifier "fglrx" Driver     "fglrx" Option     "HWCursor"              "false" EndSection

Section "DRI" Mode 0666 EndSection

Section "Screen" Identifier  "screen" Device      "aticonfig Layout" DefaultDepth 24 SubSection  "Display" Option "ColorRange""Full" Option "ColorSpace""RGB" Modes "1920x1080_60" "1920x1080@60" Depth       24 EndSubSection EndSection
 * 1)   Option "ColorRange""Limited"
 * 1)   Option "ColorSpace""YCbCr444"

Section "Extensions" Option     "Composite"             "false" EndSection

Color Space
To configure the colorspace for an AMD GPU you have to uncomment and comment out certain lines in the xorg.conf Option "ColorRange""Limited" Avoid using Option "ColorSpace""YCbCr444" as this is not recommended.
 * 1)   Option "ColorRange""Full"

=Intel=

This is for Intel GPU's only

Section "Device" Identifier "Device0" Driver     "intel" VendorName "INTEL Corporation" EndSection

Section "Screen" Identifier "Screen0" Device     "Device0" Monitor    "HDMI2" DefaultDepth 24 SubSection "Display" Depth      24 Modes    "1920x1080@59.94p" "1920x1080@24p" "1920x1080@60p" EndSubSection EndSection

Section "Monitor" Identifier "HDMI2" HorizSync  14.0 - 70.0 VertRefresh 24.0 - 62.0 Option     "DPMS" "true" Modeline   "1920x1080@24p"     74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync Modeline   "1920x1080@50p"    148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync Modeline   "1920x1080@59.94p" 148.352 1920 1960 2016 2200 1080 1082 1088 1125 +hsync +vsync Modeline   "1920x1080@60p"    148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync EndSection

Section "Extensions" # fixes tearing Option     "Composite"           "Disable" EndSection

Color Space
Intel doesn't have an option to set colorspace in their xorg.conf yet. If you want to set the colorspace then you will have to create an autostart.sh file and use the following xrandr --output HDMI3 --set "Broadcast RGB" "Limited 16:235"

Make sure to check the output of xrandr first to see which display is actually connected.

=Virtual Box=

This is for a virtual image using VirtualBox only

Section "Device" Identifier  "Configured Video Device" Driver     "vboxvideo" EndSection

Section "Monitor" Identifier  "Configured Monitor" UseModes    "Virtual Modes" EndSection

Section "Modes" Identifier  "Virtual Modes" Modeline "1024x576@60" 47	  1024 1064 1168 1312	576 577 580 597 Modeline "1152x864@60" 81.5	  1152 1216 1336 1520	864 865 868 895 Modeline "1280x720@60" 74.5	  1280 1336 1472 1664	720 721 724 746 Modeline "1280x768@60" 80	  1280 1344 1480 1680	768 769 772 795 Modeline "1280x800@60" 83.5	  1280 1344 1480 1680	800 801 804 828 Modeline "1360x768@60" 86	  1360 1424 1568 1776	768 769 772 795 Modeline "1440x900@60" 106.5  1440 1520 1672 1904	900 901 904 932 Modeline "1400x1050@60" 122.5 1400 1488 1640 1880	1050 1051 1054 1087 Modeline "1600x1200@60" 161	 1600 1704 1880 2160	1200 1201 1204 1242 Modeline "1680x1050@60" 147	 1680 1784 1968 2256	1050 1051 1054 1087 ModeLine "1920x1080@60" 148.35 1920 2008 2052 2200  1080 1084 1089 1125 EndSection

Section "Screen" Identifier  "Default Screen" Monitor     "Configured Monitor" Device     "Configured Video Device" DefaultDepth   24 SubSection     "Display" Depth          24 Modes         "1024x576@60" "1152x864@60" "1280x720@60" "1280x768@60" "1280x800@60" "1360x768@60" "1440x900@60" "1400x1050@60" "1600x1200@60" "1680x1050@60" "1920x1080@60" EndSubSection EndSection

Section "InputDevice" Identifier     "vboxmouse" Driver         "vboxmouse" Option         "CorePointer" Option         "Device"        "/dev/input/mice" EndSection

Section "ServerLayout" Identifier     "Default Layout" Screen         "Default Screen"        0 0 InputDevice    "vboxmouse"      "CorePointer" EndSection