Welcome, Guest. Please login or register.

Author Topic: Netsurf V3.0 Amiga release 2  (Read 30696 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #14 on: November 30, 2009, 11:20:00 AM »
Artur have upload new netsurf.it scroll faster now, get report from a Zorro 2 GFX Card User scroll work same speed as AWEB

http://aminet.net/package/comm/www/NetSurf-68k

hope now scroll work as soon the Page is show.

I test with disabled JIT and now this option value can set to 200.mean the page is redraw every 2 sec,when not all is load complete.

min_reflow_period:200    

and scroll work with 3-5 fps during page load.Is this on classic too ?

if not maybe reduce the fethers.here is setting for slow systems

max_fetchers:4
max_fetchers_per_host:5
max_cached_fetch_handles:6
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #15 on: November 30, 2009, 01:27:08 PM »
I dont know what can be problem with new code.only when press the cursor key new code is execute.so when you get crash after cursor key press, that show some new code is wrong.

maybe you can post enforcer Hit output

also the new code is just simple and replace the memmove code that use CPU

 static bool copy(nsfb_t *nsfb, int srcx, int srcy, int width, int
 height,
 int dstx, int dsty)
{
 // new start
   SDL_Rect src;
   SDL_Rect dst;
   SDL_Surface *sdl_screen = nsfb->frontend_priv;

   src.x=srcx;
   src.y=srcy;
   src.w=width;
   src.h=height;
 
   dst.x=dstx;
   dst.y=dsty;
   dst.w=width;
   dst.h=height;
 
   SDL_BlitSurface(sdl_screen, &src, sdl_screen , &dst);
   return true;
 // new end
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #16 on: November 30, 2009, 03:27:39 PM »
>exec.library CreateIORequest(0x10562290,20)
>Severity 3: size is too small
>PC=105626F8 TCB=10A6E568 ("Netsurf")
>Data: 00000014 FFBFFFFF 0000003A 10559D7C 00000000 00000000 FFFFFFFF 00000000
>Addr: 10562290 105622A4 10561C80 10562290 10564288 10562154 100008D4 1003E1AA
>Stck: 1003E1AA 105626FC 00000000 00000000 10561C80 1003D378 1003E1E6 1002A0F8
>Stck: 10562154 00000000 10561C80 17FFA134 100008D4 1056873C 00FBF2FA 1003E212
>----> 105626F8 - "AmiTCP:devs/netinfo.device" Hunk 0000, Offset 00000140

and this is only with this netsurf and not older Version ?

the output show more a Bug with amitcp netinfo.device.it allocate a too small iorequest structure of size 20.and later the memtrash happen on this 20 byte block
the file a have in OS3.9 is from 1997.and when i start netsurf on winuae, it do not open this file.only usergroup.library
can you post snoopdos log ?

is netinfo.device need from other programs you use ?
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #17 on: November 30, 2009, 05:16:17 PM »
>I try to post to A.Org I can't use the scroll arrow in the box to post my comment

this is a bad Limit of the netsurf framebuffer Version.Hope the netsurf framebuffer devs enhance it soon, maybe over christmas time or next year in google summer of code, there is time to do it.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #18 on: November 30, 2009, 06:08:14 PM »
I dont know how installer work, but the installer should ask if the option file should install.
most users have own options and the settings need change for a classic to get faster speed.

>But start-up doesn't appear to be any faster.

normaly netsurf start very fast.I get report that it show on a classic after 6 sec the startpage.what time you get ?
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #19 on: November 30, 2009, 06:58:50 PM »
>Yep, this happens over here too

that the cursor keys not work in a html input box have nothing to do if SDL or not,because inside a html page there cant use amiga GUI Elememts i think.

so i guess on OS4 or MOS netsurf move the cursor in a html textbox too not work and only backspace work ?

>Can someone kick usergroup.library ? Why use it anyway ?!

I dont know for what ixemul need usergroup.library, but i think when have AOS accessing rights, so for example java script can only access 1 dir is usefull.so i dont remove it.but what usergroup library really can do here i was too lazy to read.It work in that way and wy should i change a running system ;-)

          /* only use usergroup stuff when AmiTCP is started only */
          /* I call OpenLibrary() with the full path since
           * usergroup.library might open yet - some people bypass the
           * "login" command which loads usergroup.library
           */
#ifdef NATIVE_MORPHOS
          p->u_UserGroupBase = OpenLibrary("usergroup.library",1);
#else
          p->u_UserGroupBase = OpenLibrary("AmiTCP:libs/usergroup.library",1);
#endif

          if (p->u_UserGroupBase) {
         struct TagItem ug_list[] = {
             { UGT_INTRMASK, SIGBREAKB_CTRL_C } ,
             { UGT_ERRNOPTR(sizeof(int)), (ULONG)ix_u->u_errno },
             { TAG_END }
         };
         ug_SetupContextTagList(progname, ug_list);
         p->u_networkprotocol = IX_NETWORK_AMITCP;
         break;
          }
      }
« Last Edit: December 01, 2009, 09:47:56 AM by bernd_afa »
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #20 on: December 01, 2009, 09:36:46 AM »
I get the idea to look in usergroup.library for text netinfo.device.

and i find it here.

I also take a closer look on snoopdos and see that on my system too netinfo.device is load.
but i get no memtrash.

I have netinfo.device with size 7604 from 12.Feb.1997

but anyway i disable the load of usergroup.library in future ixemul on default.
If somebody like to use (and know for what this can be usefull in praxis)then he can set the env var ixUseUsergroupLibrary

I find maybe a Bug in ixemul file ixnet_open.c.when the usergroup.library is not find(see above source), then this line

p->u_networkprotocol = IX_NETWORK_AMITCP;

is not execute, so ixemul do not work without usergroup.library.

I check on my system with patchwork.here the io request of netinfo.device is alloc with 24 bytes size.and thats enough to get no memtrash

strange, what netinfo.device you have ?

exec.library CreateIORequest(0x10490B08,24)
Severity 3: size is too small
PC=10E90E24 TCB=10F2C0B0 ("netsurf")
Data: 00000018 FFBFFFFF 0000003A 0000FFFE 10F123AC 00000000 FFFFFFFF 00000001
Addr: 10490B08 10F2C0B0 104893E0 10490B08 1048EFC8 10AADDE4 100008D4 10119892
Stck: 10119892 10E90E28 00000001 00000000 104893E0 10118A60 101198CE 10033C98
Stck: 10AADDE4 00000000 104893E0 1FFFBD8C 100008D4 11018690 00FBF2FA 101198FA
----> 10E90E24 - "AmiTCP:devs/netinfo.device"  Hunk 0000, Offset 00000144

exec.library CreateIORequest(0x10AADE40,24)
Severity 2: ioReplyPort not initialized
PC=10E9116A TCB=10EF4488 ("netinfo.device")
Data: 00000018 7FFFFFFF 00000000 00000000 00000000 00000000 0000001F 00000000
Addr: 10AADE40 10EF4488 00000000 10AADE40 1048EFC8 10AADDE4 100008D4 10EF54C4
Stck: 10EF54C4 10E9116E 00000000 00000000 00000000 00000000 10464CD0 100008D4
Stck: 1047F9B8 00000000 10E910E6 10AADDE4 10464CD0 00000000 00000000 10EF4488
----> 10E9116A - "AmiTCP:devs/netinfo.device"  Hunk 0000, Offset 0000048A

exec.library CreateIORequest(0x10AADE40,24)
Severity 3: size is too small
PC=10E9116A TCB=10EF4488 ("netinfo.device")
Data: 00000018 7FFFFFFF 00000000 00000000 00000000 00000000 0000001F 00000000
Addr: 10AADE40 10EF4488 00000000 10AADE40 1048EFC8 10AADDE4 100008D4 10EF54C4
Stck: 10EF54C4 10E9116E 00000000 00000000 00000000 00000000 10464CD0 100008D4
Stck: 1047F9B8 00000000 10E910E6 10AADDE4 10464CD0 00000000 00000000 10EF4488
----> 10E9116A - "AmiTCP:devs/netinfo.device"  Hunk 0000, Offset 0000048A
depth 32 hidden depth 32
Pixel Format 12
Pixel Format 12
Pixel Format 12
« Last Edit: December 01, 2009, 09:57:28 AM by bernd_afa »
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #21 on: December 01, 2009, 10:12:25 AM »
>Yep, this happens over here too. And if you click on 'quick reply', netsurf selects 'quote'. >And all the buttons [fonts/quotes/link/etc] aren't selectable (javascript ?).

al amiga pages use Java script.I see that because on internet explorer you can switch it so that a reqeuster come and ask user if he want execute scripts.

to see if its java script miss Problem or not, you can use a modern browser and disable Java script and look it its same.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #22 on: December 02, 2009, 09:17:58 AM »
>Much better  thanks  some problems, I just clicked amiaworld APC/TCP news item and I >couldn't browse APC/TCP site? When I scrolled page down amigaword just popped back.

I test it and see that it seem not possible to show page correct when click on a banner.
maybe A User with OS4 netsurf can look if its on OS4 Version the same, to see if its a netsurf bug or a SDL Version Bug.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #23 on: December 03, 2009, 12:00:32 PM »
there need a 16 bit screen.

can somebody post time values of show and scroll from top to down of the http://www.amigaworld.net Page by press of Cursor keys ?

Here are values that look really slow

http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=30109&start=0&post_id=523793&order=0&viewmode=flat&pid=0&forum=2#523673
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #24 on: December 03, 2009, 03:46:01 PM »
when i type in netsurf http://www.amigaworld.net it work ok.I see when click on the link the problem too.


I find now out that netsurf scroll is 3* faster when use 32 bit.if you use 16 bit wb, then this setting can help to start netsurf in fullscreen mode.

best is when user let run netsurf on 32 bit.

to do that change in Options file

fullscreen:1

and some lines below

fb_depth:32

>A general observation is that Netsurf in a 800x600 window on a WB of 800x600, both >betsurf and WB at 16bit is much slower than when I set the resolution of both at >1024x768 with 16 bit depth.

You mean when run netsurf only with 800 width do too slowdown ?
 is possible because most pages are larger as 800 Pixel and so netsurf code need clip horizontal.

normaly netsurf should use at 1024 Pixel width so full Page can show without horizontal scroll.
« Last Edit: December 03, 2009, 03:51:25 PM by bernd_afa »
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #25 on: December 03, 2009, 04:51:30 PM »
>its much faster. Only problem is my LCD monitor doesn't support the frequency I get from >P96 and my CV64 3D in 32 bits. Best I can get is 800x600 32 bit.

maybe you can create a custom resolution 1024*650 or so when your GFX Card have 4 megabyte ram.

But i see that a CV64 3D have 4 megabyte of ram and is able to do 1024*768*32 bit at 70 hz.

http://www.softhut.com/cgi-bin/test/Web_store/web_store.cgi?page=catalog/hardware/accelerators/phase5_cybervision.html&cart_id=

If gfx Card have 2 megabyte ram, you can maybe create a resolution 1024*400*32 bit.
« Last Edit: December 03, 2009, 05:07:53 PM by bernd_afa »
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #26 on: December 06, 2009, 05:59:57 PM »
I find now out when your GFX Card have a rgb16 screenmode scroll is faster as 32 bit.only a rgb16 pc screenmode is slow

if your screenmode requester offer a rgb16 before rgb16 pc mode, you can use fullscreen and set fb_depth:16. so you can workbench with rgb 16 PC mode.

when use newest winuae in expansion tab, there can set for Pixel mode all and winuae show all Pixel modes.so i cans simulate that on winuae too.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #27 on: December 07, 2009, 10:26:19 AM »
I dont know if overclock is need.

what can get with 50 MHZ Pixelclock, is that not 1024*768*32 with at least 60 hz ?

I get now confirm at amigaworld.net that when set the workbench to a rgb16 mode and not to rgb 16 PC, netsurf scroll too in 2 sec on a classic system.

http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=30109&forum=2&start=20&viewmode=flat&order=0#524466

now seem clear, netsurf is not so slow because of SDL graphic and avoid SDL do not help.

graphic speed is boost at factor 3 on his systen, but he get no faster page load times.
but when look on his values they look very slow.maybe amitcp he use is slower
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #28 on: December 07, 2009, 07:36:09 PM »
thanks for your results.

The time 17,5 is this load full page ?

what internet stack you use on classic(miami or amitcp) ?

the scroll speed 7 sec is because your GFX card do not support rbg15 mode (no PC)
what gfx Card you have ?
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: Netsurf V3.0 Amiga release 2
« Reply #29 from previous page: December 08, 2009, 09:52:13 AM »
Quote from: MozzerFan;532986
Yes, full page load of amigaworld.net is 17.5.


And after how many seconds does the page first show and load visible more data ?

the number of the fetchers is important that you can scroll the page before it is full load.
If you have too much fetches there is no time to scroll the page.

so try out to scroll page as soon it is show.most time to read a page or click on a link you need not wait until all is load.

>According to scout, Netsurf always picks the "PC" mode even though non-PC modes are >available and working.

you can maybe try a screenmode Promoter to choose a non PC 16 bit mode.but make sure that you dont change the depth and size of the promotet screen.

but anyway when i have time, i look wy it is so slow.when scroll there need only 10% of the screen new draw and byteswap.the rest of the image can copy 10% up or down with GFX Card blitter

so its strange wy the wrong pixel Mode slow so much down
« Last Edit: December 08, 2009, 11:10:32 AM by bernd_afa »