linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tdfx & multiple voodoo cards : supposed to work ?
@ 2003-10-29  9:36 Sven Luther
  2003-10-29 18:25 ` Kronos
  0 siblings, 1 reply; 23+ messages in thread
From: Sven Luther @ 2003-10-29  9:36 UTC (permalink / raw)
  To: linux-fbdev-devel

Hello,

I have had a report of someone trying to use two voodoo cards on a
pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)

Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-29  9:36 tdfx & multiple voodoo cards : supposed to work ? Sven Luther
@ 2003-10-29 18:25 ` Kronos
  2003-10-29 19:56   ` Sven Luther
  2003-10-29 20:04   ` tdfx & multiple voodoo cards : supposed to work ? James Simmons
  0 siblings, 2 replies; 23+ messages in thread
From: Kronos @ 2003-10-29 18:25 UTC (permalink / raw)
  To: Sven Luther; +Cc: linux-fbdev-devel

Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto: 
> Hello,
> 
> I have had a report of someone trying to use two voodoo cards on a
> pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> 
> Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?

No, the driver has a statically allocated fb_info. It will blow up.

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
La vasca da bagno fu inventata nel 1850, il telefono nel 1875.
Se fossi vissuto nel 1850, avrei potuto restare in vasca per 25 anni
senza sentir squillare il telefono


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-29 18:25 ` Kronos
@ 2003-10-29 19:56   ` Sven Luther
  2003-10-29 20:25     ` Kronos
  2003-10-29 20:04   ` tdfx & multiple voodoo cards : supposed to work ? James Simmons
  1 sibling, 1 reply; 23+ messages in thread
From: Sven Luther @ 2003-10-29 19:56 UTC (permalink / raw)
  To: Kronos; +Cc: Sven Luther, linux-fbdev-devel

On Wed, Oct 29, 2003 at 07:25:32PM +0100, Kronos wrote:
> Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto: 
> > Hello,
> > 
> > I have had a report of someone trying to use two voodoo cards on a
> > pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> > 
> > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> 
> No, the driver has a statically allocated fb_info. It will blow up.

Ok, thought so, i am not sure though.

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-29 18:25 ` Kronos
  2003-10-29 19:56   ` Sven Luther
@ 2003-10-29 20:04   ` James Simmons
  2003-10-30  9:15     ` Sven Luther
  1 sibling, 1 reply; 23+ messages in thread
From: James Simmons @ 2003-10-29 20:04 UTC (permalink / raw)
  To: Linux Fbdev development list


> > I have had a report of someone trying to use two voodoo cards on a
> > pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> > 
> > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> 
> No, the driver has a statically allocated fb_info. It will blow up.

