English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 24 September 2014, 18:36   #101
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
Originally Posted by daxb View Post
I tried NetSurf-AGA 3.2 (Sep 14 2014) on my A1200 AGA 3.1 040/40 32MB again. I still get MuForce hits when mouse moves over navigation screen part (buttons aso.).
I don't get any hits with Enforcer or MuForce. Try maybe with other 68040.library or can you locate what 's wrong with this code ?

Quote:
I uncomment L/Inet-Handler in Assign file. Start MiamiDX (analog modem) what connects to internet.
TCP: is needed only for getvideo. MiamiDX should have it mounted already.
I'll add this info to Readme.

Quote:
Then start Netsurf but the default google.pl site won`t load/displayed. Same for amiga-news.de. IBrowse works fine, so what is wrong here? See attached log file.
Assign netsurf: to your netsurf folder.

Quote:
Assign file:
In the log I saw you use already PROGDIR:. Can you use it also for Netsurf itself instead of using assigns?
Done.

Quote:
I read Netsurf loads a site completely and when finished it displays the site. It is possible to display single parts when loaded instead of waiting for the whole site? If yes, it might be worth doing so.
This need to be done by core developers. You could try with smaller values of these options:
max_fetchers:20 (try 4)
max_fetchers_per_host:6
max_cached_fetch_handles:5

Quote:
How can I change screen mode to DBLPal or any other? With 800x600 in options file it open PalHighRes. If I change the values to my DBLPal solution it still open PalHighRes.
Use this Newmode program from aminet.
arti is offline  
Old 25 September 2014, 17:32   #102
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,307
Seems the navigation hits are gone when I have a correct internet (tcp connection. The google.pl site is loaded now for the first time. My next try was freenet.de but it won`t display. Maybe the lack of memory is responsible (about 24MB fastram + 1,8 chipram free for netsurf). I clicked on the "quiet and restart" button but it just exit and not restart. I can start it from Shell again. Next there was a system crash. Ok. there were other MuForce hits before.

You have removed the assign already (thanks for using progdir: )but would mention that the assing for netsurf fails with RC=20 each time. Also after a manual assign to netsurf that worked.

I`ve tried netsurf with "max_fetchers:4" but it seems that doesn`t make a differnece.

With NewMode I can redirect the screen but it just open the netsurf 640x512 screen on my DBLPal screen not using its resolution of 705x550.

Because of memory usage for different sites it seems I would need much more (32+). Maybe netsurf could reduce mem usage? E.g. load sites without images and/or reducing amount of screen colors. Please let me know if this is possible or not.
daxb is offline  
Old 27 September 2014, 00:21   #103
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
I clicked on the "quiet and restart" button but it just exit and not restart.
Will be fixed.

Quote:
You have removed the assign already (thanks for using progdir: )but would mention that the assing for netsurf fails with RC=20 each time. Also after a manual assign to netsurf that worked.
If you run netsurf from shell, progdir: is folder that is currently open. Mostly c: so netsurf: won't be properly assinged.

Quote:
With NewMode I can redirect the screen but it just open the netsurf 640x512 screen on my DBLPal screen not using its resolution of 705x550.
SDL AGA max supported resolution is 640x512.

Quote:
Because of memory usage for different sites it seems I would need much more (32+). Maybe netsurf could reduce mem usage? E.g. load sites without images and/or reducing amount of screen colors. Please let me know if this is possible or not.
Yes, it's possible. Use this options:
foreground_images:1
background_images:1
animate_images:1
arti is offline  
Old 27 September 2014, 14:42   #104
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,307
I tried with:
memory_cache_size:8192
disc_cache_size:8388608
foreground_images:1
background_images:1
animate_images:1

