11-01-2012, 02:57 PM | #61 | |
( ͡° ͜ʖ ͡°){ʇ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
|
Quote:
I thought it was -listen or -connect - or both. or something? but I just cant find a worked example nor can I find it in the docs sigh. |
|
11-01-2012, 02:58 PM | #62 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
This was the answer to your earlier post, see below for an answer to your latest...:
that's great :-) I would advise against Xfbdev in such a scenario, since both Xfbdev and kindlevncviewer would use the framebuffer in such a case and this might cause conflicts or artefacts, I think. Using VNC, even with "copyrect", still means that data is shoveled through the kernel's networking layer and replicated onto the framebuffer. I think it would be interesting to patch x11vnc to _not_ encode recognized changes and send them via VNC, but plug kindlevncviewer's screen update method into the code at that point. Will see if I can come up with something like this... Well, best thing to have would actually be a working Xfbdev. I didn't dig too much into the XOrg code yet, but maybe that would make even more sense. There should be some way to overcome that nibble-in-byte order problem... ---snip--- The documentation for x11vnc is in fact, erm, extensive: http://www.karlrunge.com/x11vnc/ (plus the FAQ!) See the various mentions of Xvfb, Xdummy (need to check that one, I think buildroot can build it too with the modular Xorg!) and x11vnc's -create and -display switches. In fact, the amount of documentation makes my head hurt :-) Last edited by hawhill; 11-01-2012 at 03:04 PM. |
11-01-2012, 03:01 PM | #63 |
( ͡° ͜ʖ ͡°){ʇ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
|
[root@kindle root]# x11vnc -noxdamage -forever -shared -noncache -shiftcmap 240 -notruecolor -vncconnect -nopw -solid white -modtweak -xkb -add_keysyms -wireframe -wcr always -scr_area 50000 -nap -threads
decent options. now just need to weld the Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -screen 0 600x800x8 -bs -wr into that EDIT: No - I won't bother. it would be too fiddly whilever we are using shared logins. I will keep it separate and just script it up as /mnt/us/usr/bin/xvnc and /mnt/us/usr/bin/xvfb that's simple enough. shove a sleep 5 in there and you have a workable startup script. Chuck a few xset's at it and I think that's as good as you get without - as you rightly say - going the extra mile to fix the tty issues. I was considering a workaround of some description as the config for the 4 way etc are actually referenced (if missing?) in the old /usr/bin/startx which makes me at least think I can get a likely xkb configuration happening. that gives me some faith I am no "developer of repute" so if you do find the time in your probably stupidly busy life to have a further look at the current buildroot sources that would be great. your code amends backport nicely in the xorg-server arena just FYI. I applied them to an older version that I build against with no problems, so I guess that VT code hasn't been touched in a while more faith that the work may not bit rot quickly. Thanks for your amazing works mate. Really pleased to be able to hack something REALLY workable (and flexible) together in under a few days. Brilliant. Can't wait to show my buddy to amazing improvements that have happened in just a few days. : ) Last edited by twobob; 11-01-2012 at 03:22 PM. |
11-01-2012, 04:02 PM | #64 | |
( ͡° ͜ʖ ͡°){ʇ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
|
Quote:
anyways thanks. With a bit more massage I got quite a bit more running. Running much nicer now with a bit of switch love. : ) EDIT: I'll give the create thing a try again Last edited by twobob; 11-01-2012 at 09:24 PM. |
|
11-01-2012, 10:06 PM | #65 | |
( ͡° ͜ʖ ͡°){ʇ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
|
[root@kindle root]# strace -o /mnt/us/x11vnc-strace-init.txt x11vnc -noxdamage -forever -shared -noncache -nopw -solid white -modtweak -xkb -add_keysyms -wireframe -wcr always -scr_area 50000 -nap -display WAIT:cmd=CREATEDISPLAY-Xvfb -create_xsrv "Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -screen 0 600x800x8 -bs -wr"
gives us: Quote:
so supporting structure issues. adding ENV to .bashrc didn't help, need to trace where non interactive processes include again (I'm sure I already did this once, should read my own threads ) thanks for your help. busyboxes shortcomings are to blame. |
|
11-01-2012, 10:24 PM | #66 |
( ͡° ͜ʖ ͡°){ʇ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
|
[root@kindle root]# x11vnc -display WAIT:cmd=FINDCREATEDISPLAY-print > /mnt/us/find_create_display.txt
gives us... attached. TODO: fixup the script to be busybox 1.7.2 happy or "hardwire" it to 1.20.x calls at least I found it |
11-02-2012, 07:58 AM | #67 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Oh dear, a bit to general and thus too complicated for our purposes, I guess.
|
11-02-2012, 08:39 AM | #68 | |
( ͡° ͜ʖ ͡°){ʇ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
|
Quote:
still produced odd output so it would be a debug session to get it going. I was thinking of the overall picture of what the script actually does. Not entirely sure it is helpful anyway in many respects. a simple call to Xvfb via a script is probably much more helpful on known hw. : ) So I'm ditching it. simple. |
|
11-02-2012, 11:30 AM | #69 | ||
( ͡° ͜ʖ ͡°){ʇ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
|
Quote:
essentially it ends up making this call [root@kindle root]# /mnt/us/usr/bin/xinit /home/root/.xinitrc -- /mnt/us/usr/bin/Xvfb :1 -screen 0 1280x1024x24 -cc 4 -nolisten tcp -auth /tmp/.xas54195700.jHQkYI Quote:
Anyways, I've lost interest, it's nothing we can make ourselves in a basic script. no magic here. It gets the size. colours and preferred method of startup wrong... Err. no. but - for those that really enjoy hurting their brains - like me... [root@kindle root]# XAUTHLOCALHOSTNAME=localhost CREATE_DISPLAY_OUTPUT=/mnt/us/x11vncdebug.txt x11vnc -display WAIT:cmd=/mnt/us/x11display.txt would be enough to get you debugging at least. (updated script with explicit calls to grep and friends attached.) Last edited by twobob; 11-02-2012 at 12:01 PM. |
||
11-02-2012, 12:30 PM | #70 |
( ͡° ͜ʖ ͡°){ʇ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
|
So a little bit more love and we have matchbox-window-manager running on the 3
Happy with that. Last edited by twobob; 11-02-2012 at 02:17 PM. |
11-02-2012, 01:29 PM | #71 |
( ͡° ͜ʖ ͡°){ʇ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
|
completed the mono theme for blackbox. no more visual artifacts created through dither.
Into the bargain the eink runs a bit faster |
11-02-2012, 06:30 PM | #72 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
That is a great accomplishment! Apps that use "old-fashioned" bitmapped fonts that are hand-tuned for a monochrome bi-level screen would look a lot nicer, if such things can still be found...
|
11-02-2012, 06:38 PM | #73 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
http://www.freedownload3.com/softwar...trix_font.html
http://www.macusergroup.com/fonts/index.html I know I have a 24-pin Epson in the storage shed, do not have a clue if (or where) I have the downloadable fonts package for it. Last edited by knc1; 11-02-2012 at 06:43 PM. |
11-02-2012, 06:57 PM | #74 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
But there is this: http://en.wikipedia.org/wiki/Computer_font#Bitmap_fonts There may be some public domain bitmap font files floating around too... http://www.1001freefonts.com/bitmap-pixel-fonts.php But of course, the app needs to support them. I used a tiny bitmap font in my "titty" eink algorithmic art script: https://www.mobileread.com/forums/sho....php?p=2026074 Last edited by geekmaster; 11-02-2012 at 07:05 PM. |
|
11-03-2012, 01:11 AM | #75 |
( ͡° ͜ʖ ͡°){ʇ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
|
well I managed to get a WHOLE pile of new stuff in Buildroot - whether or not it actually works yet I am not sure. might have slightly piled a bunch of bins in the wrong dir while mnt'ed rw. oops
A quick (3 hour) wipe should fix it right up though ready to test. I may stick some more apps in the cooker while it fixes. I HOPEFULLY have gtk2 libglib2 midori, a whole pile of supporting libs and webkit built for the 3 now. : ) yeah I'll do some more, why not |
Tags |
8bpp, kindle3, startx, x server, xorg |
Thread Tools | Search this Thread |
|
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 |