Almost have XFree86-4.0 working dual head and in xinerama, but need some help

Almost have XFree86-4.0 working dual head and in xinerama, but need some help

Post by Hoyt » Thu, 04 May 2000 04:00:00



I am using Mandrake 7.0 with the current Mandrake rpm's of XFree86 4.0. My
XF86Config file is at the end of this post. The equipment I am using are two
identical Voodoo3-2000 PCI cards, a Viewsonic 17-GS-2 monitor on the left
and a Nokia 44BS monitor on the right. (If this works, I might get another
17" monitor to replace the 15" Nokia.)

Here is what happens after I run startx:

The BIOS info for the second card appears on the right monitor. X starts on
the left monitor (grey screen and X cursor); the right monitor goes dark.
KDE runs on the left monitor with the following info:
name of display:: 0.0
Version number: 11.0
default screen number: 0
screen #0
dimensions: 2049x768
resolution 75x75
depths (1): 24

Some windows appear half off the left screen, or pop up on the blank right
screen - I can move the cursor to the right, hold the Alt key and drag them
to where I can see them.

So I'm confident the software is working correctly, but why is the right
screen blank (this configuration works well in Win98)? Any advice would be
appreciated.

Thanks,
Hoyt

XF86Config follows:

Section "Files"
    FontPath    "unix/:-1"
EndSection

Section "Module"
 Load  "extmod"
 Load  "xie"
 Load  "pex5"
 Load  "type1"
 Load  "freetype"
 Load  "glx"
 Load  "dri"
 Load  "GLcore"
 Load  "dbe"
 Load  "record"
EndSection

Section "ServerFlags"
    Option      "DisableVidModeExtension"
    Option      "blank time"    "10"
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection

Section "InputDevice"
 Identifier  "Keyboard0"
 Driver      "keyboard"
EndSection

Section "InputDevice"
 Identifier  "Mouse0"
 Driver      "mouse"
 Option      "Protocol" "MouseManPlusPS/2"
 Option      "Device" "/dev/psaux"
 Option     "Buttons" "3"
  Option      "ZAxisMapping"  "4 5"

EndSection

Section "Monitor"
 Identifier   "Mon_left"
 VendorName   "ViewSonic"
 ModelName    "17-GS-2"

 VertRefresh 50-160
 HorizSync 30-69

EndSection
Section "Monitor"
 Identifier   "Mon_right"
 VendorName   "Nokia"
 ModelName    "44BS"

 VertRefresh 48-100
 HorizSync 30-62

EndSection

Section "Device"
 Identifier  "3Dfx Interactive Voodoo3"
 Driver      "tdfx"
 VendorName  "3Dfx"
 BoardName   "Voodoo3"
 BusID       "PCI:0:9:0"
EndSection

Section "Device"
 Identifier  "3Dfx Voodoo3"
 Driver      "tdfx"
 VendorName  "3Dfx Interactive"
 BoardName   "Voodoo3"
 BusID       "PCI:0:11:0"
EndSection

Section "Screen"
 Identifier "screenleft"
 Device     "3Dfx Interactive Voodoo3"
 Monitor    "Mon_left"
 DefaultDepth 24
 SubSection "Display"
  Depth     8
  Modes "1024x768"
 EndSubSection
        Subsection "Display"
            Depth       24
            Modes        "1024x768"
           ViewPort    0 0
        EndSubsection

EndSection

Section "Screen"
 Identifier "screenright"
 Device     "3Dfx Voodoo3"
 Monitor    "Mon_right"
 DefaultDepth 24
 SubSection "Display"
  Depth     8
  Modes "1024x768"
 EndSubSection
        Subsection "Display"
            Depth       24
            Modes        "1024x768"
           ViewPort    0 0
        EndSubsection
EndSection

Section "DRI"
EndSection

Section "ServerLayout"
    Identifier  "Main Layout"
  Screen "screenleft"
  Screen "screenright"  RightOf "screenleft"
 option "xinerama" "on"
     InputDevice "Mouse0" "CorePointer"
     InputDevice "Keyboard0" "CoreKeyboard"
EndSection

 
 
 

Almost have XFree86-4.0 working dual head and in xinerama, but need some help

Post by Adam K Kirchhof » Thu, 04 May 2000 04:00:00



