![]() |
2014-06-29
, 21:08
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#172
|
The Following 2 Users Say Thank You to coderus For This Useful Post: | ||
![]() |
2014-06-29
, 21:14
|
|
Posts: 198 |
Thanked: 118 times |
Joined on Apr 2012
@ United Arab Emirates, Dubai
|
#173
|
![]() |
2014-06-30
, 17:36
|
Posts: 210 |
Thanked: 841 times |
Joined on Feb 2013
|
#174
|
![]() |
2014-06-30
, 18:38
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#175
|
currently i am a little stuck, i can now execute surfaceflinger through apkenv and it renders to the screen (renders over the existing screen content) (which means it behaves exactly like surfaceflinger in a chroot) but once i try to make it render into an X11 window i get a black window only
The Following User Says Thank You to wicket For This Useful Post: | ||
![]() |
2014-06-30
, 19:04
|
Posts: 210 |
Thanked: 841 times |
Joined on Feb 2013
|
#176
|
Are you using Xephyr to render it in an X11 window or are you doing it some other way?
Alternatively, you could forget about starting it in an X11 window and start it on another VT and remap some keys to make it easy to switch back and forth between X11 and SurfaceFlinger.
The Following User Says Thank You to liar For This Useful Post: | ||
![]() |
2014-06-30
, 22:11
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#177
|
i create the window like in this example: http://wiki.maemo.org/SimpleGL_example and surfaceflinger uses egl, i hope that explains it a little
and to your other question, i wouldn't know how to do that (probably one of the reasons why i am failing is because i don't know much about graphics)
The Following User Says Thank You to wicket For This Useful Post: | ||
![]() |
2014-07-20
, 09:40
|
Posts: 210 |
Thanked: 841 times |
Joined on Feb 2013
|
#178
|
Xephyr is an X server can be run inside another X server as a window. To be honest I'm not totally sure that it could be used to run SurfaceFlinger but it might be worth exploring.
VTs (virtual terminals) are what on a Linux PC you would normally switch between using Ctrl+Alt+FunctionKey or the chvt command. It's possible to run separate X servers on each VT should you desire to do that. One would assume you could also run SurfaceFlinger on one of them and switch between that VT and the one running X11.
You would probably need to "modprobe fbcon" and would possibly need compile a kernel with support extra VTs too.
You can find a keymap here which maps Fn+VolumeButtons to change VT on the N900. It should be possible to do something similar on the N9.
![]() |
2014-12-04
, 08:08
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Mar 2013
@ Russia Saratov
|
#179
|
![]() |
2015-10-31
, 17:42
|
Posts: 210 |
Thanked: 841 times |
Joined on Feb 2013
|
#180
|
I presume now that N900 and N9 are left to die slowly with no support for Maemo and Meego
Thanks very much and hope you all the best
N900 IS THE BEST AND THE BEST WILL BE EVER