(Question) Building lite variant for raspberry pi #62
Replies: 8 comments 37 replies
-
There is "Discussions" section for questions (and you are here). Thanks in advance. Why do you need lite? What are you trying to achieve with it? Sciter Lite is used inside OpenGL or DirectX windows as an HTML layer for example. In order to use it you should be able to create/configure OpenGL or DirectX window/surface. |
Beta Was this translation helpful? Give feedback.
-
(Yes, sorry about that. I missed that section. I will post simple questions
there from now on. My bad).
Basically, as I will not need any desktop at all, in order to create small
kiosk apps that can be spawned directly without a desktop as regular linux
app that draws directly. Like a game. My aim is to avoid any superfluous
layer.
…--
___________________________________
*Martín Lombana*
*TODOLOGIC.COM <http://TODOLOGIC.COM> | APPS & MORE*
*+34 633 63 02 35 | *+34 946 759 137
*INSTAGRAM *→* @ <https://instagram.com/todologic>TODOLOGIC
<https://instagram.com/todologic>*
|
Beta Was this translation helpful? Give feedback.
-
Also, I don’t see the variant for arm64/rpi in bin.lite. |
Beta Was this translation helpful? Give feedback.
-
Just to clarify (can be useful for others), in order to be able to build for raspberry pi, to try the capabilities, I need to purchase the indie+ license beforehand? (Or is there a way to build in order to just test it, in the free tier?) I do intend to purchase the license for support of the project. I just wanted to validate the capabilities beforehand, to see if it has the basics that I need. |
Beta Was this translation helpful? Give feedback.
-
As an alternative, do you think in this 2, openGL sciter-lite version could run without issues? https://www.lattepanda.com/ -> Seems to be x86 64 bits pc. My objective with the stack that I am looking for is:
Do you think this would be a suitable machine? (Although pricier than a pi, for sure). |
Beta Was this translation helpful? Give feedback.
-
I've managed to assemble Sciter.JS.Lite for Raspberry Pi. That is on 3840x2160 screen and in window. As I said OpenGL performance on RPI depends on screen size - it is a sign that some OpenGL operations are made on CPU side. For example, on 1920x1080 resolution, that window renders with 60 FPS. My test shows that Sciter.Lite FPS rate closely matches performance of Chromium on RPI on this test: https://www.testufo.com/, at the end Chromium and Sciter.JS use same graphics backend (Skia) Try to make Chromium full 4K screen and you will have 10 FPS or so. |
Beta Was this translation helpful? Give feedback.
-
Not directly. sciterpy relies on creation of window and loading HTML/CSS in it. |
Beta Was this translation helpful? Give feedback.
-
Whole Sciter API is exposed as single structure with function pointers ( a.k.a. interface ). That structure gets "cracked" here : https://github.com/sciter-sdk/pysciter/blob/master/sciter/capi/scapi.py So all functions of Sciter are available in Sciter.Lite. except those that are in |
Beta Was this translation helpful? Give feedback.
-
What are the steps to build the lite variant for raspberry pi, as there is no a main lite executable that we can just pass an html to, in order to test, right?
(Moreover, I would be interested in building or spawning the whole thing, wrapped with pysciter, as you know I am a fan of python :) ). I don't know if just building with pysciter, and changing/loading the .so file for the lite one would be enough, or are there other steps involved or to consider?
Thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions