Read the statement by Michael Teeuw here.
MMM-Globe
-
@cowboysdude I looked into it briefly. I had a prototype going using
plantary.js, but it was a complete processor hog. I was afraid to even try it on a Pi.IIRC, there were three of us looking into it, two of us had prototypes. And then @Eunanibus comes along and solves it for us all. Well done.
-
@ecirpnaes Never mind. I found it. I was looking for a file and then realized it was the command line config. DOH. If anyone else needs to enable the OpenGL driver just…
sudo raspi-config
Go to Advanced Options->GL Driver -
@bhepler Haha. I had no idea :laughing: - Truth be told, I had this code working OK around 11 months ago. But I wanted it tidied up and packaged up nicely before I released it. Being busy, that somehow took almost a year to do.
-
This is not working for me on a raspberry pi 3. I have the GL driver installed and working but I get these errors in the console when running the magic mirror.
THREE.WebGLRenderer: Float textures not supported.
THREE.WebGLRenderer: Anisotropic texture filering not supported.
THREE.WebGLRenderer: S3TC compressed textures not supported.It doesn’t crash but it doesn’t display the globe either.
-
@Eunanibus Welcome to the club LOL At times there’s just no way to know how something is going to react …everyone seems to have different setups… at times this causes issues :)
-
So does that mean some people have this running on their Pi 3? If so I’ll try a fresh build and install this first.
-
@BlackTalon I don’t think so, no. I’m running this on either my development PC, my work desktop or a microPC. Win10 or Ubuntu 16, respectively.
It looks like the electron browser thingy doesn’t support some of the commands used by the module. Possibly. We may need a workaround. Still investigating.
-
Ok I managed to get this running on a Pi 3. I did sudo apt-get update and sudo apt-get upgrade after installing the driver from raspi-config. Its flickering pretty bad but its running it. I need to pair down some processes on here to see if I can get it to run cleaner.
-
Its hammering the processor on the Pi 3 pretty bad The chip is getting hot. I am going to add a heat sink and a fan to it before I do more. Thanks for your help.
-
@BlackTalon Interesting. Thanks for figuring out the issue.
Question: I could load this on the Raspberry Pi 3 at the office and then take a video of the end result. Would that be interesting to the community? Or should we just call this a greater-than-raspberry module?
-
@bhepler I am using on my win10 dev machine and unbuntu mini-itx 32" inch mirror so it runs great but yes I’d be interested in the RPI-3 info! :)
-
@Eunanibus : your module name has conflicted with this one MMM-Globe. I suggest you change your Globe module name.
-
Well, this sucks. I tried to enable the GL drivers on my Raspberry Pi 3 and it crashed the Pi. It installed the drivers, asked me to reboot and then the Pi won’t come back up. I’m going to have to reflash the card and start over.
It’s going to be a long night. If you’re going to try the GL drivers, back up your
config.jsat the very least. Better yet, image your SD card just in case. -
Well, this sucks. I tried to enable the GL drivers on my Raspberry Pi 3 and it crashed the Pi. It installed the drivers, asked me to reboot and then the Pi won’t come back up. I’m going to have to reflash the card and start over.
It’s going to be a long night. If you’re going to try the GL drivers, back up your
config.jsat the very least. Better yet, image your SD card just in case.I had the same black screen issue on my pi3. I reflashed my card twice before realizing I could have disabled opengl by editing the boot config.txt file. This might save someone else some time. So if you enable opengl and get the black screen issue remember to edit you config file to fix the issue.
dtoverlay=vc4-kms-v3ddtoverlay=vc4-fkms-v3d gpu_mem=256 #dtoverlay=vc4-fkms-v3d #Adding these two lines stopped the black screen issue. hdmi_force_edid_3d=1 avoid_warnings=2https://www.raspberrypi.org/forums/viewtopic.php?p=999920#p999920
-
@d3r This.
I had the same issue on a Pi 2. Starting in safe mode (repeatedly mashing the Shift key on boot) got me up. Editing the boot config.txt file and commenting out the lines that get added when you enable the Open GL driver fixed things. -
as anybody know why we have this issue ? I m reading that can be cause of the power supply ?
-
@BlackTalon got it running to on the rpi3, but it is flickering and sometimes blackscreen. Rpi3 is to weak i think.
-
@tidus5 The OpenGL drivers are experimental. I think we’re pushing the Pi - even the RPi3 - to its absolute limit with this type of rendering. A stable power supply isn’t the issue. It’s an issue of raw computing power.
-
This module is amazing! Some thoughts about this:
-
I’m sure many overlook this topic because it is not classified into one of the subcategories, like all other modules, as one would expect. I believe this piece of art deserves the full attention!
@administrators Is it possible to shift the module to Utilities? -
I really would like to use this module for showing real time data from other modules, by using Notifications. E. g. location data from website visitors with MMM-GoogleAnalytics.
@Eunanibus Is it possible to add location data to the globe while it’s already animated?
-
-
@SvenSommer I’m glad you like it! There is a separate post for this in Utilities but it hasn’t garnered a huge amount of attention. I’m hesitant because if most users user Pi’s for their mirror, this plugin may provide a heavy burden to it in terms of computational ability.
- There is no reason you cannot. I think this would be entirely possible. The module allows you to pass custom locations for pins within the builder (see documentation), so there’s no reason that this information cannot be derived from a custom script.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login