176888252SmrgWARNING:
276888252SmrgOn exit XFree86 restores the old mode but it
376888252Smrgdoes not disable the secondary card. As a result
476888252Smrgthe second card (which has some randonm CRTC timing)
576888252Smrgmay produce synch pulses which are wrong for your
676888252Smrgmonitor.
776888252Smrg
876888252SmrgIf your monitor does not tolerate bad timing I would
976888252Smrgrecommend that you don't try Multi-head yet, or at
1076888252Smrgleast, turn it off *before* leaving X.
1176888252Smrg
1276888252Smrg
1376888252Smrg3.9Nl notice: There is a problem with releasing
1476888252Smrgof LBX colormap privates which may cause a seg.
1576888252Smrgfault when the server exits. I got a patch from
1676888252SmrgMark Vojkovich which fixes it.
1776888252Smrg
1876888252SmrgIf you have a CL-GD5480 or CL-GD5446 ver. B you
1976888252Smrgshould be able to try Multi-Head with that
2076888252Smrgcard as a secondary. The primary card should not
2176888252Smrghave any special feature. Some MainBoards may
2276888252Smrgnot do it right too. I tried it with a 5465 (AGP)
2376888252Smrgas a primary and 5446B (PCI) secondary on an
2476888252SmrgABIT LX6 upgraded to the latest bios.
2576888252Smrg
2676888252SmrgVersion A of the 5446 cannot be pure MMIO (The driver 
2776888252Smrgrequires that it is the primary display adapter).
2876888252SmrgYou can distinguish between the rel A and rel B by
2976888252Smrgrunning "scanpci -v". Version 1 does not report a
3076888252Smrgvalid BASE1 address.
3176888252Smrg
3276888252SmrgThe bios upgrade lets me chose if the primary
3376888252Smrgdisplay adapter is on PCI on AGP (I chose
3476888252Smrgthe AGP card as primary). Warning - this setup
3576888252Smrgwill *NOT* work with XFree86 3.3.2.
3676888252Smrg
3776888252SmrgThe only problem that I found so far is with
3876888252Smrgmemory configuration initialization. My bios
3976888252Smrgdoes not initialize the secondary display adapter.
400814a2baSmrgThis results in a corrupted display.
4176888252Smrg
4276888252SmrgHere are the options:
4376888252Smrg1. warm booting from Windows 98 may work. I have
4476888252Smrgnot tried that.
4576888252Smrg
4676888252Smrg2. Take out the other card and leave the 5446
4776888252Smrg(or 5480) as the primary card. Start the server
4876888252Smrgand watch it's output. Look for lines like:
4976888252Smrg  (--) CIRRUS(0): Memory Config reg 1 is 0x1B
5076888252Smrg  (--) CIRRUS(0): Memory Config reg 2 is 0x21
5176888252SmrgRemember these values. Now edit XF86Config
5276888252Smrgand add to the proper device section the lines:
5376888252Smrg  Option "MemCFG1" "0x1B"
5476888252Smrg  Option "MemCFG2" "0x21"
5576888252SmrgThese values are the contents of registers SR0F
5676888252Smrgand SR17. (notice: the 5480 driver does not use
5776888252Smrgand will not print MemCFG2).
5876888252Smrg
5976888252SmrgNow you can reinstall the other card (which
6076888252Smrgmust me set as the the primary display adaptor).
6176888252Smrg
6276888252SmrgA note about configuring multi-head:
6376888252SmrgThere should be a separate section for each
6476888252Smrgadapter (device), Monitor and Screen. A "ServerLayout"
6576888252Smrgsection is optional (and recommended). To make it
6676888252Smrgeasier for XFree86 to relate device sections to
6776888252Smrgactual cards, use a BusId line in each device
6876888252Smrgsection. XFree86 3.9N works properly if the config
6976888252Smrgfile is for Multi-head but it finds only one
7076888252Smrgdisplay adapter.
71