diff options
Diffstat (limited to 'tutorials/pc_gaming/common-gfx-card-installation-woes.html')
-rw-r--r-- | tutorials/pc_gaming/common-gfx-card-installation-woes.html | 54 |
1 files changed, 24 insertions, 30 deletions
diff --git a/tutorials/pc_gaming/common-gfx-card-installation-woes.html b/tutorials/pc_gaming/common-gfx-card-installation-woes.html index 250f456..04dd8e9 100644 --- a/tutorials/pc_gaming/common-gfx-card-installation-woes.html +++ b/tutorials/pc_gaming/common-gfx-card-installation-woes.html @@ -1,11 +1,11 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> +<html lang="" xml:lang="" xmlns="http://www.w3.org/1999/xhtml"> <head> - <meta charset="utf-8" /> - <meta name="generator" content="pandoc" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> - <title>common-gfx-card-installation-woes</title> - <style> +<meta charset="utf-8"/> +<meta content="pandoc" name="generator"/> +<meta content="width=device-width, initial-scale=1.0, user-scalable=yes" name="viewport"/> +<title>common-gfx-card-installation-woes</title> +<style> html { line-height: 1.5; font-family: Georgia, serif; @@ -222,18 +222,18 @@ <nav id="TOC" role="doc-toc"> <h2 id="toc-title">Contents</h2> <ul> -<li><a href="#step-1-the-replacement">Step 1: The Replacement</a></li> -<li><a href="#step-2-re-installing-the-drivers">Step 2: Re-installing +<li><a href="#step-1-the-replacement" target="_self">Step 1: The Replacement</a></li> +<li><a href="#step-2-re-installing-the-drivers" target="_self">Step 2: Re-installing the drivers</a> <ul> -<li><a href="#part-one-fix-broken-packages">Part one: Fix Broken +<li><a href="#part-one-fix-broken-packages" target="_self">Part one: Fix Broken Packages</a></li> -<li><a href="#part-two-re-install-nvidia-driver">Part two: Re-install +<li><a href="#part-two-re-install-nvidia-driver" target="_self">Part two: Re-install nvidia-driver</a></li> -<li><a href="#part-negative-three-just-in-case">Part negative three: +<li><a href="#part-negative-three-just-in-case" target="_self">Part negative three: Just in case</a></li> </ul></li> -<li><a href="#step-three-reboot-and-test">Step three: Reboot and +<li><a href="#step-three-reboot-and-test" target="_self">Step three: Reboot and test</a></li> </ul> </nav> @@ -264,15 +264,13 @@ drivers</h2> <p>At first I tried to just naively update and see what happened, but I received a "broken packages" error for nvidia-driver and other related packages after running this.</p> -<div class="sourceCode" id="cb1"><pre -class="sourceCode bash"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo apt update</span> -<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo apt upgrade</span></code></pre></div> +<div class="sourceCode" id="cb1"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb1-1"><a aria-hidden="true" href="#cb1-1" tabindex="-1"></a><span class="ex">$</span> sudo apt update</span> +<span id="cb1-2"><a aria-hidden="true" href="#cb1-2" tabindex="-1"></a><span class="ex">$</span> sudo apt upgrade</span></code></pre></div> <p>This turned out to be a two-part error, one was the driver itself, two was an update in Debian sid.</p> <h3 id="part-one-fix-broken-packages">Part one: Fix Broken Packages</h3> <p>Whenever I see broken packages, I tend to to assume that the name of -a package got updated. In this case, there was a <a -href="https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#non-free-split">note</a> +a package got updated. In this case, there was a <a href="https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#non-free-split">note</a> on the apt list changes that mentioned a separate "non-free-firmware" branch had been made, which had some of the components I needed. I just added "non-free-firmware" to my /etc/apt/sources.list:</p> @@ -284,13 +282,11 @@ nvidia-driver</h3> <p>I tried to update again at this point, but encountered the same error. At this point I figured the best thing to do was to just try to reinstall all nvidia related software again:</p> -<div class="sourceCode" id="cb3"><pre -class="sourceCode bash"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo apt purge nvidia-<span class="pp">*</span></span> -<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo apt update</span> -<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo apt upgrade</span></code></pre></div> +<div class="sourceCode" id="cb3"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb3-1"><a aria-hidden="true" href="#cb3-1" tabindex="-1"></a><span class="ex">$</span> sudo apt purge nvidia-<span class="pp">*</span></span> +<span id="cb3-2"><a aria-hidden="true" href="#cb3-2" tabindex="-1"></a><span class="ex">$</span> sudo apt update</span> +<span id="cb3-3"><a aria-hidden="true" href="#cb3-3" tabindex="-1"></a><span class="ex">$</span> sudo apt upgrade</span></code></pre></div> <p>Ok no errors on the update this time, let's try again:</p> -<div class="sourceCode" id="cb4"><pre -class="sourceCode bash"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo apt install nvidia-driver</span></code></pre></div> +<div class="sourceCode" id="cb4"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb4-1"><a aria-hidden="true" href="#cb4-1" tabindex="-1"></a><span class="ex">$</span> sudo apt install nvidia-driver</span></code></pre></div> <h3 id="part-negative-three-just-in-case">Part negative three: Just in case</h3> <p>In the dark days before the Debian team had an Nvidia package, you @@ -304,14 +300,12 @@ something like "driver.run"</p> <p>In order to run this file, you need to stop your graphics environment. Press CTRL + ALT + F1 to log out and open a terminal-only session. Login with your credentials. Then stop the X-server</p> -<div class="sourceCode" id="cb5"><pre -class="sourceCode bash"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo service lightdm stop</span></code></pre></div> +<div class="sourceCode" id="cb5"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb5-1"><a aria-hidden="true" href="#cb5-1" tabindex="-1"></a><span class="ex">$</span> sudo service lightdm stop</span></code></pre></div> <p>If you use a different X manager you might need to replace "lightdm" with "gdm" or "kdm" (Gnome and KDE). Now we can run the driver install:</p> -<div class="sourceCode" id="cb6"><pre -class="sourceCode bash"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo chmod +x driver.run</span> -<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a><span class="ex">$</span> sudo ./driver.run</span></code></pre></div> +<div class="sourceCode" id="cb6"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb6-1"><a aria-hidden="true" href="#cb6-1" tabindex="-1"></a><span class="ex">$</span> sudo chmod +x driver.run</span> +<span id="cb6-2"><a aria-hidden="true" href="#cb6-2" tabindex="-1"></a><span class="ex">$</span> sudo ./driver.run</span></code></pre></div> <p>Accept all the prompts and you'll have the factory made driver software. Note, you have to manually update this way though. So try to figure out the nvidia-driver package before resorting to this @@ -322,8 +316,8 @@ method!</p> point, as long as you're still seeing your desktop, you should be good to go! I ran Kerbal Space Program 2 (currently in early access) as my first test.</p> -<p><video src="/static/ksp2.webm" controls=""><a -href="/static/ksp2.webm">Video</a></video></p> +<p><video controls="" src="/static/ksp2.webm"><a href="/static/ksp2.webm">Video</a></video></p> <p>Looking good, Jeb!</p> </body> </html> + |