<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet href="/feed_style.xsl" type="text/xsl"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="https://www.rssboard.org/media-rss">
  <channel>
    <title>Bios on Rich&#39;s Blog</title>
    <link>https://rich.bitservices.io/tags/bios/</link>
    <description>Recent content in Bios on Rich&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <copyright>Rich</copyright>
    <lastBuildDate>Wed, 01 Jul 2020 10:41:28 +0100</lastBuildDate><atom:link href="https://rich.bitservices.io/tags/bios/index.xml" rel="self" type="application/rss+xml" /><icon>https://rich.bitservices.io/logo.svg</icon>
    
    
    <item>
      <title>Controlling Gigabyte Aorus RGB Hidden BIOS Settings</title>
      <link>https://rich.bitservices.io/blog/controlling-gigabyte-aorus-rgb-hidden-bios-settings/</link>
      <pubDate>Wed, 01 Jul 2020 10:41:28 +0100</pubDate>
      
      <guid>https://rich.bitservices.io/blog/controlling-gigabyte-aorus-rgb-hidden-bios-settings/</guid>
      <description><![CDATA[<h1 id="introduction">Introduction</h1>
<p>I recently built a computer with a Gigabyte Aorus X570 PRO (non-WIFI)
motherboard. One of the things I noticed is that many custom build computers
come with lighting - often referred to as RGB.</p>
<p>This board by default has the lighting set to
<span style="color: #ffaa33;">orange</span>. After setting up everything else I decided
to see if I could mess around with the RGB and set it more to my own taste.</p>
<p>As this board does not have RGB configuration in the BIOS, the only way to
change it would be using Gigabyte&rsquo;s RGB Fusion software. Unfortunately, this
software has attracted a lot of negative reviews, such as
<a href="https://www.reddit.com/r/gigabytegaming/comments/etno99/rgb_fusion_has_done_some_serious_damage_to_my_pc/">here</a>,
<a href="https://www.reddit.com/r/gigabytegaming/comments/f59frj/rgb_fusion_of_death/">here</a>,
<a href="https://www.reddit.com/r/gigabytegaming/comments/cn66mo/rgb_fusion_20_is_the_worst_software_ever_developed/">here</a> and
<a href="https://linustechtips.com/main/topic/869227-gigabyte-rgb-fusion-sucks/">here</a>.
Additionally, I am a Linux user! So this won&rsquo;t work for me.</p>
<p>RGB can however, also be controlled by <a href="https://gitlab.com/CalcProgrammer1/OpenRGB">OpenRGB</a> by Adam Honse. <a href="https://gitlab.com/CalcProgrammer1/OpenRGB">OpenRGB</a>
supports both Linux and Windows. It seems to work very well for controlling
the RGB with this board with two caveats:</p>
<ol>
<li>Settings do not persist across reboots.</li>
<li>Very occasionally, when setting RGB, it causes the computer to hard-freeze.</li>
</ol>
<p>I was only wanting something simple to permanently set RGB to white to match
the case LEDs and to give better visibility of the ports at the back of the
computer.</p>
<p>So I decided to mess with the BIOS&hellip; (which I have experience with on other
systems, so not such a crazy idea).</p>
<p>Well, I am sharing this in-case anyone with the same board has the same issue
and wants a permanent fix.</p>
<h1 id="warnings">Warnings</h1>
<span style="color: #ff3333;">IMPORTANT: Since creating this guide, Gigabyte have released new BIOS versions,
where the offsets for changing RGB have changed. They seem different for each
model (elite, pro, etc) and each BIOS version so there is no point documenting
the new offsets. Do <strong>NOT</strong> follow this guide for newer Aorus BIOS versions!</span>
<ul>
<li>You should only consider trying this if you are technically competent and this
entire guide makes perfect sense to you.</li>
<li>ONLY try this if you are using a known supported motherboard (see list below).
Do NOT under any circumstances be tempted to try this on any other motherboard.
You WILL brick it.</li>
<li>If something goes wrong for you, I take no responsibility what so ever. BIOS
modifications are risky and things can easily go wrong if steps are missed or
done incorrectly. Even if you follow this guide to the letter and things go
wrong for you I take no responsibility.</li>
</ul>
<h1 id="known-supported-boards">Known Supported Boards</h1>
<ul>
<li>Gigabyte Aorus X570 PRO (non-WIFI), BIOS F20b</li>
<li>Gigabyte Aorus X570 ULTRA, BIOS F20b</li>
</ul>
<h1 id="process">Process</h1>
<h2 id="preparation">Preparation</h2>
<ul>
<li>Make sure your motherboard is running the BIOS version in the list above. It
is impossible for me to say if this will work on later versions as at the time
of writing these are the latest versions. If you decide to carry on with a later
version this will increase the risk of things going wrong.</li>
<li>Download this: <a href="https://github.com/datasone/grub-mod-setup_var">https://github.com/datasone/grub-mod-setup_var</a>.
It is a modified version of the Grub boot-loader that is capable of reading and
writing hidden EFI BIOS variables. To download, go to the releases section and
take the latest releases <code>.efi</code> binary.</li>
<li>Rename the downloaded file to <code>efi-setup-var.efi</code>.</li>
</ul>
<h2 id="booting-into-the-modified-grub-shell">Booting Into The Modified Grub Shell</h2>
<p>This can be achieved in two ways. Please pick one method that most suits you.</p>
<h3 id="the-linux-way">The Linux Way</h3>
<ul>
<li>Move the downloaded <code>efi-setup-var.efi</code> file to the root of your EFI
partition. This is a FAT32 file-system that is typically (but <strong>NOT</strong> always)
mounted at <code>/boot</code>.</li>
<li>Run the following command as <strong>root</strong>, where <code>--disk /dev/nvme0n1</code> is the disk
that holds your EFI partition and <code>--part 1</code> is the partition number of your EFI
partition:</li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span># efibootmgr --create --disk /dev/nvme0n1 --part <span style="color:#ae81ff">1</span> --loader <span style="color:#e6db74">&#34;\efi-setup-var.efi&#34;</span> --label <span style="color:#e6db74">&#34;EFI Setup Var&#34;</span>
</span></span></code></pre></div>
<ul>
<li>Restart the system and mash F12 for boot menu. Select <strong>EFI Setup Var</strong>.</li>
</ul>
<h3 id="the-usb-stick-way">The USB Stick Way</h3>
<ul>
<li>Format a USB stick to FAT32.</li>
<li>Create a directory on the USB device: <code>/efi/boot</code>.</li>
<li>Move the <code>efi-setup-var.efi</code> file to the <code>/efi/boot</code> folder created on the
USB stick.</li>
<li>Rename the <code>efi-setup-var.efi</code> file to: <code>BOOTX64.efi</code>.</li>
<li>Restart the system and mash F12 to enter the boot menu. Boot from <strong>USB</strong>.</li>
</ul>
<h2 id="checking-existing-rgb-settings">Checking Existing RGB Settings</h2>
<p>If everything went well in the previous steps, you will be at a <code>grub&gt;</code> prompt.</p>
<p>Run the following commands:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CB
</span></span><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CC
</span></span><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CD
</span></span><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CE
</span></span></code></pre></div>
<p>Those commands should be read-only. They will output a lot of other text but you
should find the offset values in there somewhere. The offsets should hold the
following values:</p>
<ul>
<li>0x2CB <strong>0x3</strong> -&gt; Mode (Static/Solid)</li>
<li>0x2CC <strong>0x0</strong> -&gt; <span style="color: #3377ff;">Blue Value</span></li>
<li>0x2CD <strong>0x21</strong> -&gt; <span style="color: #33ff33;">Green Value</span></li>
<li>0x2CE <strong>0xFF</strong> -&gt; <span style="color: #ff3333;">Red Value</span></li>
</ul>
<p><strong>IF YOU ARE RETURNING DIFFERENT VALUES, DO NOT PROCEED! YOU WILL BE CHANGING
RANDOM THINGS! POSSIBLY VOLTAGES, ETC</strong></p>
<h2 id="changing-the-rgb-settings">Changing the RGB Settings</h2>
<p>Offset 0x2CB contains the RGB mode, values are:</p>
<ul>
<li>0x0 Off</li>
<li>0x1 Pulse</li>
<li>0x2 Cycle Colours</li>
<li>0x3 Static Colour</li>
<li>0x4 Flashing</li>
<li>0x5 Double Flashing</li>
<li>0x6 Demo Mode</li>
</ul>
<p>Offset <strong>0x2CC</strong> contains the <span style="color: #3377ff;">blue value</span>. Range is
<strong>0x0</strong> (black) to <strong>0xFF</strong> (<span style="color: #3377ff;">blue</span>).</p>
<p>Offset <strong>0x2CD</strong> contains the <span style="color: #33ff33;">green value</span>. Range is
<strong>0x0</strong> (black) to <strong>0xFF</strong> (<span style="color: #33ff33;">green</span>).</p>
<p>Offset <strong>0x2CE</strong> contains the <span style="color: #ff3333;">red value</span>. Range is
<strong>0x0</strong> (black) to <strong>0xFF</strong> (<span style="color: #ff3333;">red</span>).</p>
<p>So for example, to change the RGB to show a constant static white light, run:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CB 0x3
</span></span><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CC 0xFF
</span></span><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CD 0xFF
</span></span><span style="display:flex;"><span>grub&gt; setup_var_3 0x2CE 0xFF
</span></span></code></pre></div>
<p>When finished, run:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>grub&gt; reboot
</span></span></code></pre></div>
<h1 id="final-notes">Final Notes</h1>
<p>These settings are hidden BIOS settings, so they will persist until CMOS is
reset.</p>
<p><img src="/img/controlling-gigabyte-aorus-rgb-hidden-bios-settings/white-rgb.jpg" alt="Computer with White RGB"></p>
<!-- raw HTML omitted -->
]]></description>
      
    </item>
    
    
  </channel>
</rss>
