-
Notifications
You must be signed in to change notification settings - Fork 1
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
Will not run on pinephone #1
Comments
This glow-glyph fork has |
More OpenGL 3.3 shaders found |
Iced seems to have a plan for a software rendering option in the future for now its probably better to see if there is another gui framework and otherwise give up.... |
useful comment for transpiling the shaders https://stackoverflow.com/questions/42231698/how-to-convert-glsl-version-330-core-to-glsl-es-version-100 |
This is why I was asking whether you had compiled in on the PP over on HN. :P Do you have preferences for a different UI framework? |
I only got a pinephone yesterday, but certainly learned a lesson here :). Its a pitty since I just got streaming audio working the day before. I had one computer graphics course in OpenGL, so this weekend I am trying to see if I can backport/transpile the shaders to If that doesn't go anywhere I'll see which frameworks I can get running on the phone. I would prefer something cross platform, if this works out I want to add some kind of syncing feature. |
BTW in case you hadn't seen this, this is the only issue for iced where mobile is really discussed. (But since in that issue, everyone is talking about android/iOS, it might be worth creating a new issue and clarifying how it differs in scope/purpose) |
I might be missing a link in there? Assuming this issue, the only thing I really fear is scrolling. I know buttons will work since touch presses should map to mouse clicks, no idea how scrolling would be done.... kinda hoping the OS takes care of it. We shall see :) |
Update regarding the OpenGL issue, my fork of iced_glyph can now display a single letter*! yay... making it fully functional should be easy enough now.
* though I cant see it on the pinephone as the window is larger then the screen.... Ill assume all is well and check back once we can write the screen full of text again. |
I should really get more sleep some day 🙈 |
I now have a fork of iced that works on the pinephone (you will need the feature glow_OpenGL2ES enabled when using that fork for something else). Switching to that allows the app to run on the PinePhone 🎉 |
Relevent: iced-rs/iced#931 |
Iced depends on either a Vulkan or OpenGL backend (opengl via glow). The shaders for Iced are written in
GLSL 3.3
and the pinephones old Mali 400 mp2 GPU only supports up toOpenGL ES 1.0
andOpenGL 1.2
.Two possible paths forward:
Need to investigate what shaders need to be translated. One way of doing that could be to remove all shader code and lower the version to 1.2 then see if the shaders compile on the pinephone.
The text was updated successfully, but these errors were encountered: