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

Does it support Linux FrameBuffer? #487

Open
likema opened this issue Oct 28, 2023 · 4 comments
Open

Does it support Linux FrameBuffer? #487

likema opened this issue Oct 28, 2023 · 4 comments

Comments

@likema
Copy link

likema commented Oct 28, 2023

No description provided.

@JHarding86
Copy link

I would also really like an answer to this question.

@adamjs
Copy link
Member

adamjs commented May 6, 2024

Hello! The library can indeed write directly to a linux framebuffer (eg, "/dev/fb0").

The general method to accomplish this is by defining a custom Surface (in this case you would return the mmap'd fb0 pixels in your Surface::LockPixels() implementation).

More information and examples in this article: https://docs.ultralig.ht/docs/using-a-custom-surface

@nduran78
Copy link

nduran78 commented May 6, 2024

Thanks. I am wondering if there is a git repository example that does this to see how it is setup. Also, do you feel ULv1.4.0b is stable enough to use for trying this?

@nduran78
Copy link

I am running the Sample 8 - Web Brower and I am trying to log into Google and Yahoo mail. Google says "Unable to sign in to your Google Account: Delete cookies" with an error message in the built in utility of "Unrecognized Content-Security-Policy directive 'required-trusted-types-for'". Yahoo just runs in circles at login. Both sites see and recognize my accounts, but neither actually login as expected. I have tried creating my own renderer and unique session with no success, but I do not think this is the issue since the default session seems to be tracking my accounts, even after relaunch, and I am seeing data in the storage tab of the utility. Any advice on how to get the browser sample working for logging in? Everything I have found online is pointing to "Integration with Content Security Policy" but I do not understand this facet and cannot find reference to it in the base/sample Ultralight code. Thanks for any help regarding this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants