<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Proton on nxadm</title>
    <link>https://nxadm.apt-get.be/tags/proton/</link>
    <description>Recent content in Proton on nxadm</description>
    <generator>Hugo -- 0.135.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 05 Oct 2024 15:45:00 +0100</lastBuildDate>
    <atom:link href="https://nxadm.apt-get.be/tags/proton/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix for Proton/Linux slow loadtime for some games</title>
      <link>https://nxadm.apt-get.be/posts/proton-linux-open-files/</link>
      <pubDate>Sat, 05 Oct 2024 15:45:00 +0100</pubDate>
      <guid>https://nxadm.apt-get.be/posts/proton-linux-open-files/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;cover.jpg&#34; alt=&#34;Cover Ember Knights&#34;  title=&#34;Cover Ember Knights&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Proton_(software)&#34;&gt;Proton&lt;/a&gt; is a compatibility
layer for Windows games to run on Linux. Running a Windows games is mostly
just hitting the Play button within Steam. It&amp;rsquo;s that good that many games now
run faster on Linux than on native Windows. That&amp;rsquo;s what makes the
&lt;a href=&#34;&#34;&gt;Steam Deck&lt;/a&gt; the best gaming handheld of the moment.&lt;/p&gt;
&lt;p&gt;But a compatibility layer is still a layer, so you may encounter
&amp;hellip;  incompatibilities.
&lt;a href=&#34;https://store.steampowered.com/app/1135230/Ember_Knights/&#34;&gt;Ember Knights&lt;/a&gt;
is a lovely game with fun co-op multiplayer support. It runs perfectly on the
(Linux-based) Steam Deck, but on my Ubuntu laptop I encountered long loading
times (startup was 5 minutes and loading between worlds was slow).  But once
the game was loaded it ran fine.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p><img loading="lazy" src="cover.jpg" alt="Cover Ember Knights"  title="Cover Ember Knights"  />
</p>
<p><a href="https://en.wikipedia.org/wiki/Proton_(software)">Proton</a> is a compatibility
layer for Windows games to run on Linux. Running a Windows games is mostly
just hitting the Play button within Steam. It&rsquo;s that good that many games now
run faster on Linux than on native Windows. That&rsquo;s what makes the
<a href="">Steam Deck</a> the best gaming handheld of the moment.</p>
<p>But a compatibility layer is still a layer, so you may encounter
&hellip;  incompatibilities.
<a href="https://store.steampowered.com/app/1135230/Ember_Knights/">Ember Knights</a>
is a lovely game with fun co-op multiplayer support. It runs perfectly on the
(Linux-based) Steam Deck, but on my Ubuntu laptop I encountered long loading
times (startup was 5 minutes and loading between worlds was slow).  But once
the game was loaded it ran fine.</p>
<p>Debugging the game reveled that there were lost of <code>EAGAIN</code> errors while the
game was trying to access the system clock. Changing the numer of allowed open
files fixed the problem for me.</p>
<p>Add this to end end of the following files:</p>
<ul>
<li>in <code>/etc/security/limits.conf</code>:</li>
</ul>
<pre tabindex="0"><code>* hard nofile 1048576
</code></pre><ul>
<li>in /etc/systemd/system.conf <strong>and</strong> /etc/systemd/user.conf:</li>
</ul>
<pre tabindex="0"><code>DefaultLimitNOFILE=1048576 
</code></pre><p>Reboot.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
