Can you help me compile the Kernal source so I can get Ati drivers working I have the same card as you. Can you make it step by step to help me and another friend on this Massive Email server of Xfree86.






From: "_ Okita" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [XFree86] ATI Dual Display with XFree86 4.2  _WORKS_!
Date: Tue, 01 Apr 2003 21:23:57 +0000

Mailed to [EMAIL PROTECTED] mailing list April 1, 2003.

So I've managed to get XFree86 4.2 working with an ATI Radeon 8500 LE with a big desktop spread across two monitors.

Short answer, include everything in the config file, and leave the DVI output disconnected until after X starts.

I'm using an ATI Radeon 8500 LE 128MB aftermarket board on an Intel P4.
The OS is RedHat 8.0 with all the rpm updates until late March 2003.
Two identical monitors are connected, one to the vga out, the other to the DVI out via the DVI to VGA connector.


I installed the rpm from the ATI site fglrx-glc22-4.2.0-2.5.1.i586.rpm
I ended up recompiling the kernel module as detailed in the Driver Release Notes on the ATI site (the same place the rpm), but I don't know for sure if this needs to be done.


Run fglrxconfig to build the ATI recommended XF86Config-4 file ... which doesn't work properly.
I used the Big Desktop option, btw.


Go and edit the XF86Config-4 file in /etc/X11
In the "ATI device section" change HSync2 and VRefresh2 to not have any spaces between the values. As in:
Option "HSync2" "31.5-82.0"
Option "VRefresh2" "40-150"


In the subsection "Display" in the "Screen" section make sure there is only one mode.

Now, disconnect the monitor connected to the DVI output.
Reboot the machine.

You can watch the machine boot on the monitor connected to the VGA output.
When the machine reaches the gdm login manger (or whatever), plug in the second monitor to the DVI output.
Voila! Big desktop across two monitors!


What's happening? I think that the ATI driver is probing both the monitors, but is misinterpreting the data from the DVI output monitor. In my XFree86.0.log I was getting information on both the monitors, but the one connected to the DVI out was showing up as failing every resolution test the driver made. Even 320x170 at 60Hz. Thus when X was running, the monitor connected to the DVI out seemed to the ATI driver that it couldn't handle any of the given resolutions, so it just turned off.
There is a switch in the ATI device section to disable Plug and Play (DCC) probing, but it seems like X and the ATI driver just ignore the switch. Frustrating.
When the second monitor isn't connected until after X starts, X and the ATI drivers are forced to use the values in the config file, and everything works out. Remember that you should make sure the values you give it work before overruling the DCC probe.
I personally have the second monitor now connected to a switch box, which I switch off when booting, and back on after X starts.


I've included two XFConfig-4 files. The first one is my ATI fglrx driver with a big desktop. The second one is a XFree86 radeon driver with identical displays to both monitors.
I've trimmed some of the information.


The important bits for the big_desktop config file are the HSync2 and VRefresh2 values, and the Modes.
The important bits for the cloned config file are the Xinerama, the duplicate devices and screens, and the server layout of the screens.



### XF86Config-4.big_desktop


# File: XF86Config-4
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.


Section "dri"
   Mode 0666
EndSection

Section "Module"
   Load        "dbe"          # Double buffer extension
   SubSection  "extmod"
     Option    "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection
   Load        "type1"
   Load        "freetype"
   Load        "glx"   # libglx.a
   Load        "dri"   # libdri.a
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
   Identifier   "Keyboard1"
   Driver       "Keyboard"
   Option "AutoRepeat" "500 30"
   Option "XkbRules"  "xfree86"
   Option "XkbModel"  "pc104"
   Option "XkbLayout" "us"
EndSection

Section "InputDevice"
   Identifier   "Mouse1"
   Driver "mouse"
   Option "Protocol"   "ImPS/2"
   Option "ZAxisMapping"   "4 5"
   Option "Device"     "/dev/mouse"
EndSection

Section "Monitor"
   Identifier  "Monitor0"
   HorizSync   31.5 - 82.0
   VertRefresh 40 - 150
