Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-30-2012, 08:53 PM   #46
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
Quote:
Originally Posted by geekmaster View Post
To get a "genuinely shocking result", you need to replace the PC with a neon sign transformer.
I feel the only reason Amzn didn't include a version of x was implementing the 5 way in a meaningful manner. making it move the cursor is one thing. making that not be incredibly annoying as a process is quite another.

: ) stroll on USB

Last edited by twobob; 10-30-2012 at 09:09 PM.
twobob is offline   Reply With Quote
Old 10-30-2012, 08:59 PM   #47
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
Using a mouse to operate a touchscreen GUI is annoying to some degree too. Just look at all the complaints about Win8's "The GUI formerly know as Metro".
geekmaster is offline   Reply With Quote
Advert
Old 10-30-2012, 09:24 PM   #48
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
Quote:
Originally Posted by geekmaster View Post
Using a mouse to operate a touchscreen GUI is annoying to some degree too. Just look at all the complaints about Win8's "The GUI formerly know as Metro".
Yep.

But this is the three. short of the nasty 90's overlays or ATTACHING A LEAP (OMG YES!!!!!!!!!!!!!!!!!!) it's a non issue


Did I mention I want to attach a leap? ;0
twobob is offline   Reply With Quote
Old 10-30-2012, 10:26 PM   #49
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 /proc]# Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 0 600x800x8

[root@kindle root]# x11vnc -noxdamage -noncache -forever

me@dev ~ $ x11vnc -rfbport 5901 -forever -noipv6

