Read the statement by Michael Teeuw here.
Allocation of display sections (e.g. 'lower third' and so on) gives strange results after upgrade to 2.11.0
-
Yes, I have a
display_rotate=1
in my /boot/config.txtBut even when I turn it back to 0 and restart the raspberry the issue seems to stay the same.
I’ll try to go back to the previous commit and my backup folder and have a look if the issue vanish or persist. Maybe it’s a driver problem…
-
Well, the backup is still working as before. So it is somehow related to the new version 2.11.0
-
@phil very interesting…
this version does update electron to v6.1.7
-
I’m not sure if electron is the issue. I tried with several commits and figured out
7b3a594
is still working fine for me, but6e7edd9
(the one before the “Upgrade to Electron 6”) already causes this problem for me.Oh, I just realized there is an electron upgrade already in this commit (although it is not stated in the commit message):
> electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js > electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js
So might well be an electron issue. Can you give me some advice how I can try different versions to see which one is working for my setup?
-
@phil erase the node_modules/electron folder
Then donpm install electron@version --only=prod
The --only keeps from loading the stuff used by testing… like the chromedriver
I last tested 6.0.12, but don’t know if it was ok for portrait mode use
U may have to redo npm install in module folders. As many modules depend on electron levels
All this from the MagicMirror folder
-
“I last tested 6.0.12, but don’t know if it was ok for profile use”
Did you mean ‘portrait’ use? But I have this problem also in landscape mode without rotated screen.I removed the electron folders in
node_modules
and didnpm install electron@3.0.6 --only=prod
With this version everything is fine again. I try to figure out for which version of electron it breaks…
-
@phil yes, meant portrait
-
@phil the last version of MM 2.10 was using electron 3.0.13
-
I have the following results now:
electron 3.x.x
: working as expected
electron 4.x.x
: not working at all, the screen stays black
fromelectron 5
up to latest version (8.2.2) : The text of the different modules gets overlaid as shown in the screenshots.For the moment I stay at version 3.0.13 as all the modules I’m using are working fine.
(alert, updatenotification, clock, calendar, compliments, newsfeed, helloworls, MMM-ImageSlideshow)But I fear at some point I’ll have to update to be able to use the latest MagicMirror commit…
Can I somehow set this topic to “Closed” or “Solved” (at least for now ;-) )?
And, thank you very much for your help, @sdetweil !
-
@phil you will probably need to do npm install in some of the module folders when u change electron versions…
I would do the test with the sample config…
anyhow… u didn’t open this as a problem, so it can’t be closed…