Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiveDisplay is not working #8

Open
ADeadTrousers opened this issue Mar 21, 2021 · 4 comments
Open

LiveDisplay is not working #8

ADeadTrousers opened this issue Mar 21, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ADeadTrousers
Copy link
Owner

I just got word that LiveDisplay isn't working at all.
The settings are there but it cannot be activated.

@ADeadTrousers ADeadTrousers added bug Something isn't working help wanted Extra attention is needed labels Mar 21, 2021
@ADeadTrousers ADeadTrousers self-assigned this Mar 21, 2021
@ADeadTrousers
Copy link
Owner Author

LiveDisplay is being included in vendor by default and because this ROM doesn't touch vendor at all the required files are missing.
Need to investigate if it's possible to change it to "non-vendor".

@ADeadTrousers
Copy link
Owner Author

With [email protected] I was able to include it into system (instead of [email protected]) but now I get avc:denied in logcat. So the selinux rules are missing.

@ADeadTrousers
Copy link
Owner Author

ADeadTrousers commented Mar 26, 2021

I've been checking all 3 livedisplay interfaces offered by LOS but none of those seems to be suitable for the Atom L/XL:
legacymm requires a library libmm-disp-apis.so but it's not on stock rom.
sdm requires a library libsdm-disp-apis.so but it's not on stock rom.
sysfs requires specific interfaces (or rather "files") in /sys/class/graphics/fb0 but none of them (e.g. hbm, sre, rgb ... ) are present.
The third one looks the most promising but it seems that the hardware interface is not designed the way LOS is expecting. The code is not that complicated and I found various other device trees that included their own livedisplay implementation but as long as I can't find a more "mediatek" solution I'm afraid I cannot do a thing about this.

@ADeadTrousers ADeadTrousers added enhancement New feature or request and removed bug Something isn't working labels Apr 6, 2021
@ADeadTrousers
Copy link
Owner Author

It looks like it's not possible to get livedisplay to work anytime soon because the kernel doesn't offer the required services.
Maybe they are just named different but as long as I don't get any better clues I'm moving this on the "enhancement" list for later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant