Apologies if this is not the right board to post on.
I've been recently developing a React app that involves Three.js, which on my RPi5's browser works perfectly with high frame rates. However, when running the same app in Electron, the app throws an "Error creating webgl context". If running electron with "use-gl egl" the app runs, but the GPU is not used at all and the app has low framerates.
What could be the problem with the same app not using GPU in Electron as opposed to the browser?
I've been recently developing a React app that involves Three.js, which on my RPi5's browser works perfectly with high frame rates. However, when running the same app in Electron, the app throws an "Error creating webgl context". If running electron with "use-gl egl" the app runs, but the GPU is not used at all and the app has low framerates.
What could be the problem with the same app not using GPU in Electron as opposed to the browser?
Statistics: Posted by rifaiad2000 — Wed May 22, 2024 9:57 pm — Replies 0 — Views 7