Adopt xf86-video-hwcomposer which is for libhybris hwcomposer #287
fish4terrisa-MSDSM
started this conversation in
1 New Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the idea
xf86-video-hwcomposer is used on libhybris based devices to run xorg on top of android's hwcomposer, using libhybris's gl wrapper on top of Android's native driver.
Currently afaik there are two kind of xf86-video-hwcomposer:
They're both in unmaintained state(my patch only added support for hwc2, didnt solve any bugs since I know nearly nothing about x11 driver). It's still using MIT-SHM(rely on sysvipc, which may break some vendor drivers and android in some rare cases and may cause bootloop) instead of using DRI3, thus the performance is very poor(only 3x faster than llvmpipe, mesa is a lot faster) even though libhybris's off screen rendering performance is better than mesa.
It should be done because
By adopting this driver and make improvements on it, the user experience of using libhybris with x11 will significantly improve. Also it's the perfect case to show the great advantage x11 has: Even in it's current state, it's possible tp run any x11 apps and compositors as you want on hwcomposer, meanwhile with wayland you'll need heavy modification on each case.
What are the alternatives?
No response
Additional context
No response
Extra fields
Beta Was this translation helpful? Give feedback.
All reactions