[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

U30, Xorg and Voodoo Banshee



Hi,
I've just pulled out a Creative Voodoo Banshee from an old pc and I'm
trying to make it work with my Ultra 30 (Etch).
I've enabled fb, DRM and tdfx support as modules in kernel configuration
(2.6.14.2) and this is what I get from `lspci -v`:

------------------------------------------------------------------------

0000:80:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus
Module
         Flags: bus master, 66MHz, medium devsel, latency 64

0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus
Module
         Flags: bus master, medium devsel, latency 64

0001:00:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
         Flags: bus master, medium devsel, latency 80
         Memory at 000001fff0000000 (32-bit, non-prefetchable) [size=16M]
         Memory at 000001fff1000000 (32-bit, non-prefetchable) [size=8M]
         Expansion ROM at 0000000083000000 [disabled] [size=16M]

0001:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy
Meal (rev 01)
         Flags: bus master, medium devsel, latency 80, IRQ 00667120
         Memory at 000001ff80008000 (32-bit, non-prefetchable) [size=32K]
         Expansion ROM at 0000000088000000 [disabled] [size=16M]

0001:00:02.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
         Flags: bus master, medium devsel, latency 80
         Memory at 000001ff81000000 (32-bit, non-prefetchable) [size=16M]
         Memory at 000001fff1000000 (32-bit, non-prefetchable) [size=8M]
         Expansion ROM at 0000000083000000 [disabled] [size=16M]

0001:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy
Meal (rev 01)
         Flags: bus master, medium devsel, latency 80, IRQ 00667120
         Memory at 000001ff80008000 (32-bit, non-prefetchable) [size=32K]
         Expansion ROM at 0000000088000000 [disabled] [size=16M]

0001:00:02.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
         Flags: bus master, medium devsel, latency 80
         Memory at 000001ff81000000 (32-bit, non-prefetchable) [size=16M]
         Memory at 000001ff82000000 (32-bit, non-prefetchable) [size=8M]
         Expansion ROM at 0000000089000000 [disabled] [size=16M]

0001:00:02.1 Ethernet controller: Sun Microsystems Computer Corp. Happy
Meal (rev 01)
         Flags: bus master, medium devsel, latency 80, IRQ 00666f20
         Memory at 000001ff82800000 (32-bit, non-prefetchable) [size=32K]
         Expansion ROM at 000000008a000000 [disabled] [size=16M]

0001:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875
(rev 03)
         Flags: bus master, medium devsel, latency 136, IRQ 00667100
         I/O ports at 0000000002010400 [size=256]
         Memory at 000001ff82000000 (32-bit, non-prefetchable) [size=8M]
         Expansion ROM at 0000000089000000 [disabled] [size=16M]

0001:00:02.1 Ethernet controller: Sun Microsystems Computer Corp. Happy
Meal (rev 01)
         Flags: bus master, medium devsel, latency 80, IRQ 00666f20
         Memory at 000001ff82800000 (32-bit, non-prefetchable) [size=32K]
         Expansion ROM at 000000008a000000 [disabled] [size=16M]

0001:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875
(rev 03)
         Flags: bus master, medium devsel, latency 136, IRQ 00667100
         I/O ports at 0000000002010400 [size=256]
         Memory at 000001ff80010000 (32-bit, non-prefetchable) [size=256]
         Memory at 000001ff80011000 (32-bit, non-prefetchable) [size=4K]

0001:00:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo
Banshee (rev 03) (prog-if 00 [VGA])
         Subsystem: Creative Labs: Unknown device 1017
         Flags: 66MHz, fast devsel, IRQ 00667080
         Memory at 000001ff84000000 (32-bit, non-prefetchable) [size=32M]
         Memory at 000001ff86000000 (32-bit, prefetchable) [size=32M]
         I/O ports at 0000000002010800 [size=256]
         Expansion ROM at 0000000080020000 [disabled] [size=64K]
         Capabilities: [60] Power Management version 1

------------------------------------------------------------------------

As you can see the Banshee has been detected and it's on PCI:0:5:0 .
Now, what is strange is that module
/lib/modules/2.6.14.2/kernel/drivers/video/tdfxfb.ko
doesn't get loaded at boot so no /dev/fb1 is present, but just only
/dev/fb0 (Elite 3D). I've also compiled it as part of the kernel but it
seems that Linux can't detect the Banshee and I see a blank screen till
X starts up using the Elite 3D.
I can ignore fb problem because I'd like to use the Elite 3D as primary
console and then both two graphic cards in Xorg. But here comes another
problem: it seems that Xorg doesn't scan PCI bus 0001:00 but only
0000:80 (= 128:0:0), and so it can't detect the Banshee.
This is what I get with `Xorg -scanpci`:

------------------------------------------------------------------------

Probing for PCI devices (Bus:Device:Function)

(128:0:0) Sun Microsystems Computer Corp. Psycho PCI Bus Module

------------------------------------------------------------------------

This is what /var/log/Xorg.1.log reports me:

------------------------------------------------------------------------

(II) Module ABI versions:
         X.Org ANSI C Emulation: 0.2
         X.Org Video Driver: 0.7
         X.Org XInput driver : 0.4
         X.Org Server Extension : 0.2
         X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="X.Org Foundation"
         compiled for 6.8.2, module version = 1.0.0
         ABI class: X.Org Video Driver, version 0.7
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 80:00:0: chip 108e,8000 card 0000,0000 rev 00 class 06,00,00
hdr 00
(II) PCI: End of PCI scan
Probing for PCI devices (Bus:Device:Function)

(128:0:0) Sun Microsystems Computer Corp. Psycho PCI Bus Module

------------------------------------------------------------------------

This is my xorg.conf (I've not enabled Xinerama at the moment):

------------------------------------------------------------------------

Section "Files"
         FontPath        "unix/:7100"
EndSection

Section "Module"
         Load    "bitmap"
         Load    "dbe"
         Load    "ddc"
         Load    "dri"
         Load    "extmod"
         Load    "freetype"
         Load    "glx"
         Load    "record"
         Load    "type1"
         Load    "v4l"
         Load    "vbe"
EndSection

Section "InputDevice"
         Identifier      "SUN Type6 Keyboard"
         Driver          "keyboard"
         Option          "CoreKeyboard"
EndSection

Section "InputDevice"
         Identifier      "SUN Mouse"
         Driver          "mouse"
         Option          "CorePointer"
         Option          "Device"                "/dev/input/mice"
         Option          "Protocol"              "Auto"
         Option          "Emulate3Buttons"       "false"
EndSection

Section "Device"
         Identifier      "SUN Elite3D"
         Driver          "sunffb"
         BusID           "SBUS:/SUNW,afb@1e,0"
EndSection

Section "Device"
         Identifier      "Voodoo Banshee"
         Driver          "tdfx"
         BusID           "PCI:0:5:0"
EndSection

Section "Monitor"
         Identifier      "SUN GDM-5010PT Monitor"
         Option          "DPMS"
         HorizSync       30-96
         VertRefresh     48-160
EndSection

Section "Screen"
         Identifier      "Screen_1"
         Device          "SUN Elite3D"
         Monitor         "SUN GDM-5010PT Monitor"
         DefaultDepth    24
         SubSection "Display"
                 Depth           1
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         SubSection "Display"
                 Depth           4
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         SubSection "Display"
                 Depth           8
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         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           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
EndSection

Section "Screen"
         Identifier      "Screen_2"
         Device          "Voodoo Banshee"
         Monitor         "SUN GDM-5010PT Monitor"
         DefaultDepth    24
         SubSection "Display"
                 Depth           1
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         SubSection "Display"
                 Depth           4
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         SubSection "Display"
                 Depth           8
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         SubSection "Display"
                 Depth           15
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
         SubSection "Display"
                 Depth           16
                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
         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           "1280x1024" "1024x768" "800x600" "640x480"
         EndSubSection
EndSection
Section "ServerLayout"
         Identifier      "Default Layout"
         Screen          "Screen_1" LeftOF "Screen_2"
         InputDevice     "SUN Type6 Keyboard"
         InputDevice     "SUN Mouse"
EndSection

Section "DRI"
         Mode    0666
EndSection

------------------------------------------------------------------------

Elite 3D perfectly works with microcode rev.3.11, but no DRI as you know.
So I'd like to get Banshee work since it can work at 1600x1200 and
DRI is supported.

Thank you for your help



Reply to: