Poster | Thread |
CodeSmith
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 23-Aug-2008 22:34:39
| | [ #81 ] |
|
|
![](https://amigaworld.net/images/avatar/users/324.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 8-Mar-2003 Posts: 3045
From: USA | | |
|
| @TMTisFree
Quote:
I have some in the range of 10-50MB that decompresses up to 600MB. I though that 2GB of memory would be enough. |
The jpeg decompressor needs to allocate a block of memory big enough to contain the entire bitmap, ie a single 600MB block. It is quite possible, especially if you have other programs running at the time, that there isn't a single contiguous free memory block that size (ie you may have 10 separate 60MB blocks, but no single >=600MB block). Try opening the file in multiview after rebooting, and see if it opens. If it does, the problem is probably what I just wrote. That is the Achilles heel of the Amiga shared memory system, other OSs with a separate address space per task are a lot less susceptible to this.
Last edited by CodeSmith on 23-Aug-2008 at 10:35 PM.
|
|
Status: Offline |
|
|
NutsAboutAmiga
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 23-Aug-2008 23:06:23
| | [ #82 ] |
|
|
![](https://amigaworld.net/images/avatar/users/2981.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 9-Jun-2004 Posts: 12851
From: Norway | | |
|
| |
Status: Offline |
|
|
CodeSmith
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 23-Aug-2008 23:52:31
| | [ #83 ] |
|
|
![](https://amigaworld.net/images/avatar/users/324.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 8-Mar-2003 Posts: 3045
From: USA | | |
|
| @NutsAboutAmiga
I don't think that helps any. AmigaOS can address a maximum of 2GB shared among all tasks. MEMF_VIRTUAL simply allows you to "fake" having that much memory even if you don't (so you can successfully AllocMem 500MB even if you only have 256MB installed).
|
|
Status: Offline |
|
|
Chris_Y
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 24-Aug-2008 0:03:08
| | [ #84 ] |
|
|
![](https://amigaworld.net/images/avatar/users/1140.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @CodeSmith
iirc memf_virtual is for virtualised address space, not necessarily swap. it should give a contiguous block even if memory is fragmented. afaik this is the default, as is swappable mem. you need another tag to force real ram (memf_physical?) _________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
CodeSmith
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 9:37:39
| | [ #85 ] |
|
|
![](https://amigaworld.net/images/avatar/users/324.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 8-Mar-2003 Posts: 3045
From: USA | | |
|
| @Chris_Y
Quote:
it should give a contiguous block even if memory is fragmented. |
But how? Remember there is one single address space shared among all tasks, and AmigaOS doesn't compact memory like MacOS < X did. The only possible way I can think of that MEMF_VIRTUAL would prevent fragmentation is if there isn't in fact one single shared address space for MEMF_VIRTUAL and the MMU changes its contents with every context switch (ie if address 0x123456 contains 10 when task #1 is running, 20 when task #2 is running, and 10 again when task #1 gets the CPU again). This would break the Amiga message passing system, unless of course messages are not allowed to live in MEMF_VIRTUAL (IIRC in 3.x they could live anywhere, even on the stack). Mind you, if that *is* the case, then OS4 will have partial process memory isolation, and that's a good thing. Is this how OS4's MEMF_VIRTUAL works?
|
|
Status: Offline |
|
|
TMTisFree
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 14:26:13
| | [ #86 ] |
|
|
![](https://amigaworld.net/images/avatar/users/1918.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 6-Nov-2003 Posts: 1487
From: Nice, so nice | | |
|
| @all
Just to be sure, I attempt to load a 59MB JPEG file in Multiview: the crashlog is here.
Bye, TMTisFree _________________ The engineering approach to our non-problems: "build a better washer". The scientific approach to our non-problems: "find a new energy source". The environmentalist approach to our non-problems: "stop washing your shirts". |
|
Status: Offline |
|
|
TMTisFree
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 14:37:06
| | [ #87 ] |
|
|
![](https://amigaworld.net/images/avatar/users/1918.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 6-Nov-2003 Posts: 1487
From: Nice, so nice | | |
|
| @TMTisFree
When using PicShow, it just freezes the machine (cold reboot needed).
Bye, TMTisFree _________________ The engineering approach to our non-problems: "build a better washer". The scientific approach to our non-problems: "find a new energy source". The environmentalist approach to our non-problems: "stop washing your shirts". |
|
Status: Offline |
|
|
Chris_Y
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 14:49:10
| | [ #88 ] |
|
|
![](https://amigaworld.net/images/avatar/users/1140.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @CodeSmith
As i remember it, the application gets a virtual address which maps to a physical address. This virtual address space is in one block, however the physical memory it maps to is not necessarily.
If I could find the document I've just been looking for, I would be able to say for sure, but I appear to have lost it.
_________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
number6
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 15:22:07
| | [ #89 ] |
|
|
![](https://amigaworld.net/images/avatar/users/4341.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 25-Mar-2005 Posts: 11593
From: In the village | | |
|
| @TMTisFree
Quote:
When using PicShow, it just freezes the machine (cold reboot needed). |
Quote:
Temporary lockups can happen when the picture is scaled to another size in the background. If the picture needs more than 10 seconds to load, it will probably need a similar amount of time to be scaled to screen size. More if interpolation is used. So just wait a little, perhaps it unlocks again.
These lockups are Picass96's fault. P96 locks the entire computer instead of just the bitmap which is accessed when using LockBitMapTags(). It does not happen with Cybergraphics.
PicShow was never meant to display such huge images. However, a complete redesign of it is currently being planned. It can only be a matter of years until it's ready
Quote:
Layout failed
This happens on low-memory conditions. If you don't manage to quit PicShow, there usually is no other way out but a reboot. This is a known problem (bad design).
Bye, Thomas |
source #16
#6
_________________ This posting, in its entirety, represents solely the perspective of the author. *Secrecy has served us so well* |
|
Status: Offline |
|
|
Xenic
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 15:27:02
| | [ #90 ] |
|
|
![](https://amigaworld.net/images/avatar/blank.gif) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 2-Feb-2004 Posts: 1246
From: Pennsylvania, USA | | |
|
| @TMTisFree
Quote:
I have a very good one, I just miss an USB driver for the scanner. |
Most of the combination printers (fax,scan,print) and some of the seperate scanners scan to memory now. You have to go to the printer to place the original on the scan window, so you just push the scan button on the scanner at the same time. The scanned image is then available on your computer through the USB connection. It's actually quicker for me to place the original, push the scan button and remove the original than to place the original, return to the computer to start the scan from a program and remove the original. Dedicated scan programs are pretty useless with modern equipment in my view.
Quote:
I have some in the range of 10-50MB that decompresses up to 600MB. I though that 2GB of memory would be enough. |
I just did an experiment to save a jpeg at the same compression ratio you mentioned (600MB to 50MB) and had to save the jpeg at 20% quality to match that ratio. The resulting picture has obvious blocks of color and looks like the images in some old low-res games. Such a picture would be pretty worthless in my view. Besides, how would you print such a large picture accurately (printing all the pixels)? Wouldn't the print software need to reduce the size to print it anyway?
The biggest downside for OS4/OS4.1 is the lack of a modern Internet browser. I've already preordered OS 4.1 but I'm going to be forced to switch to a PC if we don't get a new browser soon. I don't have the room for a clutter of different computers, so the PC will replace the µA1. I can't take much more of the scrambled up WEB pages, links that don't work etc. My Yahoo page is almost unreadable and is barely usable. I can't use Mapquest any more. I can't even look for a new apartment at Realtor.com because it won't work. I can't find the best interest rates because bankrate.com doesn't work. And on and on etc.
_________________ X1000 with 2GB memory & OS4.1FE |
|
Status: Offline |
|
|
NutsAboutAmiga
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 15:29:05
| | [ #91 ] |
|
|
![](https://amigaworld.net/images/avatar/users/2981.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 9-Jun-2004 Posts: 12851
From: Norway | | |
|
| |
Status: Offline |
|
|
TMTisFree
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 15:32:04
| | [ #92 ] |
|
|
![](https://amigaworld.net/images/avatar/users/1918.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 6-Nov-2003 Posts: 1487
From: Nice, so nice | | |
|
| @number6
Thanks for the link, wasn't aware of the pb.
Bye, TMTisFree _________________ The engineering approach to our non-problems: "build a better washer". The scientific approach to our non-problems: "find a new energy source". The environmentalist approach to our non-problems: "stop washing your shirts". |
|
Status: Offline |
|
|
NutsAboutAmiga
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 15:34:09
| | [ #93 ] |
|
|
![](https://amigaworld.net/images/avatar/users/2981.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 9-Jun-2004 Posts: 12851
From: Norway | | |
|
| |
Status: Offline |
|
|
NutsAboutAmiga
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 15:43:07
| | [ #94 ] |
|
|
![](https://amigaworld.net/images/avatar/users/2981.jpg) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 9-Jun-2004 Posts: 12851
From: Norway | | |
|
| @TMTisFree
It’s possible that datatype is using chip memory, chip and fast memory is limited to 64 MB max, I think, but let’s say its 24mb or more is already used, then you will run out of space for you large image quickly, memory allocation fails program crashes, because the program does not have a fault handling routine for failures.
I think setpatch has addchip switch you might won’t to try that se if you can increase max available chip/fast memory.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
TMTisFree
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 16:03:15
| | [ #95 ] |
|
|
![](https://amigaworld.net/images/avatar/users/1918.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 6-Nov-2003 Posts: 1487
From: Nice, so nice | | |
|
| @Xenic
You cannot have those all-in-one machines in a professionnal environment. Imagine if a part of it is out of order... My scanners all have multisheet charger. I don't have to push whatever button.
Concerning the compression ratio, I suppose it depends of what you have in the data to be compressed (for ex. redondant data, large part of the same color, black and white color, etc). I also have some JPEG in the range 50-100MB I can display but not convert on a PC with 4GB of RAM: I have to use a special program to convert them raw format then in pyramidal TIFF and then use a web image server (à-la googlemap) to be able to view them.
About browsers, well, I use a mix of AWeb (scriptable), IBrowse (rarely), and of course OWB (v1.24 and v2.6). OWB is progressing nicely, I think. Otherwise it's Firefox.
Bye, TMTisFree _________________ The engineering approach to our non-problems: "build a better washer". The scientific approach to our non-problems: "find a new energy source". The environmentalist approach to our non-problems: "stop washing your shirts". |
|
Status: Offline |
|
|
Stephen_Robinson
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 16:44:29
| | [ #96 ] |
|
|
![](https://amigaworld.net/images/avatar/users/4508.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 29-Apr-2005 Posts: 1991
From: UK | | |
|
| Just a thought is OS4.1 going to have the startup-music we were told about years ago?
_________________ Rage quited 29th May 2011 |
|
Status: Offline |
|
|
Hondo
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 17:44:38
| | [ #97 ] |
|
|
![](https://amigaworld.net/images/avatar/users/750.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 10-Apr-2003 Posts: 1370
From: Denmark | | |
|
| @Stephen_Robinson
Yeah i cant belive Hyperion failed on that annonuncement......first time mesa thinks _________________ On Planet Boing Trevor is God |
|
Status: Offline |
|
|
saimo
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 17:47:21
| | [ #98 ] |
|
|
![](https://amigaworld.net/images/avatar/users/493.gif) |
Elite Member ![](https://amigaworld.net/images/ranks/5blocks.gif) |
Joined: 11-Mar-2003 Posts: 2465
From: Unknown | | |
|
| @Hondo
Quote:
Yeah i cant belive Hyperion failed on that annonuncement......first time mesa thinks |
Unfortunately, they did not: from what I heard, Hirasawa's *is* in AOS 4.1. (I say "unfortunaltely" because I hate that useless, annoying, resource-wasting kind of stuff.)
saimo_________________ RETREAM - retro dreams for Amiga, Commodore 64 and PC |
|
Status: Offline |
|
|
Tesla
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 18:23:58
| | [ #99 ] |
|
|
![](https://amigaworld.net/images/avatar/blank.gif) |
Member ![](https://amigaworld.net/images/ranks/1block.gif) |
Joined: 23-Oct-2003 Posts: 80
From: Sweden | | |
|
| @CodeSmith
Quote:
@Chris_Y Quote:
it should give a contiguous block even if memory is fragmented. | But how? Remember there is one single address space shared among all tasks, and AmigaOS doesn't compact memory like MacOS < X did. The only possible way I can think of that MEMF_VIRTUAL would prevent fragmentation is if there isn't in fact one single shared address space for MEMF_VIRTUAL and the MMU changes its contents with every context |
That would be what MEMF_PRIVATE is for. Memory allocated with the MEMF_PRIVATE flag can be per process. If this is implemented however, is another question entierly.
I seem to recall that for compatibility reasons, all memory is shared (MEMF_SHARED) unless explicitly declared private (MEMF_PRIVATE).
|
|
Status: Offline |
|
|
Stephen_Robinson
| ![](https://amigaworld.net/images/icons/posticon.gif) |
Re: AmigaOS 4.1 Posted on 25-Aug-2008 18:43:08
| | [ #100 ] |
|
|
![](https://amigaworld.net/images/avatar/users/4508.jpg) |
Super Member ![](https://amigaworld.net/images/ranks/4blocks.gif) |
Joined: 29-Apr-2005 Posts: 1991
From: UK | | |
|
| Hmmm according to Amigakit, this isn't out till next month now Argh!!!
One more week to go....
_________________ Rage quited 29th May 2011 |
|
Status: Offline |
|
|