xserver-xsdl icon indicating copy to clipboard operation
xserver-xsdl copied to clipboard

Run without root window (so X apps appear on screen with Android apps)

Open downwa opened this issue 9 years ago • 6 comments
trafficstars

Some X servers support a "rootless" mode (disabling the X root window). For example, on MacOS, fink can do this: http://www.finkproject.org/doc/x11/intro.php

Is something like this possible in Android? I can imagine trying to emulate it by creating multiple Android windows, one for each X window. But that might cause problems with some X applications.

Alternately, could it be done with an Android window having transparent areas (everywhere between X windows)? allowing other apps to show through? Mouse interaction with them would not work but at least you could see them.

downwa avatar Mar 15 '16 22:03 downwa

This is not supported by XSDL, but you can resize XSDL window itself on select Samsung devices. On Mar 16, 2016 12:21 AM, "Warren Downs" [email protected] wrote:

Some X servers support a "rootless" mode (disabling the X root window). For example, on MacOS, fink can do this: http://www.finkproject.org/doc/x11/intro.php

Is something like this possible in Android? I can imagine trying to emulate it by creating multiple Android windows, one for each X window. But that might cause problems with some X applications.

Alternately, could it be done with an Android window having transparent areas (everywhere between X windows)? allowing other apps to show through? Mouse interaction with them would not work but at least you could see them.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/pelya/xserver-xsdl/issues/65

pelya avatar Mar 16 '16 08:03 pelya

I think, we need to port latest x.org from scratch. Without SDL, just use glamor to render screen directly. Glamor already supports gles2 and egl. Juet need to write surface creation code which would operate in rootless mode and event handler for it. I already made separate app for accelerared opengl, but XSDL seems absolute unuseful. It breeaks local tcp connections on vpn start (i checked with telnet: it is not android issue, but xsdl itself) It crashes on keyboard connect/disconnect. Seems to be fixed in last versions, but last version just crash at start. And it is catastrophicly slow :(

mittorn avatar Sep 28 '18 06:09 mittorn

How would the inter-activity communication / multiple windows work?

nomelif avatar Nov 12 '18 07:11 nomelif

@mittorn can i get some info regarding this app for accelersted opengl you mentioned? Thank you.

e-cl avatar Mar 26 '19 14:03 e-cl

@mittorn did you have any idea with this? one android window for one X window

foryoung2018 avatar Jan 11 '24 08:01 foryoung2018

Currently not possible.

On Thu, 11 Jan 2024, 10:48 foryoung2018, @.***> wrote:

@mittorn https://github.com/mittorn did you have any idea with this? one android window for one X window

— Reply to this email directly, view it on GitHub https://github.com/pelya/xserver-xsdl/issues/65#issuecomment-1886639132, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QECGVDP3F5QOCJ3ZOLYN6RN5AVCNFSM4B6GAPT2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBYGY3DGOJRGMZA . You are receiving this because you commented.Message ID: @.***>

pelya avatar Jan 11 '24 08:01 pelya