Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: duktape error NetSurf OS3
« Reply #89 on: July 21, 2016, 01:07:49 AM »
Try setting your language to English in Locale - could be something wrong with the French Messages file.
"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 #90 on: July 21, 2016, 07:27:45 PM »
Quote from: chris;811398
Try setting your language to English in Locale - could be something wrong with the French Messages file.
I just tried this. Well, I don't have the same issue but another, now ! ^^
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #91 on: July 21, 2016, 08:52:44 PM »
Quote from: DNADNL;811440
I just tried this. Well, I don't have the same issue but another, now ! ^^


OK, it's probably worth looking at the French Messages file and seeing if there is anything odd around the ToolButtons line.

Quote




Try disabling the disc cache. disc_cache_size:0 in Choices (in Users/default)
"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 #92 on: July 21, 2016, 09:11:49 PM »
Quote from: chris;811445
OK, it's probably worth looking at the French Messages file and seeing if there is anything odd around the ToolButtons line.



Try disabling the disc cache. disc_cache_size:0 in Choices (in Users/default)
OK, I added the line in the choices file of both english and french version... and that works !
Well, it's not so beautiful (I'm without DukTape) and it crashes if we do lots of actions, but that works ! Yay !

EDIT : I have some SSL cetificates issues, too :

In any case, thanks four your help, all !
« Last Edit: July 21, 2016, 09:25:26 PM by DNADNL »
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #93 on: July 22, 2016, 05:59:45 AM »
Quote from: DNADNL;811447
OK, I added the line in the choices file of both english and french version... and that works !
Well, it's not so beautiful (I'm without DukTape) and it crashes if we do lots of actions, but that works ! Yay !

EDIT : I have some SSL cetificates issues, too :

In any case, thanks four your help, all !


That is ugly, what kind of setup is this?

I haven't had that serious color problem ever.
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 wawrzon

Re: duktape error NetSurf OS3
« Reply #94 on: July 22, 2016, 01:05:13 PM »
Quote from: utri007;811465
That is ugly, what kind of setup is this?

I haven't had that serious color problem ever.

strange. we had and still certainly have a number of pixel format problems displaying images here. denying this doesnt help to improve anything.

best thing would be to gather precise list of correctly displaying formats and those being off, maybe even with a small picture to illustrate whats wrong. can you specify it on your side, dnadnl? i dont remember how to do that exactly, but i have found the following hint:
Quote
You can use GetVPModeID to get the mode ID of the current screen and then for example p96GetModeIDAttr to find out the pixel format.

edit: i might look at aros tests, perhaps there is one that reports pixel format and can be compiled without aros libraries. we might need a handy tool to determine pixel formats.

i think its important issue, because its always the problem especially with web browsers, due to fact that amiga rtg solutions provide a number of different modes. and what looks right on one setup will look backwards on another.
« Last Edit: July 22, 2016, 01:10:24 PM by wawrzon »
 

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #95 on: July 22, 2016, 01:52:33 PM »
in aros68k nightly iso there is test/graphics/CGXtest utility.

http://netcologne.dl.sourceforge.net/project/aros/nightly2/20160721/Binaries/AROS-20160721-amiga-m68k-bootiso.zip

i d expect it to run on genuine amiga system, it doesnt seem to need any aros specific headers, so i doubt it gets linked against aros libraries. and if it does, it shouldnt be a problem to be recompiled with amiga compiler. the source is just a single file in corresponding directory in the aros sources:

http://netcologne.dl.sourceforge.net/project/aros/nightly2/20160721/Sources/AROS-20160721-source.tar.bz2
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #96 on: July 22, 2016, 04:11:02 PM »
Quote from: wawrzon;811478
strange. we had and still certainly have a number of pixel format problems displaying images here. denying this doesnt help to improve anything.


Netsurf logo is displayded "about right", with AGA. No dithering and it is like it's using only few colors. Never seen that rainbow effect before that DNADNL's pictures have. With RTG prety much every image is displayed as it should be dispalyed, at leeast I don't have noticed anything weird.

AGA has serious problems with amiga.org logo (jpg) but not with amigaworld.net logo (gif)

Chris fixed something and now buttons look about right. AGA has general problems, every single image looks weird even if it is diplayed somewhat right, but most noticeable is with some jpg / png pictures.

Right side of amigaworld.net is changing banner, amiga future banner is unreadable, but colors are right. :) It is animated gif. It is like it would be resized small and after that big again. Losing about 75% of it's pixels?
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 DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #97 on: July 22, 2016, 04:29:08 PM »
Quote from: utri007;811465
That is ugly, what kind of setup is this?

I haven't had that serious color problem ever.

The setup is quite specific ! ^^

In fact, I'm on an UAE4ARM-based distribution for the Raspberry Pi micro-computer, called Happiga (If you want to try, here is the link : http://happi-game-center.com/ . Sorry, only the french language seems available). At the beginning, it was just an emulator to make old games work, but its designer decided to add recently the bsdlibrary (for the Internet connection). So, I thought it could be a great idea porting NetSurf for Happiga, because with this, Happiga could be used as a real OS on Rasberry Pi, and this could make Amiga revive again ! Well, maybe I go too far... but it would be so cool ! ^^
Also, I used a 3.9 workbench on it, but we can use every workbench you can find on the Internet.

Quote from: wawrzon;811478
strange. we had and still certainly have a number of pixel format problems displaying images here. denying this doesnt help to improve anything.

best thing would be to gather precise list of correctly displaying formats and those being off, maybe even with a small picture to illustrate whats wrong. can you specify it on your side, dnadnl? i dont remember how to do that exactly, but i have found the following hint:


edit: i might look at aros tests, perhaps there is one that reports pixel format and can be compiled without aros libraries. we might need a handy tool to determine pixel formats.

i think its important issue, because its always the problem especially with web browsers, due to fact that amiga rtg solutions provide a number of different modes. and what looks right on one setup will look backwards on another.

I don't know how to do this at all ! ^^ But maybe I could find (or create) a website displaying a same image in different formats, to see those who are well displayed (or not). But sometime, the picture is displayed, sometimes, not, sometimes with weird colours... I'm not sure I can really count on NetSurf on Happiga, now, as it is unstable.

Quote from: utri007;811488
Netsurf logo is displayded "about right", with AGA. No dithering and it is like it's using only few colors. Never seen that rainbow effect before that DNADNL's pictures have. With RTG prety much every image is displayed as it should be dispalyed, at leeast I don't have noticed anything weird.

AGA has serious problems with amiga.org logo (jpg) but not with amigaworld.net logo (gif)

Chris fixed something and now buttons look about right. AGA has general problems, every single image looks weird even if it is diplayed somewhat right, but most noticeable is with some jpg / png pictures.

Right side of amigaworld.net is changing banner, amiga future banner is unreadable, but colors are right. :) It is animated gif. It is like it would be resized small and after that big again. Losing about 75% of it's pixels?

That's right, I use the AGA Chipset configuration for Happiga. I followed a video game-oriented tutorial, so maybe that's not the best solution to use... I can tru others chipsets if you want (I have OCS, ECS Agnus, Full ECS, AGA, and I can enable NTSC, too).
« Last Edit: July 22, 2016, 05:13:32 PM by DNADNL »
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #98 on: July 22, 2016, 05:02:44 PM »
Quote
That's right, I use the AGA Chipset configuration for Happiga. I follow a video game-oriented tutorial, so maybe that's not the best solution to use... I can tru others chipsets if you want (I have OCS, ECS Agnus, Full ECS, AGA, and I can enable NTSC, too).


Netsurf requires 8bit screen, so AGA is minium?
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 DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #99 on: July 22, 2016, 06:09:26 PM »
Quote from: utri007;811491
Netsurf requires 8bit screen, so AGA is minium?
Actually, my screen was setup like this (that was possible thanks to Picasso96) : UAE: 800x600 32bit RGBA. I don't know if it answers the question... I tried with a setup like UAE: 800x600 8bit, but it does the same for the pictures.
« Last Edit: July 22, 2016, 07:23:18 PM by DNADNL »
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #100 on: July 22, 2016, 07:44:13 PM »
Just noticed from earlier post, that you have stability issues with Netsurf. It has been very stable here both of my machines.

Issues wich has been caused a reboot (A+A+CTRL) has been TCP/IP stack dies, wich doesn't seems to happen anymore?
Page loads too long time and Netsurf is unresoponsive.

I think that Netsurf hasn't crash my amiga long time.
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 DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #101 on: July 22, 2016, 07:57:02 PM »
Quote from: utri007;811499
Just noticed from earlier post, that you have stability issues with Netsurf. It has been very stable here both of my machines.

Issues wich has been caused a reboot (A+A+CTRL) has been TCP/IP stack dies, wich doesn't seems to happen anymore?
Page loads too long time and Netsurf is unresoponsive.

I think that Netsurf hasn't crash my amiga long time.
That's the type of issues I have : running out of memory (I gave NetSurf 128 Mb RAM memory and 0 Mb disc memory, I can't give disc memory to NetSurf or it won't want to start), reboot needed, SSL certificates issues, ...
Plus, I just tried to load any famous image format (via a quick website I created : http://iesmtp.esy.es/), but none of them weredisplayed well and often were totally green (the most closed to the original shape was the PNG file and the GIF one).
« Last Edit: July 22, 2016, 08:02:05 PM by DNADNL »
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #102 on: July 22, 2016, 08:00:31 PM »
Quote from: DNADNL;811501
That's the type of issues I have : running out of memory (I gave NetSurf 128 Mb RAM memory and 0 Mb disc memory, I can't give disc memory to NetSurf or it won't want to start), reboot needed, SSL certificates issues, ...
Plus, I just tried to load any famous image format (via a quick website I created : http://iesmtp.esy.es/), but none of them weredisplayed well and often were totally green (the most closed to the original shape was the PNG file).


I would be happy to contribute, but I'm currently in Greece. Back home next monday.
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 DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #103 on: July 22, 2016, 08:07:44 PM »
Quote from: utri007;811503
I would be happy to contribute, but I'm currently in Greece. Back home next monday.
No problem, don't worry ! ^^
While you are about it, I will be able to work on NetScript and globally AmigaOS only until the end of August, as I will go back to France (I'm in Canada, now) and I don't have any way to test NetSurf on Amiga, there.
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #104 from previous page: July 23, 2016, 01:48:14 AM »
Quote from: utri007;811491
Netsurf requires 8bit screen, so AGA is minium?

Actually it shouldn't care, run it on a 1-bit screen if you like.

Quote from: DNADNL;811496
Actually, my screen was setup like this (that was possible thanks to Picasso96) : UAE: 800x600 32bit RGBA. I don't know if it answers the question... I tried with a setup like UAE: 800x600 8bit, but it does the same for the pictures.

a) ARGB is preferred/expected. It shouldn't matter, but it might.
b) friend_bitmap:1 forces NetSurf's rendering bitmaps into the same format as the screen. If you're running 32-bit this will happen anyway.
c) Images are quantised using guigfx, you might want to try out the demos to see if they work as expected.
d) Depending on what you've done with your config, you might find NetSurf opens its own screen and isn't in the format you think it is.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz