|  05-03-2012, 11:28 AM | #46 | 
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | 
			
			Apple? Neither of the "Steves" were bald -- looks like Stallman...
		 | 
|   |   | 
|  05-03-2012, 03:01 PM | #47 | 
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | |
|   |   | 
| Advert | |
|  | 
|  05-05-2012, 11:45 PM | #48 | |
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | Quote: 
 They inserted new fields into the middle of a critical structure used by the eink udpate ioctl, moving other critical fields, and they did not even bother to rename this new stucture layout to maintain compatibility between 5.1.x and 5.0.x firmware. That means you need different program versions that use different structure layouts to do eink updates, depending on whether you booted from the main or from the diags partitions, after you install the 5.1.0 firmware update. I tried copying the old field values from their new location into the new fields in their old location, and of course that breaks eink updates on the new firmware. The iotcl codes are modified by the structure length, so those different structures cause different codes to be used. Grr...  That pooch won't be sitting down for quite awhile.    Last edited by geekmaster; 04-15-2016 at 03:10 AM. | |
|   |   | 
|  05-06-2012, 02:54 AM | #49 | 
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | 
			
			My eink ioctl() updates now work for 5.1.0 firmware, which uses a critical internal structure that changed layout but kept the same name, and broke compatibility with 5.0.x firmware. Worse, the eink header file changed and it is now incompatible with 5.0.x firmware. I removed the header files from gmplay-1.5, and that gmlib code will be used in future versions of all of my eink C code.
		 | 
|   |   | 
|  05-10-2012, 02:43 AM | #50 | 
| Member            Posts: 16 Karma: 25544 Join Date: Feb 2012 Device: Kindle 3 | 
			
			Here's a little demo using the code from the first post. I'm not sure if it's the right place for it, but the demo is too small to deserve it's own thread. You really must see this running, the screens don't do justice. Spoiler: 
 Last edited by kiri87; 05-10-2012 at 02:45 AM. | 
|   |   | 
| Advert | |
|  | 
|  05-10-2012, 02:56 AM | #51 | |
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | Quote: 
  It is running on my K5 -- it looks like I spilled liquid on the screen and it leaked into the eink.   | |
|   |   | 
|  05-10-2012, 07:22 AM | #52 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 Maybe splice in a "fade to white, top-to-bottom" so it ends with the e-ink running out the bottom of the screen. | |
|   |   | 
|  06-13-2012, 03:57 PM | #53 | 
|  curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ            Posts: 3,021 Karma: 50506927 Join Date: Dec 2010 Location: ♁  ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀" Device: K3₃.₄.₃ PW3&4₅.₁₃.₃ | 
				
				3D - An Interactive animated projection of an object on a 2D screen
			 
			
			As suggested by geekmaster I ported my demo to C, using gmlib 1.5a and newtrix 2.0 routines (and compiled with tccmake). I have been away the forum for a while and didn't read if there were more currrent updates from geekmaster. It -- of course -- runs much faster now : while pressing the keyboard keys you can interact with the plotting in real time. The 3D.c code is much more readable than the previous contrieved 3D.sh code. C being a "natural" for the job, I found the port less interesting but for the object structure which I kept identical forcing me into array indexing, type casting and rounding fun. Happy to share it: Last edited by PoP; 06-13-2012 at 04:03 PM. | 
|   |   | 
|  06-13-2012, 04:44 PM | #54 | |
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | Quote: 
 I have a newer version that does parallel processing (it dithers 32-bit words, with no lookup table). I need to finish that and publish it in some demo framework... Too many things to do. But even the OLD versions are a bit faster than a script plotting pixels with "dd".  EDIT: Newtrix contains 256-color to 16-color dithering code too, so that is a good place to start for general usage as you have here. Now if you get bored, you can add texture mapping and multiple light sources too.   Last edited by geekmaster; 10-13-2012 at 01:04 PM. | |
|   |   | 
|  09-27-2012, 03:23 PM | #55 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 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 | 
			
			Would like to think we could weld this into SDL or (something) in the RSN. by We I mean me, with help. Cheers | 
|   |   | 
|  10-13-2012, 11:59 AM | #56 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 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 | 
			
			Okay.... small question. needs a [root@kindle root]# while :; do eips ''; usleep 80000; done; to do screen updates on my 5... is that expected behaviour? | 
|   |   | 
|  10-13-2012, 01:09 PM | #57 | |
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | Quote: 
 I wonder if their are incompatible ioctl differences between US and UK kindles? I will take a look at it soon to get the newest most compatible GMLIB that should be easy to use in new programs. Last edited by geekmaster; 10-13-2012 at 01:17 PM. | |
|   |   | 
|  10-13-2012, 01:47 PM | #58 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 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 | 
			
			okay mate. Yeah. given then weird DIAGs action and now this I think there HAS to be something going on. Cheers EDIT: THIS is an "INTERNATIONAL" kindle AFAIK. Probably not that many kicking about. (I could be wrong) | 
|   |   | 
|  10-13-2012, 02:46 PM | #59 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 He definitely has the "disappearing diags sshd" problem. His version info is: Code: System Software Version: 004-juno_2_0_1_yoshi-167953 Tue Jul 17 17:00:45 PDT 2012 Kindle 5.1.2 (~~otaVersion~~) | |
|   |   | 
|  10-13-2012, 03:23 PM | #60 | 
| Carpe diem, c'est la vie.            Posts: 6,433 Karma: 10773670 Join Date: Nov 2011 Location: Multiverse 6627A Device: K1 to PW3 | 
			
			Newtrix doesn't work on my 5.2.0 Paperwhite, but gmplay does. So if the international k5 is "almost" 5.2.0, perhaps newtrix fails on it and gmplay works too. We are close. I just need to backport the gmplay GMLIB to newtrix.  I wish they would stop fscking with the eink ioctl stuff with minor firmware updates. Last edited by geekmaster; 10-13-2012 at 03:26 PM. | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| geekmaster vacation | geekmaster | Kindle Developer's Corner | 2 | 03-19-2012 09:18 PM |