|
|
#1 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5324371
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
When running a fbcon SDL application. In normal Kindle 5 mode with cvm and Xorg active, I am unsure how to bring it to the "front" simply passing a STOP signal to cvm Xorg doesn't do the trick. Is there a way to influence this seeming interference with the FB or am I just being dim. SDL_VIDEODRIVER=fbcon SDL_NOMOUSE=1 prboom -nofullscreen -noaccel -width 512 -height 384 -nosound even with a while true; do eips '';usleep 80000;done will only bring up a black screen until Xorg or awesome are actually killed (as it stands) I would prefer a more elegant solution Answers on a postcard. Thanks all.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#2 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Stopping Xorg doesn't work because it keeps ownership of the framebuffer, and SDL waits for it to be freed. The eink algorithmic art scripts can do it because they do not take ownership, or even wait for framebuffer ready.
That is why I ran my SDL code from diags SSH when I played with it back in December, when I first got my K5. No Xorg to choke on. The difficulty of using SDL from K5 main is why I temporarily "abandoned" it in favor of direct framebuffer access. Not using SDL has benefits that can be seen in my gmplay program. Faster, and runs "everywhere". And that is why I recommended replacing video SDL calls in prboom with my GMLIB code from my newtrix demo. But we still need SDL working (someday) if we want DosBox and Qemu working on our eink kindles.
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() Last edited by geekmaster; 09-30-2012 at 10:06 AM. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5324371
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Have the SDL "working" as far as any support for apps is concerned.
Dosbox was on my list, but until the sticky situation with the FB is addressed all that is fluff and pipe smoking. Grabbed the newtrix again and tend to agree about the FB hotwiring. not really my field but likely bits are identified. Expecting everyone to jump to Diags to run this stuff is - well - untenable. Xorg is reinstantiated as is awesome after a full kill. perhaps a more abstract look at the issue would be beneficial. Can something be convinced not reboot when awesome dies? a service change for example. Thoughts of that nature.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#4 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
If X11 insists on running . . .
Can it be re-started to use a dummy frame buffer? Then let SDL use the real one.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#5 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5324371
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Thats a great idea if the whole "rebooting framework" thing can be sorted. in fact hotswapping the underlying device is sort of what I was mooting at before when Niluje helped out with some details.
Don't see why it can't be fooled into thinking something else is going. Yes, it doesn't work right now that way AFAIK but no harm in fiddling. thanks KNC1
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
![]() |
| Tags |
| awesome, doom, framebuffer, prboom, xorg |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| K5 X apps run on native touch Xorg. | geekmaster | Kindle Developer's Corner | 47 | 04-04-2013 01:18 PM |
| Paperweight has a 4bit framebuffer | twobob | Kindle Developer's Corner | 76 | 10-06-2012 06:17 PM |
| K5 Xorg thoughts | twobob | Kindle Developer's Corner | 2 | 09-28-2012 07:01 AM |
| Native K4 and Touch framebuffer changes | geekmaster | Kindle Developer's Corner | 6 | 02-23-2012 11:28 AM |
| iPad WWDC mugging victim gets replacement iPad, word from Jobs | kjk | Apple Devices | 7 | 06-15-2010 03:55 AM |