10-06-2012, 05:22 PM | #16 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The error message from eips when displaying text off the end of a line shows that it is trying to use 768 pixels per line (xres_virtual) instead of 758 (xres). And yres_virtual shows that the framebuffer will hold 6 pages of data. My K5 had room for 2 pages of data, but twobob reported that his new K5 has a framebuffer that can hold 4 pages of data.
You can change the starting position of the displayed screen to any of those 6K framebuffer rows with by echoing the offset coords into a /sys/ file. And when scrolled, the system still uses offset zero. That way our native code could move the viewing window to the second page and use it without interference, while the system framework continues to use the hidden page zero... |
10-06-2012, 05:36 PM | #17 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Their math was wrong, but not in a way we can fix without a re-build of the driver. Which might be fine for a handful of developers but isn't much help to the world full of Kindle owners. Strange that sort of error got out of the development department. A person would think there was a lot of hours spent looking at things on the display and someone would have noticed they where trying to write into the "over scan" part of the timing. (because somebody picked the wrong symbol name in the code) Yeah, who (other than the end user) would notice a few missing pixels. Last edited by knc1; 10-06-2012 at 05:42 PM. |
|
10-06-2012, 05:41 PM | #18 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The problem is that for my graphics code to continue to support all firmware versions for "all eink kindles" in both main and diags modes, I will have to compensate for this "math glitch", and then again in another way if and when they get around to fixing it in future firmware. Hopefully they will not do the "two incompatible ioctl structures with the same name" problem again like they did with 5.0.x and 5.1.x. Yuck...
|
10-06-2012, 06:06 PM | #19 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If you get desperate enough, try loading the K5 driver modules in the Kpw kernel.
I don't recall lab126 using version locking on the kernel modules. |
10-06-2012, 06:16 PM | #20 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
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
|
The 4bpp thing was from the official press release (It's linked in the thread you cite IIRC)
REALLY pleased to hear that is is not. Typical shenanigans with the graphics, thanks for bringing this thread back to my attention guys.. |
10-09-2012, 05:37 PM | #21 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
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
|
Bump for awesomeness.
Thanks mate. most excellent work as ever Spoiler:
Last edited by twobob; 10-10-2012 at 07:36 AM. |
03-24-2016, 05:59 PM | #22 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Well, it technically *IS* 4bpp, but duplicated so it occupies 8bpp. In each byte, the top 4 bits is cloned into the bottom 4 bits. In my "newtrix" demo I have 8-bit dithering code that handles this "8-bit" video mode, and dithers it to provide the equivalent of 256 shades of grey.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
geekmaster simple touchscreen script support hack | geekmaster | Kindle Developer's Corner | 12 | 04-21-2021 11:38 PM |
I'd help HER capture Moose and Squirrel! | ardeegee | Lounge | 2 | 06-29-2010 12:17 PM |
Trying to Capture Rebecca | andavane | Calibre | 4 | 10-26-2009 01:47 PM |