Otter Browser
Chris Gransden (337) 1202 posts |
If you’ve got plenty of spare ram for a big enough ram disc change the !Run file to e.g. Run <Otter-browser$Dir>.otter-browser --cache=/RAM::RamDisc0.$/cache ><Otter-browser$Dir>.debug 2>&1 The folder will be automatically created. Page loading will then be much faster. |
Ralph Barrett (1603) 153 posts |
Thanks very much Chris. I’ve followed your instructions and got Otter working OK on my PandaBoard (non-ES). Indeed this post has been posted using the Otter browser. I am running !UnixFC and !UnixFont from the RamDisc. My RISC OS ROM needs updating as I do not have large RAM disc support enabled yet. So speed can only get better :-) Ralph |
Rick Murray (539) 13806 posts |
I’ll have to throw in the towel here. Deleted SharedLibs and stuff (I need that ~170MiB), and couldn’t make a RAMdisc big enough anyway. |
GavinWraith (26) 1563 posts |
Thanks for the advice about using the RAM disc. I enlarged the RAM disc to 128M and inserted into the !Run file extra lines to copy !UnixFC and !UnixFont there, and to filer_run !UnixFC.fc-cache. It all works very nicely. Most impressive. I have only just discovered that the lack of window furniture can be mitigated by SHIFT-mousing. I miss not being able to drag URL files to the address window. Am I right in thinking that the configuration-editor is not implemented yet? No doubt I will learn how to use more features with practice. Are there any docs about what, if anything, can be edited in !Otter-browser.resources. Rick, you had better get yourself a Pi2! They are not hard on the purse. |
David Pitt (102) 743 posts |
otter-browser is running here on a 512MB Mk1 Pi. With all of its Shared Library dependencies it does use rather a lot of memory, it has used 110MB for DA’s in addition to its WimpSlot, very approximately it needs at least 128MB in total. Based on minimal experiece the RAM disc is required for an initial font cacheing but not thereafter. It’s all running from a 16GB SCSI Pen here. Having otter-browser’s cache on RAM disc may be of value and currently that stands at 13MB on a 128MB disc. I have done the decent thing and used Otter for this reply. |
Rick Murray (539) 13806 posts |
Try docs.google.com. I was redirected to the Google login, and it tried to fetch from fonts.gstatic.com and then just froze everything for the time it took to have a bath and wash some clothes (maybe an hour and a half?). Don’t know how long it would have taken, I taskkilled it. Maybe placing the cache on RAMdisc would have sped things up. I don’t know, with SharedLibs and the huge amounts of memory required (not just the WimpSlot but numerous DAs), I just didn’t have enough free to allocate any useful size of RAMdisc. My Pi is only a 256MiB model (with ~32MiB reserved for the GPU). Don’t worry. I’ll be back, as a guy way cooler than I’ll ever be once said. ;-) |
andym (447) 472 posts |
Doesn’t work on my ARMx6. Debug file is as follows:
|
Steffen Huber (91) 1949 posts |
Looks like there is software running on your system that is reserving too much logical address space (aka dynamic areas). |
Chris Gransden (337) 1202 posts |
You just need to make sure you quit any other programs that use dynamic areas. Once the ‘PMP’ changes filter through to the ARMx6 the problem should go away. |
Raik (463) 2059 posts |
I have no problems with my ARMX6. Working stable and any testversion-problems are gone. |
Rob Kendrick (86) 50 posts |
Well, I’m waiting for it to launch under RPCemu (which is the fastest RISC OS box I have). Averaging 240 MIPS, it’s taken an hour so far and no sign of it completing loading. I wonder how much of this time is the RTLD and how much is Qt/QML constructors before main() is called. |
Steve Pampling (1551) 8155 posts |
Tried on RPCEmu at the weekend and it takes a few minutes. I dumped everything in a large RAM disc. It is a memory glutton though. |
andym (447) 472 posts |
I’ve made a little progress. I no longer get a complaint about being unable to allocate logical address space, but I do get this instead:
Most confusing thing is, one of the test versions DID used to work, but the new versions don’t. Is this still the same issue, as much of the info looks the same? |
Ralph Barrett (1603) 153 posts |
Otter also stopped working on my pandaboard A2. Debug was similar but different to Andy’s above. I’ll post the debug text if anybody is interested, although probably just the top section ? After much faffing about Otter started to work again after deleting the !Boot.choices?.Qt5 folder and reloading Qt5 from Chris’s release zip file. I’d been changing the browser settings to see if they did anything before it bombed. Otter does look promising… Ralph |
Chris Gransden (337) 1202 posts |
A couple of things to check. Make sure you’re not running Aemulor. The default !Run file in !SparkFS doesn’t set a specific memory size. Change ‘SetEval SparkFS$Memory -2’ to e.g. SetEval SparkFS$Memory &100000’. |
Chris Gransden (337) 1202 posts |
Sounds like whatever you have RPCEmu running on has slow I/O. Font caching is the culprit. On RPCEmu here it takes about 20 secs to start up. |
Chris Gransden (337) 1202 posts |
This might be to do with dynamic areas being left behind when it crashes.
Here’s the current todo list. |
Ralph Barrett (1603) 153 posts |
Otter browser works OK with Memphis on my PandaBoard (non ES) with a recent RISC OS build. Memphis is like RAM: but Memphis remembers the files saved from previous sessions. Memphis works at the same/similar speeds to RAM: i.e. faster than reading/writing to an SD card (about 30-50% faster). I note that Otter is an updated version of Opera, which started life on the Psion Netbook with a StrongARM processor all those years ago. Ralph |
Ralph Barrett (1603) 153 posts |
Chris – Just to let you know that I have not been able to download anything from your web server for the last couple of days ?? I’m getting network timeout errors so I assume that your server is down ? I’d really like to get a copy of the updated library that fixes the missing certificate issue. The old version with the missing certificate error message is driving my crazy… |
Michael Drake (88) 336 posts |
No, they share no common history. Apple forked KDE’s KHTML as WebKit, which Otter uses as its browser engine. Otter’s front end is designed to be a clone of (or inspired by) older versions of Opera, implemented in Qt. So there’s no connection to Psion Netbook browsers. Modern Opera actually uses Blink rather than its own browser engine now, which is itself a Google fork of WebKit. |
Chris Johnson (125) 825 posts |
Yes – Having just come back from vacation, I tried to download Otter several times and just got timeouts. |
Chris Gransden (337) 1202 posts |
Web site is back up. Thanks. |
Glen Walker (2585) 469 posts |
Woo! Congratulations! I go away for a bit and look what happens! Fantastic news! :—) Not only has a Qt port materialized (what planet have I been on…missed that entirely!) but a new and modern browser too! Inspired by Opera is a good thing – its what I use whenever on a Windows computer (which is thankfully only at work now…). OK so it might be a bit memory hungry but this is fantastic news and has really made my day! As soon as I find all my computers again (just moved house) I’ll definitely give this a go. …I’ve always loved otters too! |
Paul Sprangers (346) 523 posts |
Should Otter also run on an ARMiniX? |
Chris Mahoney (1684) 2165 posts |
How long did you wait? My Pi 1 appeared to freeze for several minutes, when it was actually just a very slow (and blocking) load. I don’t know how an ARMiniX compares to a Pi in terms of speed… |