{"id":7,"date":"2019-04-16T11:20:16","date_gmt":"2019-04-16T11:20:16","guid":{"rendered":"http:\/\/untanux.lt\/?p=7"},"modified":"2019-04-16T11:20:16","modified_gmt":"2019-04-16T11:20:16","slug":"update-nvidia-drivers-debian-buster","status":"publish","type":"post","link":"https:\/\/untanux.lt\/?p=7","title":{"rendered":"Update nVidia drivers Debian Buster"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"> How to install NVIDIA driver by using the official nvidia.com package step by step instructions<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Enable the <code>non-free<\/code> repository. <br><br>As an administrative user open the <code>\/etc\/apt\/sources.list<\/code> and add the <code>non-free<\/code> repository. For example change the repository definition: FROM:\ndeb http:\/\/ftp.au.debian.org\/debian\/ buster main\nTO:\ndeb-src http:\/\/ftp.au.debian.org\/debian\/ buster main <strong>non-free<\/strong>\n Once ready update the repository index files using the below command: # apt update\n <\/li><li>Install <code>nvidia-detect<\/code> utility by execution of the below command: # apt -y install nvidia-detect\n <\/li><li>Detect your Nvidia card model and suggested Nvidia driver. To do so execute the above installed <code>nvidia-detect<\/code> command. For example: # nvidia-detect\nDetected NVIDIA GPUs:\n01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)\n\nChecking card:  NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)\nYour card is supported by the default drivers and legacy driver series <strong>390<\/strong>.\n<strong>It is recommended to install the\n    nvidia-driver<\/strong>\npackage.\n take a note of the suggester driver number. In this case the suggested Nvidia driver number is <code>390<\/code>. <\/li><li>Download the recommended Nvidia source package from the official <a href=\"https:\/\/www.nvidia.com\/object\/unix.html\" target=\"_blank\" rel=\"noreferrer noopener\">Nvidia.com<\/a>\n website. Search for a package name to match the driver number as \nrecommended by the previous step. Save the downloaded file into your \nhome directory: $ ls NVIDIA-Linux-x86_64-390.116.run\nNVIDIA-Linux-x86_64-390.116.run\n <\/li><li>Install Nvidia driver compilation prerequisites: # apt -y install linux-headers-$(uname -r) build-essential\n <\/li><li>Next, disable the default <code>nouveau<\/code> driver: # echo blacklist nouveau &gt; \/etc\/modprobe.d\/blacklist-nvidia-nouveau.conf\n <\/li><li>Reboot to multi-user runlevel. This will disable the GUI user after reboot: # systemctl set-default multi-user.target\n# systemctl reboot\n <\/li><li>Login as root user via terminal or TTY and install the Nvidia driver by executing the bellow command:  <strong>NOTE<\/strong><br>Depending\n on the driver version you have downloaded the bellow command may be \ndifferent. Amend the below command to fit the driver file name downloade\n previously. # bash NVIDIA-Linux-x86_64-390.116.run\n During the installation you may be asked the following set of questions: The CC version check failed:\n\nThe kernel was built with gcc version 8.2.0 (Debian 8.2.0-14), but the current compiler version is cc (Debian 8.3.0-2) 8.3.0.\n\nThis may lead to subtle problems; if you are not certain whether the mismatched compiler will be compatible with your kernel, you may wish to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation.\n\n                                                     <strong>Ignore CC version check<\/strong>                                         Abort installation     \n\n\nInstall NVIDIA&#8217;s 32-bit compatibility libraries?\n  \n                                                               <strong>Yes<\/strong>                                                           No   \n  \n\n\nAn incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.\n\n                                  Don&#8217;t install libglvnd files         <strong>Install and overwrite existing filesort installation.<\/strong>  Abort installation.\n\n\n Would you like to run the nvidia-xconfig utility to automatically update your X configuration file so that the NVIDIA X driver will be used when you restart X?  Any pre-existing X configuration file will be backed up.\n                                                                                \n                                                               <strong>Yes<\/strong>                                                            No   \n <\/li><li>Enable the system to boot into GUI:\n# systemctl set-default graphical.target\n <\/li><li>All done. Reboot your Debian 10 Buster Linux box:\n# systemctl reboot\n <\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>How to install NVIDIA driver by using the official nvidia.com package step by step instructions Enable the non-free repository. As an administrative user open the \/etc\/apt\/sources.list and add the non-free repository. For example change the repository definition: FROM: deb http:\/\/ftp.au.debian.org\/debian\/ buster main TO: deb-src http:\/\/ftp.au.debian.org\/debian\/ buster main non-free Once ready update the repository index files [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/untanux.lt\/index.php?rest_route=\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/untanux.lt\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/untanux.lt\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/untanux.lt\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/untanux.lt\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":0,"href":"https:\/\/untanux.lt\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/untanux.lt\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/untanux.lt\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/untanux.lt\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}