OWB bugs
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    I've found a bug in OWB 1.20.

    When I use Gmail in "enhanced" mode, the browser keeps eating up a little memory at the time until the whole RAM is gone. It fixes easily by closing Gmail.

    Maybe something you can do, Fab? :)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »07.08.13 - 21:46
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    I have a question for Fab if he's reading this.

    Are you planning on keeping WebKit as the engine for Odyssey or migrating to the Blink engine at some point?

    Or are you just waiting and seeing what transpires?
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »08.08.13 - 10:50
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Are you planning on keeping WebKit as the engine for Odyssey or migrating
    > to the Blink engine at some point?

    I think I read that there's some intertwining in place (or at least planned) between Blink and the V8 JavaScript engine. Thing is that so far, V8 is only available for x86(-64), ARM and MIPS. There've been attempts at porting it to Power Architecture but none has come to pass so far.
    (Yes, I know I'm not Fab but replied anyway ;-)
  • »08.08.13 - 11:38
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    BSzili
    Posts: 559 from 2012/6/8
    From: Hungary
    I don't think there would be any point in migrating to Blink, because as Andreas said it's tied to V8. It's basically google's customized webkit fork for Chrome. As a result of the fork Webkit will be smaller, because they are removing Google's cruft from it.
    This is just like television, only you can see much further.
  • »08.08.13 - 11:44
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Andreas_Wolf wrote:
    > Are you planning on keeping WebKit as the engine for Odyssey or migrating
    > to the Blink engine at some point?

    I think I read that there's some intertwining in place (or at least planned) between Blink and the V8 JavaScript engine. Thing is that so far, V8 is only available for x86(-64), ARM and MIPS. There've been attempts at porting it to Power Architecture but none has come to pass so far.
    (Yes, I know I'm not Fab but replied anyway ;-)


    :)

    Ah yes I didn't think about that.

    So if I understand correctly then, the JavaScriptCore engine currently used in Webkit has two versions. One for x86/64/arm that JIT compiles the JS and another for PPC et al that is purely an interpreter?

    Or is there just one engine and it also JITs for PPC too?

    If the former, what happens if/when Webkit drops their interpreter?

    Just thinking out loud. :)
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »08.08.13 - 12:24
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Just found this interesting project from an IBM employee whose full-time job is to get V8 working perfectly on PPC.

    https://groups.google.com/forum/#!msg/v8-dev/06ReYVfFgGA/KO9Xr4SEBhQJ

    So there could be a slim chance for a Blink based browser on MOS at some point. ;)
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »08.08.13 - 12:45
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > So if I understand correctly then, the JavaScriptCore engine currently used in Webkit
    > has two versions. One for x86/64/arm that JIT compiles the JS and another for PPC
    > et al that is purely an interpreter?

    Yes. You can read more from Fab there:

    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=37255&forum=46#697350
    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=37255&forum=46#697354

    > Or is there just one engine and it also JITs for PPC too?

    No.

    > If the former, what happens if/when Webkit drops their interpreter?

    Given that they quite recently changed their interpreter to a new one, I don't think they'll drop it.
  • »08.08.13 - 13:04
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Just found this interesting project from an IBM employee whose full-time job is to
    > get V8 working perfectly on PPC.
    > https://groups.google.com/forum/#!msg/v8-dev/06ReYVfFgGA/KO9Xr4SEBhQJ

    Nice find, and sounds promising :-)

    "July 23th 95% of the tests were passing. (with crankshaft!)"
    https://github.com/andrewlow/v8ppc
  • »08.08.13 - 13:10
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Andreas_Wolf wrote:
    > Just found this interesting project from an IBM employee whose full-time job is to
    > get V8 working perfectly on PPC.
    > https://groups.google.com/forum/#!msg/v8-dev/06ReYVfFgGA/KO9Xr4SEBhQJ

    Nice find, and sounds promising :-)


    I want, I want, I want! :)
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »08.08.13 - 13:15
    Profile
  • ASiegel
    Posts: 1376 from 2003/2/15
    From: Central Europe
    Quote:

    Intuition wrote:
    Just found this interesting project from an IBM employee whose full-time job is to get V8 working perfectly on PPC.

    https://groups.google.com/forum/#!msg/v8-dev/06ReYVfFgGA/KO9Xr4SEBhQJ

    So there could be a slim chance for a Blink based browser on MOS at some point. ;)


    Very cool, and about damn time :-)
  • »08.08.13 - 16:48
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    ASiegel wrote:
    Quote:

    Intuition wrote:
    Just found this interesting project from an IBM employee whose full-time job is to get V8 working perfectly on PPC.

    https://groups.google.com/forum/#!msg/v8-dev/06ReYVfFgGA/KO9Xr4SEBhQJ

    So there could be a slim chance for a Blink based browser on MOS at some point. ;)


    Very cool, and about damn time :-)



    Perhaps this project and all that Open POWER stuff in the press recently is the beginning of IBM trying to push PPC back towards the mainstream?

    Then again, it's probably just so they can run node.js on V8 on POWER servers.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »08.08.13 - 17:43
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2057 from 2003/6/4
    Quote:

    Intuition wrote:

    Perhaps this project and all that Open POWER stuff in the press recently is the beginning of IBM trying to push PPC back towards the mainstream?

    Then again, it's probably just so they can run node.js on V8 on POWER servers.

    Google is part of the Open POWER initiative, maybe there's some link between that.
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »08.08.13 - 20:48
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    On the other hand, i think it's nice that google doesn't touch webkit svn anymore. They introduced quite some mess that i'm happy to see gone. So going to blink doesn't look very appealing to me for now.

    Implementing the llint ppc backend in webkit would be easier than JIT and would provide a 2-3x speedup already. And actually, the responsible for leopard webkit project also started to work on JIT, trying to integrate tenforfoux's one. It's already functional for YARR jit (regexp stuff), but for javascript, many trampolines still have to be written.

    [ Edited by Fab 09.08.2013 - 10:50 ]
  • »09.08.13 - 09:49
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    Scrub that.

    Must have messed uip some settings somewhere.

    [ Edited by boot_wb 09.08.2013 - 11:18 ]
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »09.08.13 - 10:11
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    Update:

    > "July 23th 95% of the tests were passing. (with crankshaft!)"
    > https://github.com/andrewlow/v8ppc

    "August 9th 98% of the tests were passing. (with crankshaft!)"
  • »10.08.13 - 12:05
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Andreas_Wolf wrote:
    Update:

    > "July 23th 95% of the tests were passing. (with crankshaft!)"
    > https://github.com/andrewlow/v8ppc

    "August 9th 98% of the tests were passing. (with crankshaft!)"


    It's looking very promising but Fab has
    made it clear he's sticking with WebKit, so unless he changes his mind or someone else starts a new browser based on Blink/V8 it doesn't look likely it will be coming our way anytime soon.

    Does anyone know what GUI toolkit Chromium uses? Not that it makes much difference to us anyway. :)
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »10.08.13 - 14:10
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Then again, it's probably just so they can run node.js on V8 on POWER servers.

    While it's about node.js, it's apparently not just about IBM POWER:

    "If you're G4 Powerbook is running Linux - I think you _are_ the target market :)"
    https://groups.google.com/forum/#!topic/nodejs/ivGMr-C_m1Y


    Edit: The author plans to talk about his work 4 months from now:

    https://www.eclipsecon.org/na2014/session/nodejs-powerpc-story-about-porting-nodejs-v8
    https://www.eclipsecon.org/na2014/sites/default/files/slides/Andrew%20Low%20-%20PowerNode.pdf


    Edit2: Final version added:

    https://www.eclipsecon.org/na2014/sites/default/files/slides/Node.js%20on%20PowerPC.pdf
    http://lowtek.ca/talks/2014-03-19-EclipseCon/

    [ Edited by Andreas_Wolf 20.03.2014 - 20:13 ]
  • »12.09.13 - 01:40
    Profile
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    Quote:

    Yasu wrote:
    I've found a bug in OWB 1.20.

    When I use Gmail in "enhanced" mode, the browser keeps eating up a little memory at the time until the whole RAM is gone. It fixes easily by closing Gmail.

    Maybe something you can do, Fab? :)


    GMail and enhanced mode has nothing to do with it. I get it even if I don't use Gmail. The RAM just keep draining out by itself even if I am at kitchen drinking coffee.
    www.mikseri.net/hooligan <- Free music
  • »12.09.13 - 04:50
    Profile Visit Website
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    Quote:

    hooligan wrote:
    Quote:

    Yasu wrote:
    I've found a bug in OWB 1.20.

    When I use Gmail in "enhanced" mode, the browser keeps eating up a little memory at the time until the whole RAM is gone. It fixes easily by closing Gmail.

    Maybe something you can do, Fab? :)


    GMail and enhanced mode has nothing to do with it. I get it even if I don't use Gmail. The RAM just keep draining out by itself even if I am at kitchen drinking coffee.



    As said, it's incompetent webkit (mainly javascript core) developers' fault. They just leak the mem without any care. It happens with all WebKit based browsers, but on other systems there's virtual mem to lean on. And as someone once said, Apple fixed this issue by going to 64 bit to be able use more ram ;)

    Fab has already done much for it. He has made the browser quit and release the leaked mem if you ran out of it, instead to just crash and burn, but he can't change all mem allocations etc in the whole code himself.. it's just that really bad coding manners they have today on big world where they don't have to care about resources.

    But if you want to save mem, disable javascript on OWB and enable it per site if you need. Or just restart the browser occasionally.
  • »12.09.13 - 06:03
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    connor
    Posts: 570 from 2007/7/29
    @ jPV

    OWB has the same bug. 100megs are free but OWB says it cannot allocate 100kB. That doesn't make sense but it happens at least once a day.

    Incompetence or not: best way to get rid of Webkit bugs is to to tell their bugtracker about it.
  • »12.09.13 - 17:07
    Profile
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    Quote:

    jPV wrote:

    But if you want to save mem, disable javascript on OWB and enable it per site if you need. Or just restart the browser occasionally.


    Myeah that has been my strategy.. its just a bit frustrating to relaunch OWB every single morning during the 30 mins of my morning coffee ;-)
    www.mikseri.net/hooligan <- Free music
  • »12.09.13 - 19:33
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Here is a page I can't login to. I simply cannot push the login button ("Logga in"). And an interesting note appears at the bottom of OWB that probably tells where the problem lies.

    http://bokabostad.stockholm.se
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »16.10.13 - 22:23
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    NewSense
    Posts: 1513 from 2012/11/10
    From: Manchester, UK/GB
    While using OWB for a while I notice that a lot of RAM becomes unavailable, from opening TABs, and eventually closing them all, but one.

    So starting off with just about 900MB of RAM it gets to a point that there is basically no RAM left, even though OWB is the only application that has been opened, and at that point there is only one window/TAB left open, but I can't find a way to free back up the rest of the RAM in my Mac Mini that should be available.

    Is there some utility that can release this unavailable RAM?

    I tried 'avail flush' but that barely releases any of the RAM.

    As soon as I close OWB the RAM frees itself back up, and then I have just over 900MB of RAM available again, so somewhere within the program it isn't releasing what it's not actually apparently using - is this a known bug?
    MacMini 1.5GHz,64MB VRAM, PowerBooks A1138/9 (Model 5,8/9),PowerMac G5 2.3GHz(DP), iMac A1145 2.1GHz 20", all with MorphOS v3.18+,Airport,Bluetooth,A1016 Keyboard,T-RB22 Mouse,DVD-RW-DL,MiniMax,Firewire/USB2 & MacOSX 10.4/5
  • »16.10.13 - 23:07
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Is there some utility that can release this unavailable RAM?

    Freeing RAM can only be done by the program occupying it.

    > I tried 'avail flush' but that barely releases any of the RAM.

    Yes, this is expected.

    > somewhere within the program it isn't releasing what it's not actually apparently
    > using - is this a known bug?

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8977&forum=3
  • »17.10.13 - 00:35
    Profile