Kernel options for intel driver

Chris Pemberton cjpembo at gmail.com
Tue Sep 18 13:48:42 PDT 2007


Jesse Barnes wrote:
> On Thursday, September 13, 2007 3:06:34 pm Chris Pemberton wrote:
>   
>> Compiling the latest 2.6.22.6 kernel for my machine:
>>
>> Intel 945GM graphics:
>> Up to date 7.3 xorg released drivers
>>
>> I know about the obvious kernel parameters:
>>
>> Device Drivers ->
>>     Character devices ->
>>        <M> /dev/agpgart
>>        <M> Direct Rendering Manager
>>        <M> Intel 830M, 845G, .....
>>        <M> i915 driver
>>
>> But I'm a little uncertain about some of these:
>>
>> Device Drivers ->
>>     Graphics support ->
>>        <?> Backlight & LCD device support ->
>>           <?> Display panel/monitor support
>>        <?> Support for frame buffer devices
>>        <?> Enable firmware EDID
>>        <?> Enable Tile Blitting Support
>>        <?> Support for frame buffer devices ->
>>             <?> Intel 810/815 support
>>              <?> Intel 830M/845G.....
>>              <?> Intel driver debug messages
>>              <?> DDC/I2C for Intel framebuffer support
>>
>> Frame buffer requires the following:
>>
>> Device Drivers ->
>>     <M> I2C device interface
>>     I2C Algorithms ->
>>        <M> I2C bit-banging interface
>>     
>
> I'd recommend against using the Intel framebuffer driver (in fact we've talked 
> a bit about removing it--it can be harmful in many configurations).  So you 
> can disable "Support for frame buffer devices" if you want.
>
> You will, however, need /dev/agpgard, DRI, and i915 DRM support if you want 
> accelerated 3d and other features.  It looks like you have those options 
> correctly enabled already (though you could disable 830M, 845G, etc. support 
> if you wanted).
>
> Jesse
>
>   
Sorry, my xorg.conf got scrubbed: here it is:

Section "ServerLayout"
       Identifier      "X.Org Configured"
       Screen  0       "Screen0" Absolute 0 0
       Screen  1       "Screen1" RightOf "Screen0"
       InputDevice     "Keyboard0" "CoreKeyboard"
       InputDevice     "Mouse" "AlwaysCore"
       InputDevice     "Synaptics Touchpad"
EndSection

Section "Extensions"
       Option "Composite" "enable"
EndSection

Section "ServerFlags"
       Option  "AllowMouseOpenFail" "true"
EndSection

Section "Files"
       #RgbPath         "/usr/lib/X11/rgb"
       FontPath        "/usr/lib/X11/fonts/misc"
       FontPath        "/usr/lib/X11/fonts/cyrillic"
       FontPath        "/usr/lib/X11/fonts/100dpi:unscaled"
       FontPath        "/usr/lib/X11/fonts/75dpi:unscaled"
       FontPath        "/usr/lib/X11/fonts/Type1"
       FontPath        "/usr/lib/X11/fonts/100dpi"
       FontPath        "/usr/lib/X11/fonts/75dpi"
       FontPath        "/usr/lib/X11/fonts/TTF/"
       FontPath        "/usr/lib/X11/fonts/util/"
       FontPath        "/usr/lib/X11/fonts/OTF/"
       FontPath        "/usr/lib/X11/fonts/Speedo/"
       FontPath        "/usr/share/fonts/corefonts/"
EndSection

Section "Module"
       Load    "i2c"
       Load    "ddc"
       Load    "vbe"
       Load    "dbe"
       Load    "glx"
       Load    "dri"
       Load    "extmod"
       Load    "int10"
       Load    "bitmap"
       Load    "type1"
       Load    "freetype"
EndSection

Section "InputDevice"
       Identifier      "Keyboard0"
       Driver  "kbd"
       Option  "CoreKeyboard"
       Option  "XkbRules" "xorg"
       Option  "XkbModel" "pc105"
       Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
       Identifier      "Mouse"
       Driver  "mouse"
       Option  "Device" "/dev/input/mice"
       Option  "CorePointer"
       Option  "Protocol" "IMPS/2"
       Option  "ZAxisMapping" "4 5"
       Option  "Buttons" "3"
EndSection


Section "InputDevice"
       Identifier      "Synaptics Touchpad"
       Driver          "synaptics"
       Option          "SendCoreEvents"        "true"
       Option          "Device"                "/dev/psaux"
       Option          "Protocol"              "auto-dev"
       Option          "HorizScrollDelta"      "0"
EndSection

Section "Monitor"
       Identifier   "Internal LCD"
       Option       "DPMS"
       HorizSync    28-64
       VertRefresh  43-60
EndSection

Section "Monitor"
    Identifier "External CRT"
    HorizSync    30 - 80
    VertRefresh    60-150
    Option        "DPMS"
EndSection

Section "Device"
       Identifier  "Intel 945GM Internal Display"
       BusID       "PCI:0:2:0"
       Driver      "intel"
       VendorName  "Intel"
       BoardName   "Intel 945"
EndSection

Section "Device"
    Identifier    "Intel 945GM External Display"
    Driver        "intel"
    BusID        "PCI:0:2:1"
    VendorName    "Intel"
    BoardName    "Intel 945GM"
EndSection

Section "Screen"
       Identifier      "Screen0"
       Device  "Intel 945GM Internal Display"
       Monitor "Internal LCD"
       DefaultColorDepth 24
       SubSection "Display"
               Depth   24
               Modes   "1280x800"
       EndSubSection
EndSection

# For external monitor
Section "Screen"
    Identifier    "Screen1"
    Device    "Intel 945GM External Display"
    Monitor    "External CRT"
    DefaultColorDepth    24
    SubSection "Display"
        Depth    24
        Modes    "640x480" "800x600" "1024x800" "1280x800"
    EndSubSection
EndSection

Section "DRI"
       Group 0
       Mode 0666
EndSection



More information about the xorg mailing list