08-19-2015, 07:57 AM | #61 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Plus up the size, that 1M probably would not even hold the swap metadata. You have gigabytes of space, try something useful, like: count=64 - - - - In older (2.6.x) kernels, there was a possibility of a deadlock or race condition in the: swap -> loop-device -> file -> file system -> device pathway (one or more of those layers can end up generating another swap request {when VFS needs more buffers, IIRC}). Plus, as NiLuJe points out, there is a funky fuse proxy already in the /mnt/us path. Try to get under the proxy using base-us instead. Last edited by knc1; 08-19-2015 at 08:05 AM. |
|
08-19-2015, 08:33 AM | #62 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
First, let me answer some of my own qemu-static-arm questions.
F-17/F-22 mix thingy - - qemu-static-arm is a, well, staticly link program - other than bitness and kernel calls - it will run anywhere - Since Fedora seems to discourage staticly linked programs, just grap Debian's newest with wget and 'alien' the *.deb into files - you only need the qemu-static binary dropped somewhere in your usual path (/usr/local/bin ? /usr/bin ?). binfmt_misc will probably be distro specific (but before the days of helper scripts, could be set-up by hand). Here is the Debian write-up - Don't be surprised if you can't find a Fedora write-up, and just translate to your distro. https://wiki.debian.org/QemuUserEmulation or goggle for the Arch write-up (Arch has great docs). |
Advert | |
|
08-19-2015, 03:57 PM | #63 |
homo viator
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
|
How to add swap on DX
Right. Thanks. So, this way it works:
Code:
[root@kindle base-us]# dd if=/dev/zero of=/mnt/base-us/swapfile bs=1M count=64 64+0 records in 64+0 records out [root@kindle base-us]# /mnt/us/busybox mkswap /mnt/base-us/swapfile Setting up swapspace version 1, size = 67104768 bytes UUID=13f995a8-ad20-4457-af12-628d213a82bb [root@kindle base-us]# /mnt/us/busybox swapon /mnt/base-us/swapfile [root@kindle base-us]# /mnt/us/busybox swapoff /mnt/base-us/swapfile [root@kindle root]# dmesg | tail ... Adding 65528k swap on /mnt/base-us/swapfile. Priority:-1 extents:1 across:65528k [root@kindle root]# free -m total used free shared buffers cached Mem: 124 121 2 0 11 24 -/+ buffers/cache: 85 38 Swap: 63 0 63 Last edited by newman; 08-19-2015 at 04:21 PM. |
08-19-2015, 06:53 PM | #64 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
This would be at the expense of wearing your internal SD if used a lot... But I guess for dev purposes and given DXG has low RAM, it's good. Would you enable swap for daily use though?!
If so, would be good to make it auto-load in init. |
08-19-2015, 08:32 PM | #65 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You could, if daily use does not need it, it will not be used. Linux is quite smart about using (and not using) swap space. In general practice, it runs as "mostly read". |
|
Advert | |
|
08-19-2015, 10:38 PM | #66 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
|
|
08-20-2015, 12:40 AM | #67 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
Here's the error: Spoiler:
It shows how awesome KPV (and muPDF) are. Last edited by thatworkshop; 08-21-2015 at 09:02 AM. |
|
08-20-2015, 04:10 AM | #68 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
It may be those large, color, graphics that the native reader chokes on.
Adobe Reader sucks up 147Mbytes of memory with that document open, so anything that can display it within the limits of a DX is doing pretty good. |
08-20-2015, 09:54 AM | #69 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
I just wish both KPV and KOReader could have been merged in an intelligible way. Now, there are features in KOReader that KPV lacks and it makes me want to help extend/port them back to KPV. |
|
08-21-2015, 09:04 AM | #70 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
It was incorrect file attached up there. With previous file attached, 2.5.8 had no issues as well. I updated the link to a more complex pdf that 2.5.8's native pdf reader chokes on, but KPV is fine!
|
08-21-2015, 09:48 AM | #71 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Hmm...
The cover page is in portrait, the rest in landscape. That might be the reader's problem. Of course, there isn't any shortage of large color graphics in there either. Perhaps if someone could report if the DX can display that pdf after the update to 3.4.2 .... Last edited by knc1; 08-21-2015 at 09:50 AM. |
08-21-2015, 10:35 AM | #72 |
homo viator
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
|
|
08-21-2015, 12:20 PM | #73 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
|
08-21-2015, 01:24 PM | #74 |
homo viator
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
|
|
08-22-2015, 09:32 AM | #75 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Ok here is another test for me. newman, can you please tell me when you put this attached article in your documents folder, do you see both the name (on home page) and content of this article as ???????? or Perso-Arabic text shows beautifully?
Sound fuzziness and issues are still there on v3.*? Last edited by thatworkshop; 08-22-2015 at 09:35 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle DXG - firmware 3.3 resolution? | SoNic67 | Kindle Developer's Corner | 9 | 12-23-2015 09:50 AM |
Firmware Update Can't update my Kindle DXG to 2.5.8 | pavlingm | Amazon Kindle | 1 | 02-18-2014 03:25 PM |
Firmware Update Kindle DXg firmware 3.x | aliabbasjp | Amazon Kindle | 3 | 04-09-2012 02:02 PM |
is it possible to update the available RAM on the Kindle-DXG? | max99 | Amazon Kindle | 2 | 09-01-2011 11:59 AM |
Firmware Update DXG Firmware update? | polbit | Amazon Kindle | 5 | 08-26-2010 06:45 PM |