Jump to content

Multimonitor display - cant get extra 2 cards work


mikewho
 Share

Recommended Posts

i've got Mandrake 10.0 installed with 2.6 kernel

 

my main card is Riva 2 M64 at AGP port,

second and third card are S3 Trio64V2

 

all the cards are recognized in harddrake corectly

 

the hardware configuration is OK, i've got windows installed too

and all works just fine there (no irq or memory conflicts)

 

i've tried the xf86cfg: configured alle the screens, monitors and cards as they should be,

turned xinerama manual in xf config file but it still doesn't work - the monitors connected to

the S3 cards are null (powered off)

 

i've searched the web, all the info i found was tried. maybe there is something i could get

from those infos? something like "Mandrake does do that, but the path/command is different

of the standard one everyone else uses"

 

please help

 

PS: i'm new on linux, but not a total newbie ;)

 

My xf config is as folows:

 

# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "ServerLayout"
Identifier     "layout1"
Screen      0  "screen1" 0 0
Screen      1  "Screen2" RightOf "screen1"
Screen      2  "Screen3" RightOf "Screen2"
Option         "Xinerama" "On"
InputDevice    "Keyboard1" "CoreKeyboard"
InputDevice    "Mouse1" "CorePointer"
EndSection

Section "Files"

   # Multiple FontPath entries are allowed (they are concatenated together)
   # By default, Mandrake 6.0 and later now use a font server independent of
   # the X server to render fonts.
FontPath     "unix/:-1"
EndSection

Section "Module"
Load  "dbe" # Double-Buffering Extension
Load  "v4l" # Video for Linux
Load  "extmod"
Load  "type1"
Load  "freetype"
Load  "glx" # 3D layer
EndSection

Section "ServerFlags"

   #DontZap # disable <Crtl><Alt><BS> (server abort)
# allows the server to start up even if the mouse doesn't work
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
Option     "allowmouseopenfail"
EndSection

Section "InputDevice"
Identifier  "Keyboard1"
Driver      "Keyboard"
Option     "XkbModel" "pc105"
Option     "XkbLayout" "pl"
Option     "XkbOptions" ""
EndSection

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

Section "Monitor"

   # Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
Identifier   "monitor1"
VendorName   "Generic"
ModelName    "1280x1024 @ 76 Hz"
HorizSync    31.5 - 82.0
VertRefresh  50.0 - 90.0
ModeLine     "1024x480" 65.0 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
ModeLine     "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine     "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier   "Monitor2"
HorizSync    31.5 - 37.9
VertRefresh  50.0 - 70.0
EndSection

Section "Monitor"
Identifier   "Monitor3"
HorizSync    31.5 - 37.9
VertRefresh  50.0 - 70.0
EndSection

Section "Device"
Identifier  "device1"
Driver      "nv"
VendorName  "nVidia Corporation"
BoardName   "RIVA TNT2"
Option     "DPMS"
EndSection

Section "Device"
Identifier  "device2"
Driver      "s3"
ChipSet     "Trio32/64"
Card        "s3 Trio32/64"
ChipId      0x0
ChipRev     0x0
BusID       "PCI:0:9:0"
IRQ         0
EndSection

Section "Device"
Identifier  "device3"
Driver      "s3"
ChipSet     "Trio32/64"
Card        "s3 Trio32/64"
ChipId      0x0
ChipRev     0x0
BusID       "PCI:0:11:0"
IRQ         0
EndSection

Section "Screen"
Identifier "screen1"
Device     "device1"
Monitor    "monitor1"
DefaultDepth     16
SubSection "Display"
 Virtual   1152 864
 Depth     8
EndSubSection
SubSection "Display"
 Virtual   1152 864
 Depth     15
EndSubSection
SubSection "Display"
 Virtual   1152 864
 Depth     16
 Modes    "640x480" "800x600" "1024x480"
EndSubSection
SubSection "Display"
 Virtual   1152 864
 Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device     "device2"
Monitor    "Monitor2"
DefaultDepth     16
SubSection "Display"
 Depth     16
 Black     0x0000 0x0000 0x0000
 White     0x0000 0x0000 0x0000
 Modes    "640x480" "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen3"
Device     "device3"
Monitor    "Monitor3"
DefaultDepth     16
SubSection "Display"
 Depth     8
 Black     0x0000 0x0000 0x0000
 White     0x0000 0x0000 0x0000
 Modes    "640x480" "800x600"
EndSubSection
SubSection "Display"
 Depth     16
 Black     0x0000 0x0000 0x0000
 White     0x0000 0x0000 0x0000
 Modes    "640x480" "800x600"
EndSubSection
EndSection

Link to comment
Share on other sites

it looks good!

when X starts it writes a log to /var/log/XF86.....log

 

Im guessing but perhaps the S3 cards cant find a valid resulution/timing... this would be indicated in the log

 

also add the busID to the NV card!

lspci should give it... its probably 1:0.0 or similar... if its AGP

 

also try copying your file and make a sperate one for just one S3 card....

see if you can get it working then copy the stuff to your 3 head config.

 

I always make copies like XF86Config-4.3head and XF86Config-4-projector-flatscreen

 

etc.

 

you can test diffeent ones by

XFree86 -xf86config /etc/X11/<filename>

Link to comment
Share on other sites

thanks for the help !

 

i've got it running thanks to you

 

the thing was with the busid, just like you said i wrote the pci:1:0:0 for the nv section (it does stand for agp) and first s3 card got working - still no picture on the second one

 

the second s3 card had a wrong busid set to pci:0:11:0 as it was in the harddrake tool, but in the XF86Config it should be 0:17:0 (hex/decimal translation) i saw it in the log :D

 

now all it is left to do is to change the resolutions and refresh rates - i hope it doesn't have to be the same on all monitors? it does 800x600@56 on all (with no additional config in this point of time)

 

ive got one 17" which goes 1152x768@85, and two 14" - only 800x600@75 (1024 is very ugly on 14")

 

________________________________

LiNUX does RULES

Link to comment
Share on other sites

oops....

 

Great .... (Oh and welcome to MUB of course)

 

No the resolutions can be independant BUT the colour depth must be the same for xinerama

Remember to play with the gnome KDE panel to stop it dissapearing off the bottom of screen 2.....

 

Also if you do want different colour depths you can use seperate X displays... I used to have a 3 head setup where X:0.0 was a Xinerama display and X:0.1 was a seperate (as it happends S3 running 800x600) on a 14"

The third screen was used extensively for logging and stuff....

 

You could have the opposite , that is 2x800x600 giving 1600x600 Xinerama on the 14" and your nv one too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...