Author Topic: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration  (Read 4911 times)

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2749
https://macintoshgarden.org/forum/insane-graphics-acceleration-4gb-ram-powermac-g4-mirror-door-2003

Quote
I create an obvious two fold increase in graphics render/display speed when I combine these 2 things: greater than 2GB RAM plus changing the firmware's model code from G4 to G5. I already have a G5 graphics card in my Mirror Door '03, the ATI Radeon 9600 Pro 64MB vram. And I have G5ish RAM 1GB per module 467MHz CASL2.5 (declared to be CASL3.0 at least 400MHz).

The acceleration takes effect in OS 9.2.2 & OSX 10.2.7(G5) thru OSX 10.4.11 - not in 10.2.8(G4) nor in OS 9.2.1 nor OSX 10.5.8 Leopard. See below, for more on OS9's weird behavior. I'm sure that Leopard can do this too, but there's an additional lockout to achieving it, Leopard will need another new trick discovered in order to accelerate.

Quote
The OSX+CPU recognizes only 2GB RAM. The RAM in excess of 2GB (right now I'm succeeding with 3GB total, 4GB isn't required) RAM is available to the GPU/AGP without CPU speed taxation. The CPU could write/read the excess RAM via bank selecting, or via specific commands to the memory controller. *The GPU can access the excess RAM faster than it can its own 64MB vram. At 1920x1200xMillions of color, the 64MB vram can hold only about 7 frames, less than 7 after factoring in texture data and GPU commands etc. This new two-fold speed increase is basically the result of gaining the equivalent of 1024MB-2048MB superaccelerated vram, when there's 3GB-4GB total RAM. System Profiler now says my computer is a "Power Mac G5" but with a G4 CPU.

Quote

This project requires the PowerMac G4 MDD2003 computer, the MDD2002/FW800 computers are not good enough because they can't install more than 2GB total RAM and, the MDD2003 has a more advanced memory controller which accepts 1GB RAM per slot therefore up to 4GB total. Apple's "Setup Guides" explicitly state 512MB per slot MDD2002 vs 1GB per slot MDD2003. **Are there more G4 models in which greater than 2GB RAM can be attached? ?

I haven't yet tested what if any acceleration happens with my G4 graphics cards (I have the MDD's native ATI Radeon 9000 Pro 64MB vram and the MDD's other native option Nvidia GeForce4 Ti 4600 128MB vram). Instead I'm using the ATI Radeon 9600 Pro 64MB vram, an OEM G5 edition. It's already been like TWICE the card the 9000 was, so I've little interest in the G4 cards even if they are supported in OS9 ... the 9600 is not utilized when booted in OS9.

G5 graphics card required a trick to make it function in this G4 computer. Specific info has circulated widely, the G5 card needed two of its AGP pins disabled, pin #s A3 and A11.

The main memory bank could take a lot of explaining. Start with knowing you need modules with 1GB capacity in each, test them installed solo one at a time and run loads looking for crashing. See if you can, still with the G4 machine id in firmware, sort your modules by their apparent performance speed, not their profiled speeds. You need 3 modules of preferably the best speed which can all work together without crashing in the three ram slots nearest the cpu.

RAM exceeding 2GB is NOT recognized by the firmware nor any version of OS X nor OS 9. Excess RAM is however recognized by the AHT (v2.0.2-v2.1.0) for PowerMac, where you see "3GB" or "4GB" colored red.

AHT software on the 10.2.7 G5 disc, AHT v2.1.0 looks more appropriate for the Mirror Door 2003 than the one supplied with Mirror Door (v2.0.2). But it turns out AHT can't run with the Mirror Door in G5 machine id mode, you must switch to G4 machine id or use an edited AHT disc/image to run AHT. The AHT v2.1.0 must be edited to run on Mirror Door. Fortunately, such an edited AHT has been posted on mg for a couple years, the incredibly awkward "AHT All-In-One beta1" has all 6 versions of AHT for mirror doors, on one bootable disc and a menu for choosing them. EDIT: AHT "All-In-One for PowerMac" nicely updated, found here:
http://macintoshgarden.org/apps/apple-hardware-test-powermac-g4

