Re: DualScreen, 2 cards, AGP and PCI, have to boot from PCI?

From: Dieter Soltau (sprockhoevel_at_web.de)
Date: 08/28/04

  • Next message: Jeff Gaines: "Do Generic Drivers Support DualHead"
    Date: Sat, 28 Aug 2004 11:41:26 +0200
    
    

    hi Craig,

    > Dieter, Ich denke, daß Floyd ein wenig verwechselt wird.
    say what <g>? "verwechselt" does mean, "taken for someone else". you sure
    you eanted to say this? ;)

    > a) set your BIOS to use the AGP card for primary video controller.
    > b) modify the virtual console driver to use non-BIOS VGA (your AGP card).
    hmm, dunno how i should handle b), though..

    >> it uses the AGP and i see nothing on the PCI card.
    >>
    >>>     BusID       "PCI:00:14:00"
    >>>     BusID       "PCI:00:13:00"
    >>
    >> i have set this, except one card ist AGP here (1:0:0 and the pci 0:b:0).
    >>
    >
    > At this point you have me a little bit confused.  Let me summarize what I
    > think you are saying:
    >
    > Scenario 1: AGP is set for VGA in BIOS.
    > lspci shows only AGP card at 1:0.0
    and PCI card at 0:11.0 !!! lspci shows it fine, but *I* see nothing on the
    monitor. i fear i expressed myself badly, sorry! the PCI card is simply not
    initialized or whatever. pci card
    monitorLED keeps flashing. there is no input from the card.

    > Scenario 2: PCI is set for VGA in BIOS.
    > lspci shows both AGP card at 1:0.0
    >              and PCI card at 0:11.0
    >
    > You may want to try moving the PCI card to a different slot.  It
    > appears to affect the way the cards are interpreted when scanned
    > by the BIOS.
    am i correct that you misunderstood me, and thought lspci woudnt see the
    card, or should i change slots anyway? dunno what i could get except a
    different number, 0:9:0 or whatever? or should the pci card become 1:0:0?
    is this the goal? anyway - booting from PCI will not bet me further, i
    guess we all agree on this..

    > Perhaps you can play around with pcitweak(1) and scanpci(1).  These
    > utility functions allow you to scan and to change, tweak, the settings
    > for PCI devices.  Maybe you can get your system to "see" the PCI card when
    > the AGP is set to be the primary display in BIOS.
    well, it is seens, lspci shows it, but there is no data going from the pci
    card to the monitor.

    i try to summarize this again:

    if i connect my AGP only, EVERYTHING is working as expected. no problems
    whatsoever.

    if i add my PCI card, BOTH are seen. AGP 1:0:0, PCI 0:b:0.
    if i boot from AGP, i see the bootprocedure on the AGP, nothing on PCI. then
    X starts, i am still on AGP and see nothing on PCI. NOTHING, not in normal,
    not in xinerama mode! now i press ALT-F1 to get a tty, and this is NOWHERE.
    not on my AGP and neither on my PCI. i press ALT-F7 again, and X is back on
    AGP.

    now, if i boot from PCI then everything is correct. bootprocedure starts
    from PCI. X starts - both monitors. i press ALT-F1 and it is shown on PCI
    (sure, i booted rom that card). X remains on AGP. this is fully correct to
    me, except that it is an ld card i dislike to use at primary. its a voodoo
    banshee, dont even know if it does 1600x1200 if i would keep that as
    primary.

    well, i hope this gets a bit clearer now?
    here some more parts of my xconf (fonts etc.. wiped out so it doesnt get to
    much). [0] is my AGP and 19", [1] is my PCI and 17":

    #

    Section "Files"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    [...]
      InputDevices "/dev/psaux"
      InputDevices "/dev/logibm"
      InputDevices "/dev/gpmdata"
      InputDevices "/dev/mouse"
      InputDevices "/dev/usbmouse"
      InputDevices "/dev/input/mice"
      InputDevices "/dev/input/event0"
    EndSection

    Section "ServerFlags"
      Option       "AllowMouseOpenFail"
    EndSection

    Section "Module"
      Load         "extmod"
      Load         "speedo"
      Load         "type1"
      Load         "v4l"
      Load         "freetype"
      Load         "glx"
      Load         "dbe"
      Load         "dri"
    EndSection

    Section "InputDevice"
      Driver       "Keyboard"
      Identifier   "Keyboard[0]"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "de"
      Option       "XkbModel" "pc105"
      Option       "XkbRules" "xfree86"
      Option       "XkbVariant" "nodeadkeys"
    EndSection

    Section "InputDevice"
      Driver       "mouse"
      Identifier   "Mouse[1]"
      Option       "Buttons" "5"
      Option       "Device" "/dev/mouse"
      Option       "Name" "Autodetection"
      Option       "Protocol" "imps/2"
      Option       "Vendor" "Sysp"
      Option       "ZAxisMapping" "4 5"
    EndSection

    Section "Monitor"
      Option       "CalcAlgorithm" "CheckDesktopGeometry"
      DisplaySize  360 270
      HorizSync    28-96
      Identifier   "Monitor[0]"
      ModelName    "96P97P(T)"
      Option       "DPMS"
      VendorName   "SAMTRON"
      VertRefresh  50-160
      UseModes     "Modes[0]"
    EndSection

    Section "Monitor"
    #  Option       "CalcAlgorithm" "CheckDesktopGeometry"
    #  DisplaySize  360 270
      HorizSync    31.5-82
      Identifier   "Monitor[1]"
      ModelName    "17 ZOLL"
    #  Option       "DPMS"
      VendorName   "MAG"
      VertRefresh  50-70
    #  UseModes     "Modes[0]"
    EndSection

    Section "Modes"
      Identifier   "Modes[0]"
      Modeline  "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
      Modeline  "1280x1024" 125.14 1280 1368 1504 1728 1024 1025 1028 1065
      Modeline  "1280x1024" 145.69 1280 1376 1512 1744 1024 1025 1028 1071
      Modeline  "1280x1024" 165.29 1280 1376 1512 1744 1024 1025 1028 1077
      Modeline  "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
      Modeline  "1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
      Modeline  "1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
      Modeline  "1024x768" 97.84 1024 1088 1200 1376 768 769 772 808
      Modeline  "1024x768" 110.91 1024 1096 1208 1392 768 769 772 813
      Modeline  "1024x768" 122.97 1024 1096 1208 1392 768 769 772 818
      Modeline  "1024x768" 131.43 1024 1096 1208 1392 768 769 772 821
      Modeline  "800x600" 36.88 800 832 912 1024 600 601 604 621
      Modeline  "800x600" 44.13 800 840 920 1040 600 601 604 624
      Modeline  "800x600" 51.73 800 840 928 1056 600 601 604 628
      Modeline  "800x600" 58.73 800 840 928 1056 600 601 604 632
      Modeline  "800x600" 66.71 800 848 936 1072 600 601 604 635
      Modeline  "800x600" 73.98 800 848 936 1072 600 601 604 639
      Modeline  "800x600" 82.55 800 856 944 1088 600 601 604 643
      Modeline  "800x600" 90.10 800 856 944 1088 600 601 604 647
      Modeline  "800x600" 97.59 800 856 944 1088 600 601 604 650
      Modeline  "640x480" 23.06 640 656 720 800 480 481 484 497
      Modeline  "640x480" 27.74 640 664 728 816 480 481 484 500
      Modeline  "640x480" 32.64 640 672 736 832 480 481 484 503
      Modeline  "640x480" 36.97 640 672 736 832 480 481 484 505
      Modeline  "640x480" 42.22 640 680 744 848 480 481 484 508
      Modeline  "640x480" 46.80 640 680 744 848 480 481 484 511
      Modeline  "640x480" 51.43 640 680 744 848 480 481 484 514
      Modeline  "640x480" 57.18 640 680 752 864 480 481 484 517
      Modeline  "640x480" 62.12 640 680 752 864 480 481 484 521
      Modeline  "1600x1200" 155.47 1600 1704 1880 2160 1200 1201 1204 1241
      Modeline  "1600x1200" 184.66 1600 1712 1888 2176 1200 1201 1204 1248
      Modeline  "1600x1200" 205.99 1600 1720 1896 2192 1200 1201 1204 1253
      Modeline  "1600x1024" 131.69 1600 1704 1872 2144 1024 1025 1028 1059
      Modeline  "1600x1024" 156.43 1600 1704 1880 2160 1024 1025 1028 1065
      Modeline  "1600x1024" 181.78 1600 1712 1888 2176 1024 1025 1028 1071
      Modeline  "1600x1024" 207.75 1600 1720 1896 2192 1024 1025 1028 1077
      Modeline  "1600x1000" 127.62 1600 1696 1864 2128 1000 1001 1004 1034
      Modeline  "1600x1000" 152.76 1600 1704 1880 2160 1000 1001 1004 1040
      Modeline  "1600x1000" 177.54 1600 1712 1888 2176 1000 1001 1004 1046
      Modeline  "1600x1000" 202.93 1600 1720 1896 2192 1000 1001 1004 1052
      Modeline  "1600x1000" 207.74 1600 1720 1896 2192 1000 1001 1004 1053
      Modeline  "1400x1050" 118.42 1400 1488 1640 1880 1050 1051 1054 1086
      Modeline  "1400x1050" 140.79 1400 1496 1648 1896 1050 1051 1054 1092
      Modeline  "1400x1050" 163.75 1400 1504 1656 1912 1050 1051 1054 1098
      Modeline  "1400x1050" 181.37 1400 1504 1656 1912 1050 1051 1054 1103
      Modeline  "1280x960" 97.68 1280 1352 1488 1696 960 961 964 993
      Modeline  "1280x960" 116.18 1280 1360 1496 1712 960 961 964 998
      Modeline  "1280x960" 135.32 1280 1368 1504 1728 960 961 964 1004
      Modeline  "1280x960" 155.01 1280 1376 1512 1744 960 961 964 1010
      Modeline  "1280x960" 164.30 1280 1376 1512 1744 960 961 964 1013
      Modeline  "1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
      Modeline  "1152x864" 93.90 1152 1224 1344 1536 864 865 868 899
      Modeline  "1152x864" 109.43 1152 1224 1352 1552 864 865 868 904
      Modeline  "1152x864" 125.43 1152 1232 1360 1568 864 865 868 909
      Modeline  "1152x864" 140.45 1152 1232 1360 1568 864 865 868 914
      Modeline  "1152x864" 148.10 1152 1232 1360 1568 864 865 868 917
    EndSection

    Section "Screen"
      DefaultDepth 24
      defaultFbBpp 32
      SubSection "Display"
        Depth      15
        Modes      "1280x1024" "1024x768" "800x600" "640x480" 
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480" 
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024"
    "1280x960" "1152x864" "1024x768" "800x600" "640x480"
      EndSubSection
      SubSection "Display"
        Depth      32
        Modes      "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1280x1024"
    "1280x960" "1152x864" "1024x768" "800x600" "640x480"
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480" 
      EndSubSection
      Device       "Device[0]"
      Identifier   "Screen[0]"
      Monitor      "Monitor[0]"
    EndSection

    Section "Screen"
      DefaultDepth 24
    #  defaultFbBpp 32
      SubSection "Display"
        Depth      16
        Modes      "1024x768" "800x600" "640x480" 
        ViewPort 0 0
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1024x768" "800x600" "640x480" 
        ViewPort 0 0
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1024x768" "800x600" "640x480" 
        ViewPort 0 0
      EndSubSection
      Device       "Device[1]"
      Identifier   "Screen[1]"
      Monitor      "Monitor[1]"
    EndSection

    Section "Device"
      BoardName    "GeForce2 MX 100/200"
      BusID        "AGP:1:0:0"
      Driver       "nvidia"
      Identifier   "Device[0]"
      Option       "sw_cursor"
      VendorName   "NVidia"
    EndSection

    Section "Device"
      BoardName    "VOODOO"
      BusID        "PCI:0:b:0"
      Driver       "tdfx"
      Identifier   "Device[1]"
    ##  Option       "sw_cursor"
      VendorName   "VOODOO"
    EndSection

    Section "ServerLayout"
      Identifier   "Layout[all]"
      InputDevice  "Keyboard[0]" "CoreKeyboard"
      InputDevice  "Mouse[1]" "CorePointer"
    #  Option       "Clone" "on"
    #  Option       "Xinerama" "on"
      Screen 0      "Screen[0]" 0 0
      Screen 1      "Screen[1]" RightOf "Screen[0]"
    EndSection

    Section "DRI"
    Group      "video"
    Mode       0660
    EndSection


  • Next message: Jeff Gaines: "Do Generic Drivers Support DualHead"
  • Quantcast