Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Voodoo 2
@ 2004-04-11 23:12 M. Grabert
  2004-04-12 15:49 ` d p chang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: M. Grabert @ 2004-04-11 23:12 UTC (permalink / raw)
  To: parisc-linux

Hi,

I'm about to purchase a Voodoo2 PCI graphics card since I saw some
reports on the p-l list that it is working on Linux/PA-RISC.


I want to ask a couple of questions before I'm going to buy the graphics card:

- Helge prepared a patch to make the Voodoo working, and was incorporated
  into the 2.4.19-pa18 kernel. It seems that it's still in 2.4.25-pa1.
  But is the patch integrated into the mainstream 2.4?
  I just took a brief look, and it appears so, is this correct?


- What about 2.6? I don't think that it's been forwarded to 2.6 yet?


- there is also the XFree86 Voodoo 1/2 driver from Alan Cox
(http://lists.parisc-linux.org/pipermail/parisc-linux/2004-February/022382.html)

  I suppose this driver also doesn't require the Voodoo2 card to be initialized,
  and I think the advanage over using sstfb would be that it supports DGA
  and some 2D acceleration.

  Has anybody tested it (I couldn't even compile it)?


Thanks alot,
  Max

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

* Re: [parisc-linux] Voodoo 2
  2004-04-11 23:12 [parisc-linux] Voodoo 2 M. Grabert
@ 2004-04-12 15:49 ` d p chang
  2004-04-12 17:15 ` Alan Cox
  2004-04-12 21:09 ` Helge Deller
  2 siblings, 0 replies; 7+ messages in thread
From: d p chang @ 2004-04-12 15:49 UTC (permalink / raw)
  To: parisc-linux

"M. Grabert" <xam@cs.ucc.ie> writes:

> I'm about to purchase a Voodoo2 PCI graphics card since I saw some
> reports on the p-l list that it is working on Linux/PA-RISC.

hmm... if they are useful to people. anybody (us sf bay area local)
wants one of these (or a singleboard v2 sli) they can have them (you
can't have my cool fib-ed board #2, since it probably won't work anymore
:-)

