Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: duktape error NetSurf OS3
« Reply #239 from previous page: August 07, 2016, 04:43:23 PM »
Quote from: freeaks;812219
once a page is finished loading, there must be some way to make the scrolling smoother, using buffered surface, and have it to buffer more a bit more than exact screen size could help maybe ?


Hmm... possibly.  The way it is written the page is drawn "JIT", and tiled rendering makes it impossible.  There's no attempt to cache any of the displayed page, even the scrolling happens direct on the window.

It has been noted before, I'm just not sure how to fix it without using oodles of memory or slowing the page draw up front.  Incidentally there's a related bug report: http://bugs.netsurf-browser.org/mantis/view.php?id=2457
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show only replies by freeaks
Re: duktape error NetSurf OS3
« Reply #240 on: August 07, 2016, 07:46:27 PM »
@chris
prepare one more surface render on it, off screen,
once render is done,
flip the switch and display that (buffered) surface?
it's often how it is done for games and dynamic contents.

that, or, you render directly on screen but keep a buffer that is larger than the screen, so when we are scrolling, we don't see the tiles appearing (it would happen just after the boundaries of the physical screen.)
for example if screen is 800x600, you render that once in one chunk,
and then keep a buffer of 900x700 (or a little bit more). so we don't see tiles being created.

i had similar problem in a platform (side scroller a metroid like) game i did once, the game level scrolling as the player progressed, kept appearing in front of him.

once you know the screen size and the tile size, it's easy to see how many tiles you can fit on screen. you could have a loop waiting for the correct amount of tile being rendered before displaying the page.
« Last Edit: August 07, 2016, 07:59:48 PM by freeaks »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #241 on: August 08, 2016, 07:04:04 PM »
Hello guys !
About the rainbow pictures issue, for me the problem has been solved by one of the NetSurf developers (I use AGA), so I can't really help you, sorry.

I tried to contact the NetSurf developers via their mailing list but this doesn't work "you are not allowed to post to this mailing list". How can I join them to talk about the DukTape issue, so ? Do you have an idea ?
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #242 on: August 08, 2016, 08:19:27 PM »
Quote from: DNADNL;812284

I tried to contact the NetSurf developers via their mailing list but this doesn't work "you are not allowed to post to this mailing list". How can I join them to talk about the DukTape issue, so ? Do you have an idea ?


Make sure you're subscribed to it under the email address you're sending from.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #243 on: August 08, 2016, 08:50:54 PM »
Quote from: chris;812286
Make sure you're subscribed to it under the email address you're sending from.

OK, I subscribed with a gmail address (I don't know why, but it didn't accept my personal email address). Now I wait the confirmation mail.

EDIT : OK, I can now re-send the mail.

EDIT 2 : Ah, also, I released a new NetScript version, more user-friendly ! Now, you can easily compile NetSurf for AmigaOS3 with your own modifications.
There is also a QUICK MODE, which is useful if you only want to recompile the netsurf folder quickly (~30 sec-1 min).
Finally, there is also a LOG file created, in case you reach the bad ending.
« Last Edit: August 08, 2016, 09:43:04 PM by DNADNL »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #244 on: August 10, 2016, 04:06:15 PM »
I looked for every files which could contain js in NetSurf but I didn't find the cause of the issue. I don't have any news about the developers (using the netsurf-dev mail list), do you have an idea about or another way to contact them ?

EDIT : @chris I can see the libnsutils compilation doesn't work (so the NetSurf one too)... Do you think it could be due to the changes you've done on it ?
« Last Edit: August 10, 2016, 07:19:04 PM by DNADNL »
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #245 on: August 10, 2016, 11:49:01 PM »
Quote from: DNADNL;812358
I looked for every files which could contain js in NetSurf but I didn't find the cause of the issue. I don't have any news about the developers (using the netsurf-dev mail list), do you have an idea about or another way to contact them ?

