Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: giZmo350 on February 21, 2020, 01:05:37 AM

Title: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on February 21, 2020, 01:05:37 AM
So, a few days ago I installed IBrowse 2.5.2 and AmiSSL 4.4 on the A1200 in my sig. Both were installed over existing installations. It’s a very speedy A1200 mostly due to the Elbow FastATA and the accelerator w/FPU that supports DBURST!

I did have a problem where I couldn’t load the NAV Toolbar images but installing WarpPNGdt took care of that. I also have WarpJPGdt installed. Very nice datatype sets!

The only immediate problem I’m having (besides being quit slow - as reported by others) is that the browser seems (to me anyway) choke on embedded webpage images. I can’t even load GIF images at all. Does WarpDT have a GIF data type?

I have loaded up quit a few secure websites and it’s always the same thing…. the browser chokes on embedded webpage images and can’t display them. Amiga.org is PAINFULLY slow and I can’t display any GIF images. Images in posts load as fast and as well as can be expected though.

I downloaded akGIF-dt from AmiNet but the install won’t even get thru a “pretend” install without failing. Can anyone recommend a GIF data type that’s fast and non-intrusive to the OS that I might try?

Working with the latest browser version and it’s prefs will seem to be a lengthy process but thought I would try to get past this problem first.

Any tips appreciated (especially with SETTINGS! - & yes, been reading the docs - actually for years).....   ;D

BTW, Lemon Amiga works perfect with Javascript and the game images are gorgeous in 256 colors!   ;D

Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: x303 on February 21, 2020, 02:14:17 PM
Isn't the browser using the internal image plugins from the codecs dir instead of using warpdt / akdt?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on February 21, 2020, 04:28:48 PM
Isn't the browser using the internal image plugins from the codecs dir instead of using warpdt / akdt?

Yes, all the image types are ticked for "internal" and I verified that the codecs are there.

When I installed 2.5.2 I chose to display the NAV images in 256 colors, which states during the install of the Image Sets, that the PNG data type is required. If I had chose 32 colors the install states that ILBM images are used, which I assume would then use the “Internal” codec functionality. Should I tick “external” for PNG images if I leave the 256 color option? This still doesn’t explain my GIF image problem though.

If I perform another re-install of 2.5.2 to the same drawer, will the install procedure update any changes I make?

I might have chose to install for a 68040 when I should have chose a 68020 (would this error slow the browser to a crawl?). Will a re-install change this for me? Can I manually switch to a different processor by copying and renaming a file if needed?

Can I just create a new clean install to different drawer? I checked my U-S and S-S and didn’t find any assigns or anything. Would that create a problem between IBrowse and AmiSSL?

I guess I’ll just have to try it and find out! 
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: x303 on February 21, 2020, 06:19:08 PM
Well, checking w/ snoopdos3, the codecs (incl. gif) are loaded, so that shouldn't be the problem. Maybe the gif codec is broken for your system ?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on February 21, 2020, 10:18:47 PM
Performed a completely fresh install choosing 32 colors where ILBM images are copied to the images drawer which then uses the “Internal” codec functionality. I don't seem to have any conflicting GIF data types installed.

Still can't load embedded website GIF images.

Any ideas..... anyone?   ;)
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on February 22, 2020, 12:42:44 PM
Firstly, datatypes are always used to load GUI elements such as the toolbar buttons. All systems should have ilbm.datatype by default, so that's why the 32-colour set is in ILBM format. The 256-colour set was originally for OS4, where png.datatype is system supplied, but on OS3 you need to make sure you have one installed to use that set.

The internal decoders are only used for webpage images... Datatypes are only ever used for unhandled image types, or unless you have the built-in JPEG, PNG, GIF or XBM decoders set to external or the internal decoders cannot be loaded for some reason. Otherwise, the internal decoders will be used. On a 68k system (no PPC card), always set the 4 decoders to internal.

What is the error message shown when you hover the mouse of the error placeholder for GIF images?

And you definitely selected the 68020fpu option when installing?  BTW, it is safe to re-run the installer over an existing installation.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: duga on February 22, 2020, 05:30:48 PM
There's a problem with either PNG or JPEG (or both) in 2.5, 2.5.1 and 2.5.2 (but not in 2.4).

I'm using datatypes instead and the problem is gone.

Someone who bothers can try to replace one at a time to find which one is the problem.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: giZmo350 on February 22, 2020, 05:48:51 PM
Firstly, datatypes are always used to load GUI elements such as the toolbar buttons. All systems should have ilbm.datatype by default, so that's why the 32-colour set is in ILBM format. The 256-colour set was originally for OS4, where png.datatype is system supplied, but on OS3 you need to make sure you have one installed to use that set.

Thanks for the reply, Oliver is it? I’ll try to keep this breif. Thanks for the clarification about the 256 color GUI elements usage.

The internal decoders are only used for webpage images... Datatypes are only ever used for unhandled image types, or unless you have the built-in JPEG, PNG, GIF or XBM decoders set to external or the internal decoders cannot be loaded for some reason. Otherwise, the internal decoders will be used. On a 68k system (no PPC card), always set the 4 decoders to internal.

Yes, I have always set the built-in JPEG, PNG, GIF or XBM decoders as Internal and are sets such now.

What is the error message shown when you hover the mouse of the error placeholder for GIF images?

The error message is: (mostly on GIF Images)
Image Error: SSL Connect Error. The remote server is using an encryption protocol not supported by IBrowse. Please refer to the troubleshooting > SSL section of the documentation for assistance.

In many other cases I get:
Network Error: Broken Pipe.

And you definitely selected the 68020fpu option when installing?  BTW, it is safe to re-run the installer over an existing installation.

On the clean install, I definitely selected 68020 FPU option

Just FYI:
I had the least amount of problems when I first installed over IBrowse 2.4

With a clean install:
I can’t load ANY images from Amiga.org, some from AmigaWorld.net, Everything loading from LemonAmiga (not a secure site), and nothing from something big like AccuWeather.

I did try right clicking on an error-ed image and can always get the image to display when choosing “view image separately.

I really like your WarpDT product and will purchase today if I can solve the problem using it. However, the package does not seem to have a datatype for GIF images - any suggestions there?

I will now go check out the SSL troubleshooting section for IBrowse.

Thanks much for any help Oliver.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on February 22, 2020, 05:51:23 PM
There's a problem with either PNG or JPEG (or both) in 2.5, 2.5.1 and 2.5.2 (but not in 2.4).

I'm using datatypes instead and the problem is gone.

Someone who bothers can try to replace one at a time to find which one is the problem.

Hi duga, thanks for the info on the other versions of IBrowse! Yeah, WarpDT datatype sets really seemed to help. I was installing them one at a time but did not find one for GIF images. Which one are you using for GIF images, if I might ask?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on February 22, 2020, 06:38:34 PM
Ok, then it seems to be SSL timeouts. On the errored images, if you right click and select load image or view separately, do they then load and display, if you do one at a time?

What do you have maximum number of secure connections set to in the Network settings? I would suggest setting it to 2 or 1 on your system.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: giZmo350 on February 22, 2020, 06:51:33 PM
Ok, then it seems to be SSL timeouts. On the errored images, if you right click and select load image or view separately, do they then load and display, if you do one at a time?

Yes, right clicking on an error-ed image I can always get the image to display when choosing “view image separately.

What do you have maximum number of secure connections set to in the Network settings? I would suggest setting it to 2 or 1 on your system.

Right now I have the max secure connections setting to "Pedal to the Metal"!  ;D   (on this same machine, years ago, setting connections to full max was a great speed up when loading pages). Yea, I was reading the docs stating that that can slow the loading process down. I'll try reducing that and get back....

Also, do you offer a GIF datatype?   ;)

BTW, I purchased IBrowse 2.5.2 a while back and a HUGE thanks for maintaining IBrowse!!!   :D
I have always know about WarpDT but never used it before yesterday. I really like it and will be purchasing today!  8)
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on February 22, 2020, 11:58:48 PM
Hi Oliver...  dropping the secure connections to 2 fixed the GIF image problem. I found dropping it to 1 is actually even slightly faster. Thanks so much for your help...

Now, is there any way to speed up secure connections? I'll offer to test anything, anytime to help!

Thanks again!

Next I'll install on my A2K - in my sig.  :D
Trying to play youtube vids might better left to the BLIZZZ!
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on February 23, 2020, 10:27:58 AM
The trouble is that, particularly on 68k, the the bottleneck on HTTPS is the CPU, opposed to network speed for plain HTTP. Of course, even network speed is not so much of a problem these days either, compared to when these features were first introduced into IBrowse :). In reality, on 68k, there is not going to be a big difference in total page loading speed with 1 secure connection or 16, because the CPU will be saturated in either case, because the SSL algorithms are more complex and slower now then they were in the past. In fact, with multiple connections battling for CPU time, it may end up being slower because SSL renegotiations are triggered, ultimately leading to timeouts.

For IBrowse 2.5.3, I'm currently working on adding SSL session caching, which allows handshaking to be bypassed after the first connection, which I hope will help speed up things on 68k, especially for TLSv1.3 which has an even better caching method than previous versions.

No GIF datatype from me - since one came supplied with OS3.5 (or was it 3.9?) or later, I never saw the point, as there is not much room for optimisation. Thanks for trying the WarpDTs.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on February 23, 2020, 03:14:18 PM
Well, without going into some diatribe of how javascript and then SSL has killed off pretty much the ability to use the web on PPC and Intel Dual Core/Core2Duo machines I have had in the past 7 years or so, I think it's a miracle that IBrowse 2.5.2 & AmiSSL 4.4 works as well as it does on a 40MHz machine. I don't have an OS4 machine to test but I'll bet it works pretty well on 1GHz+ OS4 machine.

While testing last night I actually had the same thought of caching the SSL session.  :D

So again, thanks much for this huge functionality and and continued updates!
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: duga on February 23, 2020, 08:51:59 PM
There's a problem with either PNG or JPEG (or both) in 2.5, 2.5.1 and 2.5.2 (but not in 2.4).

I'm using datatypes instead and the problem is gone.

Someone who bothers can try to replace one at a time to find which one is the problem.

Hi duga, thanks for the info on the other versions of IBrowse! Yeah, WarpDT datatype sets really seemed to help. I was installing them one at a time but did not find one for GIF images. Which one are you using for GIF images, if I might ask?

For GIF I use the internal iBrowse function. I only use datatypes for PNG and JPEG.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: duga on March 01, 2020, 02:56:56 PM
There's a problem with either PNG or JPEG (or both) in 2.5, 2.5.1 and 2.5.2 (but not in 2.4).

I'm using datatypes instead and the problem is gone.

Someone who bothers can try to replace one at a time to find which one is the problem.

Ladies and gentlemen: I can confirm the problem is located in the internal PNG renderer. The internal JPEG renderer is fine.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on March 01, 2020, 05:02:39 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on March 01, 2020, 05:25:09 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?

The pictures are _loaded_. The problem is that the pictures are severly garbled with the internal PNG decoder/renderer. Have a look at https://safir.amigaos.se/main.php and you should see the problem.

System:
A1200 AGA
Blizzard MkIV 1230/50 MHz (no FPU)
Roadshow68k
MUI 5.0 (tried 3.8/3.9/4.0 too)
SSL 4.4
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: giZmo350 on March 01, 2020, 05:53:56 PM
I'm using MUI3.8 on the A1200 in my sig with no problems. However, I have just the opposite problem with PNG images. Garbled if I use WarpPNGdt - fine if I use internal PNG. I'll stick with internal.

What does baffle me (to some extent) is how slow AmiSSL is. Using my other A1200 with MUI3.8, an ACA1233N w/o FPU & 128MB mem, IBrowse 2.4 & AmiSSL 3.6, amiga.org loads in seconds. Using my A1200 with a GVP Typhoon 030 @40MHz w/FPU & 64MB mem, amiga.org takes some minutes to load.

