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.

    Google Calendars not loading

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    28 Posts 7 Posters 8.8k Views 7 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.
    • M Offline
      mspk
      last edited by

      Hi everyone!
      I just started my raspberry pi / MM journey a few days ago and oh boy!
      It has not been easy… Finally, after 40ish hours of programming, i figured out what to do.

      I am using an Raspberry Pi Zero 2W for my MM with Raspberry Pi OS, 32-bit version and an 1080p monitor (if that is important).
      I tried installing MM both manually and with @sdetweil’s script, but for some reason, I can’t get my calendars to run as they should.

      I tried testing every calendar separately too, which all get the same error. Form searching the forum, it seems to be a GPU issue… can somebody please help?

      Warning: vkCreateInstance: Found no drivers!
      0|MagicMirror  | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
      0|MagicMirror  |     at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
      0|MagicMirror  |     at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
      0|MagicMirror  |     at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
      0|MagicMirror  |     at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
      0|MagicMirror  |     at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)
      
      

      Cheers!

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @mspk
        last edited by

        @mspk those are garbage messages… from a bug in electron… the actual errors are closer to the top

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @sdetweil
          last edited by sdetweil

          @mspk weird…

          your post was makred as spam which I can’t override…
          please use a code block around this info

          paste text(blank line above and below)
          select text just pasted
          hit the button </>

          if you used my script, I increased the size of the swap space

          free -m

          should show that

          calendars keep all the OLD events… since the calendar was created… SO… you could have a LOT of entries to process…

          your spam post shows calendars sending events to the front end to display

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 2 Replies Last reply Reply Quote 0
          • M Offline
            mspk @sdetweil
            last edited by

            @sdetweil I’ll try that. Funny aboutz the spam, I used the </> button…

            1 Reply Last reply Reply Quote 0
            • M Offline
              mspk @sdetweil
              last edited by

              @sdetweil

              pi@raspberrypi:~ $ free -m
                             total        used        free      shared  buff/cache   available
              Mem:             363         169          88          23         105         115
              Swap:           2047         227        1820
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @mspk
                last edited by

                @mspk said in Google Calendars not loading:

                Mem: 363

                weird that there is only 363… as its supposed to have 512…

                I have one here… I’ll power it up

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @sdetweil
                  last edited by

                  @mspk doc

                  The installed RAM is 524,288KB.
                  The usable RAM is 437,868 KB

                  mine

                                total        used        free      shared  buff/cache   available
                  Mem:             426         134         117          10         175         232
                  Swap:             99           1          98
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mspk @sdetweil
                    last edited by

                    @sdetweil When I played around a bit, i gave the gpu 128MB, I guess thats why. Just set it back to 64, and now it shows 426 for me too. But the calendars are still not complete…
                    The status right now is following:
                    Calendar 1 seems to be complete.
                    Calandar 2 is not loading at all.
                    Calendar 3 seems complete (i guess for the one month that it shows in my module).
                    Calendar 4 is there, but not updated (I changed the title).
                    Calendar 5 is also missing.

                    Do I need to reset something maybe?

                    P.S.: It’ still slow.

                    S 1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @mspk
                      last edited by

                      @mspk are u willing to share the url of one of the not loading cals…

                      you can use chat here so no email flow…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S M 2 Replies Last reply Reply Quote 0
                      • S Away
                        sdetweil @sdetweil
                        last edited by

                        @mspk all of the urls worked without issue

                        so, try this
                        stop mm

                        cd ~/MagicMirror
                        npm install electron@28.1.1
                        

                        retry MM

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          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