• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Globe rotates very slowly and haltingly

Scheduled Pinned Locked Moved Unsolved Troubleshooting
6 Posts 3 Posters 663 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    Syosse
    last edited by Jan 14, 2024, 8:40 PM

    Hello

    Does anyone know why it doesn’t rotate smoothly and is always so slow and it always flashes white?
    I have a Raspberry Pi4 with 2GB Ram and the TV Samsung 55 Inches FHD.

    Video:https://streamable.com/tsadn0

    Thank so much!

    B 1 Reply Last reply Jan 15, 2024, 2:10 AM Reply Quote 0
    • B Offline
      bhepler Module Developer @Syosse
      last edited by Jan 15, 2024, 2:10 AM

      @Syosse - The reason for the slow & flashing is because that module is pure Javascript and doesn’t use hardware acceleration at all. It’s using the CPU to do all the work.

      I’ve been toying around with a 3D accelerated version of that module but I got distracted. It didn’t look super hard. Mostly just playing around with some free libraries.

      S 1 Reply Last reply Jan 17, 2024, 8:09 AM Reply Quote 0
      • S Offline
        Syosse @bhepler
        last edited by Jan 17, 2024, 8:09 AM

        @bhepler said in MMM-Globe rotates very slowly and haltingly:

        @Syosse - The reason for the slow & flashing is because that module is pure Javascript and doesn’t use hardware acceleration at all. It’s using the CPU to do all the work.

        I’ve been toying around with a 3D accelerated version of that module but I got distracted. It didn’t look super hard. Mostly just playing around with some free libraries.

        allright thanks so much for the information!

        So is there no other solution than replacing the Raspberry Pi and getting one with a higher CPU?

        B 1 Reply Last reply Jan 17, 2024, 3:35 PM Reply Quote 0
        • B Offline
          bhepler Module Developer @Syosse
          last edited by Jan 17, 2024, 3:35 PM

          @Syosse said in MMM-Globe rotates very slowly and haltingly:

          So is there no other solution than replacing the Raspberry Pi and getting one with a higher CPU?

          You could finish what I started. Write a module that uses the 3d-accelerated globe libraries. There’s already a project out there that has the hexagon look & feel.

          You’ll have to reconfigure your mirror to use Chromium in kiosk mode to display your mirror, rather than the default Electron (Electron does not support hardware acceleration). That’s not difficult at all. It’s just command line arguments. That should work on an RPi.

          S 1 Reply Last reply Jan 17, 2024, 4:23 PM Reply Quote 0
          • S Away
            sdetweil @bhepler
            last edited by sdetweil Jan 17, 2024, 4:24 PM Jan 17, 2024, 4:23 PM

            @bhepler said in MMM-Globe rotates very slowly and haltingly:

            Electron does not support hardware acceleration

            incorrect… we just disable it by default in 2.26

            add

            export ELECTRON_ENABLE_GPU=1
            

            to the script where u launch MM

            note that you also have to have the correct drivers installed to enable GPU
            … not the fakekms…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Jan 17, 2024, 8:32 PM Reply Quote 0
            • B Offline
              bhepler Module Developer @sdetweil
              last edited by Jan 17, 2024, 8:32 PM

              @sdetweil Huh. Well, that’s new. If I ever get around to making the hardware accelerated version I’ll give it a go.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                2/6
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy