Skip to contentSkip to conversation

tdfx & multiple voodoo cards : supposed to work ?

DISCUSSION Sven Luther 4 participants 17 messages Oct 29, 2003 – Oct 30, 2003 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw

Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto:

Quoted 6 lines

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

Signature · 12 lines
Reply-To: [email protected]
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/
#2 lore raw
Quoted 9 lines · Kronos

Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto:

Quoted 6 lines

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/

#3 lore raw

Il Wed, Oct 29, 2003 at 08:56:27PM +0100, Sven Luther ha scritto:

Quoted 12 lines · Kronos
Quoted 9 lines

Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto:

Quoted 6 lines

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

Signature · 12 lines
Reply-To: [email protected]
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/
#4 lore raw
Quoted 11 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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/

#5 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

In reply to Kronos
Quoted 10 lines · Kronos

Il Wed, Oct 29, 2003 at 08:56:27PM +0100, Sven Luther ha scritto:

Quoted 9 lines · Kronos
Quoted 8 lines

Il Wed, Oct 29, 2003 at 10:36:53AM +0100, Sven Luther ha scritto:

Quoted 6 lines

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 ?

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

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/

#6 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

Quoted 8 lines · Sven Luther

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)

Quoted 6 lines

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 -- [email protected]

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/

#7 lore raw

Mach64Gx not working on pmac 9500 (Was : tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.)

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

Quoted 25 lines · Geert Uytterhoeven
Quoted 8 lines · Sven Luther

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)

Quoted 6 lines

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,

Quoted 9 lines

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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/

#8 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

In reply to Sven Luther
Quoted 5 lines

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.

Quoted 4 lines

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/

#9 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

Quoted 7 lines · James Simmons
Quoted 5 lines

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.

Quoted 6 lines
Quoted 4 lines

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/

#10 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

Quoted 5 lines

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.

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

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/

#11 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

Quoted 5 lines · James Simmons
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

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).

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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 -- [email protected]

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/

#12 lore raw

Re: tdfx & multiple voodoo cards : supposed to work ? + Mach64Gx question.

In reply to Sven Luther
Quoted 10 lines · Sven Luther
Quoted 6 lines · James Simmons
Quoted 4 lines

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 -- [email protected]

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/

#13 lore raw
In reply to Kronos
Quoted 7 lines
Quoted 5 lines

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/

#14 lore raw
Quoted 11 lines · James Simmons
Quoted 7 lines
Quoted 5 lines

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/

#15 lore raw
Quoted 13 lines · Sven Luther
Quoted 11 lines · James Simmons
Quoted 7 lines
Quoted 5 lines

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.

Quoted 6 lines

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/

#16 lore raw
In reply to Sven Luther
Quoted 11 lines
Quoted 4 lines

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/