This "insane" graphics/video acceleration (of thread topic) can be seen, and without modifying the firmware, by booting into the G5-specific version of OSX 10.2.7 (Build number 6S80) found here:
http://macintoshgarden.org/apps/powermac-g5-software-install-and-restore...

Unfortunately, unless you use a G5 to do the 10.2.7 install and then offer that disk to the Mirror Door, or edit the 10.2.7 Install Disc (see next link below) -- you are best-off changing your Mirror Door's machine id in firmware from G4 ("PowerMac3,6") to G5 ("PowerMac7,2") - some firmware instructions included in this link:
http://macintoshgarden.org/forum/booting-installing-model-specific-osx-d...

I havent offered how to make the firmware's machine id become semi permanent, I could do that later, here below.

After updating OS X 10.2.7 (G5) to become 10.2.8 (G5) (build number 6S90) or if you apply a QuickTime update, the graphics slows back down to G4-video mode, but only if the firmware's machine id is G4. So adopting the counterfeit G5 id is what allows 'insane' speed within OSX 10.2.8(G5 build) and higher.

note: Always remain aware of the performance and limitations of your Mirror Door's air cooling system. Increasing performance such as the topic of this thread, comes with increased demand for cooling, and thus may necessitate improvements to one's cooling system, avoid hardware damage due to overheating.

OSX 10.2.7(G5) runs with 'insane' graphics speed on MDD2003 and you don't need to know any firmware commands to experience it. When Apple/internet tried to discredit/destroy OSX 10.2.7/10.2.8 for G5 by posthumously naming it "Smeagol" (nee Jaguar) and saying it had been (successfully) recalled, I thought they were trying to hide something rather than be helpful. Now I'm certain. The G5 graphics card lock-out, needing to disable two AGP pins to make cards work, is the same way - it hides this G4's abilities.

Quote

are those crickets I hear?

In a few days I'll take down my "AHT All-In-One beta1" & put up version 0.2 which will be for PowerMac G4/G5 only.

The concept in beta1, ALL new world PPC AHT on one CD, requires a firmware driven menu (a ton of programming work) and begins to exceed CD size so would require a DVD (not legacy friendly) and a ton of work in general. beta1 diagnostics driven menu is flawed in that even tho my hardware runs all relevant AHT v1 with a single v1 diag & all relevant v2 with a single v2 diag, OTHER hardware exists where this is not the case and each AHT should utilize the diags which comes with them (requiring a firmware driven menu to load like that). But on the PowerMac Mirror Door 2003 I still want TWELVE versions of AHT , so the very easy diagnostics-driven AHT-AIO-CD/image will live on as a more completed looking version 0.2 made for PowerMac-only. It'll have this:

A) AHT v2.1.0 on G4 (ignores hw id re G4/G5)
B) AHT v2.1.0 on G5 (ignores hw id re G4/G5)
C) AHT v2.0.2 on G4 (ignores hw id re G4/G5)
D) AHT v2.0.2 on G5 (ignores hw id re G4/G5)
E) AHT v2.0.1
F) AHT v2.0.1 (edited to be RAM-friendly)
G) AHT v2.0.0
H) AHT v2.0.0 (edited to be RAM-friendly)
J) AHT v1.2.7
K) AHT v1.2.7 (edited to be RAM-friendly)
L) AHT v1.2.6
M) AHT v1.2.6 (edited to be RAM-friendly)

The preferred AHT for MDD2003 will be choice A and gotten without "wiggling the mouse'. AHT is offered way back to v1.2.6 because, never forget, up until only a couple years ago, from 2003 to 2016, the internet was telling people that v1.2.6 was the correct version for ALL "Mirrored Drive Doors" systems, AHT v2.0.2 was nowhere to be found because it was married to a 4GB disc image, AHT v2.1.0 was nowhere because no one would have suggested running G5 AHT on the G4-MDD.

