Welcome, Guest. Please login or register.

Author Topic: Speed of icons and background loading on gfx card  (Read 4866 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MarkAshleyTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2005
  • Posts: 319
    • Show only replies by MarkAshley
Re: Speed of icons and background loading on gfx card
« Reply #29 from previous page: November 13, 2005, 06:56:46 PM »
@Framiga
I definitely have P96 installed.

@Karlos
I don't really understand what that means. Should it be using 24bit or 32bit? And should the BGRA bit be there or not?
A1200
Blizzard 040/33/128MB
Mediator PCI
Voodoo 3000
All stuffed in to a D-BOX
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Speed of icons and background loading on gfx card
« Reply #30 on: November 13, 2005, 07:41:14 PM »
Quote

MarkAshley wrote:

@Karlos
I don't really understand what that means. Should it be using 24bit or 32bit? And should the BGRA bit be there or not?


Ok, I guess I should rephrase it a bit :-)

Your screenmode preferences / screenmode selectors should preferentially show 32-bit modes for voodoo rather than 24 bit ones. If it does, most probably, the 32-bit ones will be labelled as "32 bit BGRA".

If it definately says 24-bit BGR, you are likely using what is known as "packed pixel format", where every pixel uses exactly 3 bytes. These can be slower than the 32-bit modes because of alignment issues. 32-bit modes don't actually give you any more useable colour depth than 24-bit ones but it is usually the case that both hardware and software drawing is faster.

I am not sure where you will find it but there is likely a env variable somewhere that 'enables' the 24-bit modes instead (or maybe as well as) of the 32-bit ones. You'd ideally want to turn this off.

Whilst you are about it, there is another env variable that controls wether or not the 15/16-bit modes are 'PC' (little endian, basically) or not. The voodoo3 supports both formats and frankly there is little reason to use little endian 'PC' modes if you can use the big endian ones instead.

I don't actually remember what these env vars are off hand, but someone here might do :-)

Remember, God will kill a kitten for every little endian access on your amiga ;-)
int p; // A
 

Offline MarkAshleyTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2005
  • Posts: 319
    • Show only replies by MarkAshley
Re: Speed of icons and background loading on gfx card
« Reply #31 on: November 13, 2005, 08:11:22 PM »
Ok, I still don't understand fully but it sounds like what I am after is the 32bit BGRA screenmode?

I went in to P96Mode and changed the TrueColour depth from TrueColour to TrueColour & Alpha (what I presume is the A in BGRA?). Rebooted and the "Voodoo: 1024x768 32bit BGRA" screenmode had appeared. Selected this screenmode and tested it, it displayed fine. Saved the screenmode and rebooted for good measure.

The backdrop does seem to load a bit more quickly (I have also made some other changes like converting to IFF etc), but large icons like Exoticons still take a long time to load. Would scaling them down make any difference?
A1200
Blizzard 040/33/128MB
Mediator PCI
Voodoo 3000
All stuffed in to a D-BOX
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Speed of icons and background loading on gfx card
« Reply #32 on: November 13, 2005, 08:21:51 PM »
Yes, it sounds like you got the 32-bit mode now. It uses 25% more video memory but the speed increase for graphics.library etc is more than worth it.

Scaling down icons may well help. For 3.x, however, nothing comes close to the speed of the original 4 colour icons (nasty as they are)
int p; // A
 

Offline MarkAshleyTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2005
  • Posts: 319
    • Show only replies by MarkAshley
Re: Speed of icons and background loading on gfx card
« Reply #33 on: November 13, 2005, 08:57:58 PM »
Cool, thanks for your help. I don't care about memory, I've got loads. I just want it to be fast  ;-)

What software can I use to scale the icons? I tried Iconian but it just locks when I try to save the icon  :-(
A1200
Blizzard 040/33/128MB
Mediator PCI
Voodoo 3000
All stuffed in to a D-BOX
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Speed of icons and background loading on gfx card
« Reply #34 on: November 13, 2005, 09:06:39 PM »
Hmm, tricky. Not sure, I'd generally use iconian, but if it is crashing :-/

You might just go for a smaller icon set if you can find one. Some people have reported that the png icon patch is faster on their classic systems than colourmapped icons. The way the icons are rendered on screen likely has something to do with that, but there is also the png decode time to factor into it.

You could try it, just on some dummy folders full of junk files first - AFAIK converting an icon to png format is irreversible.
int p; // A