Unfortunately it run out of memory while loading freenet.de.
I guess disc_cache_size: isn`t active because you cannot config a path for it?

If there exists any other options that can reduce memory usage, please let me know.

I had a look at http://www.netsurf-browser.org/documentation/guide Configuring NetSurf
but alas that doesn`t help much. At least for the "options" file. Maybe you can comment (if it is supported) the options or put the explanation in the readme. Btw. you may change the "Requirements:" in readme: "* Picasso / CGX compatible graphic card or AGA for NetSurfAGA version" or similar.
daxb is offline  
Old 27 September 2014, 15:28   #105
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
foreground_images:1
background_images:1
animate_images:1
I should tell you to change it to 0.

Quote:
Unfortunately it run out of memory while loading freenet.de.
I guess disc_cache_size: isn`t active because you cannot config a path for it?
It's hard set to netsurf:resouces/cache. If it's size is growing then it's working.

Quote:
If there exists any other options that can reduce memory usage, please let me know.

I had a look at http://www.netsurf-browser.org/documentation/guide Configuring NetSurf
but alas that doesn`t help much. At least for the "options" file. Maybe you can comment (if it is supported) the options or put the explanation in the readme.
Here's list of all available options : link.

I'll add it to readme.

Quote:
Btw. you may change the "Requirements:" in readme: "* Picasso / CGX compatible graphic card or AGA for NetSurfAGA version" or similar.
Fixed.

Last edited by arti; 27 September 2014 at 16:14.
arti is offline  
Old 27 September 2014, 23:35   #106
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,307
Quote:
Originally Posted by arti View Post
I should tell you to change it to 0.
Yes, but once again my free memory isn`t enough.

Quote:
It's hard set to netsurf:resouces/cache. If it's size is growing then it's working.
Thanks for the hint. Can`t say if it works. At the moment the size is only 430kb. For the future it would be good to have an option like disc_cache_dir: or something like that, so the user can choose where the cache shall be.

Quote:
Here's list of all available options : link.