So, NOT having to partition, install separately, or burn TWELVE aht versions, but instead have all 12 at one's fingertips with one partition... sweet!

Quote

New AHT-AIO for PowerMac (G4) is almost finished, just documentation and more testing to do, see it in about one week. It is stinking awesome. It has 7 AHTs:

A) 2.1 for G4
B) 2.1 for G5
C) 2.0.2
D) 2.0.0
E) 2.0.1
F) 1.2.6
G) 1.2.7

All seven can run on any hardware and all seven contain numerous bug fixes to the AHT itself. The nastiest "bug" (Apple did it deliberately but disguised it as an honest mistake) bug exists in all AHT v1.2 thru v2.1+ for all hardware, this "bug" displays the error message "invalid memory access" without really performing AHT. Because of the seriousness of this bug fix, I've decided to not even include the choice of running unmodified-AHT from the AIO image, even tho unmodified-AHT can be found inside the AIO image. Also, the idea of AHT v2.0.2 for G5 was dropped because i found it has no meaning, the G5 test suite file found on apple's G4 v2.0.2 disc is just an older version of the one on the AHT v2.1 and this older version G5 test requires AHT v2.1 regardless.

When AHT crashes saying "invalid memory access", it's a lie if you believe you have a bad DIMM. This is what AHT does when it encounters a DIMM with "unsupported (within AHT)" SPuD codes. The SPuD is the tiny (less than 5mm X 5mm square) chip in one corner of the DIMM. I have (and use) DIMMs which crash AHT v1.2 thru v2.0.1 but don't crash v2.0.2/v2.1 ... but 2.0.2/2.1 don't contain the bug fix rather they contain "support" for more variety module types. THIS below is AHTs lawsuit-inviting bug, and its fix, wrong with All AHT sourcecode:

AHT bug
Search the AHT_script file for ascii string "+20"
It's always found 3 times and all 3 lines are in error

AHT bug fix. (I will upload and notify)
1. "strcpy( s2+20 , s2 );" should be "strncpy( s2+20 , s2 ,20);. // patched"
2. "strcpy( s3+20 , s3 );" should be "strncpy( s3+20 , s3 ,20);. // patched"
3. "strcpy( s4+20 , s4 );" should be "strncpy( s4+20 , s4 ,20);. // patched"

Now instead of crashing when any "unsupported" DIMM is met, AHT runs and then profile reports that particular DIMM is "unsupported". Finally, it turns out Every AHT 1.2.6-2.1 reports my G4's 3GB RAM correctly (in red color text).

And oh yeah, when I mentioned above that internet has always said AHT v1.2.6 was good for the MDD2003 model, I forgot to emphasize how horribly wrong they are. They've been doing it because they keep playing out the false narrative that MDD2003 is identical to MDD2002 and AHT v1.2.6 is what shipped with MDD2002. MDD2003 came with AHT v2.0.2 and on MDD2003 AHT v2.1 is even better.

Looking for MacOS 9.2.4

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2749
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #1 on: June 07, 2020, 10:50:20 AM »
It is singular that SkyCapt affirms that MDD 2003 are different.   ???
Quote
And oh yeah, when I mentioned above that internet has always said AHT v1.2.6 was good for the MDD2003 model, I forgot to emphasize how horribly wrong they are. They've been doing it because they keep playing out the false narrative that MDD2003 is identical to MDD2002 and AHT v1.2.6 is what shipped with MDD2002. MDD2003 came with AHT v2.0.2 and on MDD2003 AHT v2.1 is even better.

Quote
I have achieved this 'insane' acceleration in OS9. With 3GB RAM and the G5 hardware id, OS 9.2.1 did not speed up because it's too old (year 2001, long before G5 existed). Even the initial OS 9.2.2 update doesn't speed up, it's also too old (November 2001).

To accelerate OS9, I take my best OS 9.2.1 volume, and add only the System file 9.2.2 taken from MDD2002 or after. I also must have the Extension "QuickDraw 3D Rave" version 1.8.1 (year 2002). And I find QuickDraw3D v1.6 a little better than QD3D v1.5.4

