[ltp] Re: Xorg, DRI etc

Nate linux-thinkpad@linux-thinkpad.org
Thu, 08 Jun 2006 11:58:46 -0400


> Nate,
>
> did you get a usefull answer on your question? I asked myself,
> if the native Radeon X300 support is functional with Fedora Core 5.
> Do you know about this? I assume, your gfx chip is a radeon 9000?
>
> Cheers,
> Matthias
>
>   
Alex's response did help me to get MergedFB DRI mode working.

I do have the radeon 9000. I am not sure, but isn't it the R250? I am 
almost certain there is support for R300 out of the box in FC5. The 
radeon man page lists
RS300       Radeon 9100 IGP
RS350       Radeon 9200 IGP
as being supported. FC5 installs by default using the open source 
drivers. It's the Fedora philosophy to use only open source software, so 
consider that before jumping on board.

For reference, here's the xorg.conf (T41, FC5, MergedFB, DRI, dual head 
1400x1050-1280x1024, radeon 9000):
# Xorg configuration created by system-config-display

Section "ServerLayout"

#    Option        "Xinerama" "on"
    Identifier     "Multihead layout"
    Screen         "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics" "CorePointer"
    InputDevice    "Mouse0" "AlwaysCore"
#    Option        "Xinerama" "on"
#    Option        "Clone" "off"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
    FontPath     "unix/:7100"
EndSection

Section "Module"
    Load  "dri"
    Load  "dbe"
    Load  "extmod"
    Load  "fbdevhw"
    Load  "glx"
    Load  "record"
    Load  "freetype"
    Load  "type1"
    Load  "synaptics"
#    Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option    "Xleds"        "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#    Option    "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option    "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option    "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option    "XkbLayout"    "de"
# or:
#    Option    "XkbLayout"    "de"
#    Option    "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option    "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#    Option    "XkbOptions"    "ctrl:nocaps"
#
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us"
    Option        "XkbVariant" "dvorak"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5"
    Option        "Emulate3Buttons" "yes"
    Option        "EmulateWheel" "true"
    Option        "EmulateWheelButton" "2"
EndSection

Section "InputDevice"
    Identifier  "Synaptics"
    Driver      "synaptics"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "auto-dev"
    Option        "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "LCD Panel 1400x1050"
 ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync    31.5 - 90.0
    VertRefresh  59.0 - 75.0
    Option        "dpms"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor 1280x1024"
 ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync    31.5 - 79.0
    VertRefresh  50.0 - 90.0
    Option        "dpms"
EndSection

Section "Device"

#    Driver      "radeon"
#    Option        "UseInternalAGPGART" "no"
    Identifier  "Videocard0"
    Driver      "ati"
    BusID       "PCI:1:0:0"
    Option        "DynamicClocks"    "on"
    Option        "MergedFB" "true"
    Option        "CRT2Position" "RightOf"
    Option        "MergedNonRectangular"    "true"
    Option        "MetaModes" "1400x1050-1280x1024 1400x1050-1024x768 
1024x768-1024x768 1400x1050-1280x1024 1400x1050+1280x1024 "
    VendorName  "Videocard vendor"
    BoardName   "ATI Technologies Inc Radeon R250 Lf [FireGL 9000]"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0"
    Monitor    "Monitor0"
    DefaultDepth     16
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes    "1400x1050" "1024x768"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1400x1050" "1024x768"
#Modes    "1024x768" "1400x1050" "1280x960" "1152x864"  "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Videocard0"
    Monitor    "Monitor1"
    DefaultDepth     16
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes    "1280x1024" "1024x768"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1024x768"
#Modes    "1024x768" "1280x1024"
    EndSubSection
EndSection

Section "DRI"
    Group        0
    Mode         0666
EndSection