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

MESA-LOADER: failed to open kms_swrast

Scheduled Pinned Locked Moved Bug Hunt
6 Posts 5 Posters 3.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 Jul 23, 2022, 6:23 PM

    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 Jul 23, 2022, 7:41 PM Reply Quote 0
    • S Offline
      sdetweil @tacotaco
      last edited by Jul 23, 2022, 7:41 PM

      @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 Nov 27, 2022, 6:46 PM

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

        Thanks,
        Hans

        B 1 Reply Last reply Dec 23, 2022, 2:01 AM Reply Quote 0
        • B Offline
          bhepler Module Developer @KI6UVE
          last edited by bhepler Dec 23, 2022, 2:03 AM Dec 23, 2022, 2:01 AM

          @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 Dec 23, 2022, 12:42 PM Reply Quote 0
          • S Offline
            sdetweil @bhepler
            last edited by Dec 23, 2022, 12:42 PM

            @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 Oct 20, 2023, 10:08 PM

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