Re: dual displays
On Thu, Aug 23, 2001 at 05:54:11PM -0500, Michael Heldebrant wrote:
> On 23 Aug 2001 02:56:55 -0700, Jeremiah Mahler wrote:
> > On Thu, Aug 23, 2001 at 10:17:30AM +0200, Cyan Ogilvie wrote:
> > > On Wed, Aug 22, 2001 at 06:13:44PM -0700, Jeremiah Mahler wrote:
>
> <snip>
>
> > > You need two Device sections, pretty much identical, but with
> > > different identifiers of course. Get the busid for the card from
> > > lspci or XFree86 -scanpci. It'll prolly be 1:0:0 if it's AGP and
> > > add it to each of the device sections like so:
> > >
> > > BusID "PCI:1:0:0"
> > >
> > > I also had to put a "Screen 1" in the second head's Device section.
> > >
> > > Then two Monitor sections with different identifiers, and two screen
> > > sections with the Device and Monitor options pointing to the ones
> > > defined above.
> > >
> > > Then a ServerLayout section including lines something like:
> > > Screen "Display 1" LeftOf "Display 2"
> > > Screen "Display 2" 0 0
> > >
> > > And all should be well. For those with a G400 or G450 I highly
> > > recommend Matrox's mgapdesk util (get the rpm from matrox.com and
> > > alien it). It sets up multi head really easily.
> > >
> > > Cyan
> > >
> >
> > Cyan,
> >
> > Thanks for all the tips, they have helped greatly. I have now worked
> > the errors into this new one.
> >
> > file: XFree86.0.log
> > .
> > .
> > .
> > (II) Loading sub module "radeon"
> > (II) LoadModule: "radeon"
> > (II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
> >
> > Fatal server error:
> > Requested Entity already in use!
> > .
> > .
> > .
> >
> > I am confused by this error because I do not know what is referred to
> > by "entity". Everything else looks good up until this error. I have
> > no idea what configuration option would effect this type of error.
>
> What do the relevant sections of your XF86Config-4 file look like? ie
> the devices, monitors, screens etc.
My XF86Config file is pretty short (130 lines or so) so I've included
it here, since it took me a while getting DRI and multihead going I
figured it might be of interest to a few people on the list.
-------------
Section "ServerLayout"
Identifier "Matrox PowerDesk configured."
Screen "Display 1" LeftOf "Display 2"
Screen "Display 2" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
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 "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
Load "pex5"
Load "GLcore"
Load "record"
Load "mga"
Load "extmod"
Load "xie"
Load "freetype"
Load "speedo"
Load "type1"
EndSection
Section "ServerFlags"
# Option "Xinerama"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "microsoft"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "Display 1"
HorizSync 30.0 - 72.4
VertRefresh 50.0 - 120.0
ModeLine "1280x1024, 65 Hz" 117.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
Section "Monitor"
Identifier "Display 2"
HorizSync 30.0 - 55.0
VertRefresh 50.0 - 120.0
ModeLine "800x600, 75 Hz" 49.0 800 816 896 1048 600 602 605 624 +hsync +vsync
ModeLine "800x600, 75 Hz (1)" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
ModeLine "1024x768, 64 Hz" 69.3 1024 1064 1200 1344 768 771 777 806 -hsync -vsync
EndSection
Section "Device"
Identifier "MATROX CARD 1"
Driver "mga"
VendorName "Unknown"
BoardName "Unknown"
VideoRam 32768
Option "AGPMode" "2"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "MATROX CARD 2"
Driver "mga"
VendorName "Matrox"
BoardName "MGA G400 AGP"
VideoRam 32768
Option "AGPMode" "2"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Display 1"
Device "MATROX CARD 1"
Monitor "Display 1"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480" "800x600" "1024x768" "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Display 2"
Device "MATROX CARD 2"
Monitor "Display 2"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
----------------
Reply to: