Read the statement by Michael Teeuw here.
MESA-LOADER: failed to open kms_swrast
-
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_swrastdefault modules plus calendar-monthly and MMM-NOAA3 installed.
Hardware : BCM2835
Revision : c03114
Serial : 100000001c249f69
Model : Raspberry Pi 4 Model B Rev 1.4PRETTY_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
-
@tacotaco yes, probably.
no fix that I can find yet
-
@tacotaco
Did you ever get this resolved? I have the same error.Thanks,
Hans -
@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.
-
see
https://forums.raspberrypi.com/viewtopic.php?t=338778but, looks like this is a known unsolved problem on 64 but pi os.
-
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=1In my case, I’m using PM2 to manage startup, so my
~/mm.shfile looks like this:cd ./MagicMirror export ELECTRON_DISABLE_GPU=1 DISPLAY=:0 npm startI 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.
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