Yeap. Also the driver uses the VGA legacy IO ports. It is possible to run 
the driver without BIOS support. The specs have such info. I just haven't 
got around to it.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-29 19:56   ` Sven Luther
@ 2003-10-29 20:25     ` Kronos
  2003-10-29 22:19       ` James Simmons
  2003-10-30  6:49       ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question Sven Luther
  0 siblings, 2 replies; 23+ messages in thread
From: Kronos @ 2003-10-29 20:25 UTC (permalink / raw)
  To: Sven Luther; +Cc: linux-fbdev-devel

Il Wed, Oct 29, 2003 at 08:56:27PM +0100, Sven Luther ha scritto: 
> On Wed, Oct 29, 2003 at 07:25:32PM +0100, Kronos wrote:
> > Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto: 
> > > Hello,
> > > 
> > > I have had a report of someone trying to use two voodoo cards on a
> > > pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> > > 
> > > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> > 
> > No, the driver has a statically allocated fb_info. It will blow up.
> 
> Ok, thought so, i am not sure though.

BTW, looking  at 2.6 it  seems that the  driver will work  with multiple
cards.  Static vars have been removed so this problem is solved. I'm not
sure that the  driver itself can handle more than  one card though. Give
it a try.

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
"New processes are created by other processes, just like new
 humans. New humans are created by other humans, of course,
 not by processes." -- Unix System Administration Handbook


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-29 20:25     ` Kronos
@ 2003-10-29 22:19       ` James Simmons
  2003-10-30  6:49       ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question Sven Luther
  1 sibling, 0 replies; 23+ messages in thread
From: James Simmons @ 2003-10-29 22:19 UTC (permalink / raw)
  To: Linux Fbdev development list


> > > > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> > > 
> > > No, the driver has a statically allocated fb_info. It will blow up.
> > 
> > Ok, thought so, i am not sure though.
> 
> BTW, looking  at 2.6 it  seems that the  driver will work  with multiple
> cards.  Static vars have been removed so this problem is solved. I'm not
> sure that the  driver itself can handle more than  one card though. Give
> it a try.

Nope. It uses the VGA core. It is possible to make the hardware boot 
indepenedent of the firmware. I haven't got around to doing this.







-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-29 20:25     ` Kronos
  2003-10-29 22:19       ` James Simmons
@ 2003-10-30  6:49       ` Sven Luther
  2003-10-30  9:38         ` Geert Uytterhoeven
  2003-10-30 18:27         ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question James Simmons
  1 sibling, 2 replies; 23+ messages in thread
From: Sven Luther @ 2003-10-30  6:49 UTC (permalink / raw)
  To: Kronos; +Cc: Sven Luther, linux-fbdev-devel

On Wed, Oct 29, 2003 at 09:25:44PM +0100, Kronos wrote:
> Il Wed, Oct 29, 2003 at 08:56:27PM +0100, Sven Luther ha scritto: 
> > On Wed, Oct 29, 2003 at 07:25:32PM +0100, Kronos wrote:
> > > Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto: 
> > > > Hello,
> > > > 
> > > > I have had a report of someone trying to use two voodoo cards on a
> > > > pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> > > > 
> > > > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> > > 
> > > No, the driver has a statically allocated fb_info. It will blow up.
> > 
> > Ok, thought so, i am not sure though.
> 
> BTW, looking  at 2.6 it  seems that the  driver will work  with multiple
> cards.  Static vars have been removed so this problem is solved. I'm not
> sure that the  driver itself can handle more than  one card though. Give
> it a try.

I don't have the hardware directly, and i was reluctant to upgrade the
pegasos patches to 2.6.x, since i heard that radeonfb was causing some
trouble. And i only have a radeon 9000, a matrox millenium II that i can
work on this box.

BTW, i had had reports from Chris Tillman about what seems an fbdev
failure on his 9500 powermac with 2.4.22 kernels. The pci greaphic cards
declares to be a Mach64GX, and lspci gives :

00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 02)
00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)

00:0f.0 Class 0300: 1002:4758 (rev 02)
	Flags: stepping, medium devsel, IRQ 25
	Memory at 81000000 (32-bit, non-prefetchable)

Any idea on what is going on here (the kernel works, but there is no
video output).

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-29 20:04   ` tdfx & multiple voodoo cards : supposed to work ? James Simmons
@ 2003-10-30  9:15     ` Sven Luther
  2003-10-30 11:32       ` Sven Luther
  2003-10-30 18:27       ` James Simmons
  0 siblings, 2 replies; 23+ messages in thread
From: Sven Luther @ 2003-10-30  9:15 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Fbdev development list

On Wed, Oct 29, 2003 at 08:04:15PM +0000, James Simmons wrote:
> 
> > > I have had a report of someone trying to use two voodoo cards on a
> > > pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> > > 
> > > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> > 
> > No, the driver has a statically allocated fb_info. It will blow up.
> 
> Yeap. Also the driver uses the VGA legacy IO ports. It is possible to run 
> the driver without BIOS support. The specs have such info. I just haven't 
> got around to it.

Notice : this is on powerpc, but the pegasos OF has support for
emulating x86 bioses.

What about running fbdev only on the first head, and have XFree86
initialize the second head ? The problem is that just having the two
boards in the box freezes the kernel.

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-30  6:49       ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question Sven Luther
@ 2003-10-30  9:38         ` Geert Uytterhoeven
  2003-10-30  9:56           ` Mach64Gx not working on pmac 9500 (Was : tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.) Sven Luther
  2003-10-30 18:27         ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question James Simmons
  1 sibling, 1 reply; 23+ messages in thread
From: Geert Uytterhoeven @ 2003-10-30  9:38 UTC (permalink / raw)
  To: Chris Tillman, Sven Luther; +Cc: Kronos, Linux Frame Buffer Device Development

On Thu, 30 Oct 2003, Sven Luther wrote:
> BTW, i had had reports from Chris Tillman about what seems an fbdev
> failure on his 9500 powermac with 2.4.22 kernels. The pci greaphic cards
> declares to be a Mach64GX, and lspci gives :
> 
> 00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 02)
> 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> 00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)
> 
> 00:0f.0 Class 0300: 1002:4758 (rev 02)
> 	Flags: stepping, medium devsel, IRQ 25
> 	Memory at 81000000 (32-bit, non-prefetchable)
> 
> Any idea on what is going on here (the kernel works, but there is no
> video output).

Mach64 GX is difficult to handle, since it needs an external clockchip and
RAMDAC, unlike the later variants.

The first thing to know is which external clockchip and RAMDAC are used on this
particular board? Atyfb should print it during initialization, but it's better
to do a visual verification on the board, too.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Mach64Gx not working on pmac 9500 (Was : tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.)
  2003-10-30  9:38         ` Geert Uytterhoeven
