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

Black screen with cursor issue.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
black screen
12 Posts 2 Posters 2.1k Views 2 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.
  • N Offline
    nx3xo
    last edited by Dec 18, 2023, 2:23 PM

    Hey everyone.

    I’ve been having an issue with my 3A+ connected to a pixel square 4x4 gpio touch display.

    Everything config wise on bullseye 32 bit and mm are up to date. Modules are working with no errors. No weird orientation settings. The pixel square works great when mm is stopped. I just get a black screen with cursor. I’ve done a few from scratch installs and the issue continues. I can see the mm session through the 8080 web address and it looks good.

    Modules are solaredge, mycommute, today’s weather, and tesla.

    Any guidance would be greatly appreciated.

    I do have this happen on another larger mm I have with a raspi4 2gb, it’ll goto black screen sometimes with cursor sometimes without, powercycle typically brings it right back.

    I do have a pfsense fw with pfblocker. Could this create conflict?

    Thanks.

    S 2 Replies Last reply Dec 18, 2023, 7:06 PM Reply Quote 0
    • S Offline
      sdetweil @nx3xo
      last edited by Dec 18, 2023, 7:06 PM

      @nx3xo can you bring up the system browser on that device?

      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 @nx3xo
        last edited by Dec 18, 2023, 7:08 PM

        @nx3xo you should look at the errors where u start mm

        the blocker might cause a module error .any do not have error recovery…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        N 1 Reply Last reply Dec 19, 2023, 2:48 AM Reply Quote 0
        • N Offline
          nx3xo @sdetweil
          last edited by Dec 19, 2023, 2:48 AM

          @sdetweil

          System browser launches no problem.

          Disabled the blocker rues for pfblocker on my iot vlan so its a straight shot to internet.

          Whats the best way to dump logs? I am on pm2. Your auto install script.

          Thanks

          S 1 Reply Last reply Dec 19, 2023, 2:58 AM Reply Quote 0
          • S Offline
            sdetweil @nx3xo
            last edited by Dec 19, 2023, 2:58 AM

            @nx3xo the files are in the

            ~/.pm2/logs 
            

            folder

            notice the dot (.) I’m front of pm2

            in Linux there is no hidden attribute so by convention anything with a leading dot I not shown by normal file list commands

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N 1 Reply Last reply Dec 19, 2023, 3:56 AM Reply Quote 0
            • N Offline
              nx3xo @sdetweil
              last edited by Dec 19, 2023, 3:56 AM

              @sdetweil

              Hopefully this is enough to narrow it down.
              Out>
              [18.12.2023 19:51.10.942] [LOG] Starting MagicMirror: v2.25.0
              [18.12.2023 19:51.10.959] [LOG] Loading config …
              [18.12.2023 19:51.10.966] [DEBUG] config template file not exists, no envsubst
              [18.12.2023 19:51.10.982] [LOG] Loading module helpers …
              [18.12.2023 19:51.10.988] [LOG] No helper found for module: clock.
              [18.12.2023 19:51.10.992] [LOG] No helper found for module: weather.
              [18.12.2023 19:51.14.346] [LOG] Initializing new module helper …
              [18.12.2023 19:51.14.349] [LOG] Module helper loaded: MMM-MyCommute
              [18.12.2023 19:51.16.298] [LOG] Initializing new module helper …
              [18.12.2023 19:51.16.302] [LOG] Module helper loaded: MMM-Tesla
              [18.12.2023 19:51.19.071] [LOG] Module helper loaded: MMM-Nightscout
              [18.12.2023 19:51.19.072] [LOG] All module helpers loaded.
              [18.12.2023 19:51.19.094] [LOG] Starting server on port 8080 …
              [18.12.2023 19:51.19.204] [LOG] Server started …
              [18.12.2023 19:51.19.209] [LOG] Connecting socket for: MMM-MyCommute
              [18.12.2023 19:51.19.210] [LOG] ====================== Starting node_helper for module [MMM-MyCommute]
              [18.12.2023 19:51.19.211] [LOG] Connecting socket for: MMM-Tesla
              [18.12.2023 19:51.19.215] [LOG] Connecting socket for: MMM-Nightscout
              [18.12.2023 19:51.20.516] [LOG] 19:51:19 MMM-Nightscout: Starting helper: MMM-Nightscout
              [18.12.2023 19:51.20.520] [LOG] Sockets connected & modules started …
              [18.12.2023 19:51.24.269] [LOG] Launching application.

              Error>
              …/…/buildtools/third_party/libc++/trunk/include/vector:1473: assertion __n < size() failed: vector[] index out of bounds[1874:1217/085550.258949:ERROR:gpu_process_host.cc(957)] GPU process exited unexpected>
              [1919:1217/085552.538276:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
              /home/magicmirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
              [1305:1217/143752.436510:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
              [2710:1218/061416.667391:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
              [7631:1218/180141.222415:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
              /home/magicmirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
              [1302:1218/182932.524821:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
              [1560:1218/184240.402360:ERROR:connection.cc(46)] X connection error received.
              [1560:1218/184240.402357:ERROR:connection.cc(46)] X connection error received.
              [1302:1218/184240.770157:FATAL:bus.cc(1226)] D-Bus connection was disconnected. Aborting.
              /home/magicmirror/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
              [1298:1218/184436.702381:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
              [1382:1218/191642.613559:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>
              [1943:1218/195126.584825:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The n>

              S 1 Reply Last reply Dec 19, 2023, 4:10 AM Reply Quote 0
              • S Offline
                sdetweil @nx3xo
                last edited by sdetweil Dec 19, 2023, 4:10 AM Dec 19, 2023, 4:10 AM

                @nx3xo in the script that does npm start
                add

                export ELECTRON_DISABLE_GPU=1
                

                before the npm start line

                with my install script, that is

                ~/MagicMirror/installers/mm.sh
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                N 2 Replies Last reply Dec 19, 2023, 4:20 AM Reply Quote 0
                • N Offline
                  nx3xo @sdetweil
                  last edited by Dec 19, 2023, 4:20 AM

                  @sdetweil

                  So one of my installs is mm.sh and the other is run-start.sh.

                  The mm.sh one only shows this error in start.

                  [2883:1218/201556.298300:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files

                  I think this has been covered and is insignificant, correct?

                  The run-start.sh one I’m going to reinstall.

                  Not sure how I ended up with 2 different installs, pretty I used your script.

                  So heres a question for ease of troubleshooting.

                  What if I do a couple dedicated proxmox lxc for servers and run the raspi displays as clients? I haven’t tried this method yet.

                  S 1 Reply Last reply Dec 19, 2023, 1:38 PM Reply Quote 0
                  • N Offline
                    nx3xo @sdetweil
                    last edited by Dec 19, 2023, 4:44 AM

                    @sdetweil

                    Made change. No dice on my original MM device 4x4 pixelsquare. Black screen plus cursor. Startup out looks clean.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @nx3xo
                      last edited by Dec 19, 2023, 1:38 PM

                      @nx3xo run-start is done when I cannot find electron or it’s armv6l

                      then I just launch chromium over the mm server

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      N 1 Reply Last reply Dec 19, 2023, 7:50 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/12
                        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