Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: keropi on February 15, 2005, 09:07:54 AM

Title: Why chipRAM reduces even if I use cgx4 rtg???
Post by: keropi on February 15, 2005, 09:07:54 AM
I just noticed this:
On my system, using cgx4 + latest patch, when I open some windows and there is lots on screen, chipram reduces! like I use an AGA mode! why? picasso96 never did that! Have I done something wrong?

is there a detailed guide anywhere for cgx4???
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: rayt on February 15, 2005, 10:27:56 AM
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: keropi on February 15, 2005, 10:48:39 AM
I already done that, but I do not remember if I rebooted afterwards... I'll check back home...
but isn't that the meaning of rtg? whats the point in storring icons in chipram and videomem???
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: rayt on February 15, 2005, 11:05:17 AM
Quote
I already done that, but I do not remember if I rebooted afterwards...


On my system I didn't need to reboot (its not windoze anyway;).. just close all windows and reopen them.. but I'm using picasso96, maybe it doesn't work at all on cgx..
Quote

whats the point in storring icons in chipram and videomem???


Note that the original Amiga(s) had no fast ram at all.. and the point of storing things in graphics memory is usually that its much faster to access for the graphics processor than the "ordinary" ram..
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: keropi on February 15, 2005, 11:15:18 AM
what I mean is:
I use an rtg system
that means gfx data are not processed by aga and data are not stored on the chipram
gfx data are stored on the piccolo sd64 in my case
so why chipram is consumed?

When I used p96 with my picassoII I always had ~1980kb chipmem free too...
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: bloodline on February 15, 2005, 11:16:43 AM
Quote

keropi wrote:
what I mean is:
I use an rtg system
that means gfx data are not processed by aga and data are not stored on the chipram
gfx data are stored on the piccolo sd64 in my case
so why chipram is consumed?

When I used p96 with my picassoII I always had ~1980kb chipmem free too...


Why don't use just use P96?
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: keropi on February 15, 2005, 11:30:33 AM
Quote
Why don't use just use P96?


i would like very much, but plz look at my other thread regarding the whdload prob.... :-(
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: DanDude on February 15, 2005, 12:40:23 PM
As far as I know, CGX -always- use CHIP memory for processing images.  One of the reasons why they don't recommend opening any AGA windows.  Unless someone can prove me wrong.

And, until P96 supports CyberGraphixPPC card, I'm stuck with CGX.    :-(
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: keropi on February 15, 2005, 12:53:15 PM
really? damn! :pissed:
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: itix on February 15, 2005, 01:10:41 PM
Quote
As far as I know, CGX -always- use CHIP memory for processing images.

Mmmh, CGX keeps planar image in chip ram for legacy compatibility. But real gfx data is in a VRAM or fast RAM.

Quote
One of the reasons why they don't recommend opening any AGA windows. Unless someone can prove me wrong.

Errr.... You must be confused. There are no AGA "windows". You can have AGA screens with CGX, there is no problem what so ever.

Please also notice that software can allocate chip ram bitmaps even if RTG system is in use. Amiga defaults to planar gfx and it must be in chip ram...

EDIT: Of course if you open AGA screen you lose some chip ram because AGA screens must reside in chip ram. That is how it works.
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: bloodline on February 15, 2005, 01:13:44 PM
Fblit might help a bit...
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: patrik on February 15, 2005, 01:25:02 PM
@keropi:

I am running OS3.9 here with the latest CGX4 and a CyberVisionPPC and I constantly have ~2030kB chipmem when only using rtg screens and no audio.

As already mentioned you should set the Workbench preference for Images to be stored in "Other memory", but other than that you should make sure you have the OS3.9 supplied picture.datatype. If you have BB2, it should be version 45.17 dated 2002-03-19 if you do a "version SYS:Classes/Datatypes/picture.datatype FULL".

Other than that, here are my CyberGraphX settings:
Environment (http://www.megaburken.net/~patrik/CyberGraphX-Environment.png)
ToolTypes (http://www.megaburken.net/~patrik/CyberGraphX-Tooltypes.png)



/Patrik
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: keropi on February 15, 2005, 01:39:03 PM
thanx guys!
patrick, I'll check the settings and let u know  :-D
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: zipper on February 15, 2005, 03:05:25 PM
There are hacks like WB2Fast and some other, too which might help if the situation grows bad.
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Pertinax on February 15, 2005, 06:50:24 PM
@Patrik:

I notice you're running the 4.3 version of the prefs settinga program - I can't seem to find a copy anywhere!

Any ideas where I could download it, or if possible could you send me a copy?

Ta muchly,

Jason
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Framiga on February 15, 2005, 07:12:55 PM
its an update of CGX4

http://www.meanmachine.ch/~vgr/cgx/cgxv42_rc5.lha

You need the commercial CGX4.0 CD.



Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Dandy on February 16, 2005, 07:53:38 AM
Quote

itix wrote:
...
Mmmh, CGX keeps planar image in chip ram for legacy compatibility.
...

Yes.
Keep in mind, that even if you have an graphics card in your Miggy with an suitable monitor attached *AND* additionally plug in the Amiga (OCS/AGA) monitor, you are able to switch between them with the key combinations "Amiga & N/M".

So would I see it kind of normal if the graphic data is stored in the CHIP RAM and in the RAM on the graphics card as well...
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Dandy on February 16, 2005, 07:59:58 AM
Quote

itix wrote:
...
Mmmh, CGX keeps planar image in chip ram for legacy compatibility.
...

Yes.
Keep in mind, that even if you have an graphics card in your Miggy with an suitable monitor attached *AND* additionally plug in the Amiga (OCS/AGA) monitor, you are able to switch between them with the key combinations "Amiga & N/M".

So would I see it kind of normal if the graphic data is stored in the CHIP RAM and in the RAM on the graphics card as well...
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Framiga on February 19, 2005, 06:14:02 PM
Hi patrik,

i've tryed your CyberGraphX settings and, at least here i have a 5-6% of CPU in use even without do nothing.

Resetted my original settings and now about 0% cpu !?!? (as should be)

really weird don't you?

Try with a CPU meter if you have ~0% of CPU usage after a fresh boot.

Consider that i have 2 GFX card installed.

I have in Enviroment: (differen than yours)

SaveMem>ON
AlertEMU>ON
KeepAmigaVideo>ON (probably this is the cause)
56KhzAUDIO>ON

and Tooltypes as yours.

Ciao :-)
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Framiga on February 19, 2005, 06:23:11 PM
Got it :-)

it was

56KHZAUDIO disabled

that caused the 6% of CPU eating . . . don't ask me why!?!

Now i have the same Env anf Tooltypes as yours BUT the above 56KHZAUDIO that is enabled.

I have an audio card installed too. (RepulseGold)

Bye :-)
Title: Re: Why chipRAM reduces even if I use cgx4 rtg???
Post by: Piru on February 19, 2005, 06:25:43 PM
@bloodline

Quote
Fblit might help a bit...

No.

FBlit is only likely to lock up the system with gfxcard.