05-07-2023, 11:43 PM
(This post was last modified: 05-07-2023, 11:48 PM by Kevin Kofler.)
(05-07-2023, 04:30 AM)WhiteHexagon Wrote: Do you know if WASM is a supported option for app development, ie has a fast enough browser with WASM enabled? ideally exposing both canvas and WebGL... big ask maybe, but I think webGL(v1) is openGL ES 2, which the Mali GPU seems to support... and maybe the mali openVG support is being used for canvas2D? Probably wishful thinking, but that might give me a more performant App environment...Angelfish supports WASM out of the box. See for yourself: https://boyan.io/wasm-wheel/ (and note that the slow spinning wheel is actually JavaScript, not WASM, only the pseudorandom number generators in different programming languages are using WASM).
But I doubt it will be faster than the native frameworks. WASM is a virtual CPU with a virtual architecture that always has to be emulated in software.
For QtQuick performance, make sure you are using the QtQuick Compiler when building your application. (It has been part of the FOSS Qt releases for several releases now, and most if not all of Plasma Mobile uses it by default.) OpenGL ES is supported, that is not the issue.
(05-07-2023, 04:30 AM)WhiteHexagon Wrote: [edit] btw I did take on board your advice with OS updates, and appreciate the instructions, but I think it is important for me to first understand the delivered 'Beta' experience, assuming this is what will ship on the final device? and what my potential app users will first experience, and how that will translate to support work for me. Although maybe the 'beta' is hardware side only.The advice for your users must also be to upgrade the OS first thing. The version shipped on the devices is very outdated, and they will run into errors very quickly trying to install anything from the repository. (Keep in mind that Manjaro is a rolling release distribution, so packages built against the old libraries on the preinstalled image are no longer available, because the repository has long moved on.) Trying to officially support anything other than a fully updated system (sudo pacman -Syu) is a lost cause. (Experienced users may or may not be able to get your application to run on an old shipped snapshot, but it is definitely not worth the effort.) Plus, the old shipped version also has several bugs that have since been fixed.