Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4724

Graphics, sound and multimedia • webgl trouble

$
0
0
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?

Statistics: Posted by rifaiad2000 — Wed May 22, 2024 9:57 pm — Replies 0 — Views 7



Viewing all articles
Browse latest Browse all 4724

Trending Articles