nwrkbiz / android-xserver

Maintaining the original project to make it work again with new Android versions.
MIT License
167 stars 18 forks source link

Many linux program can not lunch on this server #39

Closed foryoung2018 closed 6 months ago

foryoung2018 commented 6 months ago

chromium-browser wps vscode

and so on...

ZhymabekRoman commented 6 months ago

This is just basic implementation of X11 protocol. Feel free to PR.

Now I'm working on some fixes, but due to lack of knowledge it will be too slow.


My fork: https://github.com/ZhymabekRoman/android-xserver-enhanced

This fork contain these changes:

X server doesn't restart on screen resolution changes - fixes #35 and #25
Workaround fix for: Unsupported screen format: depth: 32, bits_per_pixel: 24, red_mask: ff0000, blue_mask: ff - fixes (almost) #30
Gestures support:
    Zooming with fingers - !!! Some problems with handling events (idk whyyy)
    Three finger tap - hide/show navigation panel
    Four finger tap - Restore zoom

WIP:

XKB
Properly fix for #30

TODO:

MIT SHM, SYNC, GLX extensions support - should fix #17 and #27

I will create PR after most of my planned features are done.

foryoung2018 commented 6 months ago

@ZhymabekRoman Yes, I‘m doing the same. I am lack of knowledge also. Another project xserver-xsdl can run many X program, but use native C code,and it's diffcult to work on. This project is friendly to carry on, but I can't get the way to find out how to add more features. Even can't find out how to study details about xserver. X protocol is so loose, the gap between basic and fully function is so huge. Can you tell how to do this? Many many thanks!!!

ZhymabekRoman commented 6 months ago

Require translator:

nwrkbiz commented 6 months ago

@foryoung2018 https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.pdf

The protocol specification starts at page 140.