Without the G5+RAM trick, System file 9.2.1 had been faster than 9.2.2 and QD3D 1.5.4 had been faster than QD3D 1.6 ~ whereas now I see the opposite. QuickTime v6.0.0 remains faster than v6.0.3 and other OS 9.2.1 modules remain faster than a complete OS 9.2.2 install. Nevertheless I'm closer to being on the same page as the rest of you, using System file 9.2.2 and QD3D 1.6 with massive video acceleration.

This confirms something I've always suspected, that "System 9.2.2" comes in many versions. If the November 2001 release is 9.2.2 and doesn't have G5 acceleration, then maybe the 9.2.2 with G5 acceleration ought to have been OS 9.2.3 or OS 9.3

My MDD2003 computer is a G5 system (with just a G4 CPU) and I boot OS9 natively. !! What I got now really is OS9 running on G5 hardware, regardless that I don't have 3D drivers for it !

Don't everybody rush to comment at once...
That was supernova question always. About Original 9.2.2 disk differs from MDD 9.2.2 from 2002. He swears in here

Quote
greets. Bear in mind, 2D vs 3D acceleration are handled differently. The graphics card drivers are necessary for OpenGL flavored 3D acceleration plus needed for DVD Player, however, some or much of 2D acceleration (due to one "unsupported" card being faster than another) 2D accel can occur naturally and without any (additional) drivers.

This is awesome, for me, in OS9 without drivers for my Radeon 9600. I play this massive 3D game "Tomb Raider III" in OS9 without any GPU. When I play using the 9.2.2 System file from 9.2.2's debut in 2001, I receive very choppy TR3 game like about 10 fps. Now when I play using the MDD's own 9.2.2 System file, combined with my 3rd GB of RAM in my G4: looks like it basically doubles in speed to around 20 fps, both cases game resolution set to 1300ish X 844ish on my 1920x1200 display monitor.

A detail about how MDD 2003 memory controller handles up to 4 Gigabytes

Quote
Still going strong. Looks like this is permanent changes to my mdd2003 system. Firmware model id set to G5 (PowerMac7,2) because that's what I really have, an alternate version of the 7,2 debut G5. RAM greater in capacity than 2GB. AHT software, made compatible, has been linked above.

AHT version 2.2.5 will soon be provided as edited for PMG4. It will be the highest version AHT for mdd2003. Apple programmed it to state the speed of all mdd2003 RAM as being "unknown". You get less amount of useful information however this change, in the highest version of AHT, might be for the best, because the speed of all mdd2003 RAM really is "unknown"!, the speeds stated in older versions of AHT aren't necessarily the real speed. AHT v2.2.5 was programmed to describe PC2100 RAM as is (because no mdd2003 had PC2100) this means AHT v2.2.5 describes older RAM dimms with declared speed, newer PowerMac G5 RAM dimms with declared speed, but uniquely the mdd2003 is always RAM speed=unknown according to v2.2.5 their highest version of AHT. So it is, ram speed = unknown to AHT (& MacOS (& Firmware)).

OS9 boots with no sound capability, whenever there is one or more 1GB dimm installed. By 'wiggling' the sound output volume slider, actually thru having the Sound control panel in my OS9 Startup Items, sound capability becomes restored. I own both 400mhz & 467mhz 1GB dimms, and both 400&467 mhz <1GB dimms, so I confirm, sound output failure is not dimm speed related, it is tied to dimm capacity ... = 1GB dimm size brings on the OS9 sound level fail.

I located a 467 MHz dimm that has only 256MB capacity, ram chips on only one side of this dimm. I get the same twofold 'insane' graphics acceleration, when I create my ram bank to be 2.25GB total. Uniform speed increase with only 256MB excess ram suggests the excess ram really is substitute vram how I've proposed in this o.p. It's interesting to note, the 256MB dimm only accelerates graphics when it is used in the third sequential ramslot, when I have 1GB+1GB+256MB dimms. If I swap dimms so it's 256MB+1GB+1GB or 1GB+256MB+1GB then mdd2003's firmware/post system cuts the 3rd dimm in half and declares total RAM is 1.75GB and RAM in excess of 2GB is voided.




