Board index » delphi » Installing D4 C/S on an AMD K6-350

Installing D4 C/S on an AMD K6-350

We run D4 on several machines here, some P3, some P2 and some AMD K6-2
350/400, the installation works great on the intel processores, but when we
try to install it on one of the AMD, the installation goes well, but
whenever we try in run D4, the machine hangs for some reason, we have tried
installing on a fresh install of windows, bios patches, driver patches......

Please help

Thanks in advance

Thomas L?vlie

 

Re:Installing D4 C/S on an AMD K6-350


There is a bug in some video cards in the way they handle the ImageList
API.  When an ImageList is being built in memory that cards will freeze the
computer or corrupt the images when they have to swap the ImageList back out to
main memory to complete the building on large imagelist's like the 180+ image
component pallete list.  The S3 chipset has been particularly problematic (Win98
is even worse).  

Try these

1) Apply SP2 and SP3 to your Delphi4 at
http://www.inprise.com/devsupport/delphi/downloads/index.html.  SP2
tries to workaround the problem by prebuilding the imagelist large
enough so it should not start in internal memory and start in main
memory.
2) Get the latest driver (www.s3.com or your vendor if your vendors
doesn't work, try the S3 as they tend to be more compliant)
3) Start Delphi with the -ns switch
4) Under the [display] section of the SYSTEM.INI file
add the following line
    BusThrottle=1 (reboot afterwards)
5) Reboot in safe mode and start Delphi.  Goto the properties of the
component pallet and hide all the controls that you rarely use.  This
will reduce the imagelist that is getting built and might get you under
the threshold.
6) reduce the hardware acceleration for the card.
(display->properties->settings->advances->performance)
7) play with color depth/resolution  1024x768 in 16 bit color seems the
worse (particularly with Delphi 3).
8) Get the latest DirectX drivers.

Also Delphi 4 can not run in Win98 under 16 color mode.  You must be at
least at 256 colors.

PS.  Both SP2 and SP3 try to workaround this by creating the initial
ImageList large enough so that it either a) starts in main memory or b)
will not have to grow while adding.  There really is not much more that
Borland can do.  This is a driver bug and the workarounds have actually
exposed bugs in other drivers that deal with creating large initial
ImageLists.  In this case Borland was damned if they did, damned if they
didn't.  SP1 was included in SP2 so when you installed SP2 you also got
the first patch.  If the BusThrottle works for you this is by far the
best solution.  All it does is instruct the driver that it must give a
little time slice to the OS so affects on performance are not noticable
(so far no one has reported back to me that they can even tell a
difference between using and not using the BusThrottle setting except
that Delphi runs).  Unfortunately not all drivers respect this setting.

Quote
"Thomas L?vlie" wrote:

> We run D4 on several machines here, some P3, some P2 and some AMD K6-2
> 350/400, the installation works great on the intel processores, but when we
> try to install it on one of the AMD, the installation goes well, but
> whenever we try in run D4, the machine hangs for some reason, we have tried
> installing on a fresh install of windows, bios patches, driver patches......

> Please help

> Thanks in advance

> Thomas L?vlie

--
Jeff Overcash (TeamB)
      (Please do not email me directly unless  asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpetted  corridors of Whitehall.
             (Fish)
--

Other Threads