@ 2003-10-30  9:56           ` Sven Luther
  0 siblings, 0 replies; 23+ messages in thread
From: Sven Luther @ 2003-10-30  9:56 UTC (permalink / raw)
  To: Geert Uytterhoeven, debian-powerpc, debian-boot
  Cc: Chris Tillman, Sven Luther, Linux Frame Buffer Device Development

Ok.

Chris, can you have a look at this, and see if can provide this
information, by using a serial console, or maybe blindly typing :
  # dmesg >somplace
and also by visual confirmation ?

Friendly,

Sven Luther

On Thu, Oct 30, 2003 at 10:38:45AM +0100, Geert Uytterhoeven wrote:
> On Thu, 30 Oct 2003, Sven Luther wrote:
> > BTW, i had had reports from Chris Tillman about what seems an fbdev
> > failure on his 9500 powermac with 2.4.22 kernels. The pci greaphic cards
> > declares to be a Mach64GX, and lspci gives :
> > 
> > 00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 02)
> > 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> > 00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)
> > 
> > 00:0f.0 Class 0300: 1002:4758 (rev 02)
> > 	Flags: stepping, medium devsel, IRQ 25
> > 	Memory at 81000000 (32-bit, non-prefetchable)
> > 
> > Any idea on what is going on here (the kernel works, but there is no
> > video output).
> 
> Mach64 GX is difficult to handle, since it needs an external clockchip and
> RAMDAC, unlike the later variants.
> 
> The first thing to know is which external clockchip and RAMDAC are used on this
> particular board? Atyfb should print it during initialization, but it's better
> to do a visual verification on the board, too.
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-30  9:15     ` Sven Luther
@ 2003-10-30 11:32       ` Sven Luther
  2003-10-30 18:27       ` James Simmons
  1 sibling, 0 replies; 23+ messages in thread
From: Sven Luther @ 2003-10-30 11:32 UTC (permalink / raw)
  To: Sven Luther; +Cc: James Simmons, Linux Fbdev development list

On Thu, Oct 30, 2003 at 10:15:41AM +0100, Sven Luther wrote:
> On Wed, Oct 29, 2003 at 08:04:15PM +0000, James Simmons wrote:
> > 
> > > > I have had a report of someone trying to use two voodoo cards on a
> > > > pegasos/ppc motherboard, and it freezing the kernel (2.4.22 kernel)
> > > > 
> > > > Is the tdfx fbdev supposed to be able to handle dual card setups, or not ?
> > > 
> > > No, the driver has a statically allocated fb_info. It will blow up.
> > 
> > Yeap. Also the driver uses the VGA legacy IO ports. It is possible to run 
> > the driver without BIOS support. The specs have such info. I just haven't 
> > got around to it.
> 
> Notice : this is on powerpc, but the pegasos OF has support for
> emulating x86 bioses.
> 
> What about running fbdev only on the first head, and have XFree86
> initialize the second head ? The problem is that just having the two
> boards in the box freezes the kernel.

