Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-25-2012, 10:50 PM   #226
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
...
As this is the thread about that (library and it's usage) hope you don't mind some noise.
...
Anyways. apologies for the noise. looked like the best place to tag the refs.

If I get something happening I will let you know.
A little "noise" keeps the thread alive so it does not fade into oblivion. And besides, noobies may discover that a kindle CAN play watchable videos, from this thread that just got bumped to their attention.

A bit of noise is better than a blatant "bump". Your noise is welcome here.
geekmaster is offline   Reply With Quote
Old 11-26-2012, 12:21 AM   #227
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
[root@kindle lib]# Xephyr -nolisten tcp -screen 600x800 :1

Backtrace:
Segmentation fault

Helpful. Not.

Nor was the strace...

Quote:
... blah
28886 read(4, "ARD:SetNamedIndicator\nR017 XKEYB"..., 4096) = 2574
28886 read(4, "", 4096) = 0
28886 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7b39fc} ---
28886 gettimeofday({1353902045, 783127}, NULL) = 0
28886 write(2, "\nBacktrace:\n", 12) = 12
28886 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x52} ---
28886 +++ killed by SIGSEGV +++
Tomorrow...
twobob is offline   Reply With Quote
Old 11-28-2012, 05:01 PM   #228
waterlubber
hobbyist
waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.
 
waterlubber's Avatar
 
Posts: 37
Karma: 6494
Join Date: Aug 2012
Location: NY, USA
Device: Kindle 4 NT (Non-Touch)
Now this is NICE!!! Here's an idea: make it an Active Content thingy!!! (woot! woot!!!)
waterlubber is offline   Reply With Quote
Old 11-28-2012, 05:10 PM   #229
waterlubber
hobbyist
waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.waterlubber got an A in P-Chem.
 
waterlubber's Avatar
 
Posts: 37
Karma: 6494
Join Date: Aug 2012
Location: NY, USA
Device: Kindle 4 NT (Non-Touch)
Wait...how do the videos look? Do you know the frame rate? (I tolerate 15 fps)
waterlubber is offline   Reply With Quote
Old 11-28-2012, 05:25 PM   #230
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
fps is 7.7 IIRC... beware that 7.7 looks amazing for eink so don't diss it based on fps
qlob is offline   Reply With Quote
Old 11-28-2012, 05:26 PM   #231
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
well. you can expect about 7.7, they don't look how you might expect they would at that speed. There are several example videos posted around showing eink video. It's surprisingly good on the 4 and 5's when done right. Even the 3's can do it.

Here's some fun.


And yes. it would be great to make this an extension. it has taken months of work to get here though and TBH it has taken me weeks to begin to integrate this into other things, never mind find a unified audio format and encoding scripts. GM is the man for that, should he ever find the time or inclination but in his absence the demo and code is there.

Interested devs? jump in!
twobob is offline   Reply With Quote
Old 11-28-2012, 06:10 PM   #232
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
well. you can expect about 7.7, they don't look how you might expect they would at that speed. There are several example videos posted around showing eink video. It's surprisingly good on the 4 and 5's when done right. Even the 3's can do it.

Here's some fun.


And yes. it would be great to make this an extension. it has taken months of work to get here though and TBH it has taken me weeks to begin to integrate this into other things, never mind find a unified audio format and encoding scripts. GM is the man for that, should he ever find the time or inclination but in his absence the demo and code is there.

Interested devs? jump in!
Not absent. Just busy. I check in here every day...

The Nook Simple Touch already has android built-in, so tons of stuff "just runs" on it. The kindles OTOH require a lot of TLC to get ANYTHING to work on them.
geekmaster is offline   Reply With Quote
Old 11-28-2012, 06:21 PM   #233
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
yeah I'm feeling that. : )

finally got to humping some "ioctl(fd,_IO('F', 0xdd), &myarea);"'s all of my very own

Who knows. maybe one day I will understand your code enough to use it : D

The last 6 months has seen HUGE leaps for all the kindles in terms of software and support. The issue is many of the original and even current devs have lives / get bored / move on etc etc : )

ce la vie.
twobob is offline   Reply With Quote
Old 11-28-2012, 08:07 PM   #234
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
yeah I'm feeling that. : )

