• 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.

Error log full of this error - gdk_monitor_get_scale_factor

Scheduled Pinned Locked Moved Unsolved Troubleshooting
16 Posts 3 Posters 1.3k Views 4 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
    sdetweil @Dotmatrix812
    last edited by sdetweil Apr 28, 2024, 12:03 PM Apr 28, 2024, 11:59 AM

    @Dotmatrix812 what version of MagicMirror are you running?

    you can see it in the logs, but maybe for you easier to do

    cd ~/MagicMirror 
    grep version package.json
    

    edited: fixed typo

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Apr 28, 2024, 4:41 PM Reply Quote 0
    • S Offline
      sdetweil @Dotmatrix812
      last edited by sdetweil Apr 28, 2024, 12:04 PM Apr 28, 2024, 12:04 PM

      @Dotmatrix812 also can your show the config for backgroundslideshow

      do you use any transitions?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dotmatrix812 @sdetweil
        last edited by Apr 28, 2024, 4:41 PM

        @sdetweil

        The version is “version”: “2.27.0”,

        The config for the background is

        
        {
          module: 'MMM-BackgroundSlideshow',
          position: 'fullscreen_below',
          config: {
           imagePaths: ['modules/MMM-BackgroundSlideshow/fotos/'],
           randomizeImageOrder: true,
           slideshowSpeed: 60000,
           backgroundAnimationEnabled: false,
           gradient: [ "rgba(0, 0, 0, 0.5) 0%", "rgba(0, 0, 0, 0.15) 40%", "rgba(0, 0, 0, 0.15) 80%", "rgba(0, 0, 0, 0.5) 100%" ],
           horizontalGradient: [ "rgba(0, 0, 0, 0.5) 0%", "rgba(0, 0, 0, 0.15) 40%", "rgba(0, 0, 0, 0.15) 80%", "rgba(0, 0, 0, 0.5) 100%" ],
           gradientDirection: 'both',
            },
        },     
        
        

        Thanks for your help

        S 2 Replies Last reply Apr 28, 2024, 4:50 PM Reply Quote 0
        • S Offline
          sdetweil @Dotmatrix812
          last edited by Apr 28, 2024, 4:50 PM

          @Dotmatrix812 ok, 2.27 turns off use of the gpu by default

          do this, open a terminal window

          pm2 stop all
          cd ~/MagicMirror 
          export ELECTRON_ENABLE_GPU=1
          npm start
          

          and see if that message continues

          you will have to minimize MagicMirror to get back to the terminal window
          ctrl-m
          should work

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Apr 28, 2024, 6:13 PM Reply Quote 0
          • S Offline
            sdetweil @Dotmatrix812
            last edited by Apr 28, 2024, 5:01 PM

            @Dotmatrix812 here also is an interesting cause

            no monitor attached, Is this your case?

            1000025820.jpg

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Apr 28, 2024, 6:15 PM Reply Quote 0
            • D Offline
              Dotmatrix812 @sdetweil
              last edited by Apr 28, 2024, 6:13 PM

              @sdetweil

              Seems so.

              
              [2024-04-28 20:08:21.486] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//1.jpg" 
              [7029:0428/200827.311004:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
              [7029:0428/200827.343752:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
              [7029:0428/200827.350960:ERROR:browser_main_loop.cc(278)] Gdk: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
              [2024-04-28 20:09:21.614] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//10.jpg" 
              [2024-04-28 20:10:21.688] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//8.jpg" 
              [2024-04-28 20:11:21.762] [INFO]  BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/fotos//12.jpg"
              
              

              Strange that the time stamp is so different …

              1 Reply Last reply Reply Quote 0
              • D Offline
                Dotmatrix812 @sdetweil
                last edited by Apr 28, 2024, 6:15 PM

                @sdetweil

                No. Monitor is connected to the raspberry. Or could this happen when the monitor gets switched off via the MMM-PIR module ?

                Sorry that my answers take so long. But I still need 3 reputations as new user.

                S 2 Replies Last reply Apr 28, 2024, 6:22 PM Reply Quote 0
                • S Offline
                  sdetweil @Dotmatrix812
                  last edited by Apr 28, 2024, 6:22 PM

                  @Dotmatrix812 could be because turned off… altho I have not seen this before

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Dotmatrix812
                    last edited by Apr 28, 2024, 6:26 PM

                    @Dotmatrix812 also, I am the one that approves posts

                    they may be delayed as I am spending time w grandson

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Apr 29, 2024, 5:49 AM Reply Quote 0
                    • D Offline
                      Dotmatrix812 @sdetweil
                      last edited by Apr 29, 2024, 5:49 AM

                      @sdetweil

                      Time with the grandson is very important 👍

                      I will check if I can find out if the errors appear after the monitor gets switched off.

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