Looking for MacOS 9.2.4

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2749
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #2 on: June 07, 2020, 10:56:21 AM »
And he ends:
Quote
I'd like to find a good benchmark utility myself. Until then, have a look at "Typing of the Dead". At least two posters there have said some decent spec G4 isn't good enough to play, they conclude a G5 is what's needed. But my "G4" plays TOTD excellently, and it remains excellent even when I handicap my "G4" computer at the most un-G5-like 950 MHz CPU and 100 MHz system bus. Same thing goes for "Prey", it officially is speced as a G5-only game yet not only does my "G4" Mac play it fine, it remains fine when MY G4 PowerMac is slowed to 950/100. I'm also doing this: with an HD monitor resolution.

To summarize:

1  MDD 2003 are upgraded machines over 2002 MDDs

2  He hacks the MDD 2003 to thinks it is a G5 and from there (I think) the "More than 2 Gigabytes" block is fooled

3  He tested that specific system Mac OS 9 installer are more suited/better performer that at least original 9.2.2 release.
Looking for MacOS 9.2.4

Offline Protools5LEGuy

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2749
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #3 on: June 07, 2020, 11:27:15 AM »
My point of view:

Apple wanted that everybody get G5 and punished performance on last tower G4 coding 10.2.8 G4 version to be slower than 10.2.8 G5.

And that at every following cat. By the time of Leopard they simply didnt care about G4 and G5 anymore.

MDD 2003 have to be observed closer to clarify if the memory controller is different. Or maybe this can be achieved on all MDD.

MDD motherboards could achieve better performance than stock if ventilation (and noise) were pushed up but Steve Jobs or someone decided how much noisy they should be maximum and that level of noise were sold. Also if the last MDD outperforms original G5 single 1.6 noone have an urge to buy G5 when dual G4 already smashes Pentium 4



Looking for MacOS 9.2.4

Offline teroyk

  • Platinum Member
  • *****
  • Posts: 623
  • -
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #4 on: June 08, 2020, 11:45:30 AM »
My point of view:

Apple wanted that everybody get G5 and punished performance on last tower G4 coding 10.2.8 G4 version to be slower than 10.2.8 G5.

And that at every following cat. By the time of Leopard they simply didnt care about G4 and G5 anymore.

Also if the last MDD outperforms original G5 single 1.6 noone have an urge to buy G5 when dual G4 already smashes Pentium 4

And my point of view:

How about that Jaguar G4 is only G3 level optimized and Jaguar G5 is only G4 level optimized and because Leopard is not G3 compatible there is only one G4 level optimized version?

It would be nice if somebody test opposite: Jaguar G4 in G5, does it hang or not, if not, Jaguar running in 64-bit bridge mode in G5 (that mode make G5 act more or less as old PPC).

Offline XinSheng

  • Valued Member
  • **
  • Posts: 20
  • New Member
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #5 on: June 11, 2020, 07:04:28 AM »
My point of view:

Apple wanted that everybody get G5 and punished performance on last tower G4 coding 10.2.8 G4 version to be slower than 10.2.8 G5.

And that at every following cat. By the time of Leopard they simply didnt care about G4 and G5 anymore.

MDD 2003 have to be observed closer to clarify if the memory controller is different. Or maybe this can be achieved on all MDD.

MDD motherboards could achieve better performance than stock if ventilation (and noise) were pushed up but Steve Jobs or someone decided how much noisy they should be maximum and that level of noise were sold. Also if the last MDD outperforms original G5 single 1.6 noone have an urge to buy G5 when dual G4 already smashes Pentium 4

It would be interesting to see if there are actual differences between the two MDD and what they are exactly, hardware? software?
And which versions of the MDD. If anyone has the schematics? Or we can post pictures of the logic boards of some MDD. It is really just a software difference, then much easier to "activate" on other devices and maybe possible to get it to work in OS 9. I need to go read through the several threads on how the fine investigation and work being done to try and work through the 1.5 GB in this forum.

