04-23-2011, 04:37 AM | #1 |
Addict
Posts: 217
Karma: 10
Join Date: May 2010
Device: DR1000S
|
About PRE-FETCHING on PDF files
Hello everybody,
Through trying and testing many times, I found it out today that DR1000S pre-fetchs only the next '1 page'. So DR1000S suspends very frequently when turning to the next page on PDF files. Can't we have DR1000S pre-fetch numerous pages, not only 1 page? Certainly it will help reduce the frequency of appearance of the loading dialog box, the most bothering one of the e-reader. ps1. Can't we 'overclock' the CPU of DR1000S to make the loading speed of PDF files faster? I just wonder it. ps2. I assume that my suggestions would help other DR1000S users and help activate this forum a little bit more.. Last edited by bokjeid; 04-23-2011 at 04:40 AM. |
04-23-2011, 08:42 AM | #2 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi bokjeid,
I appreciate you ideas to improve the DR. This idea however will be difficult to implement there are several reasons: - The viewer framework of the DR (uds) is closed source, so its behaviour can not be changed. - As indicated in another thread, there is a problem in the Adobe-plugin for the viewer framework w.r.t. postponing idle-mode when pre-rendering. - Further the DR has only a limited amount of memory, so pre-rendering a complete document is not possible. Currently uds has a 'clever' caching mechanism, it seems to keep some of the previously viewed pages in cache, but only a limited number. An alternative would be to develop a new pdf-viewer, so the behaviour can be specifically programmed for the DR. There have been some initiatives in the past on this forum, see for example this thread for pViewer. |
04-24-2011, 05:41 AM | #3 | |
Addict
Posts: 217
Karma: 10
Join Date: May 2010
Device: DR1000S
|
Quote:
Now I tried the pViewer. It was too slow but still ran. And I didn't mean caching all of the pages but just some pages, about 5~10 or so enough to prevent buffering. Only 1 page is so insufficient, compared to any other program which buffers or pre-fetchs. If it can't be improved, it seems that the last option would be to hide or minimize the loading dialog box.. I posted another thread about this in the past, not recently and dima_tr said he/she succeeded it in my recent thread. Now I'll ask him how.. ps. Another thing:I don't expect it, but can't we upgrade Adobe reader mobile inside DR1000S? I visited Adobe website and it seemed that the newer version came out.. Last edited by bokjeid; 04-24-2011 at 05:44 AM. |
|
04-24-2011, 02:40 PM | #4 | ||
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
I think it is based poppler, an open source pdf-library. It was also used in the older versions of the DR firmware (until 1.7). It is indeed slower then the abode version.
Quote:
Quote:
It would not solve the caching issue, since that is in the 'wrapper' between the adobe-library and the uds-viewer. |
||
04-26-2011, 08:13 AM | #5 | ||
Addict
Posts: 217
Karma: 10
Join Date: May 2010
Device: DR1000S
|
Quote:
Quote:
Meanwhile, I also thought 'hiding' the dialog box would be better and easier than 'changing' it.. If it is difficult 'changing' it, the best solution seems to add an setting option to turn on/off the 'dialog box' and 'rgb-led' respectively.. I asked if the inside Adobe reader can be upgraded as totally different issue. And maybe it seems so difficult. |
||
04-26-2011, 10:30 AM | #6 |
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
All dialogs are centered by the window manager (matchbox in this case), I think.
Disabling the busy dialog should be fairly easy though. Check out sysd/busy.c which has a "dialog_delay" after which the dialog is shown (default is 1 second). Increase this time or remove/disable the timeout completely. The flashing LED is controlled from sys_update_rgb_led() in sysd/system.c. |
04-26-2011, 03:23 PM | #7 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Thanks for the info. I changed the code in ergtk (the wait dialog is not a normal message dialog, but 'build up from scratch' in ergtk), adding an extra function allows me to create the dialog the 'normal' way or a icon-less version at the top of the screen. I further modified popupmenu-dialog.c to be able to not display the dialog. Currently the behaviour is coupled to a variable, which needs to be coupled to a gconf item and a settings-dialog to control the behaviour. W.r.t. the led I added a 'secret' option to gconf in the lastest dr1000-hackx release allow to disabling the top-led. I also need to create a settings-dialog for this function. |
|
04-27-2011, 03:26 AM | #8 | |||
ex-IRX developer
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
|
Quote:
Quote:
Quote:
|
|||
04-27-2011, 06:28 AM | #9 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
if (2^color AND mask) do not enable led, see BitBucket. The (to be created) settings dialog would then allow to choose the colors to disable. |
|
04-27-2011, 07:15 AM | #10 | |
Addict
Posts: 217
Karma: 10
Join Date: May 2010
Device: DR1000S
|
Quote:
I think every person agrees that you're a re-creator of DR1000S!! |
|
04-27-2011, 07:38 AM | #11 | |
Guru
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:
Iņigo |
|
04-27-2011, 08:02 AM | #12 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
I solved most of the problems, I only have one issue with the height at this moment. We can discuss this later when I have pushed to code to BitBucket.
|
04-28-2011, 07:55 AM | #13 |
Addict
Posts: 217
Karma: 10
Join Date: May 2010
Device: DR1000S
|
If minimizing the dialog also gets available, there might be, in a result, 3 setting options for the dialog:'on', 'off', 'minimized'.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR1000 PDF pre-fetching doesn't work on fullscreen mode | bokjeid | iRex | 27 | 04-21-2011 08:43 AM |
Format showing PDF files when all files are mobi | chilady1 | Calibre | 4 | 11-05-2010 01:08 AM |
Applying Calibre recipes to a folder of pre-existing HTML files | MattK | Calibre | 3 | 09-24-2008 01:15 PM |
Pre-render and cache PDF pages? | nekokami | iRex | 3 | 07-02-2008 03:26 AM |