Graphic Cards Driver Configuration

2363

Graphic cards driver on linux xorg.conf and org.conf.d configuration:

(for legacy driver) etc/X11/xorg.conf  (file)  
(xserver driver) etc/X11/xorg.conf.d/  (folder)

etc/X11/xorg.conf file and etc/X11/xorg.conf.d/ folder content number orders:
    Files                 File pathnames
    ServerFlags     Server flags
    Module             Dynamic module loading
    Extensions       Extension enabling
    InputDevice      Input device description
    InputClass        Input class description
    Device             Graphics device description
    VideoAdaptor  Xv video adaptor description
    Monitor             Monitor description
    Modes              Video modes descriptions
    Screen             Screen configuration
    ServerLayout   Overall layout
    DRI                    DRI-specific configuration
    Vendor             Vendor-specific configuration

    Keyboard         Keyboard configuration
    Pointer             Pointer/mouse configuration

After the right graphic card (nvidia,ati, amd, intel, or internal) driver installation to your current linux kernel version.

File number order given by yours. Above shall be determined according to the order in case of need for file plug-ins extension numbers, according to the above ranking /etc/X11/xorg.conf file /etc/X11/xorg.conf.d/ and content number orders.

1. xx-nvidia.conf: Create driver configuration file for device first. This file only contain your specific driver information BusID,  option for registery information. Only properties that are needed for the opening of the graphics card. Add to this feature, the feature graphics will happen only when initiated by the graphics card. These features will not be reinstalled when the next graphics card request. For example “/etc/init.d/gdm3 restart
 
$ cat /etc/x11/xorg.conf.d/20-nvidia.conf
Section “Device”
    Identifier     “Nvidia GF G72M”
    Driver         “nvidia”
    BusID         “PCI:1:0:0”
    #    Option        “RegistryDwords” “PowerMizerEnable=0x1; PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1”
    Option         “RegistryDwords” “PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3”
    Option         “AddARGBVisuals” “TRUE”
    Option         “AddARGBGLXVisuals” “TRUE”
    Option         “TripleBuffer” “TRUE”
    Option         “BackingStore” “TRUE”
    Option         “NvAGP”   “1”
    Option         “Coolbits” “1”
    Option         “RenderAccel” “TRUE”
    Option         “CustomEDID” “DFP-0:/etc/X11/edid.bin”
EndSection

2. xx-module.conf: File number order given by yours. This module your hardware capability for installed modules. Different device module can be used, if it usable.

$cat /etc/X11/xorg.conf.d/15-module.conf
Section “Module”
    Load           “glx”        # OpenGL X protocol interface
    Load           “extmod”
    Load           “dbe”
    Load           “dri2”
    Load           “fb”
    Load           “wfb”
    Load           “ramdac”
    Load           “evdev”
    Load           “synaptics”
EndSection

3. xx-monitor.conf: In monitor section use your first added configuration. For example from “xx-device.conf”

$ cat /etc/X11/xorg.conf.d/40-monitor.conf
Section “Monitor”
    Identifier          “LG01”
    ModelName     “WSXGA+”
    HorizSync       31.5 – 65.5
    VertRefresh    56.0 – 65.0
    DisplaySize     331.1 207.3
    Option             “DPMS”
    #    Option       “ExactModeTimingsDVI” “TRUE”
    #    Option       “PreferredMode” “1680×1050@60”
EndSection

Section “Device”
    Identifier     “d00”
    Driver         “Nvidia GF G72M”
    Option        “NoLogo” “TRUE”
    Option        “ModeValidation” “NoDFPNativeResolutionCheck”
    Option         “ConnectedMonitor” “DFP-0”
    #    Option   “MonitorLayout” “TDMS”
EndSection

Section “Screen”
    Identifier           “TFT Screen0”  
    Device              “dd0”
    Monitor             “LG01”
    DefaultDepth    24
    Option              “Stereo” “0”
    Option              “nvidiaXineramaInfoOrder” “DFP-0”
    #    Option        “ModeValidation” “NoMaxPClkCheck”
    Option              “metamodes” “1680x1050_60 +0+0”
    SubSection      “Display”
        Depth           24
    EndSubSection
EndSection

4. If needed you add legacy xorg.conf file to /etc/X11/xorg.conf

5. Test your configuration order right or not right.

$ reboot # you see logo first

$ /etc/init.d/gdm3 restart # you can not see first logo but startx works.

$ shutdown # what see and configure your options.

Tthis configuration not need  now xorg.conf file. When  graphic card first load [Option “NoLogo” “TRUE”] not activate, then load monitor and screen [Option “NoLogo” “TRUE”] activate.