Marc Wilson declaimed:
> On Sun, Mar 17, 2002 at 08:45:35AM +0000, Paul Mackinney wrote:
> > Kyle Donaldson declaimed:
> > > On Sat, 16 Mar 2002, Marc Wilson wrote:
> > > First off, this really was the wrong place to ask about setting up
> > > dual-head X, because it really has nothing to do with Blackbox.
> 
> Don't credit ME with this... I had no problem with you asking the question
> here. :)
>  
Thanks! Consider the finger unpointed.

> > Well I guess I knew that but the amazing Xinerama flame war made me
> > think I could sneak it in. Really I'm just looking for a trail of 
> > breadcrumbs leading to the right forum/documentation. Sorry for the OT 
> > post, I'll desist.
> 
> Have you gotten what you need yet?
> 
A nice fellow cross-posted to debian-user with a sample XF86Config
containing several lines in addition to the commented hints in mine.
Best effort so far: My main monitor runs X, the cursor goes off the
screen to the left where I said the other monitor was, but the secondary
monitor shows blank/garbage. The good news is that it changes when I
change its config in XF86Config (named XF86Config-4 on debian). See the
end of this post for key sections of my config file, feedback welcome.

(The 2nd monitor apparently hates console mode, looks horrible even with
the framebuffer disabled.)

> > I installed the framebuffer because a) it was there, b) because it's
> > really nice when X isn't running and c) for the penguin (of course).
> 
> Yes, but how does X cooperate with it when it IS running?
Very nicely. I'm using the "mga" driver that X recommends for my card. 
I can leave X running, switch to a non-X terminal running the frame-
buffer and switch back to X without hassle. No different than running
without the framebuffer except for the high resolution text with a
smooth appearance.

Here's a snip from 
/kernel-source-2.4.17/Documentation/fb/matroxfb.txt:
---snip---
X11
===

XF68_FBDev should work just fine, but it is non-accelerated. On
non-intel architectures there are some glitches for 24bpp videomodes. 8, 
16 and 32bpp works fine.

Running another (accelerated) X-Server like XF86_SVGA works too. But (at
least) XFree servers have big troubles in multihead configurations (even 
on first head, not even talking about second).
---end snip---

I infer that one would specify "XF68_FBDev" (assuming the '68' isn't a
typo) instead of "mga" or "svga" in their  XF86Config, but I haven't
tried it. It's not clear to me whether the author is refering to Xfree 
3.3.6 or 4.x.


#XF86Config-4

Section "Monitor"
    Identifier  "Monitor_0"
    VendorName  "Art Media"
    ModelName   "A-1701T"
    HorizSync   30-70 
    VertRefresh 50-120
EndSection

Section "Monitor"
    Identifier  "Monitor_1"
    VendorName  "MicroScan"
    ModelName   "4 GP"
    HorizSync   30-64
    VertRefresh  50-100
EndSection

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

Section "Device"
    Identifier  "Matrox_0"
    Driver      "mga"
    BusID       "PCI:1:0:0"
    Screen      0
EndSection

Section "Device"
    Identifier  "Matrox_1"
    Driver      "mga"
    BusID       "PCI:1:0:0"
    Screen      1
EndSection

Section "Screen"
    Identifier  "Screen_0"
    Device      "Matrox_0"
    Monitor     "Monitor_0"
    DefaultDepth 16

    Subsection "Display"
        Depth       16
        Modes       "640x480" "1152x864"  "1024x768"  "800x600"  
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Matrox_1"
    Monitor     "Monitor_1"
    DefaultDepth 16

    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768" 
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Dual Layout"
    Screen "Screen_0"
    Screen "Screen_1" LeftOf "Screen_0"
    InputDevice "Mouse_0" "CorePointer"
    InputDevice "Keyboard_0" "CoreKeyboard"
EndSection

TIA,

Paul
-- 
Paul Mackinney
[EMAIL PROTECTED]

Reply via email to