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-Scenes2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    31 Posts 4 Posters 6.7k 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.
    • R Offline
      ric @ric
      last edited by

      After several hours, the loop is blocked again.
      But there is not much to see in the log.

      I have deleted the log ~/.pm2/logs and started it again. I can also post this afterwards.

      pi@magicmirror:~/MagicMirror $ npm run start:dev
      
      > magicmirror@2.25.0 start:dev
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js dev
      
      [13.12.2023 23:55.22.997] [LOG]   Starting MagicMirror: v2.25.0
      [13.12.2023 23:55.23.002] [LOG]   Loading config ...
      [13.12.2023 23:55.23.005] [DEBUG] config template file not exists, no envsubst
      [13.12.2023 23:55.23.010] [LOG]   Loading module helpers ...
      [13.12.2023 23:55.23.012] [LOG]   No helper found for module: alert.
      [13.12.2023 23:55.23.037] [LOG]   Initializing new module helper ...
      [13.12.2023 23:55.23.038] [LOG]   Module helper loaded: updatenotification
      [13.12.2023 23:55.23.039] [LOG]   No helper found for module: clock.
      [13.12.2023 23:55.23.109] [LOG]   Initializing new module helper ...
      [13.12.2023 23:55.23.110] [LOG]   Module helper loaded: MMM-text-clock
      [13.12.2023 23:55.23.336] [LOG]   Initializing new module helper ...
      [13.12.2023 23:55.23.336] [LOG]   Module helper loaded: calendar
      [13.12.2023 23:55.23.337] [LOG]   No helper found for module: weather.
      [13.12.2023 23:55.23.351] [LOG]   Initializing new module helper ...
      [13.12.2023 23:55.23.352] [LOG]   Module helper loaded: MMM-Scenes2
      [13.12.2023 23:55.23.352] [LOG]   All module helpers loaded.
      [13.12.2023 23:55.23.360] [LOG]   Starting server on port 8080 ...
      [13.12.2023 23:55.23.755] [LOG]   Server started ...
      [13.12.2023 23:55.23.756] [LOG]   Connecting socket for: updatenotification
      [13.12.2023 23:55.23.757] [LOG]   Starting module helper: updatenotification
      [13.12.2023 23:55.23.757] [LOG]   Connecting socket for: MMM-text-clock
      [13.12.2023 23:55.23.758] [LOG]   Starting module helper: MMM-text-clock
      [13.12.2023 23:55.23.758] [LOG]   Connecting socket for: calendar
      [13.12.2023 23:55.23.759] [LOG]   Starting node helper for: calendar
      [13.12.2023 23:55.23.759] [LOG]   Connecting socket for: MMM-Scenes2
      [13.12.2023 23:55.24.018] [LOG]   Sockets connected & modules started ...
      [13.12.2023 23:55.24.126] [LOG]   Launching application.
      [6004:1213/235525.303520:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.304075:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.304482:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.304869:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.305244:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.305713:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.306098:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.307820:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.308207:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.308576:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.308928:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.309269:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.309644:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [6004:1213/235525.310007:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
      [13.12.2023 23:55.27.245] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics - Interval: 3600000
      [13.12.2023 23:55.27.382] [LOG]   Create new calendarfetcher for url: https://onlinekalender.info/feiertage/schweiz.ics - Interval: 3600000
      [13.12.2023 23:55.27.389] [INFO]  Checking git for module: MMM-text-clock
      [13.12.2023 23:55.28.161] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [13.12.2023 23:55.28.195] [INFO]  Checking git for module: MMM-Scenes2
      [13.12.2023 23:55.28.616] [INFO]  Checking git for module: MagicMirror
      [13.12.2023 23:55.30.046] [INFO]  Calendar-Fetcher: Broadcasting 3 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [6004:1213/235535.089417:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
      [6004:1213/235537.084669:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
      [6004:1213/235540.087744:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
      [14.12.2023 00:55.28.404] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 00:55.30.993] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 01:55.28.639] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 01:55.31.758] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 02:55.28.843] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 02:55.32.503] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 03:55.29.056] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 03:55.33.226] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 04:55.29.269] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 04:55.33.880] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 05:55.29.449] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 05:55.34.466] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 06:55.29.648] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 06:55.35.144] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      [14.12.2023 07:55.29.860] [INFO]  Calendar-Fetcher: Broadcasting 26 events from https://onlinekalender.info/feiertage/schweiz.ics.
      [14.12.2023 07:55.35.877] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://calendar.google.com/calendar/ical/xxxxxxxx/basic.ics.
      
      M 2 Replies Last reply Reply Quote 0
      • M Offline
        MMRIZE @ric
        last edited by

        @ric said in MMM-Scenes2:

        [5658:1213/232023.441362:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)

        I’m not sure whether this error is related to your symptom but refer to this.
        https://forum.magicmirror.builders/topic/18076/failed-to-export-buffer-to-dma_buf-no-such-file-or-directory

        And for ;

        [5658:1213/232033.074222:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

        It also seems related to the GPU/GL issue of electron/chromium.
        https://github.com/electron/electron/issues/32760

        Hmmm, for those issues, I cannot help.

        If you find something other from the log, report it again.

        1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE @ric
          last edited by

          @ric
          Maybe there would be some memory leaks on the chromium.
          Can you test it again with more simple animations?(Just fadeIn, fadeOut) Some version of Chromium is known for possible memory leaking on transitions.

          1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @ric
            last edited by

            @ric
            And, your log is just backend log, I need front-end log.
            You can see front-end log by;

            • installing MMM-LogExt
            • Or, dev-console of your MM screen, not terminal. (with npm run start:dev, you can see dev-console panel on your MM screen.)
            R 2 Replies Last reply Reply Quote 0
            • R Offline
              ric @MMRIZE
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • R Offline
                ric @MMRIZE
                last edited by ric

                @MMRIZE
                I have changed the animations. New: fadeIn/fadeOut
                I have installed MMM-LogExt.
                MagicMirror is running and I will keep an eye on it. As soon as it stops running correctly, I will post the logs.
                Thank you

                Current log entry

                pi@magicmirror:~/MagicMirror $ pm2 logs MagicMirror
                [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
                /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
                0|MagicMir | [29109:1214/163910.531720:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.534010:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.535596:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.536560:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.537412:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.539776:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.540617:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.541337:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.542083:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.542859:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.543568:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163910.544310:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
                0|MagicMir | [29109:1214/163912.238616:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
                0|MagicMir | [29109:1214/163912.240892:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
                0|MagicMir | [29109:1214/163923.075684:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
                
                /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
                ...
                0|MagicMirror  | [14.12.2023 16:56.57.386] [LOG]   [library.mjs:174:9] [SCENE] Scene transition starts: scene_2
                0|MagicMirror  | [14.12.2023 16:57.00.007] [LOG]   [library.mjs:178:9] [SCENE] Scene will live: scene_2 60000
                0|MagicMirror  | [14.12.2023 16:58.00.036] [LOG]   [library.mjs:174:9] [SCENE] Scene transition starts: scene_1
                0|MagicMirror  | [14.12.2023 16:58.02.697] [LOG]   [library.mjs:178:9] [SCENE] Scene will live: scene_1 60000
                0|MagicMirror  | [14.12.2023 16:59.02.696] [LOG]   [library.mjs:174:9] [SCENE] Scene transition starts: scene_2
                0|MagicMirror  | [14.12.2023 16:59.05.324] [LOG]   [library.mjs:178:9] [SCENE] Scene will live: scene_2 60000
                0|MagicMirror  | [14.12.2023 16:59.15.816] [LOG]   [weather.js:166:7] New weather information available.
                0|MagicMirror  | [14.12.2023 16:59.15.952] [LOG]   [weather.js:166:7] New weather information available.
                0|MagicMirror  | [14.12.2023 17:00.05.325] [LOG]   [library.mjs:174:9] [SCENE] Scene transition starts: scene_1
                0|MagicMirror  | [14.12.2023 17:00.07.959] [LOG]   [library.mjs:178:9] [SCENE] Scene will live: scene_1 60000
                0|MagicMirror  | [14.12.2023 17:01.07.968] [LOG]   [library.mjs:174:9] [SCENE] Scene transition starts: scene_2
                0|MagicMirror  | [14.12.2023 17:01.10.602] [LOG]   [library.mjs:178:9] [SCENE] Scene will live: scene_2 60000
                0|MagicMirror  | [14.12.2023 17:02.10.614] [LOG]   [library.mjs:174:9] [SCENE] Scene transition starts: scene_1
                0|MagicMirror  | [14.12.2023 17:02.13.263] [LOG]   [library.mjs:178:9] [SCENE] Scene will live: scene_1 60000
                

                Is MMM-LogExt working correctly or do I need to adjust something?

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @ric
                  last edited by

                  @ric
                  Log says nothing suspicious. I suspect Chromium graphic memory leak issues due to last parts of error-log.
                  In that case, I have nothing to help. Sorry.

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    ric @MMRIZE
                    last edited by

                    @MMRIZE
                    Thanks anyway.

                    Would you say it’s the Pi version? Software/hardware version? Could this be fixed with a Chromium update in the future?

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      ric @ric
                      last edited by

                      Very strange. I have created a third scene. Now it is already running for several hours.

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Babene1 Project Sponsor
                        last edited by

                        I have the same problem, after about 1 hour there is no change of modules.
                        I also want a constant change of MMM-iframeReload and MMM-iframeReload2 module

                        MagicMirror Version 2.27, Rapsberry PI 4 – 4 GB
                        My Config:

                        /* MagicMirror² Config Sample
                         *
                         * By Michael Teeuw https://michaelteeuw.nl
                         * MIT Licensed.
                         *
                         * For more information on how you can configure this file
                         * see https://docs.magicmirror.builders/configuration/introduction.html
                         * and https://docs.magicmirror.builders/modules/configuration.html
                         *
                         * You can use environment variables using a `config.js.template` file instead of `config.js`
                         * which will be converted to `config.js` while starting. For more information
                         * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
                         */
                        let config = {
                        	address: "0.0.0.0",	// Address to listen on, can be:
                        							// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                        							// - another specific IPv4/6 to listen on a specific interface
                        							// - "0.0.0.0", "::" to listen on any interface
                        							// Default, when address config is left out or empty, is "localhost"
                        	port: 8080,
                        	basePath: "/",	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
                        									// you must set the sub path here. basePath must end with a /
                        	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.249", "192.168.178.49"], // Set [] to allow all IP addresses
                        									// or add a specific IPv4 of 192.168.1.5 :
                        									// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                        									// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                        									// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                        
                        	useHttps: false,			// Support HTTPS or not, default "false" will use HTTP
                        	httpsPrivateKey: "",	// HTTPS private key path, only require when useHttps is true
                        	httpsCertificate: "",	// HTTPS Certificate path, only require when useHttps is true
                        
                        	language: "de",
                        	locale: "de-DE",
                        	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
                        	timeFormat: 24,
                        	units: "metric",
                        	
                        	electronOptions: {
                        		webPreferences: {
                        		  webviewTag: true,
                        		},
                        	  },
                        
                        	modules: [
                        		{
                        			module: "alert",
                        		},
                        		/*{
                        			module: "clock",
                        			position: "top_left"
                        		},*/
                        		{
                        		// https://github.com/TheBogueRat/MMM-iFrameReload
                        		module: 'MMM-iFrameReload',
                        		position: 'top_left',	// This can be any of the regions.
                        		classes: "SEITE_ZWEI",
                        		//header: 'Rezept des Tages',
                        		config: {
                        			// See 'Configuration options' for more information.
                        				url: http://test/Anzeigetafeln/Anzeige1.html,
                        				width: "1900px", // Optional. Default: 100%
                        				height: "1080px", //Optional. Default: 100px
                        				refreshInterval: 100
                        			}
                        		},
                        		{
                        			// https://github.com/TheBogueRat/MMM-iFrameReload
                        			module: 'MMM-iFrameReload2',
                        			position: 'top_left',	// This can be any of the regions.
                        			classes: "Welcome SEITE_EINS",
                        			//header: 'Rezept des Tages',
                        			config: {
                        				// See 'Configuration options' for more information.
                        					url: http://test/Anzeigetafeln/Logo.html,
                        					width: "1900px", // Optional. Default: 100%
                        					height: "1080px", //Optional. Default: 100px
                        					refreshInterval: 3600
                        				}
                        			},
                        			{
                        				// https://github.com/MMRIZE/MMM-Scenes2
                        				module: "MMM-Scenes2",
                        				position: "bottom_bar",
                        				config: {
                        					life: 1000 * 10,
                        					activeIndicator: ' ',
                        					inactiveIndicator: ' ',
                        					scenario: [
                        						{ // First scene definition
                        							exit: ["SEITE_ZWEI"],
                        							enter: ["SEITE_EINS"],
                        							life: 1000 * 10,
                        						  },
                        						  { // Second scene definition
                        							exit: ["SEITE_EINS"],
                        							enter: ["SEITE_ZWEI"],
                        							life: 1000 * 45,
                        						  },
                        					],
                        				}
                        			},
                        		{
                        			// https://github.com/Jopyth/MMM-Remote-Control
                        			module: 'MMM-Remote-Control',
                        			// uncomment the following line to show the URL of the remote control on the mirror
                        			// position: 'bottom_left',
                        			// you can hide this module afterwards from the remote control itself
                        			config: {
                        				customCommand: {
                        					//monitorStatusCommand: 'rm -rf .config/Electron',
                        					monitorStatusCommand: '~pi/restartBrowsercache.sh'
                        				},  // Optional, See "Using Custom Commands" below
                        				showModuleApiMenu: false, // Optional, Enable the Module Controls menu
                        				secureEndpoints: true, // Optional, See API/README.md
                        				// uncomment any of the lines below if you're gonna use it
                        				customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
                        				// apiKey: "", // Optional, See API/README.md for details
                        				// classes: {} // Optional, See "Custom Classes" below
                        			}
                        		},
                        	]
                        };
                        
                        /*************** DO NOT EDIT THE LINE BELOW ***************/
                        if (typeof module !== "undefined") { module.exports = config; }
                        
                        

                        I insert the line in my mm.sh:

                        export ELECTRON_DISABLE_GPU=1

                        pm2 Log:

                        [1965:0521/220109.925300:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
                        [1965:0521/220109.925398:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)

                        uname -a
                        Linux raspberryanzeige1 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux

                        file /bin/bash
                        /bin/bash: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=198ac6b0cc01bf774c5746a36a6fd31dead9bda5, for GNU/Linux 3.7.0, stripped

                        Does anyone have any idea what I can do? Thanks

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