<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error &#x27;failed to load kms_swarst&#x27; - can I ignore is screen is loading?]]></title><description><![CDATA[<p dir="auto">Hi there,<br />
I’m new to raspberry pi but not MagicMirror. Due to the pi shortage I had installed MM on my mac to test things out with no problems but now I have the pi i’m struggling more than I thought I would!</p>
<p dir="auto">I’ve tried reinstalling and running out of the box (ie no extra modules installed, no changes to any files) and I keep getting a ‘failed to open kms_swrast’ error and no solutions I’ve googled have worked. Here is the entire output after I run npm start</p>
<pre><code>&gt; magicmirror@2.23.0 start
&gt; DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[21.06.2023 17:22.46.111] [LOG]   Starting MagicMirror: v2.23.0
[21.06.2023 17:22.46.118] [LOG]   Loading config ...
[21.06.2023 17:22.46.124] [DEBUG] config template file not exists, no envsubst
[21.06.2023 17:22.46.132] [LOG]   Loading module helpers ...
[21.06.2023 17:22.46.134] [LOG]   No helper found for module: alert.
[21.06.2023 17:22.46.168] [LOG]   Initializing new module helper ...
[21.06.2023 17:22.46.169] [LOG]   Module helper loaded: updatenotification
[21.06.2023 17:22.46.169] [LOG]   No helper found for module: clock.
[21.06.2023 17:22.46.522] [LOG]   Initializing new module helper ...
[21.06.2023 17:22.46.522] [LOG]   Module helper loaded: calendar
[21.06.2023 17:22.46.523] [LOG]   No helper found for module: compliments.
[21.06.2023 17:22.46.524] [LOG]   No helper found for module: weather.
[21.06.2023 17:22.46.562] [LOG]   Initializing new module helper ...
[21.06.2023 17:22.46.565] [LOG]   Module helper loaded: newsfeed
[21.06.2023 17:22.46.565] [LOG]   All module helpers loaded.
[21.06.2023 17:22.46.588] [LOG]   Starting server on port 8080 ... 
[21.06.2023 17:22.46.895] [LOG]   Server started ...
[21.06.2023 17:22.46.896] [LOG]   Connecting socket for: updatenotification
[21.06.2023 17:22.46.896] [LOG]   Starting module helper: updatenotification
[21.06.2023 17:22.46.897] [LOG]   Connecting socket for: calendar
[21.06.2023 17:22.46.897] [LOG]   Starting node helper for: calendar
[21.06.2023 17:22.46.898] [LOG]   Connecting socket for: newsfeed
[21.06.2023 17:22.46.898] [LOG]   Starting node helper for: newsfeed
[21.06.2023 17:22.46.898] [LOG]   Sockets connected &amp; modules started ...
[21.06.2023 17:22.46.981] [LOG]   Launching application.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
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/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
[21.06.2023 17:22.50.109] [LOG]   Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
[21.06.2023 17:22.50.130] [LOG]   Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
[21.06.2023 17:22.50.166] [INFO]  Checking git for module: MagicMirror
[21.06.2023 17:22.50.537] [INFO]  Newsfeed-Fetcher: Broadcasting 18 items.
[21.06.2023 17:22.52.804] [INFO]  Calendar-Fetcher: Broadcasting 7 events.

</code></pre>
<p dir="auto">If the screen is loading, can I just ignore the error? Any help would be greatly appreciated!<br />
Thank-you</p>
]]></description><link>https://forum.magicmirror.builders/topic/17852/error-failed-to-load-kms_swarst-can-i-ignore-is-screen-is-loading</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 02:08:33 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17852.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Jun 2023 07:38:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error &#x27;failed to load kms_swarst&#x27; - can I ignore is screen is loading? on Wed, 21 Jun 2023 11:28:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lillyhb" aria-label="Profile: lillyhb">@<bdi>lillyhb</bdi></a> yes.  ignore this is electron trying to use the gpu. but it’s not configured like electron expects.</p>
<p dir="auto">you can get rid of the error message by adding</p>
<p dir="auto">export ELECTRON_DISABLE_GPU</p>
<p dir="auto">before doing npm start</p>
<p dir="auto">if you use pm2, then add it to the script pm2 uses to launch mm</p>
]]></description><link>https://forum.magicmirror.builders/post/109883</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/109883</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 21 Jun 2023 11:28:55 GMT</pubDate></item></channel></rss>