Read the statement by Michael Teeuw here.
MagicMirror stutters and doesn't run smoothly
-
@sdetweil aha ok then to line 4:
ELECTRON_ENABLE_GPU=1 -
@drx1984 if you are running under windows native… you don’t need to run in lsr
if you ARE running under lsr, then u need the ‘export’just open cmd.exe and follow instructions in doc…
have to manually install nodejs on windows and git.then a windows mm.cmd file
@echo off cd %home%\MagicMirror ELECTRON_ENABLE_GPU=1 npm start
then execute
%home%\mm.cmd
-
@sdetweil what do you mean by LSR? what does that mean?
I have now done this:
Of course, with “npm run server” it runs in the browser.
but how do I do it natively on the computer itself? When I enter the command “npm run start” there is an error in the cmd, something with the display.
I wonder if I did everything correctly, as you described it. -
@drx1984 DISPLAY… you didn’t follow all the instructions …
see https://docs.magicmirror.builders/getting-started/installation.html#other-operating-systems
LSR (you can install the linux system runtime under windows too) …
-
@drx1984 said in MagicMirror stutters and doesn't run smoothly:
Of course, with “npm run server” it runs in the browser.
but how do I do it natively on the computer itself?i don’t understand your question…
MM is a browser app.
it runs in Electron, (default), Chromium, Firefox, Edge, Safari, Midori, … -
@sdetweil oh yes sry, I saw it, ok now I have adapted the Package.jason and it is now running.
Did I do that correctly with the mm.cmd file so that the GPU is active? It still stutters or the clock module is also lagging behind :-(
Do you speak German too?
-
@drx1984 I don’t speak German, but can use translators to read/reply.
I mislead you, for Windows to set the env variable you have to use set
set ELECTRON_ENABLE_GPU=1
-
@sdetweil So you mean?
…unbelievable does it require so much power? of the stottort anyway.
the IntelNuc is powerful enough, right?
-
@drx1984 yes, set ELECTRON_ENABLE_GPU=1
powerful enough? I do not know…
drawing lots of things on the screen takes lots of power. the screen is very slow compared to the processor…I don’t run either of those module.
-
@sdetweil yes certainly more than a Raspi 4 or 5.
then are the script and path correct?
I don’t notice any difference and it still stutters.