Both running OS3.5, internal images and same connections parameters. I really don't want to buy two more licenses till I get this sorted.

But, thanks so much for all your help Oliver!!!   ;D.  Finger crossed!
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: duga on March 01, 2020, 06:22:47 PM
I'm using MUI3.8 on the A1200 in my sig with no problems. However, I have just the opposite problem with PNG images. Garbled if I use WarpPNGdt - fine if I use internal PNG. I'll stick with internal.

What does baffle me (to some extent) is how slow AmiSSL is. Using my other A1200 with MUI3.8, an ACA1233N w/o FPU & 128MB mem, IBrowse 2.4 & AmiSSL 3.6, amiga.org still load in seconds. Using my A1200 with a GVP Typhoon 030 @40MHz w/FPU & 64MB mem, amiga.org takes some minutes to load.

Both running OS3.5, internal images and same connections parameters. I really don't want to buy two more licenses till I get this sorted.

But, thanks so much for all your help Oliver!!!   ;D.  Finger crossed!

Same iBrowse and AmiSSL versions on both systems? I assume the memory is much faster on the ACA than on the Typhoon.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: kolla on March 01, 2020, 06:23:48 PM
Nothing baffling about it - modern crypto is a lot more resource hungry than those of twenty years ago.
What you can and should do, is reduce the number of simultaneous https connections to a minimum, so you don’t end up performing a denial of service attack against yourself :)

There’s no good solution to crypto on classic Amiga hardware, other than offloading to other processor, dedicated crypto accelerator or general purpose modern CPU (that often have crypto accelerator built in), but then you must find a way to interface such hardware to the Amiga.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on March 01, 2020, 06:24:04 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?

The pictures are _loaded_. The problem is that the pictures are severly garbled with the internal PNG decoder/renderer. Have a look at https://safir.amigaos.se/main.php and you should see the problem.
Ok, so AGA. It's just that several different issues appear to have been mentioned in this thread.

Try turning "Use Fastmem for images" on in the image settings - it should be ok then. I shall find out why the garbled images appear with that setting off, although I can see it is not all PNG images (probably just those with alpha or transparency).
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on March 01, 2020, 06:29:30 PM
Nothing baffling about it - modern crypto is a lot more resource hungry than those of twenty years ago.
What you can and should do, is reduce the number of simultaneous https connections to a minimum, so you don’t end up performing a denial of service attack against yourself :)

There’s no good solution to crypto on classic Amiga hardware, other than offloading to other processor, dedicated crypto accelerator or general purpose modern CPU (that often have crypto accelerator built in), but then you must find a way to interface such hardware to the Amiga.
Actually, there is something that can help - IBrowse 2.5.3 will hopefully come with a SSL session cache (currently being tested). IBrowse never cached SSL sessions, but seeing as OpenSSL has a cache feature, it is time to make use of it :). Certainly, not much can be done about the initial handshake, but the cache will allow this slow process to be skipped for subsequent connections, which makes things much faster on OS3.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on March 01, 2020, 06:51:17 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?

The pictures are _loaded_. The problem is that the pictures are severly garbled with the internal PNG decoder/renderer. Have a look at https://safir.amigaos.se/main.php and you should see the problem.
Ok, so AGA. It's just that several different issues appear to have been mentioned in this thread.

Try turning "Use Fastmem for images" on in the image settings - it should be ok then. I shall find out why the garbled images appear with that setting off, although I can see it is not all PNG images (probably just those with alpha or transparency).

Use Fastmem/other mem was already enabled. But if I disable it (instead using Chip mem) the problem is actually solved. But in that case I prefer using fast mem and the external PNG Datatype. Anyway, thanks!
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: Rotzloeffel on March 02, 2020, 06:59:37 AM
Actually, there is something that can help - IBrowse 2.5.3 will hopefully come with a SSL session cache (currently being tested). IBrowse never cached SSL sessions, but seeing as OpenSSL has a cache feature, it is time to make use of it :). Certainly, not much can be done about the initial handshake, but the cache will allow this slow process to be skipped for subsequent connections, which makes things much faster on OS3.

Great! I want to report an issue, which did not exist in 2.5.1 !

I use a http-Proxy, which works well, but if I click a link, it allway wants to connect me with the https-Site instead of http ! This did not happen in 2.5.1 ! I allways have to correct the link from https to http ! Please have a look :) Thank you!
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on March 02, 2020, 06:37:40 PM
Great! I want to report an issue, which did not exist in 2.5.1 !

I use a http-Proxy, which works well, but if I click a link, it allway wants to connect me with the https-Site instead of http ! This did not happen in 2.5.1 ! I allways have to correct the link from https to http ! Please have a look :) Thank you!
Are you sure you haven't changed your settings? Nothing changed in this area between 2.5.1 and 2.5.2. HTTPS proxy support was broken in 2.5 though, but that was fixed for 2.5.1.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on March 02, 2020, 07:18:58 PM
Actually, there is something that can help - IBrowse 2.5.3 will hopefully come with a SSL session cache (currently being tested). IBrowse never cached SSL sessions, but seeing as OpenSSL has a cache feature, it is time to make use of it :). Certainly, not much can be done about the initial handshake, but the cache will allow this slow process to be skipped for subsequent connections, which makes things much faster on OS3.

Great! I want to report an issue, which did not exist in 2.5.1 !

I use a http-Proxy, which works well, but if I click a link, it allway wants to connect me with the https-Site instead of http ! This did not happen in 2.5.1 ! I allways have to correct the link from https to http ! Please have a look :) Thank you!

Are you sure it's not changed on the website/server? Https shall have priority over http.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: Rotzloeffel on March 03, 2020, 07:34:19 AM
Are you sure it's not changed on the website/server? Https shall have priority over http.

Yes, I did not Change something after the update from 2.5.1 to 2.5.2. ! Before the update I could click any link and it puts me to http://..... after the update with the same Settings it puts me to https://..... I can Change https to http manually for each link and it works properly!
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: Rotzloeffel on March 03, 2020, 07:38:04 AM
Are you sure it's not changed on the website/server? Https shall have priority over http.

Yes, the "use" of a http-Proxy in Ibrowse Settings should automaticaly connect to http instead of https. This has Nothing to do with the Server....

A RaspberryPI works as the Proxy using sslstrip. So Amiga sends http-Request to the RaspberryPI and the RaspberryPI loads the https-Site from the Server, decode the ssl and sends the decoded site to the Amiga. This worked perfektly with 2.5.1..... and 2.4 and Netsurf….. but not anymore with 2.5.2.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: Gerbinist on March 03, 2020, 08:29:37 AM
Yes, the "use" of a http-Proxy in Ibrowse Settings should automaticaly connect to http instead of https. This has Nothing to do with the Server....

Can you provide an example link where this behavior is seen for 2.5.1? I tried on both 2.5.1 and 2.5.2, but I see similar results:

- When https:// is in front of the url, it reverts to amissl
- When http:// is in front of the url it properly redirects via the proxy
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on March 03, 2020, 06:50:40 PM
Are you sure it's not changed on the website/server? Https shall have priority over http.

Yes, the "use" of a http-Proxy in Ibrowse Settings should automaticaly connect to http instead of https. This has Nothing to do with the Server....

A RaspberryPI works as the Proxy using sslstrip. So Amiga sends http-Request to the RaspberryPI and the RaspberryPI loads the https-Site from the Server, decode the ssl and sends the decoded site to the Amiga. This worked perfektly with 2.5.1..... and 2.4 and Netsurf?.. but not anymore with 2.5.2.
Why would IBrowse ever connect to the HTTP proxy for a HTTPS URL? I'm sure IBrowse 2.4 and 2.5.1 never did, just like 2.5.2. For HTTPS URLs, IBrowse can use a HTTPS proxy over SSL.  Shouldn't the proxy itself be changing any absolute https:// URLs in webpages to http://?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: kolla on March 03, 2020, 08:02:57 PM
It should, sounds like misconfigured mim-proxy.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on March 08, 2020, 02:56:02 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?

The pictures are _loaded_. The problem is that the pictures are severly garbled with the internal PNG decoder/renderer. Have a look at https://safir.amigaos.se/main.php and you should see the problem.
Ok, so AGA. It's just that several different issues appear to have been mentioned in this thread.

Try turning "Use Fastmem for images" on in the image settings - it should be ok then. I shall find out why the garbled images appear with that setting off, although I can see it is not all PNG images (probably just those with alpha or transparency).

Use Fastmem/other mem was already enabled. But if I disable it (instead using Chip mem) the problem is actually solved. But in that case I prefer using fast mem and the external PNG Datatype. Anyway, thanks!
Agreed - that is certainly not what should happen. Does the same happen with IBrowse 2.4?

Can you give me a little more info about your system? It's AGA and presumably you have no graphics card available? What OS version are you running? And finally, what does "version cybergraphics.library" say?

I've been running some tests on this and discovered that, on my OS3.1 AGA boot (no CGX), PNG images look fine in IBrowse 2.5, with fast mem images off or on, and using the internal decoder. If I boot to my BVisionPPC and open IBrowse (2.4 or 2.5) on an AGA screen, images are messed up only when use fast mem for images is off. And it is only images with transparency/alpha that are corrupt.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on April 13, 2020, 12:39:23 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?

The pictures are _loaded_. The problem is that the pictures are severly garbled with the internal PNG decoder/renderer. Have a look at https://safir.amigaos.se/main.php and you should see the problem.
Ok, so AGA. It's just that several different issues appear to have been mentioned in this thread.

Try turning "Use Fastmem for images" on in the image settings - it should be ok then. I shall find out why the garbled images appear with that setting off, although I can see it is not all PNG images (probably just those with alpha or transparency).

Use Fastmem/other mem was already enabled. But if I disable it (instead using Chip mem) the problem is actually solved. But in that case I prefer using fast mem and the external PNG Datatype. Anyway, thanks!
Agreed - that is certainly not what should happen. Does the same happen with IBrowse 2.4?

Can you give me a little more info about your system? It's AGA and presumably you have no graphics card available? What OS version are you running? And finally, what does "version cybergraphics.library" say?

I've been running some tests on this and discovered that, on my OS3.1 AGA boot (no CGX), PNG images look fine in IBrowse 2.5, with fast mem images off or on, and using the internal decoder. If I boot to my BVisionPPC and open IBrowse (2.4 or 2.5) on an AGA screen, images are messed up only when use fast mem for images is off. And it is only images with transparency/alpha that are corrupt.

Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on April 13, 2020, 12:56:50 PM
Really?

1. Can you post an example URL of a PNG image that won't load?
2. What is the error message that pops up with the mouse pointer over the placeholder?
3. What does "version cybergraphics.library" say on your system?

The pictures are _loaded_. The problem is that the pictures are severly garbled with the internal PNG decoder/renderer. Have a look at https://safir.amigaos.se/main.php and you should see the problem.
Ok, so AGA. It's just that several different issues appear to have been mentioned in this thread.

Try turning "Use Fastmem for images" on in the image settings - it should be ok then. I shall find out why the garbled images appear with that setting off, although I can see it is not all PNG images (probably just those with alpha or transparency).

Use Fastmem/other mem was already enabled. But if I disable it (instead using Chip mem) the problem is actually solved. But in that case I prefer using fast mem and the external PNG Datatype. Anyway, thanks!
Agreed - that is certainly not what should happen. Does the same happen with IBrowse 2.4?

Can you give me a little more info about your system? It's AGA and presumably you have no graphics card available? What OS version are you running? And finally, what does "version cybergraphics.library" say?

I've been running some tests on this and discovered that, on my OS3.1 AGA boot (no CGX), PNG images look fine in IBrowse 2.5, with fast mem images off or on, and using the internal decoder. If I boot to my BVisionPPC and open IBrowse (2.4 or 2.5) on an AGA screen, images are messed up only when use fast mem for images is off. And it is only images with transparency/alpha that are corrupt.

Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Does IBrowse 2.4 exhibit the same issue? And do you have any patches installed that affect bitmaps (I'm thinking things like FBlit)?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: kolla on April 13, 2020, 02:05:27 PM
Can I throw in a random feature request here? Low priority, please ignore if too daft... :)

How about a general option for HTML renderer and image decoders to half the height of images, for those systems "stuck" in 1:2-ish screenmodes, like PAL/NTSC Hires etc?
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on April 13, 2020, 02:20:34 PM
Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Does IBrowse 2.4 exhibit the same issue? And do you have any patches installed that affect bitmaps (I'm thinking things like FBlit)?

Now matter how hard I try, I cannot get 2.4 to show the same problem as 2.5.2.

No ugly patches such as FBlit etc. installed.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on April 13, 2020, 02:31:36 PM
Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Does IBrowse 2.4 exhibit the same issue? And do you have any patches installed that affect bitmaps (I'm thinking things like FBlit)?

Now matter how hard I try, I cannot get 2.4 to show the same problem as 2.5.2.

No ugly patches such as FBlit etc. installed.
Good - at least that probably rules out OS 3.1.4 as being a factor, which was going to be my next question.  How about IBrowse 2.5 (the initial release) - does that have the problem too?

It is a little strange (and annoying) that I cannot reproduce the problem here.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on April 13, 2020, 02:44:32 PM
Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Does IBrowse 2.4 exhibit the same issue? And do you have any patches installed that affect bitmaps (I'm thinking things like FBlit)?

Now matter how hard I try, I cannot get 2.4 to show the same problem as 2.5.2.

No ugly patches such as FBlit etc. installed.
Good - at least that probably rules out OS 3.1.4 as being a factor, which was going to be my next question.  How about IBrowse 2.5 (the initial release) - does that have the problem too?

It is a little strange (and annoying) that I cannot reproduce the problem here.

As I wrote in https://forum.amiga.org/index.php?topic=74567.msg848138#msg848138 , the problem started from 2.5

Not sure what the next step is.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on April 13, 2020, 02:58:18 PM
Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Does IBrowse 2.4 exhibit the same issue? And do you have any patches installed that affect bitmaps (I'm thinking things like FBlit)?

Now matter how hard I try, I cannot get 2.4 to show the same problem as 2.5.2.

No ugly patches such as FBlit etc. installed.
Good - at least that probably rules out OS 3.1.4 as being a factor, which was going to be my next question.  How about IBrowse 2.5 (the initial release) - does that have the problem too?

It is a little strange (and annoying) that I cannot reproduce the problem here.

As I wrote in https://forum.amiga.org/index.php?topic=74567.msg848138#msg848138 , the problem started from 2.5

Not sure what the next step is.
Well, since you are saying IBrowse 2.4 works ok, next step is for me to check the source code to see what I broke for 2.5 :). I know there were a bunch of changes in this area between 2.4 and 2.5, mostly related to removing CGX support in the OS4 version. It would have been easier if 2.5 worked and 2.5.1/2.5.2 didn't, obviously.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on April 13, 2020, 06:01:02 PM
Sorry for late answer. I have the same problem (fast mem used for pictures causing garbled PNG graphics) on another A1200:

System:
A1200
AGA
ACA1221
AmigaOS 3.1.4.1
MUI 3.8
iBrowse 2.5.2 demo

No external datatype installed. Using chip mem for pictures = problem solved.
Does IBrowse 2.4 exhibit the same issue? And do you have any patches installed that affect bitmaps (I'm thinking things like FBlit)?

Now matter how hard I try, I cannot get 2.4 to show the same problem as 2.5.2.

No ugly patches such as FBlit etc. installed.
Good - at least that probably rules out OS 3.1.4 as being a factor, which was going to be my next question.  How about IBrowse 2.5 (the initial release) - does that have the problem too?

It is a little strange (and annoying) that I cannot reproduce the problem here.

As I wrote in https://forum.amiga.org/index.php?topic=74567.msg848138#msg848138 , the problem started from 2.5

Not sure what the next step is.
Can you post your directory listing of DEVS:Monitors, output of "version graphics.library full" and "version cybergraphics.library full"?

I know the latter may seem irrelevant as you are on AGA, but I just want to check whether it exists in memory or not.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images…..
Post by: duga on April 13, 2020, 07:30:49 PM
Euro72
Multiscan
PAL
VGAOnly

graphics.library 45.27 (2018-09-20)
There is no cybergraphics.library
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on April 14, 2020, 12:13:07 PM
Euro72
Multiscan
PAL
VGAOnly

graphics.library 45.27 (2018-09-20)
There is no cybergraphics.library
Thanks for your patience duga - having re-read the entire thread, I now realize that I have been repeating myself a lot! :D

Going back to the https://safir.amigaos.se/main.php site, I can see a problem too on my AGA boot. I presume that some of the PNG files look fine (e.g. the header/logo at top/left and the news item images), but it is all the table/page backgrounds that are not shown correctly? That is what it looks like here.
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: duga on April 14, 2020, 01:31:10 PM
Euro72
Multiscan
PAL
VGAOnly

graphics.library 45.27 (2018-09-20)
There is no cybergraphics.library
Thanks for your patience duga - having re-read the entire thread, I now realize that I have been repeating myself a lot! :D

Going back to the https://safir.amigaos.se/main.php site, I can see a problem too on my AGA boot. I presume that some of the PNG files look fine (e.g. the header/logo at top/left and the news item images), but it is all the table/page backgrounds that are not shown correctly? That is what it looks like here.

No problem. It's easier for me to be confident that the fault is in the program now when I have two functional A1200 with different CPU's and OS versions.

Yes, it sounds like you see exactly the same problem as me.


Some stuff that might be of interest, regarding what I call the "garbled graphics" problem:
http://forum.amiga.org/index.php?topic=74037.msg843629#msg843629
ECS and RTG are fine, but not AGA: http://forum.amiga.org/index.php?topic=74037.msg844604#msg844604
https://eab.abime.net/showpost.php?p=1391719&postcount=12
Title: Re: IBrowse 2.5.2 / AmiSSL 4.4 and Images?..
Post by: futaura on April 14, 2020, 02:20:45 PM
Euro72
Multiscan
PAL
VGAOnly

graphics.library 45.27 (2018-09-20)
There is no cybergraphics.library
Thanks for your patience duga - having re-read the entire thread, I now realize that I have been repeating myself a lot! :D

Going back to the https://safir.amigaos.se/main.php site, I can see a problem too on my AGA boot. I presume that some of the PNG files look fine (e.g. the header/logo at top/left and the news item images), but it is all the table/page backgrounds that are not shown correctly? That is what it looks like here.

No problem. It's easier for me to be confident that the fault is in the program now when I have two functional A1200 with different CPU's and OS versions.

Yes, it sounds like you see exactly the same problem as me.


Some stuff that might be of interest, regarding what I call the "garbled graphics" problem:
http://forum.amiga.org/index.php?topic=74037.msg843629#msg843629
ECS and RTG are fine, but not AGA: http://forum.amiga.org/index.php?topic=74037.msg844604#msg844604
https://eab.abime.net/showpost.php?p=1391719&postcount=12
Pleased to say I've fixed this particular issue. It was a bug in the page/table background render code - I had optimised this some years ago, and it was totally unrelated to more recent changes in the image decoders themselves. So, it affects JPEG, GIF and XBM, not only PNG. Images were loaded correctly - it was just that a check was missed in the render code that meant that the OS BltBitMap() was mistakenly being used on one of IBrowse's custom fastmem bitmaps, instead of IBrowse's replacement routine. A nice easy fix in the end. That's why it worked with the fastmem setting off, and also using external decoders (as datatype images go into chipram too).

This fix will be present in IBrowse 2.5.3 (http://www.ibrowse-dev.net/2.5/history.php).