I'll add it to readme.
Good. The information is better but some options aren`t good explained, at least for me. E.g. what values an option can have.
daxb is offline  
Old 27 September 2014, 23:40   #107
crazyc
Registered User
 
Join Date: May 2012
Location: Gravesend - UK
Posts: 927
Wow, this is one of the few times I can see any point in my 256mb ram 😃
Doesn't happen often.....
crazyc is offline  
Old 28 September 2014, 20:02   #108
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
100% CPU fix didn't work on AGA version (timer not supported) so I had to make a different workaround.

Works now with LAMIGA+M or click on throbber to switch back to Workbench.

EDIT: now works also with middle mouse button.

Last edited by arti; 28 September 2014 at 20:24.
arti is offline  
Old 29 September 2014, 01:12   #109
ancalimon
Supernormal
 
ancalimon's Avatar
 
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 43
Posts: 1,416
I tried Facebook on my A1200 (060@50, 256MB, AGA). After browser confirmation page, it won't continue. Also I can not select "save this browser" option.

Also I can not scroll right unless I scroll down a bit first.
ancalimon is offline  
Old 30 September 2014, 16:49   #110
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Version 3.3 dev is available: amisoft
arti is offline  
Old 01 October 2014, 02:08   #111
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
Sorry, the version 3.1 was working right with my AmiKit version and very fast (I would complain about some bar written in polish and a link to Youtube), but this 3.3 version doesn't work. Maybe I've missing some assignment as I've got the drawer called NetSurfAGA?

Edit: I've fixed the options just editing them; language and direct links.

Last edited by Retrofan; 01 October 2014 at 20:52.
Retrofan is offline  
Old 01 October 2014, 19:00   #112
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
3.3 finally works for me, partly usable!

Running full version from icon under CGX 16bit

Problems:

1. Assign PROGDIR: ?!?!
This should not happen, it should be silent self allocation thing.
Keep NetSurf: for everything if you still need it.

2. Move over any GFX button produces hits

Code:
01-Oct-14  19:01:38
WARNING: ENFORCER HIT! ======================================================
LONG-READ from 00000024                  PC: 46260BC2
USP:  4692152C SR: 0000 FLSW: 01010200 TCB: 46828E28
Data: 46ECB3C4 00000002 46264E80 00000020 4625C57E 4625C4F6 00000006 46921608
Addr: 00000000 46ECB3C0 46264A9A 46E284A8 4625A1FE 4692158C 46268C88 4692152C
Stck: 46264E80 46E284A8 46264EEA 00000000 46264E80 46E284A8 46ECB3C4 467E60D8
Stck: 46264E71 467E60D8 46264E64 00000307 4697EBD0 4625A23E 46E284A8 46921570
Stck: 4697EBD0 00000007 469812D0 4625A06C 4697EBD0 00000311 4625C80A 46E284A8
Stck: 4625C6B6 4625C834 46E284A8 00000007 469815D0 00000006 00000001 00000000
----> 46260BC2 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 00007FA2
----> $46260bc2: MOVE.L    $0024(A0),-(A7)
----> $46260bc6: JSR       $4625f086.L
----> $46260bcc: MOVE.L    D2,-(A7)
----> $46260bce: JSR       $467bb950.L
----> $46260bd4: MOVE.L    D0,$4682813c.L
----> $46260bda: LEA       $000c(A7),A7
----> $46260bde: MOVE.L    (A7)+,D2
----> $46260be0: RTS
----> 46264E80 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000C260
----> $46264e80: SUBQ.W    #$1,-(A5)
----> $46264e82: MOVEQ     #$20,D2
----> $46264e84: BLS.S     $46264efb
----> $46264e86: MOVEQ     #$72,D1
----> $46264e88: BCS.S     $46264ef8
----> $46264e8a: MOVEQ     #$20,D2
----> $46264e8c: MOVEQ     #$69,D1
----> $46264e8e: MOVEQ     #$65,D2
----> 46264EEA - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000C2CA
----> $46264eea: LEA       $0020(A7),A7
----> $46264eee: CLR.L     D0
----> $46264ef0: MOVE.L    (A7)+,D2
----> $46264ef2: MOVE.L    (A7)+,A2
----> $46264ef4: RTS
----> $46264ef6: MOVE.L    -(A7),$6574(A7)
----> $46264efa: MOVEQ     #$61,D0
----> $46264efc: BEQ.S     $46264f63
----> 46264E80 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000C260
----> $46264e80: SUBQ.W    #$1,-(A5)
----> $46264e82: MOVEQ     #$20,D2
----> $46264e84: BLS.S     $46264efb
----> $46264e86: MOVEQ     #$72,D1
----> $46264e88: BCS.S     $46264ef8
----> $46264e8a: MOVEQ     #$20,D2
----> $46264e8c: MOVEQ     #$69,D1
----> $46264e8e: MOVEQ     #$65,D2
----> 467E60D8 - "RamDisk:NetSurf/NetSurf" Hunk 0002 Offset 000000B8
----> $467e60d8: BGT.S     $467e613f
----> $467e60da: MOVEQ     #$73,D2
----> $467e60dc: MOVEQ     #$72,D2
----> $467e60de: BNE.S     $467e611a
----> $467e60e0: ADDQ.W    #$1,-(A5)
----> $467e60e2: MOVEQ     #$6f,D1
----> $467e60e4: MOVEQ     #$72,D2
----> $467e60e6: BLS.S     $467e614d
----> 46264E71 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000C251
----> 467E60D8 - "RamDisk:NetSurf/NetSurf" Hunk 0002 Offset 000000B8
----> $467e60d8: BGT.S     $467e613f
----> $467e60da: MOVEQ     #$73,D2
----> $467e60dc: MOVEQ     #$72,D2
----> $467e60de: BNE.S     $467e611a
----> $467e60e0: ADDQ.W    #$1,-(A5)
----> $467e60e2: MOVEQ     #$6f,D1
----> $467e60e4: MOVEQ     #$72,D2
----> $467e60e6: BLS.S     $467e614d
----> 46264E64 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000C244
----> $46264e64: MOVE.L    ([$686f6d65.L,A3]),$2e70(A7)
----> $46264e6e: BGT.S     $46264ed7
----> $46264e70: ORI.B     #$65,$7468(A7)
----> $46264e76: BLE.S     $46264ee5
----> $46264e78: BCS.S     $46264ed9
----> $46264e7a: BVC.S     $46264eaa
----> $46264e7c: MOVEQ     #$6e,D0
----> $46264e7e: BEQ.W     $4626a1e5
----> 4625A23E - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000161E
----> $4625a23e: ADDQ.L    #$8,A7
----> $4625a240: MOVE.L    $ffe0(A5),A2
----> $4625a244: UNLK      A5
----> $4625a246: RTS
----> $4625a248: CLR.L     D0
----> $4625a24a: MOVE.L    $ffe0(A5),A2
----> $4625a24e: UNLK      A5
----> $4625a250: RTS
----> 4625A06C - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 0000144C
----> $4625a06c: MOVE.L    D0,A0
----> $4625a06e: ADDQ.L    #$4,A7
----> $4625a070: TST.L     D0
----> $4625a072: BEQ.S     $4625a0bc
----> $4625a074: CLR.L     D0
----> $4625a076: TST.B     $0014(A0)
----> $4625a07a: BEQ.S     $4625a0b4
----> $4625a07c: MOVE.L    $0016(A0),D1
----> 4625C80A - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 00003BEA
----> $4625c80a: MOVE.L    D0,D3
----> $4625c80c: MOVE.L    $00a8(A2),D0
----> $4625c810: LEA       $001c(A7),A7
----> $4625c814: LEA       $4625a1fe.L,A4
----> $4625c81a: CMPA.L    D0,A3
----> $4625c81c: BEQ.W     $4625c78e
----> $4625c820: PEA       $0006.W
----> $4625c824: MOVE.L    D0,-(A7)
----> 4625C6B6 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 00003A96
----> $4625c6b6: LEA       $fff0(A7),A7
----> $4625c6ba: MOVEM.L   D2-D3/A2-A4,-(A7)
----> $4625c6be: MOVE.L    $002c(A7),D2
----> $4625c6c2: MOVE.L    $0030(A7),A3
----> $4625c6c6: MOVE.B    $0037(A7),D3
----> $4625c6ca: MOVE.L    $0028(A7),-(A7)
----> $4625c6ce: JSR       $46259dec.L
----> $4625c6d4: MOVE.L    D0,A2
----> 4625C834 - "RamDisk:NetSurf/NetSurf" Hunk 0000 Offset 00003C14
----> $4625c834: LEA       $0010(A7),A7
----> $4625c838: MOVE.L    $0018(A7),D0
----> $4625c83c: SUB.L     D3,D0
----> $4625c83e: MOVE.L    D0,-(A7)
----> $4625c840: MOVE.L    $0018(A7),D0
----> $4625c844: SUB.L     D2,D0
----> $4625c846: MOVE.L    D0,-(A7)
----> $4625c848: PEA       $0005.W
Name: "NetSurf"   Hunk 0000 Offset 00007FA2
3. On startup and on sizing the window we get debug output on serial port!
We have not asked for any.

Code:
depth 16 hidden depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
bits per pixel 16 ok
bits per pixel 16 ok
screen depth 16
window depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
449BE604
bytes per pix 2
before lock 449A6EA4
after lock
bit 16 byte / Pixel 2 render buffer addr E01CE840 
surface depth of SDL_VideoSurface 16 
Using no Shadowsurface 
SYS_TimerQuit
4. Busy cpu fix for general/main cpu loop is ok, working.
But there is one other situation that hogs all cpu power
and that is when NS tries to download something from the net
everything goes very slow at 100% cpu use.
Network speeds don't go higher then 5-20 K (Miami on 10Mbits here)
and as a result simple pages take 30 secs or more to load (200-500 K size)
So there is something wrong on the network side.

Smaller issues...

5. Mouse pointer gets locked in NS window (usually the left border)

6. On first start NS window has no title. Title works when something has loaded. (Maybe have at least/just Netsurf for the beginning)

7. Default TTF font sizes, I have played a bit with settings, but can't get the right spacing for the text or size of buttons (eg. search engines)
Everything seems to be over spaced out (padded with empty spaces)
Can something be done here, to get a more closer look to what FireFox will produce

8. Input of chars above 127 ASCII?
It should allow at least input of normal 32-127 & 160-256 chars
or allow some form of input conversion to utf-8 before sending to the web (ideal for todays world)

9. url and other input strings. Any chance for better editing ?
eg. shift+del = delete all text in input
same if we could select the string or part of it with the mouse
nothing works so far, just single char editing.

10. Open local file requester or drop file in window to load

11. Where is the stop button ?

Enough for now to work on. Looks very promising ;-)
Michael is offline  
Old 03 October 2014, 01:49   #113
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,414
Quote:
Originally Posted by Michael View Post
3.3 finally works for me, partly usable!

Running full version from icon under CGX 16bit

Problems:


3. On startup and on sizing the window we get debug output on serial port!
We have not asked for any.

Code:
depth 16 hidden depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
bits per pixel 16 ok
bits per pixel 16 ok
screen depth 16
window depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
449BE604
bytes per pix 2
before lock 449A6EA4
after lock
bit 16 byte / Pixel 2 render buffer addr E01CE840 
surface depth of SDL_VideoSurface 16 
Using no Shadowsurface 
SYS_TimerQuit
Enough for now to work on. Looks very promising ;-)
Good feedback

Disabling all debugging code will make it a bit quicker too
NovaCoder is offline  
Old 03 October 2014, 04:00   #114
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
Just noticed that the pixel format should be 5-6-5 (Green is 6 bit in 16 bits)

depth 16 hidden depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
Michael is offline  
Old 04 October 2014, 13:01   #115
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
depth 16 hidden depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
bits per pixel 16 ok
bits per pixel 16 ok
screen depth 16
window depth 16
Pixel Format 5
Pixel Format 5
Pixel Format 5
449BE604
bytes per pix 2
before lock 449A6EA4
after lock
bit 16 byte / Pixel 2 render buffer addr E01CE840
surface depth of SDL_VideoSurface 16
Using no Shadowsurface
SYS_TimerQuit
Disabling this needs recompile of libSDL.
NovaCoder can do this but his lib has bugs atm and don't have timer enabled.
Timer support is needed for CPU not be used 100% all time.
arti is offline  
Old 04 October 2014, 16:16   #116
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
Arti I would like to include your latest 3.3 version in my next update, but as I've said the last working here was 3.1. It gives me a message "Abort Trap -NetsurfAGA".

Do you have any idea?

EDIT: NO, IT WORKS. It just needs the assignment. Sorry and thanks.

Last edited by Retrofan; 04 October 2014 at 16:49.
Retrofan is offline  
Old 06 October 2014, 00:10   #117
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,414
Quote:
Originally Posted by arti View Post
NovaCoder can do this but his lib has bugs atm and don't have timer enabled.
Timer support is needed for CPU not be used 100% all time.
Hiya,

Can you show me what the NetSurf CPU Timer code looks like, we could probably convert it to a thread callback.
NovaCoder is offline  
Old 06 October 2014, 17:43   #118
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
@NovaCoder
http://pastebin.com/JE8Pkbcx
arti is offline  
Old 06 October 2014, 20:46   #119
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
@Michael

Is this version crashing on button move?

NetSurf.7z
arti is offline  
Old 07 October 2014, 02:01   #120
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,414
Quote:
Originally Posted by arti View Post
Doesn't look too tricky, I think we could probably replace that with a thread that just pumps the msg queue (whatever the hell that means).

NovaCoder is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetSurf for AGA arti News 92 14 March 2016 21:44
NetSurf works on the raspberry pi mcbone Amiga scene 2 08 July 2013 05:17
Netsurf 2.8 released for OS4 utri007 News 0 23 September 2011 21:07
netsurf and owb turrican3 support.Apps 7 07 May 2011 14:37
Netsurf 68k utri007 Coders. General 0 09 March 2011 11:30

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11148 seconds with 14 queries