Read the statement by Michael Teeuw here.
MagicMirror stays black after adding Face-Reco-MMM
-
@crimel edit package.json and add
–disable-gpu
to the start clause
on my phone so hard to type it all
“start”:“… node_modules… --disable-gpu js/electron.js”
… means stuff that is there already keep
-
@sdetweil Thank you!
Do you mean package.json ? I dont find a file called pancake.json :/ -
@crimel Yes, should be package.json. Must have been an autocorrect. :)
-
@crimel yes, typo, fixed
-
@sdetweil @mumblebaj
Awesome support!I just added it to the package.json
“scripts”: {
“start”: “DISPLAY=”${DISPLAY:=:0}" ./node_modules/.bin/electron --disable-gpu js/electron.js",
“start:dev”: “DISPLAY=”${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js dev",and have one error left
0|mm | [11202:0114/154643.064204:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
Funny thing is that i have the same error on another config.json without Face-Reco and the mirror is working there.
-
@crimel run the fixsandbox script from here
https://github.com/sdetweil/MagicMirror_scripts