Skip to contentSkip to conversation

1 line kernel patch and new Xpmac now works on new sawtooth G4s !

DISCUSSION Kevin_Hendricks 3 participants 4 messages Mar 13, 2000 – Mar 14, 2000 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

By changing the constants.xclk value to 0x36d5 in the stable kernel aty128fb.c and running a slightly modified Xpmac that recognizes the Rage128Pro graphics card (id 0x5046) I now have nicely working Rage 128 acceleration.

There is still a problem using just the OF frame buffer device in place of the modified aty128fb video driver that I will look at later.

If anyone wants the aty128fb.c diff and/or a binary Xpmac.special (the source is at at home but coming tomorrow!), just let me know and I will post them.

The XF 4.0 R128 driver still has yet to be fixed (the defaults used in place of the rom bios probe matched the old aty128fb.c xclk value and not the new ones.

So no more split vertical panes under new G4 machines!

Hooray I can finally do something at over 8bpp!

Kevin

--
Kevin B. Hendricks
Associate Professor of Operations and Information Technology Richard Ivey School of Business, University of Western Ontario London, Ontario N6A-3K7 CANADA [email protected], (519) 661-3874, fax: 519-661-3959

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw

Re: 1 line kernel patch and new Xpmac now works on new sawtoothG4s !

In reply to a message not in the archive

"Kevin B. Hendricks" wrote:

Hey Kevin-

Quoted 3 lines

Grab them from http://khendricks.ivey.uwo.ca/rage128pro/

I will post source soon as soon as I get the Xfree 4.0 working with this card.

Overall, an excellent patch. I don't have words to express how much better the video is :-)

The Xpmac.special and/or the aty128fb.c patch seem to have some console weirdness. It seems to clobber the saved text when you switch from X back to the console (I assume it's a weirdness w/ the vram...but that's a total guess :) ) I just noticed that it happens if you type a few characters in the console, and then hit the delete key.

Also, it takes an awfuly long time to switch b/w X and the console (although I assume that has to do w/ the different vmodes..)

Hoping perfection will come soon
--Nelson Abramson

--
Shouldn't people be arrested and persecuted for engaging in their constitutional rights? http://www.opendvd.org

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw

Re: 1 line kernel patch and new Xpmac now works on new sawtoothG4s !

Hi Nelson,

Quoted 3 lines

Overall, an excellent patch. I don't have words to express how much better the
video is :-)

Not bad for 1 line! ;-)

Thank Ben H. for pointing me at the MacOS Display Name Registry 1.1 program. Without it I could never have gotten the MacOS timing stuff.

Quoted 7 lines

The Xpmac.special and/or the aty128fb.c patch seem to have some console weirdness. It seems to clobber the saved text when you switch from X back to the
console (I assume it's a weirdness w/ the vram...but that's a total guess :) ) I just noticed that it happens if you type a few characters in the console, and
then hit the delete key.

Huh, I can't recreate this on my machine. Perhaps I do not understand exactly what I should be doing to get the problem to appear.

Please, can you give me detailed step by step instructions of how to make the problem appear. Sorry to be dense here but if I can't recreate it I can't fix it!!!

Quoted 2 lines

Also, it takes an awfuly long time to switch b/w X and the console (although I assume that has to do w/ the different vmodes..)

I haven't noticed that either but I will run some timing tests against my working B+E G3 at home and see what is up!

Quoted 2 lines

Hoping perfection will come soon
--Nelson Abramson

So do I!

Take care,

Kevin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw

Re: 1 line kernel patch and new Xpmac now works on newsawtoothG4s !

Quoted 6 lines · Kevin B. Hendricks

Huh, I can't recreate this on my machine. Perhaps I do not understand exactly what I should be doing to get the problem to appear.

Please, can you give me detailed step by step instructions of how to make the problem appear. Sorry to be dense here but if I can't recreate it I can't fix it!!!

Well most of the weirdness seems to have gone away (I suppose playing w/ the different X servers seems to have created it), but still, when I fire up Xpmac, anything that is in a console vt gets blacked out. (eg. if you fire up Xpmac, and switch to vt 3, the login text is gone)

--Nelson Abramson

--
Shouldn't people be arrested and persecuted for engaging in their constitutional rights? http://www.opendvd.org

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/