[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh dev:1

me@dev ~ $ kvnc

where /usr/local/bin/kvnc is:
Quote:
#!/bin/bash
xtightvncviewer -encodings "tight copyrect" -depth 4 -compresslevel 1

TODO: get -create to do what I expect, or figure out something else.

(also link /usr/bin/egrep to /mnt/us/usr/bin/grep since some ancient stuff still calls it and 1.7.2 busybox doesn't support it) - I built the full Gnu Grep just to be doubly sure.

EDIT: added fun screeny
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_306.png
Views:	408
Size:	41.0 KB
ID:	95207  

Last edited by twobob; 10-30-2012 at 11:31 PM.
twobob is offline   Reply With Quote
Old 10-31-2012, 10:06 AM   #50
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
Looks like your making great progress there!
Cheer, cheer, cheer.
knc1 is offline   Reply With Quote
Advert
Old 10-31-2012, 10:11 AM   #51
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
Quote:
Originally Posted by knc1 View Post
Looks like your making great progress there!
Cheer, cheer, cheer.
Thanks. SDL will be a hurdle via this method of course. (It also invokes console)

I'm thinking what would be required to just invoke the keyboard natively.

Seriously considering making a gaming kernel, with USB modules, and a fail-over rollback for the existing kernel / modules on uninstall.

It would make for a big hammer of a solution but if we could tie in all the improvements to one offering I think (since 3.4 is likely the last ever kernel release) we could have a decent - if overkill - solution to lots of questions.

Thoughts anyone? wasted effort?
twobob is offline   Reply With Quote
Old 10-31-2012, 02:32 PM   #52
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
Quote:
Originally Posted by twobob View Post
Thanks. SDL will be a hurdle via this method of course. (It also invokes console)

I'm thinking what would be required to just invoke the keyboard natively.

Seriously considering making a gaming kernel, with USB modules, and a fail-over rollback for the existing kernel / modules on uninstall.

It would make for a big hammer of a solution but if we could tie in all the improvements to one offering I think (since 3.4 is likely the last ever kernel release) we could have a decent - if overkill - solution to lots of questions.

Thoughts anyone? wasted effort?
gogogogogogo
qlob is offline   Reply With Quote
Old 11-01-2012, 10:29 AM   #53
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
hmm..

[root@kindle root]# /mnt/us/Xfbdev -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 600x800x8

allows

[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh dev:0

me@dev x11vnc -noxdamage -noncache -forever

which allows for keyboard input with the real x server AFAICT

but with odd results in the kvncviewer. I'll keep playing.

EDIT: (Don't need the visual feedback I think. duh) - yeah. just need the

[root@kindle root]# while usleep 90000; do echo 1 > /proc/eink_fb/update_display ; done instead

Last edited by twobob; 11-01-2012 at 10:54 AM.
twobob is offline   Reply With Quote
Old 11-01-2012, 12:06 PM   #54
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
okay. so the logical conclusion of all that is...

since we can start the Xserver AND point x11vnc at it AND run xvncviewer.

[root@kindle root]# /mnt/us/Xfbdev -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 600x800x8 -bs -wr
Quote:
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
IF xvncviewer could point to x11vnc started in a shared mode like:

[root@kindle lib]# x11vnc -noxdamage -noncache -shared -forever
[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh kindle:0

and then on the PC: you could just "step in" to add control. like:

vnc <kindle ip or hostname>

where vnc was:
Quote:
#!/bin/bash
xtightvncviewer -encodings "tight copyrect" -depth 4 -compresslevel 1 $@ &
sleep 2;
# make it tidy
wmctrl -x -r Tight -e 0,0,0,600,800
wmctrl -x -r Tight -b toggle,fullscreen
sadly this does not work as there appears to be some ZRLE (or perhaps just "expected" formatting) errors when trying this:

[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh kindle:0
Quote:
01/11/2012 15:57:32 VNC server supports protocol version 3.8 (viewer 3.8)
01/11/2012 15:57:32 We have 1 security types to read
01/11/2012 15:57:32 0) Received security type 1
01/11/2012 15:57:32 Selecting security type 1 (0/1 in the list)
01/11/2012 15:57:32 Selected Security Scheme 1
01/11/2012 15:57:32 No authentication needed
01/11/2012 15:57:32 VNC authentication succeeded
01/11/2012 15:57:32 Desktop name "kindle:0.0"
01/11/2012 15:57:32 Connected to VNC server, using protocol version 3.8
01/11/2012 15:57:32 VNC server default format:
01/11/2012 15:57:32 8 bits per pixel.
01/11/2012 15:57:32 Colour map (not true colour).
01/11/2012 15:57:32 client2server supported messages (bit flags)
01/11/2012 15:57:32 00: 00ff 0081 0000 0000 - 0000 0000 0000 0000
01/11/2012 15:57:32 08: 0000 0000 0000 0000 - 0000 0000 0000 0000
01/11/2012 15:57:32 10: 0000 0000 0000 0000 - 0000 0000 0000 0000
01/11/2012 15:57:32 18: 0000 0000 0000 0000 - 0000 0000 0000 0004
01/11/2012 15:57:32 server2client supported messages (bit flags)
01/11/2012 15:57:32 00: 001f 0080 0000 0000 - 0000 0000 0000 0000
01/11/2012 15:57:32 08: 0000 0000 0000 0000 - 0000 0000 0000 0000
01/11/2012 15:57:32 10: 0000 0000 0000 0000 - 0000 0000 0000 0000
01/11/2012 15:57:32 18: 0000 0000 0000 0000 - 0000 0000 0000 0004
01/11/2012 15:57:32 Connected to Server "unknown (x11vnc 0.9.13)"
01/11/2012 15:57:32 ZRLE decoding failed (-5)
partially updating eink display (0,0)-(599,799)
01/11/2012 15:57:32 ZRLE decoding failed (-5)
partially updating eink display (0,0)-(599,799)
partially updating eink display (0,0)-(317,417)
partially updating eink display (288,400)-(319,414)
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:42 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:42 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:43 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
partially updating eink display (288,400)-(319,414)
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:44 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:44 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:45 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:45 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
01/11/2012 15:57:45 Warning: possible ZRLE corruption
partially updating eink display (288,400)-(319,414)
partially updating eink display (288,400)-(319,414)
partially updating eink display (288,400)-(319,414)
01/11/2012 15:58:00 Warning: possible ZRLE corruption
however - if working - this would present us with the best of all worlds.

EDIT: I had a dig around in the command line switches but nothing leaped out as really useful for further testing. would have to jump into the code.
(/mnt/us/kindlevncviewer/kindlevncviewer --help )

/mnt/us/kindlevncviewer/config.lua appears to be all key related.

so no obvious easy wins.

Last edited by twobob; 11-01-2012 at 12:17 PM.
twobob is offline   Reply With Quote
Old 11-01-2012, 12:14 PM   #55
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
Ah, so close.
Cheer, cheer, cheer.
knc1 is offline   Reply With Quote
Old 11-01-2012, 12:37 PM   #56
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
xedit test: result success

[root@kindle root]# XENVIRONMENT=/mnt/us/sh/X11/app-defaults/Xedit xedit &
Quote:
[root@kindle root]# blackbox &Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "menu12" to type Pixmap
Warning: Cannot convert string "xlogo11" to type Pixmap
xclock test: result success

[root@kindle root]# xclock &
Quote:
[root@kindle root]# Warning: Missing charsets in String to FontSet conversion
on a 3. who knew
Attached Thumbnails
Click image for larger version

Name:	Selection_307.png
Views:	288
Size:	23.3 KB
ID:	95262   Click image for larger version

Name:	Selection_308.png
Views:	290
Size:	25.9 KB
ID:	95263  
twobob is offline   Reply With Quote
Old 11-01-2012, 01:10 PM   #57
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Nice progress. Yes, kindlevncviewer's CLI switches are horribly under-documented. They accept everything that libvncclient can handle. My guess was that x11vnc's ZRLE encoding was broken (didn't bother to debug), so I specified an encoding on CLI: "-encodings copyrect,raw" for kindlevncviewer. For all possible switches see here: http://libvncserver.sourceforge.net/...44eb97d2356475

Errm, are you using Xfbdev, als the command lines you quoted indicate? Because the setup I imagined was using Xvfb...
hawhill is offline   Reply With Quote
Old 11-01-2012, 01:16 PM   #58
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 root]# XENVIRONMENT=/mnt/us/usr/share/X11/app-defaults/XCalc xcalc
Quote:
Warning: Cannot convert string "calculator" to type Pixmap
Warning: Cannot convert string "8x13" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Attached Thumbnails
Click image for larger version

Name:	Selection_309.png
Views:	278
Size:	22.9 KB
ID:	95265  
twobob is offline   Reply With Quote
Old 11-01-2012, 01:23 PM   #59
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
Quote:
Originally Posted by hawhill View Post
Nice progress. Yes, kindlevncviewer's CLI switches are horribly under-documented. They accept everything that libvncclient can handle. My guess was that x11vnc's ZRLE encoding was broken (didn't bother to debug), so I specified an encoding on CLI: "-encodings copyrect,raw" for kindlevncviewer. For all possible switches see here: http://libvncserver.sourceforge.net/...44eb97d2356475

Errm, are you using Xfbdev, als the command lines you quoted indicate? Because the setup I imagined was using Xvfb...
yep. works with Xfbdev as well as xvfb. so I have been testing both.

as the Xfbdev does not actually cause an eink update I was wondering about hacking your viewer "over the top" - on the device.

like err.. knvcviewer.sh 127.0.0.1:0 : )

Just playing around really to see what is possible.
twobob is offline   Reply With Quote
Old 11-01-2012, 01:47 PM   #60
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 root]# Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 0 600x800x8 -bs -wr

[root@kindle lib]# x11vnc -noxdamage -noncache -shared -forever

[root@kindle root]# /mnt/us/kindlevncviewer/kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua -encodings "copyrect raw" kindle:0

me@dev ~ $ vnc k

works well, thank you mate.

(screenshot is now EXACTLY what I see on my PC AND my kindle 3.
(LOL, not green though)

TODO: Make monochrome Blackbox theme.

Feels like real progress now.

Heck yeah!

EDIT: impressively low load and footprints, all my apps are utterly unstripped and not built for size too.

Also. This is NOT with the framework stopped. merely a killall -STOP cvm. sweet!
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_310.png
Views:	355
Size:	35.3 KB
ID:	95272   Click image for larger version

Name:	Selection_311.png
Views:	312
Size:	72.7 KB
ID:	95273  

Last edited by twobob; 11-16-2012 at 05:48 PM. Reason: screenie, load - and it's "copyrect raw" not "copyrect,raw"
twobob is offline   Reply With Quote
Reply

Tags
8bpp, kindle3, startx, x server, xorg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
startx? On a K3???? qlob Kindle Developer's Corner 1 11-21-2012 02:30 PM
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 crutledge BBeB/LRF Books 0 09-25-2010 08:01 AM
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 crutledge ePub Books 0 09-25-2010 08:00 AM
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 crutledge Kindle Books 0 09-25-2010 07:59 AM
Some Kindle source code digging TadW Kindle Developer's Corner 9 10-04-2009 01:34 AM


All times are GMT -4. The time now is 05:55 AM.


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