BTW, what is the status of voodoo 4 & 5 with fbdev ? I get reports of
endianess problems, but this may also be related to XFree86, i will have
to investigate more.

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
@ 2003-10-30 12:34 Richard Drummond
  2003-10-30 12:48 ` Sven Luther
  2003-10-30 18:41 ` James Simmons
  0 siblings, 2 replies; 23+ messages in thread
From: Richard Drummond @ 2003-10-30 12:34 UTC (permalink / raw)
  To: Linux Fbdev development list; +Cc: Sven Luther

Hi Sven

> BTW, what is the status of voodoo 4 & 5 with fbdev ? I get reports of
> endianess problems, but this may also be related to XFree86, i will have
> to investigate more.

Voodoo4/5 has a different method of byte-swizzling for big-endian hardware than the Voodoo3 - which isn't supported by the current tdxfb driver or by XFree86. I have been working on a fix for tdfxfb, and have had some success - but since I don't have any documentation, it's involved a lot of guess-work. I haven't looked at this for a while, but I could dig out the code again and supply a patch against what I have got so far.

As to your other problem, I have two Voodoos working on my Mac with 2.6, so I would expect such a set-up to work on the Pegasos too. On PPC hardware, there should be no problem of conflicting VGA ports since the PCI sub-system can remap I/O ports on the PPC.

Actually, there are one or two bugs in the tdfxfb driver which crop up when
using multiple cards - but nothing too serious it would seem. Again, I've been meaning to submit a patch . . . (where does all the time go ;-)

Cheers,
Rich



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-30 12:34 Richard Drummond
@ 2003-10-30 12:48 ` Sven Luther
  2003-10-30 18:42   ` James Simmons
  2003-10-30 18:41 ` James Simmons
  1 sibling, 1 reply; 23+ messages in thread
From: Sven Luther @ 2003-10-30 12:48 UTC (permalink / raw)
  To: Richard Drummond; +Cc: Linux Fbdev development list, Sven Luther

On Thu, Oct 30, 2003 at 12:34:15PM -0000, Richard Drummond wrote:
> Hi Sven
> 
> > BTW, what is the status of voodoo 4 & 5 with fbdev ? I get reports of
> > endianess problems, but this may also be related to XFree86, i will have
> > to investigate more.
> 
> Voodoo4/5 has a different method of byte-swizzling for big-endian hardware than the Voodoo3 - which isn't supported by the current tdxfb driver or by XFree86. I have been working on a fix for tdfxfb, and have had some success - but since I don't have any documentation, it's involved a lot of guess-work. I haven't looked at this for a while, but I could dig out the code again and supply a patch against what I have got so far.

Yep, that would be nice. I have already included a voodoo patch, but i
suppose it only works for the older voodoos. I have neither specs nor
hardware for them though.

> As to your other problem, I have two Voodoos working on my Mac with 2.6, so I would expect such a set-up to work on the Pegasos too. On PPC hardware, there should be no problem of conflicting VGA ports since the PCI sub-system can remap I/O ports on the PPC.

Mmm, that sounds nice. do you have OF based drivers for them in your
mac ? I need to port the pegasos patches to 2.6.x first though.

> Actually, there are one or two bugs in the tdfxfb driver which crop up when
> using multiple cards - but nothing too serious it would seem. Again, I've been meaning to submit a patch . . . (where does all the time go ;-)

:))

Friendly,

Sven Luther



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
@ 2003-10-30 14:03 Richard Drummond
  2003-10-30 14:31 ` Sven Luther
  0 siblings, 1 reply; 23+ messages in thread
From: Richard Drummond @ 2003-10-30 14:03 UTC (permalink / raw)
  To: Linux Fbdev development list; +Cc: Sven Luther

Hi Sven

> Mmm, that sounds nice. do you have OF based drivers for them in your
> mac ? I need to port the pegasos patches to 2.6.x first though.

Yes. They are both OF cards and both are initialized by OF. Your cards have a
VGA BIOS? Well, I guess that shouldn't be a problem. The Peggy's BIOS
emulator must be able to cope with I/O ports not being in the usual (x86)
place - because chances are they won't be anyway even for a single card. Does
the Pegasos boot the BIOS on a secondardy gfx card automatically? If not,
you're back to the usual x86 problem of having to soft-boot the BIOS
yourself. Which will be a problem for you because I suppose the BIOS emulator
isn't accessible post-boot. However, it should be possible to initialize a
second Voodoo card without using its BIOS, but I've no idea how easy or
difficult that might be. Fun and games. ;-)

Of course, you have to get 2.6 working first or hack the 2.4 driver for
multi-head support . . .

Cheers,
Rich



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-30 14:03 Richard Drummond
@ 2003-10-30 14:31 ` Sven Luther
  0 siblings, 0 replies; 23+ messages in thread
From: Sven Luther @ 2003-10-30 14:31 UTC (permalink / raw)
  To: Richard Drummond; +Cc: Linux Fbdev development list, Sven Luther

On Thu, Oct 30, 2003 at 02:03:38PM -0000, Richard Drummond wrote:
> Hi Sven
> 
> > Mmm, that sounds nice. do you have OF based drivers for them in your
> > mac ? I need to port the pegasos patches to 2.6.x first though.
> 
> Yes. They are both OF cards and both are initialized by OF. Your cards have a
> VGA BIOS? Well, I guess that shouldn't be a problem. The Peggy's BIOS
> emulator must be able to cope with I/O ports not being in the usual (x86)
> place - because chances are they won't be anyway even for a single card. Does
> the Pegasos boot the BIOS on a secondardy gfx card automatically? If not,

I am not sure, i think it does, at least in the devel tree.

> you're back to the usual x86 problem of having to soft-boot the BIOS
> yourself. Which will be a problem for you because I suppose the BIOS emulator
> isn't accessible post-boot. However, it should be possible to initialize a

But then, i have access to the OF sources, so ...
But then again, i am not much in x86 emulation stuff.

> second Voodoo card without using its BIOS, but I've no idea how easy or
> difficult that might be. Fun and games. ;-)

Thanks for the info, i will be looking into this.

> Of course, you have to get 2.6 working first or hack the 2.4 driver for
> multi-head support . . .

Should not be that much difficult, the only thing stopping me from doing
it was the fact that i had heard no positive records of radeonfb
working in the ppc tree and was busy with other stuff.

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-30  6:49       ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question Sven Luther
  2003-10-30  9:38         ` Geert Uytterhoeven
@ 2003-10-30 18:27         ` James Simmons
  2003-10-30 18:31           ` Sven Luther
  1 sibling, 1 reply; 23+ messages in thread
From: James Simmons @ 2003-10-30 18:27 UTC (permalink / raw)
  To: Sven Luther; +Cc: Linux Fbdev development list


> I don't have the hardware directly, and i was reluctant to upgrade the
> pegasos patches to 2.6.x, since i heard that radeonfb was causing some
> trouble. And i only have a radeon 9000, a matrox millenium II that i can
> work on this box.

Radeonfb is being updated. 
 
> 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> 
> Any idea on what is going on here (the kernel works, but there is no
> video output).

I have this card as well and never got it to work.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-30  9:15     ` Sven Luther
  2003-10-30 11:32       ` Sven Luther
