Welcome, Guest. Please login or register.

Author Topic: NetSurf OS3.x Issues  (Read 40915 times)

Description:

0 Members and 7 Guests are viewing this topic.

Offline chris

Re: NetSurf OS3.x Issues
« Reply #149 on: January 23, 2016, 01:00:39 PM »
Quote from: Oldsmobile_Mike;802633
Edit:  I just tried Wikipedia again.  749 seconds, ouch.  Could it be because it redirected my http:// to https:// ?

I don't know why Wikipedia takes so long.  I assume it's the CSS processing but it seems insanely long.

Quote
Is there any chance to get "iconify" working?  I'd love to be able to minimize this thing to quickly get to other icons on my Workbench.

Umm.. possibly.  Are you definitely running NetSurf on the Workbench screen?  As the iconify gadget options don't say they are new, so it should work... but only on the WB screen, if NetSurf is on another screen iconify isn't available (for boring reasons).

Quote from: utri007;802796
Very unstable. Locks Computer in random point, two times it didn't display anything, some times it loaded start page, once I got part of amiga.org displayed. One time it said please insert volume workbench in any drive and amiga freezed.

No gurus or erros, just freezed amiga.

When you find the code that is randomly overwriting memory (or re-using freed pointers?) please let me know.  I'll give a hint: it's somewhere in the OS3-only code, as there are no such problems on OS4.

Unfortunately debugging such things on OS3 is virtually impossible.  Enforcer might give some clues, but as I have no way of figuring out where the offset is pointing to in the source the only way I'm likely to fix this is by accident (or another pair of eyes looking over my source code for silly errors).

btw, it has got worse because I'm allocating some memory in pools now, so the chances of NetSurf overwriting memory NetSurf has allocated is increased.
« Last Edit: January 23, 2016, 01:02:44 PM by chris »
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #150 on: January 23, 2016, 01:22:40 PM »
Have to be some where in AGA used only code, as such a thing doesn't happend with RTG.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chris

Re: NetSurf OS3.x Issues
« Reply #151 on: January 23, 2016, 03:14:48 PM »
Quote from: utri007;802824
Have to be some where in AGA used only code, as such a thing doesn't happend with RTG.


Try friend_bitmap:0
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #152 on: January 23, 2016, 07:11:20 PM »
Quote from: chris;802826
Try friend_bitmap:0


Tested, didn't help.

But I checked it with snoop dos and it reading a helvetica font some hundered times "helvetica read OK". Crash happen when it does those.
 

Please insert volume workbench also happened once again, when it was reading fonts.

Note: This is only with AGA
« Last Edit: January 23, 2016, 07:21:56 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chris

Re: NetSurf OS3.x Issues
« Reply #153 on: January 23, 2016, 07:26:28 PM »
Quote from: utri007;802828
Tested, didn't help.

But I checked it with snoop dos and it reading a helvetica font some hundered times "helvetica read OK". Crash happen when it does those.
 

Please insert volume workbench also happened once again, when it was reading fonts.

Note: This is only with AGA


I was getting weirdness until I switched friend bitmaps back off.

I have fixed some other bugs in the meantime though.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline AcillTopic starter

Re: NetSurf OS3.x Issues
« Reply #154 on: January 23, 2016, 07:33:01 PM »
Been doing some testing on the latest down on my A4000T 060. Its still the same as previous versions. It looks great but is just slow.

What I dont understand is on the version that comes in Amikit under OSX FS-UAE and even on an older E-UAE its lightning fast. Thats even setting my emulation up as an 040. What is different in the build that comes with Amikit and yours? I recorded a quick video and am uploading it to youtube now. Will post the link when it completes.

EDIT:

https://www.youtube.com/watch?v=4ijjYDolchQ
« Last Edit: January 23, 2016, 07:45:38 PM by Acill »
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #155 on: January 23, 2016, 08:17:59 PM »
Quote from: chris;802830
I was getting weirdness until I switched friend bitmaps back off.

I have fixed some other bugs in the meantime though.


I turned OFF backgroung and foreground images and it seems to work. So it is images wich make those problems with AGA.

Acill: I  have tested arthurs version only with real amigas, there is no speed difference. I didn't know that there is a diffrence under the emulation.

Arthur's RTG version is running top of SDL and AGA version is running Novacoder's AGA SDL hack. It is based to framebuffer version of Netsurf wich is meant to be used debugging and with "no gui" systems.  

Chris version is based to ordinary desktop version. He has some problems with GCC version he is using, he can't compile it optimications turned ON.
« Last Edit: January 23, 2016, 09:11:24 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #156 on: January 23, 2016, 11:47:57 PM »
Quote from: chris;802830
I was getting weirdness until I switched friend bitmaps back off.

I have fixed some other bugs in the meantime though.


I think that I found a reason for some problems.

AmiTCP/Genesis has maximum ram usage set to 256kb and buffers to 8092

I increased ram limit to 1024kb and buffers to 20000. After that I couldn't "kill" my Network. Also surfing from amigaworld.net to amiga.org took only 45 seconds. But surfing back to amigaworld.net took some 100 seconds and repeating it took more than 200 seconds.

Same thing with miami and I'm prety sure that Roadshow has those limits also. Because Oldsmobile_mike uses it and has also suffering Network lockups.

I have bought Roadshow and I spend some time installing it, but I couldn't get DHCP working, so I decided forget it. I'm familiar with Genesis and DHCP would have been one advantage over Genesis.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chris

Re: NetSurf OS3.x Issues
« Reply #157 on: January 24, 2016, 12:11:51 AM »
Quote from: utri007;802845
I think that I found a reason for some problems.

AmiTCP/Genesis has maximum ram usage set to 256kb and buffers to 8092

I increased ram limit to 1024kb and buffers to 20000. After that I couldn't "kill" my Network. Also surfing from amigaworld.net to amiga.org took only 45 seconds. But surfing back to amigaworld.net took some 100 seconds and repeating it took more than 200 seconds.

I don't know how those limits relate to anything NetSurf is doing, but you could try changing the following options:
Code: [Select]
/** Maximum simultaneous active fetchers */
NSOPTION_INTEGER(max_fetchers, 24)

/** Maximum simultaneous active fetchers per host.
 * (<=option_max_fetchers else it makes no sense) Note that rfc2616
 * section 8.1.4 says that there should be no more than two keepalive
 * connections per host. None of the main browsers follow this as it
 * slows page fetches down considerably.  See
 * https://bugzilla.mozilla.org/show_bug.cgi?id=423377#c4
 */
NSOPTION_INTEGER(max_fetchers_per_host, 5)

/** Maximum number of inactive fetchers cached.  The total number of
 * handles netsurf will therefore have open is this plus
 * option_max_fetchers.
 */
NSOPTION_INTEGER(max_cached_fetch_handles, 6)

eg. try:
max_fetchers:12
max_fetchers_per_host:2
max_cached_fetch_handles:3

There are timeout and retry options too which might help. http://git.netsurf-browser.org/netsurf.git/tree/desktop/options.h
« Last Edit: January 24, 2016, 12:15:22 AM by chris »
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline AcillTopic starter

Re: NetSurf OS3.x Issues
« Reply #158 on: January 24, 2016, 12:54:56 AM »
I run Roadshow with the mediator fast ethernet included setup and have zero issues, other than the same slowdown you describe going from one site and back.
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #159 on: January 24, 2016, 12:58:01 AM »
AmiTCP log has lots of memory and buffer errors. This problem doesn't exist with AWeb or IBrowse.

Acil: Seems that A4000 users has some difference to A1200 and A2000 users.


Edit :

Quote

max_fetchers:12
max_fetchers_per_host:2
max_cached_fetch_handles:3


Didn't help, it does little slowdown, nothing more.
« Last Edit: January 24, 2016, 01:38:28 AM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #160 on: January 24, 2016, 02:13:33 PM »
I tested this under emulation, most noticeable thing is that there is no Network slow down when surfing. Even login to amiga.org was fast. Got this error after login :

Assertion of condition "perror == parseutils_ok" failed in file "utils/utf8.c", line 135

Problems with amiga tcp/ip software would be logical explanation for that. There is no Network problems even with cycle exact emultion, UAE uses it own Network.

Also there is a big difference compared to Arthur's port, it is indeed much faster under emulation, but not with real amigas.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chris

Re: NetSurf OS3.x Issues
« Reply #161 on: January 25, 2016, 09:15:37 PM »
Quote from: Acill;802849
I run Roadshow with the mediator fast ethernet included setup and have zero issues, other than the same slowdown you describe going from one site and back.


I've managed to reproduce this finally, and I think it's because of the GIF anim that sometimes appears on the aw.net header.

Try:
animate_images:0
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #162 on: January 25, 2016, 11:08:17 PM »
Quote from: chris;802966
I've managed to reproduce this finally, and I think it's because of the GIF anim that sometimes appears on the aw.net header.

Try:
animate_images:0


Didn't help. Problem has nothong to do with amigaworld.net. It just basicly first page loads fast, second one loads about 2x longer than it should, third about 4x longer etc.

It even happens if I go to amiga.org forum or any other page.

I don't know is this some sort of TCP/IP stack problem or not, but I loaded some pages from local hard drive and there was no slow down when changin page. I add 4x memory to genesis 1024kb and increased send / receive buffres to 16184, that didn't help either. Though no memory / buffer erros anymore and it doesn't die if I left Netsurf open for some time.
« Last Edit: January 25, 2016, 11:10:23 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline apj

Re: NetSurf OS3.x Issues
« Reply #163 on: January 26, 2016, 09:01:41 AM »
My NetSurf version compiled with clib2 also gets slower after couple of pages.
Ixemul and libnix versions works normal.

Offline utri007

Re: NetSurf OS3.x Issues
« Reply #164 from previous page: January 26, 2016, 05:09:07 PM »
I made some testing more. Yesterday I browsed some pages from CU-Amiga CD, no slowdown at all. Yesterday just before I went to sleep, I found this site from another thread here http://www.amigahistory.co.uk

That is hard to find site, it pure HTML, build with tables. No CSS or Java. Prety much like those www sites from CU-Amiga CD. It is displayed right even with iBrowse.

No slow down at all, every page loaded same time 10-34 seconds. Could it be possible make a conclusion that TCP/IP is not a problem?
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD