Graphics Card Driver FAQs

Graphics Card Driver FAQs

Revision for “Graphics Card Driver FAQs” created on May 1, 2023 @ 17:52:07

Title
Graphics Card Driver FAQs
Content
<h2>Graphics Cards</h2> Many new Bodhi Linux users seem to have the same questions relating to Graphics Cards (especially Nvidia), so here are the answers to a few of them. <h3>Determining Graphics Card Model:</h3> If you are unsure which graphics card your computer possesses open <a href="https://www.bodhilinux.com/w/terminology/"><em>Terminology</em></a> and run the following commands. The first command will update your database of PCI IDs, the second interrogates all PCI device in your computer, looking for specified keywords (relating to graphics cards): <h4>Nvidia Specific</h4> <pre class="code">sudo update-pciids lspci | grep -i E "nvidia|video|vga|3d"</pre> <h4>Generic (all graphics Cards)</h4> <pre class="code">sudo update-pciids lspci | grep -i E "video|vga|3d"</pre> If a PCI graphics card has been identified, the output will look something like this (though not exactly like this!): <pre class="code">01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [GeForce GT 330M] (rev a2)</pre> <p style="padding-left: 30px;"><em>NOTE</em>: the output from <code>lspci</code> may also include output from other PCI devices (for example Nvidia HDMI audio), these additional miscellaneous items can be ignored in this context of this article.</p> In the sample output from <code>lspci</code>, we can establish the Product Type is <code>GeForce</code> and the Model number is <code>GT 330M</code> (<code>GT216M</code> is the code name). <h3>How do I Install Nvidia's Proprietary Drivers?</h3> <h4>Overview</h4> Before installing proprietary/closed source Nvidia® drivers you need to determine if your graphics card is supported by the current GeForce® driver and if so, which version of the driver. <p style="padding-left: 30px;">NOTE: If the proprietary Nvidia graphics driver fails to load on reboot, or you see the kernel driver being used is <a href="https://en.wikipedia.org/wiki/Nouveau_(software)">nouveau</a>, then see the FAQ entry below titled <a href="#How_do_I_blocklist_nouveau_drivers"><em>How do I blocklist nouveau drivers</em></a>?</p> <h4>Identify Nvidia graphics Card</h4> Use the guide (above), named: <a href="#Determining_Graphics_Card_Model">Determining Graphics Card Model</a>. Next, we need to establish the product series, this is easily achieved by locating your exact model number (ie <code><em>GT 330M</em></code>) from within this following web page <a href="https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units">Nvidia graphics cards</a>. Search the page content (press <em>F4</em>) and type in your model number. In this example, the product series is <code>GeForce 3xxM</code>. <h4>Identify Nvidia's Recommended Driver</h4> Having established the Nvidia card's Product Type, Name, and Series, the next step is to identify which Linux driver is needed. This is best achieved by cross-referencing the gathered details against <a href="https://www.nvidia.co.uk/Download/index.aspx?lang=en-us">Nvidia's driver download</a> page. <p style="padding-left: 30px;"><em>NOTE</em> - The intent here is <strong>not</strong> to download the driver from the Nvidia website, we're simply using their information to establish what driver to install (from Bodhi's package repositories).</p> From the <a href="https://www.nvidia.co.uk/Download/index.aspx?lang=en-us">Nvidia driver download</a> page, select Product Type, Product Series and Operating System (Linux 64-Bit/32-Bit appropriate to your Bodhi installation), now click the <em>search</em> button. <a href="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/NvidiaDriverDownloadSelection-620x228.png"><img class="size-medium wp-image-3525 aligncenter" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/NvidiaDriverDownloadSelection-620x228.png" alt="Nvida Driver Selection" width="620" height="228" /></a> <p style="padding-left: 30px;"><em>NOTE</em>: Do toggle the Nvidia web page item labelled "download type" between <em>long-lived</em> or <em>short-lived</em> to determine the very latest driver version (or if no driver is listed initially).</p> The information returned will identify the latest driver version relevant to your graphics card. In this example, this is <em>Version:340.108; Date: 2019.12.23</em>. The key piece of information we're gleaning from this web page is the major part of the <em>Version</em> number (ie: 340). The next step will be to install Nvidia driver version <em>340</em> from the Bodhi package repository. <a href="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/NvidiaDriverDownload-620x165.png"><img class="size-medium wp-image-3524 aligncenter" src="https://www.bodhilinux.com/trial/wp-content/uploads/2020/11/NvidiaDriverDownload-620x165.png" alt="Nvidia Driver Version" width="620" height="165" /></a> <h4>Installing GeForce Driver from Repository</h4> You now have all the information needed to install the Nvidia driver. Open <a href="https://www.bodhilinux.com/w/wiki/terminology/"><em>Terminology</em></a> and run the following command (substitute driver version as appropriate): <pre class="code">sudo apt install nvidia-340</pre> <p style="padding-left: 30px;"><em>NOTE - 1</em>: The naming of the Nvidia driver packages changed a few years back from nvidia-&lt;version&gt; to nvidia-driver-&lt;version&gt; if the above command returns: "unable to find package <code>nvidia-340</code>", try installing the driver using the more recent naming convention, ie <code>nvidia-driver-340</code></p> <p style="padding-left: 30px;">NOTE - 2: If you continue to have issues with "unable to find package" you will need to add the NvidiaPPA Driver Respotiory (see the section below) and try again.</p> Once the driver installation has completed, you will need to reboot for the Nvidia drivers to become active. <pre>sudo reboot</pre> <h4>Install Nvidia PPA driver Repository (optional)</h4> If the Nvidia driver package you need cannot be found <em>or</em> perhaps you simply want access to the very latest driver packages from Nvidia (for modern graphics cards). Either way, you will need to install the Offical driver PAA for Nvidia Drivers. A PPA (Personal Package Archive) is an application repository used to upgrade and install packages from non-ubuntu/Bodhi sources. To read more about PPA's <em>click</em> <a href="https://linuxhint.com/ppa_repositories_ubuntu/">here</a>. The official web page of NVIDIA PPA is <a href="https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa">https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa</a>.  To add the PAA, open <a href="https://www.bodhilinux.com/w/wiki/terminology/"><em>Terminology</em></a> and run these commands : <pre id="yui_3_10_3_1_1603620416601_78" class="command subordinate">sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update</pre> <p style="padding-left: 30px;">NOTE: if you have Nvidia drivers already installed then run the following command to ensure you update to the very latest revision within the major driver version installed. It is also recommended to verify which driver version is recommended by Nvidia for your specific hardware. See the steps titled "<em>Identify Nvidia’s Recommended Driver</em>" (above) for more information.</p> <pre>sudo apt update</pre> <p style="padding-left: 30px;">NOTE: If you were unable to install the Nvidia recommended driver prior to PPA repo install, repeat the driver install step established above, ie:</p> <pre>sudo apt install nvidia-340</pre> <h3>Which kernel driver is being used for Graphics?</h3> To establish which kernel driver is being used for your graphics card run the following command in <a href="https://www.bodhilinux.com/w/wiki/terminology/"><em>Terminology</em></a>. <p style="padding-left: 30px;">NOTE: if you have multiple graphics cards you may need to modify the keywords "<code><em>vga|3d</em></code>" to get the expected output</p> <pre>lspci -v | grep -iEA10 "vga|3d"</pre> <h3>How do I blocklist nouveau drivers?</h3> It's not uncommon to find that the open-source <a href="https://en.wikipedia.org/wiki/Nouveau_(software)">nouveau</a> Nvidia drivers have been installed. You may need to "blocklist" these in order to successfully install the proprietary Nvidia drivers. Using <a href="https://www.bodhilinux.com/w/terminology/"><em>Terminology</em></a>, enter the following commands: <pre>sudo bash -c "echo blacklist nouveau &gt; /etc/modprobe.d/blacklist-nvidia-nouveau.conf" sudo bash -c "echo options nouveau modeset=0 &gt;&gt; /etc/modprobe.d/blacklist-nvidia-nouveau.conf" sudo reboot </pre> <a href="https://www.bodhilinux.com/">Bodhi Linux Home</a> <a href="https://www.bodhilinux.com/w/wiki/">Bodhi Linux – Wiki Home Page</a> <a href="https://www.bodhilinux.com/w/bodhi-linux-how-to/">Bodhi Linux – Wiki Table of Contents</a>
Excerpt


OldNewDate CreatedAuthorActions
May 1, 2023 @ 17:52:07 oblio
November 16, 2020 @ 09:41:56 FidoeDidoe
November 16, 2020 @ 09:39:02 FidoeDidoe
November 16, 2020 @ 09:38:10 FidoeDidoe
November 16, 2020 @ 09:33:02 FidoeDidoe
November 9, 2020 @ 12:34:25 FidoeDidoe
November 9, 2020 @ 12:29:29 FidoeDidoe
November 9, 2020 @ 12:26:43 FidoeDidoe
November 9, 2020 @ 12:25:59 FidoeDidoe
November 9, 2020 @ 12:23:35 FidoeDidoe
November 6, 2020 @ 13:05:52 FidoeDidoe
November 6, 2020 @ 13:05:46 [Autosave] FidoeDidoe
November 3, 2020 @ 17:45:57 FidoeDidoe
November 3, 2020 @ 17:32:58 FidoeDidoe
November 3, 2020 @ 14:05:04 FidoeDidoe
November 3, 2020 @ 14:04:17 FidoeDidoe
November 3, 2020 @ 13:52:20 FidoeDidoe
November 3, 2020 @ 13:24:58 FidoeDidoe
November 3, 2020 @ 13:22:31 FidoeDidoe
November 3, 2020 @ 13:18:56 FidoeDidoe
November 3, 2020 @ 13:14:35 FidoeDidoe
November 3, 2020 @ 13:12:15 FidoeDidoe
November 3, 2020 @ 13:11:43 FidoeDidoe
November 3, 2020 @ 13:06:11 FidoeDidoe
November 3, 2020 @ 13:04:34 FidoeDidoe
November 3, 2020 @ 12:50:04 FidoeDidoe
November 3, 2020 @ 12:46:06 FidoeDidoe
November 3, 2020 @ 12:45:02 FidoeDidoe
October 30, 2020 @ 08:36:10 FidoeDidoe
October 30, 2020 @ 08:32:50 FidoeDidoe
October 30, 2020 @ 08:31:41 FidoeDidoe
October 30, 2020 @ 08:22:55 FidoeDidoe
October 25, 2020 @ 14:14:19 FidoeDidoe
October 25, 2020 @ 13:33:02 FidoeDidoe
October 25, 2020 @ 13:19:40 FidoeDidoe
October 25, 2020 @ 10:39:56 FidoeDidoe
October 25, 2020 @ 10:36:49 FidoeDidoe
October 25, 2020 @ 10:33:24 FidoeDidoe
October 25, 2020 @ 10:29:47 FidoeDidoe
October 25, 2020 @ 10:28:32 FidoeDidoe
October 25, 2020 @ 10:25:59 FidoeDidoe
January 4, 2018 @ 03:51:32 FidoeDidoe
January 4, 2018 @ 03:51:30 [Autosave] FidoeDidoe
January 4, 2018 @ 01:12:49 FidoeDidoe
February 11, 2015 @ 04:47:44 Jeff Hoogland
February 11, 2015 @ 04:47:17 [Autosave] Jeff Hoogland
February 11, 2015 @ 01:38:16 Jeff Hoogland
February 11, 2015 @ 01:36:58 Jeff Hoogland
February 11, 2015 @ 01:19:47 Jeff Hoogland