@ 2003-10-30 18:27       ` James Simmons
  1 sibling, 0 replies; 23+ messages in thread
From: James Simmons @ 2003-10-30 18:27 UTC (permalink / raw)
  To: Sven Luther; +Cc: Linux Fbdev development list


> > Yeap. Also the driver uses the VGA legacy IO ports. It is possible to run 
> > the driver without BIOS support. The specs have such info. I just haven't 
> > got around to it.
> 
> Notice : this is on powerpc, but the pegasos OF has support for
> emulating x86 bioses.
> 
> What about running fbdev only on the first head, and have XFree86
> initialize the second head ? The problem is that just having the two
> boards in the box freezes the kernel.

The tdfx uses the legacy ports to set a video mode :-( This needs to be 
cleaned up.





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-30 18:27         ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question James Simmons
@ 2003-10-30 18:31           ` Sven Luther
  2003-10-30 18:45             ` James Simmons
  2003-10-30 20:31             ` Geert Uytterhoeven
  0 siblings, 2 replies; 23+ messages in thread
From: Sven Luther @ 2003-10-30 18:31 UTC (permalink / raw)
  To: James Simmons; +Cc: Sven Luther, Linux Fbdev development list

On Thu, Oct 30, 2003 at 06:27:01PM +0000, James Simmons wrote:
> 
> > I don't have the hardware directly, and i was reluctant to upgrade the
> > pegasos patches to 2.6.x, since i heard that radeonfb was causing some
> > trouble. And i only have a radeon 9000, a matrox millenium II that i can
> > work on this box.
> 
> Radeonfb is being updated. 

Yep. i am waiting until it is no more 'being updated' but 'updated' :))
I am working on debian 2.4.22 powerpc packages anyway, and it is best to
run the same kernel i am working on until i am finished with this work
anyway.

> > 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> > 
> > Any idea on what is going on here (the kernel works, but there is no
> > video output).
> 
> I have this card as well and never got it to work.

On x86 ? But Chris is telling that it used to work well with his 2.2.20
or thereabout kernel.

Friendly,

Sven Luther


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed    to work ?
  2003-10-30 12:34 Richard Drummond
  2003-10-30 12:48 ` Sven Luther
@ 2003-10-30 18:41 ` James Simmons
  1 sibling, 0 replies; 23+ messages in thread
From: James Simmons @ 2003-10-30 18:41 UTC (permalink / raw)
  To: Richard Drummond; +Cc: Linux Fbdev development list, Sven Luther


> Voodoo4/5 has a different method of byte-swizzling for big-endian hardware than 
> the Voodoo3 - which isn't supported by the current tdxfb driver or by XFree86. I 
> have been working on a fix for tdfxfb, and have had some success - but since I 
> don't have any documentation, it's involved a lot of guess-work. I haven't looked 
> at this for a while, but I could dig out the code again and supply a patch against
> what I have got so far.

I have docs on Voodoo3 but I never got a hold of docs on Voodoo4/5. if 
someone has docs I really like to have them.

> As to your other problem, I have two Voodoos working on my Mac with 2.6, so I 
> would expect such a set-up to work on the Pegasos too. On PPC hardware, 
> there should be no problem of conflicting VGA ports since the PCI sub-system can 
> remap I/O ports on the PPC.

Nice :-)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ?
  2003-10-30 12:48 ` Sven Luther
@ 2003-10-30 18:42   ` James Simmons
  0 siblings, 0 replies; 23+ messages in thread
From: James Simmons @ 2003-10-30 18:42 UTC (permalink / raw)
  To: Sven Luther; +Cc: Richard Drummond, Linux Fbdev development list


> Yep, that would be nice. I have already included a voodoo patch, but i
> suppose it only works for the older voodoos. I have neither specs nor
> hardware for them though.

I can post the specs for the some of the cards.

> Mmm, that sounds nice. do you have OF based drivers for them in your
> mac ? I need to port the pegasos patches to 2.6.x first though.

P.S

   I have a patch to make color maps work with the OpenFirmware fbdev 
