Welcome, Guest. Please login or register.

Author Topic: duktape error NetSurf OS3  (Read 32975 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: duktape error NetSurf OS3
« Reply #59 on: July 09, 2016, 12:04:48 AM »
Quote from: utri007;810805
As a side note : I have fblit configured in my 040 / AGA machine. It has huge impact to scrolling speed. Tested old and new versions same time, old version was running my 060 system wich doesn't have fblit installed.

"Cache native versions" will have a huge impact too.  That may or may not counteract any benefit from fblit.

Still puzzled as to why the amiga.org logo is weird colours.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #60 on: July 10, 2016, 01:15:16 AM »
Another new version.  Curious this time as to whether JPEG decoding speed is any different.
"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: duktape error NetSurf OS3
« Reply #61 on: July 10, 2016, 12:08:46 PM »
Quote from: chris;810870
Another new version.  Curious this time as to whether JPEG decoding speed is any different.


040 and AGA loads amiga.org 27 seconds now,  that is big speedup. Was about 35 seconds. Cache native versiona is now auto ON with AGA? Scrolling is faster than with RTG?

060 and RTG seems 2 seconds faster, but that kind of speedup / slowdond can be just a tolerance.
« Last Edit: July 10, 2016, 12:20:58 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: duktape error NetSurf OS3
« Reply #62 on: July 10, 2016, 02:54:00 PM »
Quote from: utri007;810883
040 and AGA loads amiga.org 27 seconds now,  that is big speedup. Was about 35 seconds.


Great!

Quote
Cache native versiona is now auto ON with AGA?


No, but I had broken the "scaled" cache option so that is working again.  Unless I've broken it in the other direction, but I don't think so.

Quote
060 and RTG seems 2 seconds faster, but that kind of speedup / slowdond can be just a tolerance.


It may be that what I've changed isn't relevant for the '060.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #63 on: July 10, 2016, 03:37:20 PM »
Quote from: chris;810890

It may be that what I've changed isn't relevant for the '060.


if its jpg decoding/rendering related it maybe isnt relevant for full color rtg screens vs color reduced aga?
 

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #64 on: July 13, 2016, 07:40:16 PM »
@dnadnl

could you share your changes with me that let you compile duktape so far? or rather how could we corrdinate this. even if im not sure if im going to be of any help.

first of all, where is duktape/binding.h?

edit: äh. stand by. just realized i need first to re-read this thread as well;)
« Last Edit: July 13, 2016, 07:59:27 PM by wawrzon »
 

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #65 on: July 13, 2016, 08:39:14 PM »
lots of warnings.. with duktape files.
however most strange is:
Code: [Select]
COMPILE: frontends/amiga/bitmap.c
frontends/amiga/bitmap.c:35:26: /opt/netsurf/m68k-unknown-amigaos/cross/lib/gcc/m68k-unknown-amigaos/3.4.6/../../../../m68k-unknown-amigaos/sys-include/proto/guigfx.h: Permission denied
frontends/amiga/bitmap.c:36:27: /opt/netsurf/m68k-unknown-amigaos/cross/lib/gcc/m68k-unknown-amigaos/3.4.6/../../../../m68k-unknown-amigaos/sys-include/guigfx/guigfx.h: Permission denied
frontends/amiga/bitmap.c:37:27: /opt/netsurf/m68k-unknown-amigaos/cross/lib/gcc/m68k-unknown-amigaos/3.4.6/../../../../m68k-unknown-amigaos/sys-include/render/render.h: Permission denied
i dont get how these particular files got their attributes as unreadable to anyone..;)

edit: compiled!
however just realized i dont have a setup to test on, as i only have aros68k here. maybe ill find 3.9 on another computer..
« Last Edit: July 13, 2016, 09:15:15 PM by wawrzon »
 

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #66 on: July 13, 2016, 09:43:34 PM »
chris, wouldnt that be best to get rid of the warnings first? who knows if these dont let the duktape work. even though it might be some endian issue as with webkit. does that currently work on ppc?
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #67 on: July 13, 2016, 10:50:24 PM »
Easiest / fastest way to get setup wich works with it, is buy Amiga Forever, it works also with Cloanto's OS3.X

Only thing needed is usergroup.library from Ami TCP install.

As far I can tell, Ducktape works wit PPC, as it is currently used as Netsurf java script engine. If anything isn't changed lately?
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: duktape error NetSurf OS3
« Reply #68 on: July 14, 2016, 12:00:51 AM »
Quote from: wawrzon;811072
chris, wouldnt that be best to get rid of the warnings first? who knows if these dont let the duktape work.

Yes, there's a ton of warnings :( Most of them are because of Gadget*/Object* definition changes in OS4. It's possible there's some genuine error hidden amongst them, but there are hardly any warnings when building for OS4.

Quote
even though it might be some endian issue as with webkit. does that currently work on ppc?

Yes.

I did have to add ppc-amigaos support to Duktape initially, but 68k doesn't complain and there have been a lot of configuration changes since then. It's possible something is misconfigured in Duktape (their website says it works on Amiga m68k with VBCC)
« Last Edit: July 14, 2016, 12:10:20 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 apj

Re: duktape error NetSurf OS3
« Reply #69 on: July 14, 2016, 08:12:45 AM »
Duktape works in my ixemul version.
I haven't tried with libnix yet.

Offline chris

Re: duktape error NetSurf OS3
« Reply #70 on: July 14, 2016, 10:54:14 AM »
Quote from: apj;811091
Duktape works in my ixemul version.
I haven't tried with libnix yet.


Have you tried it with clib2?
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline apj

Re: duktape error NetSurf OS3
« Reply #71 on: July 14, 2016, 09:26:14 PM »
Quote from: chris;811099
Have you tried it with clib2?


Yes, it has not compiled but it has with libnix.

Offline chris

Re: duktape error NetSurf OS3
« Reply #72 on: July 14, 2016, 11:26:10 PM »
Quote from: apj;811120
Yes, it has not compiled but it has with libnix.


It doesn't compile or it doesn't run?
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline apj

Re: duktape error NetSurf OS3
« Reply #73 on: July 15, 2016, 07:25:26 AM »
Quote from: chris;811125
It doesn't compile or it doesn't run?


Sorry, doesn't run. Same error :

FATAL 56: uncaught error
PANIC 56: uncaught error (calling abort)
Abnormal program termination

Offline chris

Re: duktape error NetSurf OS3
« Reply #74 from previous page: July 15, 2016, 10:04:39 AM »
Quote from: apj;811128
Sorry, doesn't run. Same error :

FATAL 56: uncaught error
PANIC 56: uncaught error (calling abort)
Abnormal program termination


OK, that's what I get too.  It looks like that output is from Duktape, so obviously clib2 is doing something it doesn't like.

Really needs somebody to trace Duktape to see where it is failing.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz