Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 07-11-2011, 12:25 PM   #196
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by lacol View Post
Iņigo, you mention in the readme of dr800+ that you improved performance at some point by applying optimizations during compilation. Do you know if Irex applied the same optimizations in compiling the original rc3 firmware ?

In other words, would completely recompiling from source the 2.0-RC3 firmware result in a performance increase even when doing no modification to the source, but using the compiler optimizations mentionned in the readme of dr800+ ?

And by the way, how does one apply those optimization ? Is this something that should appear in the makefile ? I can't seem to find any trace of them in any configure.ac or makefile.am file in the source of your dr800+ package.
Those optimizations are passing some flags to the compiler:
"-mcpu=arm1136jf-s -mtune=arm1136jf-s -O3 -funroll-loops"
They generate special code for the ARM CPUs DR ereaders have.

They don't appear in the sources, as I added next lines to my environment-setup initialization script:
Code:
export CFLAGS="-mcpu=arm1136jf-s -mtune=arm1136jf-s -O3 -funroll-loops"
export CXXFLAGS="-mcpu=arm1136jf-s -mtune=arm1136jf-s -O3 -funroll-loops"
I'm not sure but I think they were not applied in IREX firmware, as same sources result in different binary size. Maybe Gertjan could add more here.

I think I noted some speed improvement when I compiled some code: ctb, popupmenu, ermetadb... But I'm not sure it will make DR faster. Anyway, not more than 2-3%

Iņigo
Iņigo is offline   Reply With Quote
Old 07-11-2011, 12:59 PM   #197
dima_tr
Groupie
dima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-books
 
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
I still believe -funroll-loops gives an essential speed improvement for sqlite binary. At least this I have observed on its PC version on my i386 Ubuntu - an order of 20-30% faster.
dima_tr is offline   Reply With Quote
Advert
Old 07-11-2011, 01:24 PM   #198
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by dima_tr View Post
I still believe -funroll-loops gives an essential speed improvement for sqlite binary. At least this I have observed on its PC version on my i386 Ubuntu - an order of 20-30% faster.
I forgot about it...
dima_tr is right, recompiling sql-amalgamation with these flags make the library noticeable faster, but I got some problems with that version and my "icons" program. Not with DR software.
Iņigo is offline   Reply With Quote
Old 07-11-2011, 04:21 PM   #199
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
You forgot or don't know another aspect of unroll-loop optimizaion:
It encrease code size, the programm going to be bigger, and this is not good for ARM systems: the reason very simple the more code size - the more code must be read from memory into CPU, this CPU has 16KB data/16KB instruction cache -> a small and very fast memory, so most effisient function would be function with loops no bigger then 16KB - cache size, our regular memory: 128MB is a slow memory with slow access thru bus, so big functions will degrade overall perfomance of system.
This is a paradox: faster function are bigger and can be slower then small and not fast one, due to slow bus access to memory.
In my company we don't use unroll loops: because small size of code cache and big price of fast memory.
http://www.arm.com/products/processo...11/arm1136.php

Sincerely
Yura
yuri_b is offline   Reply With Quote
Old 07-11-2011, 11:14 PM   #200
jonathan_s
Enthusiast
jonathan_s began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
Having just started using DR800+ I have a few questions/problems. Apologies if these have been answered elsewhere.

1. PDF writing/annotation. I use this a lot and was very disappointed to find that it seems to be broken. Writing seems to work but occasionally disappears and is forgotten if you leave and come back to a page.

1a. I was/am still hopeful that it will become possible to export PDF annotations.

2. I love having the time in the status bar. But it doesn't appear to refresh automatically, and not even when I scroll pages, but only when I enter the 'Start' menu.

Cheers,
Jonathan
jonathan_s is offline   Reply With Quote
Advert
Old 07-12-2011, 03:10 AM   #201
fekhner
Addict
fekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animalsfekhner is kind to children and small, furry animals
 
Posts: 326
Karma: 6908
Join Date: Sep 2010
Device: DRs, EE, ipad/iphone, Helix
1. use Xournal to open and then annotate pdf (with experimental update option selected)
https://www.mobileread.com/forums/showthread.php?t=87593
1a. export as pdf of annotated files is possible. Furthermore, for pure notes, there are some ocr programs (myscriptnotes for instance) that allow you to convert your notes on your computer if you save them as .irx files

Last edited by fekhner; 07-12-2011 at 03:27 AM.
fekhner is offline   Reply With Quote
Old 07-12-2011, 07:27 AM   #202
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by jonathan_s View Post
2. I love having the time in the status bar. But it doesn't appear to refresh automatically, and not even when I scroll pages, but only when I enter the 'Start' menu.
First development versions of this feature updated the clock each minute, but it drained a lot of battery. So we changed the behaviour to update the clock in page turns or whenever there is a screen update (f.e. opening the "start" menu).

Iņigo
Iņigo is offline   Reply With Quote
Old 07-12-2011, 08:47 AM   #203
jonathan_s
Enthusiast
jonathan_s began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
Quote:
Originally Posted by Iņigo View Post
First development versions of this feature updated the clock each minute, but it drained a lot of battery. So we changed the behaviour to update the clock in page turns or whenever there is a screen update (f.e. opening the "start" menu).
That was what I'd guessed and makes perfect sense - though maybe it could be configurable. But I find that the clock doesn't update on page turns, only on the start menu.
jonathan_s is offline   Reply With Quote
Old 07-14-2011, 12:12 AM   #204
jonathan_s
Enthusiast
jonathan_s began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
Quote:
Originally Posted by Iņigo View Post
apart from rxvt, take a look at usbnet, as Fehner has already mentioned.

what would be the benefits?
30k+ applications already built, running and maintained by the Debian folk, all while keeping leaving the native firmware untouched. This is the way to run OpenOffice/LibreOffice on (for example) a Nokia N900 and it works really well.
jonathan_s is offline   Reply With Quote
Old 07-14-2011, 04:53 AM   #205
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by jonathan_s View Post
30k+ applications already built, running and maintained by the Debian folk, all while keeping leaving the native firmware untouched. This is the way to run OpenOffice/LibreOffice on (for example) a Nokia N900 and it works really well.
Sorry, I disagree.
30k already built apps.. that were coded for a proper screen, keyboard and mouse to work.
How will you use libreoffice on the DR? only the menus will take half the screen, and you need 1/3th for the virtual keyboard...

The DR is a special kind of device, so to make an app for the DR is not only matter of rebuilding, you'll need to adapt the menus, the toolbars, the screen refresh handling, the input, etc... if you want to make it really useful for the DR. Recompiling is the easy part.

I don't pretend to be negative, just show that it's not as easy as it could look.
I ported many apps at the beginning, but we need extra work to make it suitable for the DR.

Anyway, show me that I'm wrong, and go for it!
Iņigo is offline   Reply With Quote
Old 07-14-2011, 05:06 AM   #206
jonathan_s
Enthusiast
jonathan_s began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
Quote:
Originally Posted by Iņigo View Post
Anyway, show me that I'm wrong, and go for it!
I'll see how I go.

I would point out that Debian isn't only for full size 'real' computers - different display managers work fine on the much smaller screen on my smartphone and a variety of other devices. That said, unless I can get an external keyboard working it isn't going to be much use for entering information. Also, it's not just for interactive applications but for all the other tools that can be used in scripts of whatever that haven't been ported.

Anyway next step is to face the learning curve of building kernel modules.

And can I ask you one question while I'm here. Where can I find info about reflashing the IREX if I do manage to brick it up?

Cheers!
jonathan_s is offline   Reply With Quote
Old 07-14-2011, 06:25 AM   #207
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by jonathan_s View Post
And can I ask you one question while I'm here. Where can I find info about reflashing the IREX if I do manage to brick it up?
It's quite easy, the same process used in an upgrade: copy the firmware in the System folder of the SD card and reboot. It will reflash automatically.

IREX people did a very good job here.

Iņigo
Iņigo is offline   Reply With Quote
Old 07-14-2011, 06:34 AM   #208
marcins
Member
marcins has a complete set of Star Wars action figures.marcins has a complete set of Star Wars action figures.marcins has a complete set of Star Wars action figures.marcins has a complete set of Star Wars action figures.marcins has a complete set of Star Wars action figures.
 
marcins's Avatar
 
Posts: 17
Karma: 444
Join Date: Jul 2009
Device: iRex DR1000S, Sony PRS-650
Quote:
Originally Posted by Iņigo View Post
It's quite easy, the same process used in an upgrade: copy the firmware in the System folder of the SD card and reboot. It will reflash automatically.
Unless one manages to damage the bootloader, I suppose.
marcins is offline   Reply With Quote
Old 07-14-2011, 07:38 AM   #209
rvs
Groupie
rvs has a complete set of Star Wars action figures.rvs has a complete set of Star Wars action figures.rvs has a complete set of Star Wars action figures.rvs has a complete set of Star Wars action figures.
 
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
Having an external keyboard would be great, but I don't think it's possible without some hardware hacking.
rvs is offline   Reply With Quote
Old 07-19-2011, 07:57 AM   #210
jonathan_s
Enthusiast
jonathan_s began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
Quote:
Originally Posted by fekhner View Post
1. use Xournal to open and then annotate pdf (with experimental update option selected)
https://www.mobileread.com/forums/showthread.php?t=87593
1a. export as pdf of annotated files is possible. Furthermore, for pure notes, there are some ocr programs (myscriptnotes for instance) that allow you to convert your notes on your computer if you save them as .irx files
Thanks for the help. I'm sorry to be fussy but xournal is too heavy and doesn't give me the same satisfaction as being able to annotate inside the basic FBreader. I like having the same kind of feeling as writing on the newspaper that I am reading. Now I read my newspapers on the DR800 I still want to be able to do Sodoku , crosswords, or just write thoughts onto it. Also it's a step backwards from the previous firmware, so possibly just a small bug that got introduced, since it still almost works(?)

So my questions are - is there any good explanation for why the PDF annotation no longer works? I'm happy to go poking around but would appreciate any prior knowledge that readers of this thread may already have.

Loving the DR800+ as a whole new toy
jonathan_s is offline   Reply With Quote
Reply

Tags
dr800+


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR800 Plugin development for DR800/DR1000 yuri_b iRex Developer's Corner 0 09-18-2010 09:46 AM
What is size of IREX DR800 and DR1000 PocketGoods iRex 12 06-05-2010 04:58 AM
IREX DR800 or DR1000? sordie Which one should I buy? 8 03-21-2010 08:10 PM
perl for the DR800/DR1000? Mr. X iRex 1 03-16-2010 07:47 AM


All times are GMT -4. The time now is 11:02 AM.


MobileRead.com is a privately owned, operated and funded community.