anyway, i'm not sure what you meant by 'initialization', but the init
code can be done at anytime and doesn't need to have any special
boot-time interpreter stuff (unlike

\p
---
A person with a new idea is a crank until the idea succeeds.
		--- Mark Twain

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

* Re: [parisc-linux] Voodoo 2
  2004-04-11 23:12 [parisc-linux] Voodoo 2 M. Grabert
  2004-04-12 15:49 ` d p chang
@ 2004-04-12 17:15 ` Alan Cox
  2004-04-12 21:09 ` Helge Deller
  2 siblings, 0 replies; 7+ messages in thread
From: Alan Cox @ 2004-04-12 17:15 UTC (permalink / raw)
  To: M. Grabert; +Cc: parisc-linux

On Llu, 2004-04-12 at 00:12, M. Grabert wrote:
>   I suppose this driver also doesn't require the Voodoo2 card to be initialized,
>   and I think the advanage over using sstfb would be that it supports DGA
>   and some 2D acceleration.

Mostly the 2D acceleration is useful

>   Has anybody tested it (I couldn't even compile it)?

You need to drop it into a full XFree 4.3/X.org 6.7 tree to build
which makes it umm fun. When you get to that point I can give you
instructions and we can debug it 8)

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

* Re: [parisc-linux] Voodoo 2
  2004-04-11 23:12 [parisc-linux] Voodoo 2 M. Grabert
  2004-04-12 15:49 ` d p chang
  2004-04-12 17:15 ` Alan Cox
@ 2004-04-12 21:09 ` Helge Deller
  2004-04-13  4:21   ` Mike Frysinger
  2 siblings, 1 reply; 7+ messages in thread
From: Helge Deller @ 2004-04-12 21:09 UTC (permalink / raw)
  To: parisc-linux; +Cc: M. Grabert

On Monday 12 April 2004 01:12, M. Grabert wrote:
> I'm about to purchase a Voodoo2 PCI graphics card since I saw some
> reports on the p-l list that it is working on Linux/PA-RISC.
> 
> I want to ask a couple of questions before I'm going to buy the graphics card:
> 
> - Helge prepared a patch to make the Voodoo working, and was incorporated
>   into the 2.4.19-pa18 kernel. It seems that it's still in 2.4.25-pa1.
>   But is the patch integrated into the mainstream 2.4?
>   I just took a brief look, and it appears so, is this correct?

No idea yet. I will check.

> - What about 2.6? I don't think that it's been forwarded to 2.6 yet?

It's in 2.6. I just tested my Vodoo2 in my c3k and it works.
Linux version 2.6.5-pa6 (root@p100) (gcc version 3.0.2 20010829 (prerelease)) #29 Mon Apr 12 22:46:03 CEST 2004
The 32-bit Kernel has started...
..
sstfb: Voodoo2 (revision 2) with ICS ICS5342 dac
sstfb: framebuffer at 0xfb400000, mapped to 0xfb400000, size 2MB
fb0: Voodoo2 frame buffer device at 0xfb400000
..

I can run the driver, graphics & Tux penguin comes up.
Running "fbset -a 1024x768-75" even gives me a nice big screen (although
I still don't like this "stty cols 64 rows 48" stuff yet...)

> - there is also the XFree86 Voodoo 1/2 driver from Alan Cox
> (http://lists.parisc-linux.org/pipermail/parisc-linux/2004-February/022382.html)
> 
>   I suppose this driver also doesn't require the Voodoo2 card to be initialized,
>   and I think the advanage over using sstfb would be that it supports DGA
>   and some 2D acceleration.

At least it should (if it works :-))

>   Has anybody tested it (I couldn't even compile it)?

Neither me (I was lacking the XFree86 sources).

Helge

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

* Re: [parisc-linux] Voodoo 2
  2004-04-12 21:09 ` Helge Deller
@ 2004-04-13  4:21   ` Mike Frysinger
  2004-04-13  7:59     ` Helge Deller
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2004-04-13  4:21 UTC (permalink / raw)
  To: parisc-linux

On Monday 12 April 2004 05:09 pm, Helge Deller wrote:
> On Monday 12 April 2004 01:12, M. Grabert wrote:
> > - What about 2.6? I don't think that it's been forwarded to 2.6 yet?
>
> It's in 2.6. I just tested my Vodoo2 in my c3k and it works.
> Linux version 2.6.5-pa6 (root@p100) (gcc version 3.0.2 20010829
> (prerelease)) #29 Mon Apr 12 22:46:03 CEST 2004 The 32-bit Kernel has
> started...
> ..
> sstfb: Voodoo2 (revision 2) with ICS ICS5342 dac
> sstfb: framebuffer at 0xfb400000, mapped to 0xfb400000, size 2MB
> fb0: Voodoo2 frame buffer device at 0xfb400000
> ..

this interests me since i'd love to get something better than the 8bit vid 
card running in my C360 :)

i threw my obsidian voodoo2 into my box, but it did what it always has for 
me ... i build the sstfb as a module and when i modprobe it, the box locks 
up ... i builld it as a module because otherwise it'll lock at boot and i 
have to do a little manual rescue foo :)
-mike

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

* Re: [parisc-linux] Voodoo 2
  2004-04-13  4:21   ` Mike Frysinger
@ 2004-04-13  7:59     ` Helge Deller
  2004-04-14  2:06       ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Helge Deller @ 2004-04-13  7:59 UTC (permalink / raw)
  To: parisc-linux

On Tuesday 13 April 2004 06:21, Mike Frysinger wrote:
> On Monday 12 April 2004 05:09 pm, Helge Deller wrote:
> > On Monday 12 April 2004 01:12, M. Grabert wrote:
> > > - What about 2.6? I don't think that it's been forwarded to 2.6 yet?
> >
> > It's in 2.6. I just tested my Vodoo2 in my c3k and it works.
> > Linux version 2.6.5-pa6 (root@p100) (gcc version 3.0.2 20010829
> > (prerelease)) #29 Mon Apr 12 22:46:03 CEST 2004 The 32-bit Kernel has
> > started...
> > ..
> > sstfb: Voodoo2 (revision 2) with ICS ICS5342 dac
> > sstfb: framebuffer at 0xfb400000, mapped to 0xfb400000, size 2MB
> > fb0: Voodoo2 frame buffer device at 0xfb400000
> > ..
> 
> this interests me since i'd love to get something better than the 8bit vid 
> card running in my C360 :)
> 
> i threw my obsidian voodoo2 into my box, but it did what it always has for 
> me ... i build the sstfb as a module and when i modprobe it, the box locks 
> up ... i builld it as a module because otherwise it'll lock at boot and i 
> have to do a little manual rescue foo :)

My above test was with the sstfb driver built-in into the kernel and with all
other graphics drivers (incl. stifb and STI text console) disabled.

FYI, this is what my graphics-relevant part of .config looked like:
#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_STI is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
CONFIG_FB_VOODOO1=y
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
# CONFIG_MDA_CONSOLE is not set
# CONFIG_STI_CONSOLE is not set
CONFIG_DUMMY_CONSOLE_COLUMNS=160
CONFIG_DUMMY_CONSOLE_ROWS=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_LOGO_PARISC_CLUT224=y


Then, in a second test I enabled STIFB, and choosed SSTFB as module.
Booting up worked:
Linux version 2.6.5-pa6 (root@p100) (gcc version 3.0.2 20010829 (prerelease)) #30 Tue Apr 13 09:49:08 CEST 2004
....
STI GSC/PCI core graphics driver Version 0.9a
STI PCI graphic ROM found at f2400000 (64 kB), fb at f8000000 (32 MB)
    id 2d08c0a7-9a02587, conforms to spec rev. 8.0a
    graphics card name: PCI_GRAFFITIX1024
STI PCI graphic ROM found at f3800000 (2048 kB), fb at f6000000 (32 MB)
    id 35acda30-9a02587, conforms to spec rev. 8.0d
    graphics card name: A1262A
fb0: stifb 1024x768-8 frame buffer device, PCI_GRAFFITIX1024, id: 2d08c0a7, mmio: 0xf8100000
stifb: 'A1262A' (id: 0x35acda30) not supported.
.... (the second card 'A1262A' is a Visualize FX4 - it doesn't work!)

c3000:~# modprobe sstfb
sstfb: Voodoo2 (revision 2) with ICS ICS5342 dac
sstfb: framebuffer at 0xfb400000, mapped to 0xfb400000, size 2MB
fb1: Voodoo2 frame buffer device at 0xfb400000

c3000:~# cat /proc/fb 
0 stifb
1 Voodoo2

Works too...

Helge

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

* Re: [parisc-linux] Voodoo 2
  2004-04-13  7:59     ` Helge Deller
@ 2004-04-14  2:06       ` Mike Frysinger
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2004-04-14  2:06 UTC (permalink / raw)
  To: parisc-linux

On Tuesday 13 April 2004 03:59 am, Helge Deller wrote:
> My above test was with the sstfb driver built-in into the kernel and with
> all other graphics drivers (incl. stifb and STI text console) disabled.
>
> Then, in a second test I enabled STIFB, and choosed SSTFB as module.

ok, here's what i found ...

the card i originally tried doesnt seem to work atm ... it's the obsidian card 
that was top of the line in its day because it's basically 2 voodoo2's on 1 
pci card ... when i modprobe the module, machine locks up ... when i boot 
with the driver built in, it dies, but i can at least see a bunch of oops 
messages ;)

i had another voodoo2 card, a sti black magic, and it works as you 
advertise :)

thanks
-mike

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

end of thread, other threads:[~2004-04-14  2:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-11 23:12 [parisc-linux] Voodoo 2 M. Grabert
2004-04-12 15:49 ` d p chang
2004-04-12 17:15 ` Alan Cox
2004-04-12 21:09 ` Helge Deller
2004-04-13  4:21   ` Mike Frysinger
2004-04-13  7:59     ` Helge Deller
2004-04-14  2:06       ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox