{"id":5281,"date":"2021-07-12T14:16:16","date_gmt":"2021-07-12T12:16:16","guid":{"rendered":"https:\/\/2d6.fr\/?p=5281"},"modified":"2024-03-02T17:07:21","modified_gmt":"2024-03-02T16:07:21","slug":"installer-driver-officiel-nvidia-et-cuda","status":"publish","type":"post","link":"https:\/\/2d6.fr\/?p=5281","title":{"rendered":"Installer driver officiel nvidia et cuda"},"content":{"rendered":"\n<p>Afin de refaire du montage vid\u00e9o, j&rsquo;ai eu besoi d&rsquo;<strong>installer driver officiel nvidia et cuda<\/strong> sans que l&rsquo;un empi\u00e8te sur l&rsquo;autre. (En effet, j&rsquo;avais des conflits ensuite, ne pouvant avoir une config que pour <em>Da Vinci Resolve<\/em> OU pour <em>Steam<\/em>.<\/p>\n\n\n\n<p>La carte est une GTX 1050 Ti.  Elle avait \u00e9t\u00e9 facilement reconnue par ma Debian, mais avec le driver &lsquo;nouveau&rsquo; (qui suffit dans la majorit\u00e9 des cas, mais ne me permet pas d&rsquo;utiliser les GPU \/ Cuda pour <em>Da Vinci Resolve<\/em>. (<em>Cinelerra<\/em> peut s&rsquo;en passer )<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/2d6.fr\/wp-content\/uploads\/2021\/07\/nvidia-detect_20210712.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2d6.fr\/wp-content\/uploads\/2021\/07\/nvidia-detect_20210712.png\" alt=\"\" class=\"wp-image-5283\" width=\"695\" height=\"89\" srcset=\"https:\/\/2d6.fr\/wp-content\/uploads\/2021\/07\/nvidia-detect_20210712.png 766w, https:\/\/2d6.fr\/wp-content\/uploads\/2021\/07\/nvidia-detect_20210712-300x39.png 300w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>L\u2019installation du paquet nvidia-detect  permet d&rsquo;obtenir \/ valider les infos<\/p>\n\n\n<p>apt install nvidia-detect<\/p>\n<p>apt -y install linux-headers-$(uname -r) build-essential libglvnd-dev pkg-config<\/p>\n\n\n\n<p>Blacklister le driver nouveau :<\/p>\n\n\n<p>echo blacklist nouveau &gt; \/etc\/modprobe.d\/blacklist-nvidia-nouveau.conf<\/p>\n\n\n\n<p>Puis reboot sans nouveau (et donc en mode texte) :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl set-default multi-user.target\nsystemctl reboot\n\nupdate-initramfs -u\nreboot\n<\/code><\/pre>\n\n\n\n<p>Puis installation du driver :<\/p>\n\n\n<p>NVIDIA-Linux-x86_64-390.116.run  &#8211;dkms <\/p>\n\n\n\n<p>Accepter l&rsquo;ajout des <em><strong>librairies 32 bits <\/strong><\/em>: <strong>YES<\/strong>   de <strong><em>libglvnd<\/em><\/strong>  et du lancement de <em><strong>nvidia-xconfig<\/strong><\/em>.<\/p>\n\n\n\n<p>Repasser en mode graphique et rebooter :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl set-default graphical.target\n\nsystemctl reboot<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img src=linux20.png>  driver Nvidia + cuda ..<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3],"tags":[],"class_list":["post-5281","post","type-post","status-publish","format-standard","hentry","category-affichage","category-linux"],"_links":{"self":[{"href":"https:\/\/2d6.fr\/index.php?rest_route=\/wp\/v2\/posts\/5281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2d6.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2d6.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2d6.fr\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/2d6.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5281"}],"version-history":[{"count":1,"href":"https:\/\/2d6.fr\/index.php?rest_route=\/wp\/v2\/posts\/5281\/revisions"}],"predecessor-version":[{"id":5702,"href":"https:\/\/2d6.fr\/index.php?rest_route=\/wp\/v2\/posts\/5281\/revisions\/5702"}],"wp:attachment":[{"href":"https:\/\/2d6.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2d6.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2d6.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}