finally got to humping some "ioctl(fd,_IO('F', 0xdd), &myarea);"'s all of my very own

Who knows. maybe one day I will understand your code enough to use it : D

The last 6 months has seen HUGE leaps for all the kindles in terms of software and support. The issue is many of the original and even current devs have lives / get bored / move on etc etc : )

ce la vie.
I think when I get a little time I will make a "human readable" version of my eink code... Because I use logical expressions instead of if-else chains, it makes for complex parsing to understand the formula. But if-else causes branching and possible cache-misses and cache flushing, so is not friendly on modern multi-level cache systems (yes, even the kindle)... Branch-free programming is the ONLY way to go, for maximum speed and minimum energy consumption. Table lookups (the OLD speedup method) are slow on modern processors. CPU is far faster than RAM access. Often better to recompute (especially low-cost differential computations like I use) than even a table lookup. I have studied this stuff a LOT for other projects. For multi-processor apps, I like lock-free queues too. Mutexes suck.

And 5.3.0 is a big reason for devs to move on to "greener pastures" (non-amazon devices).
geekmaster is offline   Reply With Quote
Old 11-29-2012, 08:26 AM   #235
stepk
Groupie
stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.stepk ought to be getting tired of karma fortunes by now.
 
Posts: 165
Karma: 593460
Join Date: Oct 2012
Device: K5 B011 5.3.2.1
Quote:
Originally Posted by geekmaster View Post
Branch-free programming is the ONLY way to go, for maximum speed and minimum energy consumption.
You mean as in this ref http://cellperformance.beyond3d.com/...imination.html?
stepk is offline   Reply With Quote
Old 11-29-2012, 01:07 PM   #236
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by stepk View Post
Exactly! Excellent reference. Even with extra execution units performing the unused code branches in parallel, code with branches consumes more power, and even if battery consumption is not of concern, heat generation certainly is. You can see examples in my various eink demos published here.
geekmaster is offline   Reply With Quote
Old 11-29-2012, 04:43 PM   #237
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch


This was the one I was thinking of.
twobob is offline   Reply With Quote
Old 11-30-2012, 06:37 AM   #238
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
That video is a good demonstration of what geekmaster reported.
That small areas of the screen can be updated much faster than the entire screen.
That demo is only updating about 1/4 of the screen.

Another interesting point -
That demo is running on one of the TI OMAP processors, the processor family that runs the Kindle Fire product line, not the Kindle e-ink product line.
knc1 is offline   Reply With Quote
Old 11-30-2012, 07:04 AM   #239
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
well. if we are talking about ACTUALLY impressive shit.



now THAT is pretty tidy

(by my calcs. that screen could do full colour with 1.2s updates) SLOW

Last edited by twobob; 11-30-2012 at 12:11 PM.
twobob is offline   Reply With Quote
Old 11-30-2012, 12:07 PM   #240
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
That video is a good demonstration of what geekmaster reported.
That small areas of the screen can be updated much faster than the entire screen.
That demo is only updating about 1/4 of the screen.

Another interesting point -
That demo is running on one of the TI OMAP processors, the processor family that runs the Kindle Fire product line, not the Kindle e-ink product line.
But the K4 and K5 have an embedded eink controller in the SoC that can simultaneously do partial updates to 20 non-overlapping areas. And even with a fullscreen update, I successfully did up to 50 frames per second, but it gets horrible artifacts (like grayscale updates) if you go past about 18 FPS.

The K3 uses an external eink controller chip that has a hard limit of 7.7 FPS average (sometimes faster and sometimes slower), because the ioctl() calls do not return until that time. I slowed down all my code for all kindle models to run at the speed limit determined by the K3 firmware, because 7.7 FPS looked "good enough" and allows a consistent experience across platforms (and compresses better than a higher framerate).
geekmaster is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacks free kindle video player geekmaster Amazon Kindle 0 05-07-2012 12:17 AM
Video Player wilbrich Kobo Tablets 1 11-24-2011 02:40 PM
Video player, Video streaming,Remote mint121 enTourage eDGe 1 11-18-2011 03:31 PM
Frustrated with the video player TonyToews Kobo Tablets 10 11-01-2011 01:15 PM


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


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