Quote:> I am using Mandrake 7.0 with the current Mandrake rpm's of XFree86 4.0. My
> XF86Config file is at the end of this post. The equipment I am using are two
> identical Voodoo3-2000 PCI cards, a Viewsonic 17-GS-2 monitor on the left
> and a Nokia 44BS monitor on the right. (If this works, I might get another
> 17" monitor to replace the 15" Nokia.)

Last I heard, there were problem when running dual head with two cards from the
same manufacturer (in fact, the problem was discovered when someone tried to use
to Voodoo3 cards)... I'm not sure if a solution was found.  You might try asking
on the dri-devel mailing list (check out: http://dri.sourceforge.net).  Actually,
first I'd check out the archives of the list to see if someone wrote a patch
for it already.

Adam

Quote:> Here is what happens after I run startx:
> The BIOS info for the second card appears on the right monitor. X starts on
> the left monitor (grey screen and X cursor); the right monitor goes dark.
> KDE runs on the left monitor with the following info:
> name of display:: 0.0
> Version number: 11.0
> default screen number: 0
> screen #0
> dimensions: 2049x768
> resolution 75x75
> depths (1): 24
> Some windows appear half off the left screen, or pop up on the blank right
> screen - I can move the cursor to the right, hold the Alt key and drag them
> to where I can see them.
> So I'm confident the software is working correctly, but why is the right
> screen blank (this configuration works well in Win98)? Any advice would be
> appreciated.
> Thanks,
> Hoyt
> XF86Config follows:
> Section "Files"
>     FontPath    "unix/:-1"
> EndSection
> Section "Module"
>  Load  "extmod"
>  Load  "xie"
>  Load  "pex5"
>  Load  "type1"
>  Load  "freetype"
>  Load  "glx"
>  Load  "dri"
>  Load  "GLcore"
>  Load  "dbe"
>  Load  "record"
> EndSection
> Section "ServerFlags"
>     Option      "DisableVidModeExtension"
>     Option      "blank time"    "10"
>     Option      "standby time"  "20"
>     Option      "suspend time"  "30"
>     Option      "off time"      "60"
> EndSection
> Section "InputDevice"
>  Identifier  "Keyboard0"
>  Driver      "keyboard"
> EndSection
> Section "InputDevice"
>  Identifier  "Mouse0"
>  Driver      "mouse"
>  Option      "Protocol" "MouseManPlusPS/2"
>  Option      "Device" "/dev/psaux"
>  Option     "Buttons" "3"
>   Option      "ZAxisMapping"  "4 5"
> EndSection
> Section "Monitor"
>  Identifier   "Mon_left"
>  VendorName   "ViewSonic"
>  ModelName    "17-GS-2"
>  VertRefresh 50-160
>  HorizSync 30-69
> EndSection
> Section "Monitor"
>  Identifier   "Mon_right"
>  VendorName   "Nokia"
>  ModelName    "44BS"
>  VertRefresh 48-100
>  HorizSync 30-62
> EndSection
> Section "Device"
>  Identifier  "3Dfx Interactive Voodoo3"
>  Driver      "tdfx"
>  VendorName  "3Dfx"
>  BoardName   "Voodoo3"
>  BusID       "PCI:0:9:0"
> EndSection
> Section "Device"
>  Identifier  "3Dfx Voodoo3"
>  Driver      "tdfx"
>  VendorName  "3Dfx Interactive"
>  BoardName   "Voodoo3"
>  BusID       "PCI:0:11:0"
> EndSection
> Section "Screen"
>  Identifier "screenleft"
>  Device     "3Dfx Interactive Voodoo3"
>  Monitor    "Mon_left"
>  DefaultDepth 24
>  SubSection "Display"
>   Depth     8
>   Modes "1024x768"
>  EndSubSection
>         Subsection "Display"
>             Depth       24
>             Modes        "1024x768"
>            ViewPort    0 0
>         EndSubsection
> EndSection
> Section "Screen"
>  Identifier "screenright"
>  Device     "3Dfx Voodoo3"
>  Monitor    "Mon_right"
>  DefaultDepth 24
>  SubSection "Display"
>   Depth     8
>   Modes "1024x768"
>  EndSubSection
>         Subsection "Display"
>             Depth       24
>             Modes        "1024x768"
>            ViewPort    0 0
>         EndSubsection
> EndSection
> Section "DRI"
> EndSection
> Section "ServerLayout"
>     Identifier  "Main Layout"
>   Screen "screenleft"
>   Screen "screenright"  RightOf "screenleft"
>  option "xinerama" "on"
>      InputDevice "Mouse0" "CorePointer"
>      InputDevice "Keyboard0" "CoreKeyboard"
> EndSection

--

 
 
 

Almost have XFree86-4.0 working dual head and in xinerama, but need some help

Post by Hoyt » Thu, 04 May 2000 04:00:00





> > I am using Mandrake 7.0 with the current Mandrake rpm's of XFree86 4.0.
My
> > XF86Config file is at the end of this post. The equipment I am using are
two
> > identical Voodoo3-2000 PCI cards, a Viewsonic 17-GS-2 monitor on the
left
> > and a Nokia 44BS monitor on the right. (If this works, I might get
another
> > 17" monitor to replace the 15" Nokia.)

> Last I heard, there were problem when running dual head with two cards
from the
> same manufacturer (in fact, the problem was discovered when someone tried
to use
> to Voodoo3 cards)... I'm not sure if a solution was found.  You might try
asking
> on the dri-devel mailing list (check out: http://dri.sourceforge.net).
Actually,
> first I'd check out the archives of the list to see if someone wrote a
patch
> for it already.

The site mentions this:
http://www.geocrawler.com/archives/3/680/2000/3/0/3401442/

OK, after days of searching through the source code (it`s new to me,
sorry), I finally found out why I couldn`t run 2 Voodoo cards in
Multihead. In the file tdfx_driver.c, located in
xc/programs/Xserver/hw/xfree86/drivers/tdfx, if line 1182 ( if
(initDone) return TRUE;) is remarked out, the second Voodoo card is
allowed to initialize. Daryll, could you tell me what the purpose of
this line is? I`d hate to pooch the driver. Myself, I`m not seeing any
adverse effects, but I`ve not done ANY testing on the 3D side. BTW, I`m
referencing the 3.9.18 release, not the CVS code.

UPDATE:
I can`t use the kernel modules while in dual mode, I get a Sig. 11. I`m
guessing that the module
doesn`t know what to do with 2 voodoos. When I tell XF86Config to use one
screen, everything
is fine AFAIK. Other than that, dual Voodoos using only 2D works fine.

Thanks,
Rus

So , I assume a patch to the kernel will hack it for 2D only which is fine
with me.

Thanks for the reference.
Hoyt

 
 
 

1. dual-head with Xinerama - please help

I have a 600 MHz with 128MB RAM, ASUS motherboard. I'm using two ATi
Rage 128 video cards, one AGP, the other PCI pushing two Optiquest Q71
monitors. The OS is Mandrake 8.1, installed from downloaded ISO images
and then burned CDs, so I'm dealing with the original release. I did
the install from the CDs and everything came up properly. Then I
installed the second card/monitor using XFdrake. Again it worked
properly. It didn't work until I changed the motherboard BIOS to set
PCI as the video card instead of AGP.

Here's the problem: I start up and I indeed have dual monitor support
and the cursor moves from one monitor to the other. I open an
application and move it to the second screen. If I move the window
slowly, as it crosses the boundary from one screen to the other, the
screens freeze and I have total lockup. If I shrink the window to its
smallest size, move it quickly to the other screen, and resize it, it
works fine for a while then freezes. Further, I share one of the
monitors through a Keyboard/Video/Mouse switch with several other
systems. The windoz box is set to 1152x876 but I cannot set the Linux
box to the same. The resolution is listed in XFConfig but it is not
listed in XFConfig-4. The monitor is constantly switching resolutions
as I move from one system to the other. This is necessary since a lot
of my testing is done on the Windoz box but production is done on the
Linux box.

This seems to me to be a timing problem but I don't know where to look
and what to try. Your help would be appreciated. I've tried
"Mandrake-Expert", newsletters and FAQs and can find no help anywhere.

Thanks for your time and assistance.

Ron Woodall

Ron Woodall

responsible for the Compendium of HTML Elements - available at:
http://htmlcompendium.org

2. xforward for sun sparc-n

3. CD-ROM

4. Problem with Solaris 10 x86, Matrox G450 Dual Head, X.org and Xinerama

5. Named/Sendmail

6. ATI + G400 Dual Head Xinerama

7. Please help with ftp/telnet on local machine.

8. Dual Head, no Xinerama, one mouse?

9. ATI Radeon VE (dual head) and Xinerama

10. Xinerama problems with Dual Head Matrox G400

11. XFree4: Making Multi-head Work WITHOUT Xinerama

12. XFree86 4.0.1 and AGP G4 almost working ...help