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.

    RPI 3B keeps going to blank screen (cursor showing)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    27 Posts 5 Posters 7.7k Views 5 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.
    • B Offline
      BigTJ @sdetweil
      last edited by

      @sdetweil Hi, the messages of note from starting MM are as below

      setterm: terminal xterm-256color does not support --blank
      pi@raspberrypi:~ $ cd MagicMirror
      pi@raspberrypi:~/MagicMirror $ npm start run

      magicmirror@2.18.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js “run”

      [24.08.2022 18:40.30.154] [LOG] Starting MagicMirror: v2.18.0
      [24.08.2022 18:40.30.166] [LOG] Loading config …
      [24.08.2022 18:40.30.198] [LOG] Loading module helpers …
      [24.08.2022 18:40.30.206] [LOG] No helper found for module: alert.
      [24.08.2022 18:40.31.907] [LOG] Initializing new module helper …
      [24.08.2022 18:40.31.911] [LOG] Module helper loaded: MMM-Wallpaper
      [24.08.2022 18:40.31.917] [LOG] No helper found for module: clock.
      [24.08.2022 18:40.31.922] [LOG] No helper found for module: calendar_monthly.
      [24.08.2022 18:40.32.330] [LOG] Initializing new module helper …
      [24.08.2022 18:40.32.332] [LOG] Module helper loaded: calendar
      [24.08.2022 18:40.32.336] [LOG] No helper found for module: weather.
      [24.08.2022 18:40.32.341] [LOG] No helper found for module: MMM-WiFiPassword.
      [24.08.2022 18:40.32.421] [LOG] Initializing new module helper …
      [24.08.2022 18:40.32.422] [LOG] Module helper loaded: newsfeed
      [24.08.2022 18:40.32.425] [LOG] All module helpers loaded.
      [24.08.2022 18:40.32.697] [LOG] Starting server on port 8080 …
      [24.08.2022 18:40.32.740] [LOG] Server started …
      [24.08.2022 18:40.32.743] [LOG] Connecting socket for: MMM-Wallpaper
      [24.08.2022 18:40.32.745] [LOG] Starting node helper for: MMM-Wallpaper
      [24.08.2022 18:40.32.746] [LOG] Connecting socket for: calendar
      [24.08.2022 18:40.32.748] [LOG] Starting node helper for: calendar
      [24.08.2022 18:40.32.749] [LOG] Connecting socket for: newsfeed
      [24.08.2022 18:40.32.750] [LOG] Starting node helper for: newsfeed
      [24.08.2022 18:40.32.751] [LOG] Sockets connected & modules started …
      [24.08.2022 18:40.33.378] [LOG] Launching application.
      [24055:0824/184036.476041:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      [24096:0824/184036.932766:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      [24.08.2022 18:40.40.506] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/*********gmail.com/private-*********/basic.ics - Interval: 3000000
      [24.08.2022 18:40.40.693] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/*********gmail.com/private-*********/basic.ics - Interval: 3000000
      [24.08.2022 18:40.40.703] [LOG] Create new newsfetcher for url: http://feeds.bbci.co.uk/news/uk/rss.xml - Interval: 300000

      [24.08.2022 23:05.55.239] [INFO] Newsfeed-Fetcher: Broadcasting 38 items.
      [24067:0824/230903.755884:ERROR:broker_posix.cc(46)] Received unexpected number of handles
      [24.08.2022 23:10.55.583] [INFO] Newsfeed-Fetcher: Broadcasting 38 items.

      I don’t know exactly when the black screen occurred.
      Hope this helps

      Thanks BigTJ

      S 1 Reply Last reply Reply Quote 0
      • B Offline
        BigTJ
        last edited by

        @karsten13 The modules of the MM are listed below in shortened form. Thanks for your interest.

        “alert”
        “updatenotification”
        “MMM-Wallpaper”
        “clock”
        “calendar_monthly”
        “calendar”
        header: “Steve’s Upcoming Items”
        “MMM-GoogleSheets”
        “calendar”
        — header: “Angela’s Upcoming Items”
        “weather”
        — position: “top_left”
        — header: "Currently: "
        — location: “Doncaster”
        “weather”,
        — position: “top_left”
        — header: “Forecast”
        — location: “Doncaster”
        “weather”,
        — position: “top_left”
        — header: “Forecast”
        — location: “Pickering”
        ‘MMM-WiFiPassword’
        “newsfeed”

        karsten13K 1 Reply Last reply Reply Quote 0
        • karsten13K Online
          karsten13 @BigTJ
          last edited by

          @BigTJ

          I asked because I had problems with some modules which needed to much memory which results also in a black screen with white cursor.

          You could try to run without the 3 foreign modules to see if the problem persists.

          1 Reply Last reply Reply Quote 0
          • B Offline
            BigTJ
            last edited by

            @karsten13

            I have another MM running on a Pi 4B that uses all the same modules without a problem.

            But I will give your suggestion a try. Thanks for the tip

            Big TJ

            1 Reply Last reply Reply Quote 0
            • B Offline
              BigTJ @sdetweil
              last edited by BigTJ

              @sdetweil Hi,
              Were the displayed messages of any help in narrowing down the issue?

              BigTj

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

                @BigTJ said in RPI 3B keeps going to blank screen (cursor showing):

                4067:0824/230903.755884:ERROR:broker_posix.cc(46)] Received unexpected number of handles

                this is the error

                we don’t really know the cause.
                u can try disabling the use of gpu

                change package.json line to look like this

                		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron --disable-gpu js/electron.js",
                
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  BigTJ @sdetweil
                  last edited by

                  @sdetweil Thanks for the suggestion.

                  I’ll give it a go and let you know if it is successful.

                  BigTJ

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    BigTJ @BigTJ
                    last edited by

                    @sdetweil Hi, I have changed the line as your suggestion.
                    The mirror screen is still going blank after a short random period of time.

                    I have installed the ‘example’ mirror as per your suggestion to a previous query. The mirror works OK and (appears) not to go to black screen. Currently I am commenting out each module in config.js to try to identify if it is a particular module that is causing the problem.

                    My original set up uses the Calendar module twice (for 2 different users). Is this a possible cause of the problem? ie do I need to have independent modules one per user?

                    The following lines occur each time I start the mirror. Could this be relevant to my problem?

                    “[24055:0824/184036.476041:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
                    [24096:0824/184036.932766:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.”

                    Thanks

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

                      @BigTJ if u did --disable-gpu, then u shouldnt be getting those messages

                      u can use all the default modules multiple times

                      when the screen goes black, does the mouse work? does it wake up?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        BigTJ @sdetweil
                        last edited by

                        @sdetweil Thanks for the response

                        I amended the package.json as follows;-

                        “start”: “DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron --disable-gpu js/electron.js”,
                        “start:dev”: “DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron --disable-gpu js/electron.js”,

                        Is this correct?

                        Yes the mouse still works. Cursor is a black arrow with a white outline. No it does wake up.
                        Control M works
                        Control R Works
                        Control Q works

                        The start up report of the mirror with minimal content shows;-

                        magicmirror@2.18.0 start
                        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron --disable-gpu js/electron.js “run”

                        [11.10.2022 11:45.29.988] [LOG] Starting MagicMirror: v2.18.0
                        [11.10.2022 11:45.30.003] [LOG] Loading config …
                        [11.10.2022 11:45.30.030] [LOG] Loading module helpers …
                        [11.10.2022 11:45.31.926] [LOG] Initializing new module helper …
                        [11.10.2022 11:45.31.930] [LOG] Module helper loaded: MMM-Wallpaper
                        [11.10.2022 11:45.31.935] [LOG] No helper found for module: weather.
                        [11.10.2022 11:45.31.936] [LOG] All module helpers loaded.
                        [11.10.2022 11:45.32.214] [LOG] Starting server on port 8080 …
                        [11.10.2022 11:45.32.258] [LOG] Server started …
                        [11.10.2022 11:45.32.261] [LOG] Connecting socket for: MMM-Wallpaper
                        [11.10.2022 11:45.32.268] [LOG] Starting node helper for: MMM-Wallpaper
                        [11.10.2022 11:45.32.270] [LOG] Sockets connected & modules started …
                        [11.10.2022 11:45.32.942] [LOG] Launching application.
                        [6000:1011/114533.695740:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

                        Any further ideas?

                        Thanks for your continued assistance

                        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