10-05-2012, 11:04 AM | #196 | |
( ͡° ͜ʖ ͡°){ʇ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:
It does give me some heart that your code did the same thing SDL did when Xorg is running. I think some lua diving is in my future. Thanks for the great work! |
|
10-05-2012, 11:09 AM | #197 | |
( ͡° ͜ʖ ͡°){ʇ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:
Spoiler:
Re the script. you did indeed, perhaps there is some future in swapping that "on the fly" for all K5 driven graphics apps. Don't know. more tea. with Caffeine today I think. All in the application works great other than not actually updating the screen. I code grab the code I suppose and have a look. Cheers all. and well done Hawhill. |
|
Advert | |
|
10-05-2012, 01:56 PM | #198 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You can update the screen with an eips loop running in the backbround (or another SSH session):
while :;do eips '';usleep 80000;done & |
10-05-2012, 02:01 PM | #199 |
( ͡° ͜ʖ ͡°){ʇ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
|
heh. Actually I had tried this with prboom and it didn't help.
however tetris is working quite happily... : ) thanks for the reminder. now... on-screen input ; ) where was that mplayer script... Note to self. don't run it with the & while testing Last edited by twobob; 10-05-2012 at 02:05 PM. |
10-05-2012, 02:18 PM | #200 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
prboom (SDL) uses a mutex, waiting for Xorg to release the framebuffer. I got it working before by commenting out that framebuffer mutex wait in the SDL code... You still get little glitches now and then on the top menu bar, when the desktop writes there, but it "mostly works"... It would be better to tell Xorg to let go of the framebuffer, but we need to take what we can get.
|
Advert | |
|
10-05-2012, 02:19 PM | #201 |
( ͡° ͜ʖ ͡°){ʇ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
|
Ooops Miss. I was testing the tetris FB. will test this now.
EDIT: Yup, this fixes that. Perhaps I should just go ahead and comment out the mutex in SDL and refactor.. anyway - thoughts for another thread. now working great. thanks for the reminder. perhaps we can just drop an extra eips'' in hawhills source. I could go and have a look. Last edited by twobob; 10-05-2012 at 02:25 PM. |
10-05-2012, 02:27 PM | #202 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Yeah, I prefer to have two SSH sessions, and run that command without the & in the other one. Then you can kill it with ctrl-c. No messing around with ps and kill... But if you put that loop in a script without the &, then launch that script with &, it is easy enough to find the script and kill it.
|
10-05-2012, 03:02 PM | #203 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
just tested the viewer on k4, and it works perfectly! (no inverted colours this time )
thanks again hawhill, this is amazing. the vnc kindlet from the other thread lags like crazy, but this is going to be genuinely useful. the launchpad alternatives on k4 are kite, which i've stopped using because it has quirks like running all the scripts on reboot, or cr3runner, which is a kindlet and seems to work great once properly set up. i'll share my script for cr3runner once i've tweaked it to my satisfaction. |
10-05-2012, 03:04 PM | #204 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Oh, dang, the ioctl() for updating the eink screen is taken 1:1 from the K3 -- probably it's a bit different on the K5. However, the K4 seems to take it quite well. But that's along the lines of what you posted earlier, geekmaster: K4 in "normal" mode is very much the K3's eink driver. Is there a region-based update for the K5? I'd rather not call eips, there would likely be something like on the K3, even an ioctl() perhaps?
|
10-05-2012, 03:07 PM | #205 |
( ͡° ͜ʖ ͡°){ʇ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
|
this information would be useful to me also... *looks around expectantly*
goes and reads things... |
10-05-2012, 03:09 PM | #206 |
E Ink Lover
Posts: 20
Karma: 6352
Join Date: Sep 2012
Device: Kindle DX white, Kindle DXG, Kindle Keyboard, K4NT
|
Is it possible to speedup refresh rate on mouse, say by refreshing mouse all the time in vnc no matter it moves or not? I am using DX as a 2nd display, and the slow feedback on mouse position force me to look at LCD all the time. I feel I can wait for the other part of display to come up slowly, but I have no confidence on mouse position without looking at LCD
|
10-05-2012, 03:13 PM | #207 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The gmplay program does not do dithering (that is done by raw2gmv, also in that thread somewhere). And raw2gmv dithers without a dither table, doing direct differential calculations of dither thresholds instead. That allows dynamic contrast and brightness adjustments, besides the fact that CPU calculations are faster than DRAM memory access table lookups in many cases on modern computers. And please feel free to borrow my code. But for a preliminary test, I suggesting replacing the ioctl call with system("eips ''"). That works everywere. And it even automatically selects the update type (including area updates) when it can... Even my GMLIB code falls back to eips calls if the ioctl calls fail. Last edited by geekmaster; 10-05-2012 at 03:22 PM. |
|
10-05-2012, 03:51 PM | #208 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
i discovered i have to disable the k4's screensaver
Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 1 re-enable afterward with Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 0 edit: ok so here's the whole of my current script for running the viewer: Code:
#!/bin/sh killall -stop cvm lipc-set-prop com.lab126.powerd preventScreenSaver 1 /mnt/us/kindlevncviewer/kvncviewer.sh -password buttpipe 10.0.2.1:0 lipc-set-prop com.lab126.powerd preventScreenSaver 0 killall -cont cvm i have two versions with different ip addresses for usb and wifi, and i've added the lines to my commands.txt for cr3runner: Code:
/mnt/us/cr3runner;kindlevncviewer-wifi;NULL;KindleVNCViewer (WiFi) /mnt/us/cr3runner;kindlevncviewer-usb;NULL;KindleVNCViewer (USB) Last edited by hippy dave; 10-05-2012 at 03:55 PM. |
10-05-2012, 03:53 PM | #209 | |
( ͡° ͜ʖ ͡°){ʇ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
|
yep. its in the startup script. IIRC now... I think it might be the wrong way round. check it.
Do you get the extensions on a 4? or is it non Launcher friendly? EDIT Quote:
Last edited by twobob; 10-05-2012 at 03:56 PM. Reason: its fine |
|
10-05-2012, 03:56 PM | #210 |
( ͡° ͜ʖ ͡°){ʇ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
|
although I do note the lua script is missing. unsure if that is intended
|
Tags |
application, kindle, source, viewer, vnc |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (GPLv2) Translation Dictionaries | Elleo | Amazon Kindle | 3 | 01-11-2011 10:57 PM |
Calibre native app on iphone for reading news? | bigreat | Calibre | 2 | 07-21-2010 11:50 PM |
Android Android App: VNC | leo315 | enTourage Archive | 4 | 05-13-2010 06:06 PM |
Android VNC viewer (use your PC from the eDGe!) | devseev | enTourage Archive | 2 | 04-11-2010 01:21 AM |
PalmPDF - native PDF Viewer for Palm OS 5.x | Colin Dunstan | Reading and Management | 2 | 11-23-2005 02:09 PM |