EndSection

Section "Monitor"
   Identifier  "Monitor1"
   HorizSync   31.5 - 82.0
   VertRefresh 40 - 150
EndSection

Section "Device"
   Identifier  "Standard VGA"
   VendorName  "Unknown"
   BoardName   "Unknown"
   Driver      "vga"
EndSection

# === ATI device section ===

Section "Device"
   Identifier                          "ATI Graphics Adapter"
   Driver                              "fglrx"
# === disable PnP Monitor  ===
   #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
   Option "no_accel"                   "no"
   Option "no_dri"                     "no"
# === Fire GL DDX driver module specific settings ===
# === Screen Management ===
   Option "DesktopSetup"               "0x00000200"
   Option "Display2"                   "2"
   Option "HSync2"                     "31.5-82.0"
   Option "VRefresh2"                  "40-150"
   Option "GammaCorrectionI"           "0x00000000"
   Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
   Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
   Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
   Option "OpenGLOverlay"              "off"
   BusID "PCI:1:0:0"    # vendor=1002, device=514c
   Screen 0
EndSection

Section "Screen"
   Identifier  "Screen0"
   Device      "ATI Graphics Adapter"
   Monitor     "Monitor0"
   DefaultDepth 24
   #Option "backingstore"

   Subsection "Display"
       Depth       24
       Modes       "1280x1024"
       ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier  "Server Layout"
   Screen "Screen0"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

### EOF ###



### XF86Config-4.cloned_with_generic_drivers

Section "dri"
   Mode 0666
EndSection

Section "Module"
   Load        "dbe"          # Double buffer extension
   SubSection  "extmod"
     Option    "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection
   Load        "type1"
   Load        "freetype"
   Load        "glx"   # libglx.a
   Load        "dri"   # libdri.a
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
   Option "Xinerama" "on"
EndSection

Section "InputDevice"
   Identifier   "Keyboard1"
   Driver       "Keyboard"
   Option "AutoRepeat" "500 30"
   Option "XkbRules"  "xfree86"
   Option "XkbModel"  "pc104"
   Option "XkbLayout" "us"
EndSection

Section "InputDevice"
   Identifier   "Mouse1"
   Driver "mouse"
   Option "Protocol"   "ImPS/2"
   Option "ZAxisMapping"   "4 5"
   Option "Device"     "/dev/mouse"
EndSection

Section "Monitor"
   Identifier  "Monitor0"
   HorizSync   31.5 - 82.0
   VertRefresh 40 - 150
#    Option "dpms"
EndSection

Section "Monitor"
   Identifier  "Monitor1"
   HorizSync   31.5 - 82.0
   VertRefresh 40 - 150
#    Option "dpms"
EndSection

Section "Device"
   Identifier  "Standard VGA"
   VendorName  "Unknown"
   BoardName   "Unknown"
   Driver      "vga"
EndSection


Section "Device" Identifier "ATI Radeon 8500 0" Driver "radeon" VendorName "ATI Radeon 8500" BoardName "ATI Radeon 8500" Option "nodri" EndSection

Section "Device"
   Identifier  "ATI Radeon 8500 1"
   Driver      "radeon"
   VendorName  "ATI Radeon 8500"
   BoardName   "ATI Radeon 8500"
   Option      "nodri"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device       "ATI Radeon 8500 0"
   Monitor      "Monitor0"
   DefaultDepth 24
        Subsection "Display"
               Depth       24
               Modes       "1280x1024" "1024x768" "800x600" "640x480"
        EndSubsection
EndSection

Section "Screen"
   Identifier   "Screen1"
   Device       "ATI Radeon 8500 1"
   Monitor      "Monitor1"
   DefaultDepth    24
       Subsection "Display"
               Depth       24
               Modes       "1280x1024" "1024x768" "800x600" "640x480"
       EndSubsection
EndSection

Section "ServerLayout"
   Identifier  "Server Layout"
   Screen 0 "Screen0" 0 0
   Screen 1 "Screen1" RightOf "Screen0"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

### EOF ###



_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to