Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« on: August 05, 2016, 11:08:41 PM »
@dnadnl,
i've just tested your build from github, i have to report: it is quite slower than chrisY's and the color are wrong too. (tested on uae, rtg)

@chrisY: your build is faster, color are good.
is there anychance you could release a nofpu build so vampire owner could use you netsurf port ?

fpu support for vampire is coming, but meanwhile there's a good number of users that cannot run your build of netsurf and would like to play with it a lot :)

myself too i ordered a vampire so, there is interest for your 68k port of netsurf, thanks for doing it!
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #1 on: August 06, 2016, 12:04:54 AM »
@dnadnl: thanks for building a new version :)

@chris: i don't have my vampire yet, it's on the road, being delivered to me. meanwhile i'm testing with uae. i'll check with the other vampire owners if they can run your last beta build as you say they should be  able to. if so then good news :)
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #2 on: August 06, 2016, 01:19:04 AM »
@utri007:
i alway spoke about the latest beta version from here:
http://cy2.uk/netsurfos3
that is the link available from chris page.

@chris:
 you were correct, it seems your latests version can now run on vampire.
thanks a lot for this.

@dnadnl:
thanks for the new build, i'll test it and report. i'm sure others will do so as well.

i have to report something i noticed though,
netsurf is slow to render,
and then slow to scroll even local pages with no javascript and minimal css.
i'm  not bashing, just telling. i think that even if local pages are slow to  render like that, there must be a real problem in the code.
maybe at least the scrolling could be made better with some buffering of the whole page once it is loaded ?

anyway, it is getting better and better and that's great.
keep up the good work :)
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #3 on: August 06, 2016, 09:13:08 AM »
Quote from: DNADNL;812167
Welcome to the Nineties ! XD This wonderful time when to load a web page, you had to wait every square to be desplayed, and you could see them appear, square by square,from top/left to bottom/right ! ^^

yes, about that, i have a question:
could it be possible to have netsurf to display page loading progressively ?
like every other browser on the planet?
with netsurf it feel mostly like 'all or nothing' meaning we see nothing happen, no progress and then suddenly new the page is completely loaded.
it would be better to see loading happening progressively, we would have a bit less the feeling of waiting.
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #4 on: August 06, 2016, 12:35:50 PM »
@chris, maybe it's just me but, when i load a page with netsurf, i have the impression that nothing happen, nothing moves or changes, and suddenly the finished page appear.
whereas on other browsers, when i load a page, it displays the load as it happens, text and images being loaded. (they might not have their final appearance or placement yet). what i'm trying to say is: on other browsers the page being loaded gets contructed before your eyes. on netsurf it less visible. it's more like: you click a link, nothing happens, you wait.. you wait, and then: 'done' all of sudden.
it would be nice if netsurf could show what it have loaded so far as it gets it, while structuring the datas in their final shapes and placements.
maybe showing the page without css (like ibrowse or aweb) while its parsing css and aranging the page layout in the background, and when its done flip the switch and show the correct final page.
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #5 on: August 06, 2016, 09:01:49 PM »
with latest version, netsurf don't crash anymore on exit :)
oh and i must say i prefer current status bar and scrollbars. it looks better than before.
« Last Edit: August 06, 2016, 09:14:32 PM by freeaks »
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #6 on: August 07, 2016, 09:52:18 AM »
Quote from: chris;812199
Interesting.
I haven't touched these for years!


i must have confused with another port i tested then.
i tried linux and osx version too.

and on amiga i tested arti's port also. (sdl based UI).
btw, something on arti's port make his version faster.
the scrolling, for example, is smoother.
if you could find some time to investigate this, it would lead to better user experience.
(i tried to set "redraw_tile_size_x and y to size of screen, it did help, just a bit though, but barely noticable.
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 ?

in any case, the crash on exit being fixed is really nice.
resources are also freed correctly, that's good :)
« Last Edit: August 07, 2016, 10:19:37 AM by freeaks »
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #7 on: August 07, 2016, 10:59:18 AM »
Quote from: utri007;812220
freeaks: You have made you testing with UAE?


yes i did test both in uae, same settings.
chris port was scrolling slower than arti.

it is a valid comparison.
since uae settings were the same.
can you explain why wouldn't that be valid ?

(btw, i am not using max performance,
i did set: no JIT, and cpu speed is 32mips.
that way, when i receive my vampire, it will feel like a good boost :)
« Last Edit: August 07, 2016, 11:03:54 AM by freeaks »
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #8 on: August 07, 2016, 12:46:57 PM »
@utri007
ok this is not the place to argue with you about uae.
but you could at least test arti's recent build before talking.
don't assume too much, let's just speak about facts.

i talked with a vampire owner that told me arti's scrolling was quite smooth on his vampire.
there's a video that showcase this, as you can see here:

https://www.youtube.com/watch?v=8AoZireGWtc

scrolling is very good with arti's port.
this is not the case with chris port just yet.
« Last Edit: August 07, 2016, 12:50:33 PM by freeaks »
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #9 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 freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #10 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 freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #11 on: August 15, 2016, 05:56:47 PM »
@chris,

about the build date: the goal was to avoid unnecessary downloads and installs just to check freshness of the link..
what you say makes me as a user, download and install new copy of netsurf just to check if it was updated or not. this is not practical. better put a date string beside the download link.

about the crash, sur,e i'd be willing to give any output i could,
what tool do you suggest to get you more info ?
right now i can see the usual:

"NetSurf
Program failed (error #80000004)
Wait for disk activity to finish."

that probably won't help you much, i'm a bit rusty about amiga things,
what kind of tool was there, was it 'sashimi' that software that could give more detailled debug output ?
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #12 on: August 15, 2016, 06:44:36 PM »
yes i'm using uae at the moment,
this week i will switch to a600 + vampire (i'm waiting for parts)

i have mungwall, enforcer and sashimi running in the background.
when i quit netsurf, i get the crash, but nothing from those tools is reported.
whereas for the previous build that was direct p96 on rtg,
i had gfx corruption, but no crashs on exit.
i can reproduce this everytime.
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #13 on: August 15, 2016, 07:06:36 PM »
i installed smartcrash, does this info helps ?
http://alturl.com/rc56g  (pic of smartcrash requester)

edit: i have 128mb allocated to amiga
« Last Edit: August 15, 2016, 07:42:28 PM by freeaks »
 

Offline freeaks

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 30
    • Show all replies
Re: duktape error NetSurf OS3
« Reply #14 on: August 15, 2016, 08:46:13 PM »
i don't think it will be useful for this but, here is the snoopdoslog:
http://paste.debian.net/789741/