The other way is IRC, which is often better ('m not a fan, but it's likely you'll get a response if somebody is on)

Quote
EDIT : @chris I can see the libnsutils compilation doesn't work (so the NetSurf one too)... Do you think it could be due to the changes you've done on it ?

Yeah, I broke it, sorry :(  Fixed now.

Incidentally I'd be interested to hear if you have timer issues - ie. pages which refuse to finish loading, the browser just giving up loading pages after a while, etc - see http://www.amigans.net/modules/xforum/viewtopic.php?post_id=103107#forumpost103107
« Last Edit: August 11, 2016, 12:03:52 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 DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #246 on: August 11, 2016, 05:11:16 PM »
Quote from: chris;812387
The other way is IRC, which is often better ('m not a fan, but it's likely you'll get a response if somebody is on)

I'll see, for the moment I don't have any response since yesterday...

Quote from: chris;812387

Yeah, I broke it, sorry :(  Fixed now.

OK ! Thanks !

Quote from: chris;812387
Incidentally I'd be interested to hear if you have timer issues - ie. pages which refuse to finish loading, the browser just giving up loading pages after a while, etc - see http://www.amigans.net/modules/xforum/viewtopic.php?post_id=103107#forumpost103107

I'm going to check this out. Do you have a typical website which could have this kind of behaviors ? I tried to launch twitch.tv on NetSurf windows (it's the only version available in my computer, currently, I'll test this on AmiKit later) but the page doesn't want to load totally, I guess : http://puu.sh/qxFWG/ed4bc8abae.jpg
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #247 on: August 11, 2016, 06:13:42 PM »
Quote from: DNADNL;812422
I'm going to check this out. Do you have a typical website which could have this kind of behaviors ? I tried to launch twitch.tv on NetSurf windows (it's the only version available in my computer, currently, I'll test this on AmiKit later) but the page doesn't want to load totally, I guess : http://puu.sh/qxFWG/ed4bc8abae.jpg

Yes, the Sourceforge page linked to in the first post... I'm about to commit a fix based on Georg's comments which are looking good so far, so I'm confident this might be fixed.  But if you spot it behaving weirdly there's a load of logging I can enable now :)

I've copied up a new build for OS3 with the fixed scheduler (unfortunately doesn't appear to be the inadvertent cause of Duktape problems)
« Last Edit: August 11, 2016, 07:01:12 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 DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #248 on: August 11, 2016, 08:27:18 PM »
Quote from: chris;812426
Yes, the Sourceforge page linked to in the first post...
I don't have access to it (Error 403), so I can't test... sry ! :-(

Quote from: chris;812426
I'm about to commit a fix based on Georg's comments which are looking good so far, so I'm confident this might be fixed.  But if you spot it behaving weirdly there's a load of logging I can enable now :)
OK, please tell me when you did it, as I can launch NetScript to compile NetSurf for me again and test it on AmiKit.

Quote from: chris;812426
I've copied up a new build for OS3 with the fixed scheduler (unfortunately doesn't appear to be the inadvertent cause of Duktape problems)
We can't always kill two birds with a stone ! ^^

In fact, if you need some help for a french translasion, I'll be glad to help you ! ^^

EDIT : Ah, also, I corrected some JS mistakes, mostly in the netsurf/test/javascript HTML files (I thought this was the cause of the DukTape Issue). If you want, I can give them to you.
« Last Edit: August 11, 2016, 08:47:19 PM by DNADNL »
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #249 on: August 11, 2016, 10:03:57 PM »
Quote from: DNADNL;812436
I don't have access to it (Error 403), so I can't test... sry ! :-(


That's probably correct, it just redirects to a logon screen.

Quote

OK, please tell me when you did it, as I can launch NetScript to compile NetSurf for me again and test it on AmiKit.


It is done.

Quote


In fact, if you need some help for a french translasion, I'll be glad to help you ! ^^


There already is one, but it might need updating.

Quote

EDIT : Ah, also, I corrected some JS mistakes, mostly in the netsurf/test/javascript HTML files (I thought this was the cause of the DukTape Issue). If you want, I can give them to you.


It's best to attach that sort of thing to a bug report.
"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 #250 on: August 14, 2016, 04:38:34 PM »
Tested 11th August version. Colors are OK, but it is still a about 30% slower than version wich used a render library.

Question is, is actually needed to have a no FPU version? Is it so that AGA version still uses a render.library (requires FPU)?

Surfing web with 68k amiga needs all speedups wich are possible. For 68030 cpu Netsurf is "nice to test", but there is no way that it is actually useable or fun to use. Also anyone with 68030 can get a FPU easily. Prety much every 68040/68060 has a FPU. Vampire is different thing, but it will have a FPU eventually.
« Last Edit: August 14, 2016, 07:46:08 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 #251 on: August 14, 2016, 08:23:39 PM »
Quote from: utri007;812552
Tested 11th August version. Colors are OK, but it is still a about 30% slower than version wich used a render library.@


Huh? This version needs guigfx/render.
"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 #252 on: August 14, 2016, 08:48:10 PM »
OK, then it was just temporary slowdown because of internet connection or something. I thought that should I check does it need render libary or not, but I was lazy.
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 freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show only replies by freeaks
Re: duktape error NetSurf OS3
« Reply #253 on: August 15, 2016, 02:13:23 PM »
@chris:
it seems that,  the version which used P96 directly on RTG screens didn't crash on exit. that was good.
now i've dowloaded a new build from you again and it crash on exit as before.

also, a suggestion for your website:
 (beside removing the drawings made by (hopefully) a child. ;)
, i noticed you used php, could you append the date next to the link, when you upload a new build ? with php it will be easily done, automatically.
so we have a mean to know if there's a new build or not, and also when speaking about it, it will be easier to say "the build from 2016_08_15" for example.

and please, make scrolling smoother, it's a pain currently ;)

Thanks
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #254 on: August 15, 2016, 03:23:54 PM »
@freeaks

The intention is the builds will be from CI, the current situation is an interim measure.  The build date is in Project=>About.

I'd like to know more about the crashing, I've not seen that here.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz