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.

    MESA-LOADER: failed to open kms_swrast

    Scheduled Pinned Locked Moved Bug Hunt
    6 Posts 5 Posters 4.9k Views 9 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.
    • T Offline
      tacotaco
      last edited by

      new to MM. I am receiving this error during startup of MM.
      MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
      failed to load driver: kms_swrast

      default modules plus calendar-monthly and MMM-NOAA3 installed.

      Hardware : BCM2835
      Revision : c03114
      Serial : 100000001c249f69
      Model : Raspberry Pi 4 Model B Rev 1.4

      PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
      NAME=“Debian GNU/Linux”
      VERSION_ID=“11”
      VERSION=“11 (bullseye)”
      VERSION_CODENAME=bullseye
      ID=debian
      HOME_URL=“https://www.debian.org/”
      SUPPORT_URL=“https://www.debian.org/support”
      BUG_REPORT_URL=“https://bugs.debian.org/”

      can anyone advise? GPU driver problem?

      thx

      S K A 3 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @tacotaco
        last edited by

        @tacotaco yes, probably.

        no fix that I can find yet

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • K Offline
          KI6UVE @tacotaco
          last edited by

          @tacotaco
          Did you ever get this resolved? I have the same error.

          Thanks,
          Hans

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @KI6UVE
            last edited by bhepler

            @KI6UVE - I also have this error on a Innovatek Quadra (can’t find an RPi for sale for love or money).

            Bah. I thought I had something helpful to add. Never mind. It’s not working for me either.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @bhepler
              last edited by

              @bhepler @KI6UVE

              see
              https://forums.raspberrypi.com/viewtopic.php?t=338778

              but, looks like this is a known unsolved problem on 64 but pi os.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • A Offline
                andyrak @tacotaco
                last edited by

                @tacotaco

                I know this is an old issue, but I had this happen to me while setting up MM on a Le Potato board.

                Seems like a GPU issue, and you can bypass this by adding this snippet right before you call npm start:

                export ELECTRON_DISABLE_GPU=1

                In my case, I’m using PM2 to manage startup, so my ~/mm.sh file looks like this:

                cd ./MagicMirror
                export ELECTRON_DISABLE_GPU=1
                DISPLAY=:0 npm start
                

                I don’t know the full extent of the issue, but I know that this works and allows me to run MM.

                Hopefully this helps you and anyone else looking for this in the future.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • 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