This link seems to maybe indicate that it is possible to get a G4 machine to recognize and use more than 2GB in OS X at least. He was using a PBG4 1.67 and then a MDD I believe, but I don't recall if he mentioned which MDD he has.
https://forums.macrumors.com/threads/well-i-screwed-up-my-pbg4-dlsd.2230943/post-28548863

And here's one that seems to indicate that someone has seen it accomplished before, but he references that he might have seen it on bitsandpieces in a different thread.
https://discussions.apple.com/thread/1372302?answerId=6491289022#6491289022

If this is possible and doable, I have some buyers remorse of ordering a full set of RAM for my MDD, when now it might look like I have to order another set of RAM for it, or least a stick or two to test out.  :-\

Offline MacTron

  • Global Moderator
  • Platinum Member
  • *****
  • Posts: 2116
  • keep it simple
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #6 on: June 16, 2020, 07:55:05 AM »
All of my MDDs support 1Gb DDR up to 4GB in each motherboard. The actual issue is Mac Os 9 not using over 1.5 Gb.

It's well know that Apple continued to upgrade Mac Os via "Mac Os CPU Software" upgrades. The very last One is Mac Os CPU 5.9 and we proudly are the only know source of it.

About AGP-16x graphic card using 3Gb of motherboard RAM ...
It is very poorly argued, and without real 2D/3D acceleration i am afraid that is useless.

About Mac Os 9 and G5 hardware only note that last versions of Mac Os 9.2 runs somehow in G5 Macs, in Classic environment.

So nothing new up to here.
Please don't PM about things that are not private.

Offline Jubadub

  • Gold Member
  • *****
  • Posts: 326
  • New Member
Re: 3 Gigabytes RAM in G4 MDD 2003 & AGP-16x graphics acceleration
« Reply #7 on: June 22, 2020, 11:10:11 AM »
All of my MDDs support 1Gb DDR up to 4GB in each motherboard. The actual issue is Mac Os 9 not using over 1.5 Gb.

It's well know that Apple continued to upgrade Mac Os via "Mac Os CPU Software" upgrades. The very last One is Mac Os CPU 5.9 and we proudly are the only know source of it.

About AGP-16x graphic card using 3Gb of motherboard RAM ...
It is very poorly argued, and without real 2D/3D acceleration i am afraid that is useless.

About Mac Os 9 and G5 hardware only note that last versions of Mac Os 9.2 runs somehow in G5 Macs, in Classic environment.

So nothing new up to here.

Yes, I have 2 MDDs, and I'm fairly positive they are the 2002 model. And yet, I just successfully used 1GB sticks on them today to test his theory, which seems, so far, to be incorrect.

There is a lot of great content shared by SkyCapt on MG, and he's a nice fellow overall, but one always needs to look at it with some skepticism and filter out validated truths from all the assumptions. So the MDD "differences" and calling his MDD a "G4/G5 hybrid system" is one thing... But some of the rest may have real meaning, like the alleged Jaguar performance gain, if true. I would have to personally check it to be sure. But, since Jaguar, especially on a pre-G5, is of no interest to me, that won't be anything I'll pursue. Every pre-G5 should be running OS 9 anyway. ;) And even that only while G5s can't boot 9. (Let us dream...)

Nonetheless, that's a lot of interesting experimentation he did, really awesome stuff. It makes you wonder... if you could do the opposite, and poke at early 1st gen G5s with OF, have only 2 GB RAM max on them, and try to make it report itself as a G4 PowerMac (i.e. MDD's ID), and a G4 processor (7447a?), force screamer for sound etc., then try to boot OS 9 into it. :P Maybe with some extra hacking and voilá, magic! (Ok, I'll stop...)

Edit: Got processor name right (7447a).

Edit 2: Just caught up to this thread. :(
« Last Edit: June 22, 2020, 11:29:18 AM by Jubadub »