{"id":53,"date":"2016-02-28T21:18:00","date_gmt":"2016-02-28T21:18:00","guid":{"rendered":"http:\/\/localhost\/wordpress\/index.php\/2016\/02\/28\/easiest-way-to-install-nvidia-3d-graphics-acceleration-driver-on-archlinux\/"},"modified":"2023-11-09T17:29:18","modified_gmt":"2023-11-09T14:29:18","slug":"install-nvidia-3d-graphics-driver-on-arch-linux","status":"publish","type":"post","link":"https:\/\/computingforgeeks.com\/install-nvidia-3d-graphics-driver-on-arch-linux\/","title":{"rendered":"Install Nvidia 3D Graphics driver on Arch Linux"},"content":{"rendered":"\n<p>Hello guys. I used to be a huge fan huge fan of <a href=\"https:\/\/computingforgeeks.com\/install-fedora-physical-server-virtualbox-vagrant\/\">Fedora<\/a> but now I am running <a href=\"https:\/\/computingforgeeks.com\/install-arch-linux-luks-encryption\/\">Arch Linux<\/a> as my Primary OS. I had a very rough time trying to get Nvidia graphics driver work on my Fedora 30 Box, but with Arch Linux, it was very simple to install it.<\/p>\n\n\n\n<p>I will guide you through the installation process and verification. Nvidia Dedicated Graphics cards have the following general advantages over native Intel graphics card, Just to name a few:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provides a high-end DirectX 11-compatible graphics solution for Laptops<\/li>\n\n\n\n<li>Assured fast transfer and manipulation of 3D textures.<\/li>\n\n\n\n<li>Enjoy smoothest video and DVD playback.<\/li>\n\n\n\n<li>Fast transfer and manipulation of 3D textures<\/li>\n\n\n\n<li>Faster processing of very large textures resulting in higher  performances when zooming and panning through high-resolution images<\/li>\n\n\n\n<li>Improved pipeline color compression<\/li>\n\n\n\n<li>It Offers enriched 3D user interface, increased application performance, and the highest image quality.<\/li>\n\n\n\n<li> Nvidia PureVideo Technology <\/li>\n<\/ul>\n\n\n\n<p>My pc has <a rel=\"noreferrer noopener\" href=\"http:\/\/www.notebookcheck.net\/NVIDIA-GeForce-GT-750M-SLI.91280.0.html\" target=\"_blank\">GeForce GT 750M<\/a> Nvidia Card, you can see from the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-HV4MOYOcr7o\/VtNSVQY01PI\/AAAAAAAABGE\/vZIC5mWlnb4\/s640\/geforce-750M.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p>You must have Nvidia Card before using this tutorial, to confirm just run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lspci | grep -E \"VGA|3D\"<\/code><\/pre>\n\n\n\n<p>You should get output similar to one below if you have Nvidia graphics card in your computer.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-nyUr6Vtc7H4\/VtNZtnF3b-I\/AAAAAAAABGY\/mUSEEkkoUA4\/s640\/check-vga-3d-nvidia-card.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p>Make sure your System is updated<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo  pacman -Syyu<\/code><\/pre>\n\n\n\n<p>Then install Nvidia tools.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pacman -S nvidia nvidia-utils nvidia-settings xorg-server-devel opencl-nvidia<\/code><\/pre>\n\n\n\n<p>Once installed, confirm that the nouveau module is blacklisted.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/usr\/lib\/modprobe.d\/nvidia.conf<\/code><\/pre>\n\n\n\n<p>You should get output saying<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">blacklist nouveau<\/pre>\n\n\n\n<p>If not, add \u201c<strong>blacklist nouveau<\/strong>\u201d to the file.<\/p>\n\n\n\n<p><strong>NOTE:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li> It is not necessary to manually blacklist nouveau since the installation of nvidia will automatically do it for you. <\/li>\n\n\n\n<li>It\u2019s not necessary to also generate xorg.conf file with the command <strong>nvidia-xconfig<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>Reboot your computer and use nvidia-smicommand which reads temps directly from the GPU without the need to use X at all.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nvidia-smi<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/3.bp.blogspot.com\/-qIjHvs-4B8o\/VtNfb0G8v-I\/AAAAAAAABGs\/1v3aAKJqq0Y\/s640\/nvidia-details.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p>To check GPU temperature:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nvidia-smi -q -d TEMPERATURE<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/4.bp.blogspot.com\/-BMDtOp-rvns\/VtNgiXGSZZI\/AAAAAAAABG4\/g88-xctdLk4\/s640\/gpu-temperature.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p>Get temperature used by utils:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits<\/code><\/pre>\n\n\n\n<p>Check to see if Direct rendering is enabled and working<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo glxinfo | grep direct<\/code><\/pre>\n\n\n\n<p>My output is:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-czLYusAez_U\/VtN1tdy009I\/AAAAAAAABHM\/OmytHOYW_2Y\/s640\/rendering.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p>Encase you would like to revert back to the nouveau driver and mesa 3D acceleration, do:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pacman -S mesa mesa-libgl xf86-video-nouveau<\/code><\/pre>\n\n\n\n<p>There you go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello guys. I used to be a huge fan huge fan of Fedora but now I am running Arch Linux as my Primary OS. I had a very rough time trying to get Nvidia graphics driver work on my Fedora 30 Box, but with Arch Linux, it was very simple to install it. I will &#8230; <a title=\"Install Nvidia 3D Graphics driver on Arch Linux\" class=\"read-more\" href=\"https:\/\/computingforgeeks.com\/install-nvidia-3d-graphics-driver-on-arch-linux\/\" aria-label=\"Read more about Install Nvidia 3D Graphics driver on Arch Linux\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":2996,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,12,299],"tags":[228,1886],"cfg_series":[],"class_list":["post-53","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tutorials","category-arch-linux","category-how-to","tag-arch-linux","tag-nvidia"],"_links":{"self":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media\/2996"}],"wp:attachment":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/tags?post=53"},{"taxonomy":"cfg_series","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/cfg_series?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}