driver and 3Dfx cards. I just haven't got around to appling it.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-30 18:31           ` Sven Luther
@ 2003-10-30 18:45             ` James Simmons
  2003-10-30 20:47               ` Geert Uytterhoeven
  2003-10-30 20:31             ` Geert Uytterhoeven
  1 sibling, 1 reply; 23+ messages in thread
From: James Simmons @ 2003-10-30 18:45 UTC (permalink / raw)
  To: Sven Luther; +Cc: Linux Fbdev development list


> Yep. i am waiting until it is no more 'being updated' but 'updated' :))
> I am working on debian 2.4.22 powerpc packages anyway, and it is best to
> run the same kernel i am working on until i am finished with this work
> anyway.

I understand. 
 
> > > 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> > > 
> > > Any idea on what is going on here (the kernel works, but there is no
> > > video output).
> > 
> > I have this card as well and never got it to work.
> 
> On x86 ? But Chris is telling that it used to work well with his 2.2.20
> or thereabout kernel.

Yes. Maybe it is a different card but I think it is that one.
Have to check.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-30 18:31           ` Sven Luther
  2003-10-30 18:45             ` James Simmons
@ 2003-10-30 20:31             ` Geert Uytterhoeven
  1 sibling, 0 replies; 23+ messages in thread
From: Geert Uytterhoeven @ 2003-10-30 20:31 UTC (permalink / raw)
  To: Sven Luther; +Cc: James Simmons, Linux Fbdev development list

On Thu, 30 Oct 2003, Sven Luther wrote:
> On Thu, Oct 30, 2003 at 06:27:01PM +0000, James Simmons wrote:
> > > 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> > > 
> > > Any idea on what is going on here (the kernel works, but there is no
> > > video output).
> > 
> > I have this card as well and never got it to work.
> 
> On x86 ? But Chris is telling that it used to work well with his 2.2.20
> or thereabout kernel.

Interesting... With atyfb? There shouldn't be any changes between atyfb in
2.2.20 and 2.4.x/2.6.0 w.r.t. Mach64 GX.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.
  2003-10-30 18:45             ` James Simmons
@ 2003-10-30 20:47               ` Geert Uytterhoeven
  0 siblings, 0 replies; 23+ messages in thread
From: Geert Uytterhoeven @ 2003-10-30 20:47 UTC (permalink / raw)
  To: James Simmons; +Cc: Sven Luther, Linux Fbdev development list

On Thu, 30 Oct 2003, James Simmons wrote:
> > > > 00:0f.0 VGA comppatible controller: ATI Technolgies Inc 210888GX [Mach64 GX] (rev 02)
> > > > 
> > > > Any idea on what is going on here (the kernel works, but there is no
> > > > video output).
> > > 
> > > I have this card as well and never got it to work.
> > 
> > On x86 ? But Chris is telling that it used to work well with his 2.2.20
> > or thereabout kernel.
> 
> Yes. Maybe it is a different card but I think it is that one.
> Have to check.

Which RAMDAC and clockchip does it have?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2003-10-30 20:47 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-29  9:36 tdfx & multiple voodoo cards : supposed to work ? Sven Luther
2003-10-29 18:25 ` Kronos
2003-10-29 19:56   ` Sven Luther
2003-10-29 20:25     ` Kronos
2003-10-29 22:19       ` James Simmons
2003-10-30  6:49       ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question Sven Luther
2003-10-30  9:38         ` Geert Uytterhoeven
2003-10-30  9:56           ` Mach64Gx not working on pmac 9500 (Was : tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.) Sven Luther
2003-10-30 18:27         ` tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question James Simmons
2003-10-30 18:31           ` Sven Luther
2003-10-30 18:45             ` James Simmons
2003-10-30 20:47               ` Geert Uytterhoeven
2003-10-30 20:31             ` Geert Uytterhoeven
2003-10-29 20:04   ` tdfx & multiple voodoo cards : supposed to work ? James Simmons
2003-10-30  9:15     ` Sven Luther
2003-10-30 11:32       ` Sven Luther
2003-10-30 18:27       ` James Simmons
  -- strict thread matches above, loose matches on Subject: below --
2003-10-30 12:34 Richard Drummond
2003-10-30 12:48 ` Sven Luther
2003-10-30 18:42   ` James Simmons
2003-10-30 18:41 ` James Simmons
2003-10-30 14:03 Richard Drummond
2003-10-30 14:31 ` Sven Luther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).