<?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[Dolphin works from the GUI but not from Emulation Station]]></title><description><![CDATA[<p dir="auto">I had to install Dolphin on my own. RetroPie wanted to compile it on my machine and that didn't work. I installed it using a <a href="https://snapcraft.io/about" target="_blank" rel="noopener noreferrer nofollow ugc">snap</a>. I fooled RetroPie by adding two placeholder files, <code>dolphin-emu</code> and <code>dolphin-emu-nogui</code> in the build folder. Then, I changed the <code>emulators.cfg</code> file as per <a href="https://retropie.org.uk/forum/topic/34197/use-emulator-added-independently/2">these instructions</a>.</p>
<p dir="auto">It actually took me a bit more work than that to get Dolphin working on my machine, but now it works great. However, when I start it from Emulation Station, it breaks. This is the output from <code>/dev/shm/runcommand.log</code>:</p>
<pre><code>libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Failed to initialize video backend!
/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui: line 2: 66538 Segmentation fault      snap run dolphin-emulator.dolphin-emu-nogui -e "$2"
</code></pre>
<p dir="auto">The last line is the bash script I wrote to launch the snap.</p>
<p dir="auto">What puzzles me is that snaps are supposed to be completely self-contained. They should not care about their environment at all. That's why they were created in the first place. What could be different between running Dolphin from Emulation Station and from the GUI?</p>
]]></description><link>https://retropie.org.uk/forum/topic/34202/dolphin-works-from-the-gui-but-not-from-emulation-station</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 19:47:58 GMT</lastBuildDate><atom:link href="https://retropie.org.uk/forum/topic/34202.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 May 2023 00:36:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Mon, 08 May 2023 10:39:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eje211" aria-label="Profile: eje211">@<bdi>eje211</bdi></a> said in <a href="/forum/post/288207">Dolphin works from the GUI but not from Emulation Station</a>:</p>
<blockquote>
<p dir="auto">There are still a few more things to configure, such as getting RetroPie's shortcuts to work in Dolphin, but at least the games start!</p>
</blockquote>
<p dir="auto">If you are referring to the Hotkeys, you would have to be running <code>lr-dolphin</code> for that to work. The standalone emulator does have the ability to configure hotkeys, but you will need to do it through the dolphin settings menu.</p>
]]></description><link>https://retropie.org.uk/forum/post/288211</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288211</guid><dc:creator><![CDATA[YFZdude]]></dc:creator><pubDate>Mon, 08 May 2023 10:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Mon, 08 May 2023 05:03:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mitu" aria-label="Profile: mitu">@<bdi>mitu</bdi></a> I figured it out!</p>
<p dir="auto">The issue was not with the snap or with Emulation Station! <code>dolphin-emu</code> works <code>dolphin-emu-nogui</code> does not. That's it. I don't know why and I no longer care. I changed to configuration files to make sure that the <code>nogui</code> version is never used. That did it. There are still a few more things to configure, such as getting RetroPie's shortcuts to work in Dolphin, but at least the games start!</p>
]]></description><link>https://retropie.org.uk/forum/post/288207</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288207</guid><dc:creator><![CDATA[eje211]]></dc:creator><pubDate>Mon, 08 May 2023 05:03:11 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 10:46:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eje211" aria-label="Profile: eje211">@<bdi>eje211</bdi></a> said in <a href="/forum/post/288185">Dolphin works from the GUI but not from Emulation Station</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mitu" aria-label="Profile: mitu">@<bdi>mitu</bdi></a> Actually, the first parameter is -e. The ROM file's path is the second parameter.</p>
</blockquote>
<p dir="auto">You're right.<br />
Then I don't know why it's not working - there's nothing special added by <code>runcommand</code> , it just runs your script with the parameters given.</p>
]]></description><link>https://retropie.org.uk/forum/post/288187</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288187</guid><dc:creator><![CDATA[mitu]]></dc:creator><pubDate>Sun, 07 May 2023 10:46:42 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 08:53:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mitu" aria-label="Profile: mitu">@<bdi>mitu</bdi></a> Actually, the first parameter is <code>-e</code>. The ROM file's path is the second parameter.</p>
<p dir="auto">Originally, I forgot the double quotation marks and I got an error if the ROM's filename contained spaces, so I know this is correct.</p>
<p dir="auto">I could actually combine these two by having instead:</p>
<pre><code>snap run dolphin-emulator.$0 "$@"
</code></pre>
<p dir="auto">Maybe with a hard link between the two, but that feels like overkill. I tried the version with <code>-e</code> and the ROM file's path, and that worked from the command line.</p>
]]></description><link>https://retropie.org.uk/forum/post/288185</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288185</guid><dc:creator><![CDATA[eje211]]></dc:creator><pubDate>Sun, 07 May 2023 08:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 07:27:20 GMT]]></title><description><![CDATA[<p dir="auto">Your script should have</p>
<pre><code>snap run dolphin-emulator.dolphin-emu-nogui -e "$1"
</code></pre>
<p dir="auto">since the 'rom' file is actually the 1st parameter of the invoking script, 2nd one is empty. You can put the script anywhere, it doesn't have to be located under <code>/opt/retropie</code>.</p>
<blockquote>
<p dir="auto">I am not running Wayland. xset actually works outside of the snap.</p>
</blockquote>
<p dir="auto">It seems the integration of snaps is not that seamless. The snap may have it's own <code>$PATH</code> and can't find the system's <code>xset</code> binary.</p>
]]></description><link>https://retropie.org.uk/forum/post/288181</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288181</guid><dc:creator><![CDATA[mitu]]></dc:creator><pubDate>Sun, 07 May 2023 07:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 07:10:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mitu" aria-label="Profile: mitu">@<bdi>mitu</bdi></a></p>
<p dir="auto"><code>emulators.cfg</code> for the Game Cube:</p>
<pre><code>dolphin = "/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e %ROM%"
default = "dolphin"
dolphin-gui = "/opt/retropie/emulators/dolphin/bin/dolphin-emu -b -e %ROM%"
</code></pre>
<p dir="auto">Contents of <code>/opt/retropie/emulators/dolphin/bin/dolphin-emu</code>:</p>
<pre><code>#/bin/bash
snap run dolphin-emulator.dolphin-emu -e "$2"
</code></pre>
<p dir="auto">Contents of <code>/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui</code>:</p>
<pre><code>#/bin/bash
snap run dolphin-emulator.dolphin-emu-nogui -e "$2"
</code></pre>
<p dir="auto">Contents of: <code>/dev/shm/runcommand.log</code>:</p>
<pre><code>Parameters: 
Executing: /opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e "/home/eje211/RetroPie/roms/gc/Wind Waker.iso"
/snap/dolphin-emulator/118/usr/bin/xdg-screensaver: 629: /snap/dolphin-emulator/118/usr/bin/xdg-screensaver: xset: not found
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Failed to initialize video backend!
/opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui: line 2: 66538 Segmentation fault      snap run dolphin-emulator.dolphin-emu-nogui -e "$2"
</code></pre>
<p dir="auto">I am not running Wayland. <code>xset</code> actually works outside of the snap.</p>
]]></description><link>https://retropie.org.uk/forum/post/288179</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288179</guid><dc:creator><![CDATA[eje211]]></dc:creator><pubDate>Sun, 07 May 2023 07:10:27 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 03:37:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eje211" aria-label="Profile: eje211">@<bdi>eje211</bdi></a> And the <code>emulators.cfg</code> entry ? Can you also post the entire <code>runcommand.log</code> - it should show the entire command started by EmulationStation.</p>
]]></description><link>https://retropie.org.uk/forum/post/288172</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288172</guid><dc:creator><![CDATA[mitu]]></dc:creator><pubDate>Sun, 07 May 2023 03:37:56 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 03:35:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mitu" aria-label="Profile: mitu">@<bdi>mitu</bdi></a> I'm terrible sorry. I thought I had included it</p>
<p dir="auto">The command that RetroPie uses to start Dolphin is (from memory; I'm not by the computer): <code>snap run dolphin-emulator.dolphin-emu-nogui -e "$2"</code>from a script that's called <code>dolphin-emu-nogui</code>.</p>
]]></description><link>https://retropie.org.uk/forum/post/288171</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288171</guid><dc:creator><![CDATA[eje211]]></dc:creator><pubDate>Sun, 07 May 2023 03:35:05 GMT</pubDate></item><item><title><![CDATA[Reply to Dolphin works from the GUI but not from Emulation Station on Sun, 07 May 2023 03:16:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/eje211" aria-label="Profile: eje211">@<bdi>eje211</bdi></a> said in <a href="/forum/post/288167">Dolphin works from the GUI but not from Emulation Station</a>:</p>
<blockquote>
<p dir="auto">What could be different between running Dolphin from Emulation Station and from the GUI?</p>
</blockquote>
<p dir="auto">What's the command that you configured for <code>runcommand</code> to start the emulator ?</p>
]]></description><link>https://retropie.org.uk/forum/post/288170</link><guid isPermaLink="true">https://retropie.org.uk/forum/post/288170</guid><dc:creator><![CDATA[mitu]]></dc:creator><pubDate>Sun, 07 May 2023 03:16:13 GMT</pubDate></item></channel></rss>