<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Ignácio R</title>
    <description>The latest articles on Forem by Ignácio R (@igricart).</description>
    <link>https://forem.com/igricart</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1008084%2Fdd29eee1-c0cb-40a6-aec8-2b64cc1eaa3e.png</url>
      <title>Forem: Ignácio R</title>
      <link>https://forem.com/igricart</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/igricart"/>
    <language>en</language>
    <item>
      <title>Running/Installing Unreal Engine 5 in Ubuntu 22.04</title>
      <dc:creator>Ignácio R</dc:creator>
      <pubDate>Sat, 14 Jan 2023 12:03:21 +0000</pubDate>
      <link>https://forem.com/igricart/runninginstalling-unreal-engine-5-in-ubuntu-2204-51oo</link>
      <guid>https://forem.com/igricart/runninginstalling-unreal-engine-5-in-ubuntu-2204-51oo</guid>
      <description>&lt;p&gt;I have always been interested in game development and struggling to get this setup running won't stop me.&lt;/p&gt;

&lt;p&gt;I wish you all the best of luck to have Unreal Engine 5 running with Ubuntu 22.04. I struggled a bit to get it and will describe the steps taken so my fellow devs won't need the hustle.&lt;/p&gt;

&lt;h2&gt;
  
  
  First Things First
&lt;/h2&gt;

&lt;p&gt;Let's start checking that your system specs are &lt;a href="https://docs.unrealengine.com/5.0/en-US/hardware-and-software-specifications-for-unreal-engine/" rel="noopener noreferrer"&gt;sufficient&lt;/a&gt; to have it running.&lt;/p&gt;

&lt;p&gt;Then download &lt;code&gt;Unreal Engine 5&lt;/code&gt; from the &lt;a href="https://www.unrealengine.com/en-US/linux" rel="noopener noreferrer"&gt;unreal website&lt;/a&gt;. It will be a &lt;code&gt;.zip&lt;/code&gt; file with all the required code already compiled. As soon as it is done, extract somewhere and then run &lt;code&gt;./&amp;lt;PATH_TO_WHERE_YOU_EXTRACTED&amp;gt;/Engine/Binaries/Linux/UnrealEditor&lt;/code&gt; from the Terminal to launch Unreal Engine. Those steps are on &lt;a href="https://docs.unrealengine.com/5.0/en-US/installing-unreal-engine/" rel="noopener noreferrer"&gt;their website&lt;/a&gt; as well.&lt;/p&gt;

&lt;p&gt;Now check if you can run it and also start a template.&lt;/p&gt;

&lt;h2&gt;
  
  
  Now the struggle
&lt;/h2&gt;

&lt;p&gt;If you are unlucky as I am ... your system will crash and you will try another Linux kernel to then realize that this is just the beginning ...&lt;/p&gt;

&lt;p&gt;In my case, my gpu driver was outdated and the Vulkan library was missing some packages. Because of that, I wouldn't be able to run either the Unreal version &lt;code&gt;5.1&lt;/code&gt; or &lt;code&gt;5.0.3&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;I had to start by checking if the NVIDIA GPU was being used ... well it wasn't.&lt;/p&gt;

&lt;p&gt;When I ran&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ nvidia-smi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I expected to see something like&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0yjbelavwkwyhilkh7ro.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0yjbelavwkwyhilkh7ro.png" alt="expected-output-from-nvidia-smi" width="734" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;but I got somethings else. I first updated my graphics driver to &lt;code&gt;515&lt;/code&gt; using the native &lt;code&gt;Software &amp;amp; Updates&lt;/code&gt; from Ubuntu. &lt;strong&gt;Attention&lt;/strong&gt; to the &lt;code&gt;Additional Drivers&lt;/code&gt; tab &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fghi8kazzkl0havbzlrlq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fghi8kazzkl0havbzlrlq.png" alt="how-to-select-nvidia-driver" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;later on, I realized that was the necessary one ... because it is written in their system requirements &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Vulkan: AMD (21.11.3+) and NVIDIA (515.48+)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Anyway ... to check if you are actually using the NVIDIA Graphics Card, you can install and run the &lt;code&gt;nvidia-settings&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ sudo apt install nvidia-settings`
$ nvidia-settings
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A window should be prompted allowing you to select which GPU you would like to use &lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcq2ugctxsjwxdlwclgv3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcq2ugctxsjwxdlwclgv3.png" alt="nvidia-settings-window" width="800" height="654"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;then ... I had to find the solution for the Vulkan errors that I started to have.&lt;/p&gt;

&lt;p&gt;The solution was to follow Vulkan's &lt;a href="https://vulkan-tutorial.com/Development_environment" rel="noopener noreferrer"&gt;Development Environment Tutorial&lt;/a&gt;, where they would show how to check if the system can run the library and then install some other dependencies.&lt;/p&gt;

&lt;p&gt;That was it ... Now I can struggle with the actual coding of my future games.&lt;/p&gt;

</description>
      <category>serverless</category>
      <category>architecture</category>
      <category>softwareengineering</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
