<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="tr"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://mozmen.dev/feed.xml" rel="self" type="application/atom+xml" /><link href="https://mozmen.dev/" rel="alternate" type="text/html" hreflang="tr" /><updated>2026-11-19T23:53:14+03:00</updated><id>https://mozmen.dev/feed.xml</id><title type="html">Muhammet Özmen</title><subtitle>Muhammet Özmen: gömülü sistemler ve bilgisayar mühendisi. Portfolyo, projeler ve yazılar.</subtitle><author><name>Muhammet Özmen</name></author><entry><title type="html">Fedora’ya NVIDIA sürücüsü nasıl kurulur?</title><link href="https://mozmen.dev/writing/2026/fedora-nvidia-driver/" rel="alternate" type="text/html" title="Fedora’ya NVIDIA sürücüsü nasıl kurulur?" /><published>2026-05-21T00:00:00+03:00</published><updated>2026-05-21T00:00:00+03:00</updated><id>https://mozmen.dev/writing/2026/fedora-nvidia-driver</id><content type="html" xml:base="https://mozmen.dev/writing/2026/fedora-nvidia-driver/"><![CDATA[<div lang="tr">

  <p><img src="/assets/img/posts/fedora-nvidia-driver/banner.png" alt="Banner" /></p>

  <blockquote class="alert alert-warning">
    <p><strong>Uyarı:</strong> Bu blogda paylaşılan içerikler yalnızca bilgilendirme amaçlıdır. Herhangi bir hata, eksiklik veya kullanım sonucu doğabilecek sorunlardan sorumluluk kabul edilmez. Anlatılanları uygulamak tamamen okuyucunun kendi sorumluluğundadır.</p>
  </blockquote>

  <h2 id="n-bilgilendirme">Ön bilgilendirme</h2>

  <p>Bu yazı boyunca Linux Fedora 43 rawhide işletim sistemine nasıl Nvidia driver’ları kurulacağını anlatacağım.</p>

  <p>Özellikle Linux dünyasına yeni geçen arkadaşlara sık sık önerilen bir işletim sistemi olan Fedora, açık kaynak politikasından dolayı kapalı kaynak (proprietary) driverları kendi paketlerinde bulundurmuyor. Bu sebeple eğer içinde Nvidia GPU’su bulunan bir bilgisayarınıza nvidia driver’i kurmak istiyorsanız, RPM fusion deposunu sisteme ekleyip manuel olarak kurmak zorundasınız.</p>

  <p>RPM fusion’a https://rpmfusion.org/ linkinden ulaşabilirsiniz. Kaynağım çoğunlukla burası olacaktır.</p>

  <p>Aslında pek zor bir işlem olmasa da linux’a yeni başlayanlar için biraz kafa karıştırıcı olması muhtemel. Aşağıda anlatacağım yöntemleri tek tek uygulayarak, kolaylıkla Nvidia driverlarını kurup, sistem güncellemeleriyle beraber her zaman en güncel sistemde kalabilirsiniz.</p>

  <h3 id="hazrlk">1. Hazırlık</h3>

  <p>Sistemin güncel ve hazır olduğunu doğrulamak için komut çalıştıracağız. Bunu yapmak için öncelikle terminal çalıştırmanız gerekir. Bunun için çoğunlukla kısayol <code class="language-plaintext highlighter-rouge">Control + Alt + T</code> olsa da XFCE gibi sistemlerde bu değişebilmekte, bu sebeple kısayolla açamamınız durumunda arama kısmına <code class="language-plaintext highlighter-rouge">Terminal</code> yazmanız yeterli olacaktır. Rehber boyunca terminal açın dediğimde bundan bahsetmiş olacağım. Terminal gözünüze karmaşık veya korkutucu gelmesin. İnanın yapacağınız en zor şey kopyala yapıştır olacak.</p>

  <p><img src="/assets/img/posts/fedora-nvidia-driver/1.png" alt="Terminalim" /></p>

  <p>Benim terminalim KDE desktop enviromentinin default terminali olan Konsole. Ayrıca bash yerine zsh kullanıyorum, bu sebeple ekran görüntülerindeki terminal görselim size farklı gelebilir. Ama size temin ederimki sizin terminalizdeki büyük ihtimalle <code class="language-plaintext highlighter-rouge">kullaniciadi@PCadi</code> olan arayüzden hiçbir farkı yok, tamamen estetik. İsterseniz onun da rehberini yazarım :) Neyse konuyu dağıtmayalım.</p>

  <p>Terminale şu komutu yazın</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf update
</code></pre></div>  </div>
  <p>Bunu yazdığınız gibi sizden şifrenizi isteyecektir. Şifrenizi girin. Şifreyi yazdığınızı * ile vs göremeyeceksiniz. Merak etmeyin şifreyi giriyorsunuz. Tamamını girdikten sonra <code class="language-plaintext highlighter-rouge">Enter</code> tuşuna basın. Bastığınız gibi güncellemeler başlayacaktır. Sizden güncelleme ve paket onayı istiyorsa <code class="language-plaintext highlighter-rouge">y</code> yazıp geçmeniz yeterli. Her şey bittiğinde <code class="language-plaintext highlighter-rouge">x packages updated</code> tarzı birşeyler yazacak, kullaniciadi@PCadi gözükecek ve terminale birşeyler yazmanıza izin verecektir.</p>

  <p><em>Buraya kadar bahsedilen kısım yazının kalan kısmında tekrar detaylandırılmayacak ve yine aynı şeyler aynı yöntemlerle yapılacaktır.</em></p>

  <blockquote class="alert alert-warning">
    <p><strong>Uyarı:</strong> Sistemi yeni kurduysanız ve ilk kez güncelleme yapıyorsanız, sistemi yeniden başlatmanızı öneririm. Aksi takdirde problem yaşayabilirsiniz.</p>
  </blockquote>

  <p>Sonrasında RPM Fusion paketlerini sistemimizde aktif edeceğiz. Bunun için terminalinizde şimdi bu kodu çalıştırmanız gerekecek. Kod çok kısa sürecektir.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
</code></pre></div>  </div>
  <p>Bu da bittiğinde ikinci adıma geçebilirsiniz.</p>

  <h3 id="secure-boot-anahtar-kayd">2. Secure Boot anahtar kayıdı</h3>

  <p>Şimdi ikinci aşamaya geçtik. Bu aşama biraz karmaşık gözükse de aslında oldukça kolay. Öncelikle bir sebepten dolayı sisteminizde secure boot açık olabilir, bunu kontrol etmemiz gerekiyor. Bunun için aşağıdaki komutu terminalinizde çalıştırın.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mokutil --sb-state
</code></pre></div>  </div>
  <p>Eğer <code class="language-plaintext highlighter-rouge">enabled</code> geri dönüşü alıyorsanız bu adımı atlayıp 3. adıma geçebilirsiniz. Secureboot konusunda ek bir adım yapmayın!</p>

  <p>Eğer <code class="language-plaintext highlighter-rouge">disabled</code> geri dönüşü alıyorsanız bilgisayarınızda secureboot’u açmanız gerekecek.</p>

  <h4 id="secureboot-kurulumu">2.1. Secureboot kurulumu</h4>

  <p>Öncelikle anahtar oluşturmak için aşağıdaki gerekli kütüphaneleri kurmanız gerekecek.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install kmodtool akmods mokutil openssl
</code></pre></div>  </div>
  <p>Sonrasında ise bir varsayılan bir anahtar oluşturun.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo kmodgenca -a
</code></pre></div>  </div>
  <p>Eğer bunu yaparken <code class="language-plaintext highlighter-rouge">WARNING: EXISTING KEY PAIR</code>` tarzı bir hata alırsanız komutu bu şekilde force ile yazın.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo kmodgenca -a --force
</code></pre></div>  </div>
  <p>Problem olmadıysa force’lu komutu yazmayın!</p>

  <p>Bu kısmı da hallettiğinizde aşağıdaki komutu girerek bir anahtar oluşturmanız gerek. Anahtarın şifresini <code class="language-plaintext highlighter-rouge">0000</code> tarzı çok basit bir şey girin.</p>
  <blockquote class="alert alert-warning">
    <p><strong>Uyarı:</strong> Numara girerken numpad kullanmayın, problem yaşayabilirsiniiz. Onun yerine sıra halindeki, harflerin üzerindeki sayı tuşlarını kullanın. Boot menüsü bazen numpadi algılayamayabilir.</p>
  </blockquote>

  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo mokutil --import /etc/pki/akmods/certs/public_key.der
</code></pre></div>  </div>
  <p>Bunu da yaptıktan sonra sistemi yeniden başlatmanız gerekecek. Yeniden başlattığınzda mavi bir ekranla karşılaşacaksınız.</p>

  <p><img src="/assets/img/posts/fedora-nvidia-driver/2.png" alt="MOK ekranı" /></p>

  <p>Eğer bu ekran değil de MOK managment tarzı bir şey çıktıysa bir kereliğine <code class="language-plaintext highlighter-rouge">Enter</code> tuşuna basmanız yeterli. Bu ekrana ulaşacaksınızdır.</p>

  <p>Yapacağınız tek şey, burada ok tuşlarıyla aşağı inip <code class="language-plaintext highlighter-rouge">Enroll MOK</code> demek olacaktır. Sonrasında <code class="language-plaintext highlighter-rouge">Continue</code> diyecek, <code class="language-plaintext highlighter-rouge">Yes</code>‘i seçerek şifre girme menüsüne geleceksiniz. Burada kendi şifrenizi değil, yukarıda bahsettiğim <code class="language-plaintext highlighter-rouge">0000</code> tarzı anahtarı kullanmanız gerekecek. Sonrasında <code class="language-plaintext highlighter-rouge">Reboot</code>‘u seçerek bilgisayarınızı yeniden başlatın.</p>

  <p>Bilgisayarınızın açılmasını bekleyin ve bu kadar. <em>İşin zor kısmını bitirdiniz bile.</em></p>

  <h3 id="driverlar-kurmak">3. Driver’ları kurmak</h3>

  <p>Sisteminizde secure boot’u açtığınıza göre artık driver kurmaya tamamen hazırsınız. Bu adımda öncelikle Nvidia gpu’nuzu biliyor olmanız gerekiyor. Hangi GPU’yu kullandığınızı biliyorsanız sorun yok. Eğer bilmiyorsanız aşağıdaki komutu terminalde çalıştırararak öğrenebilirsiniz.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>lspci | grep -iE 'VGA|3D|nvidia
</code></pre></div>  </div>
  <p>Kurulum işine başlamadan önce loglama yapabilirsiniz, böylece kurulumun daha net izleyebilirsiniz. Yeni bir terminal açıp içine şu komutu yapıştırın.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo journalctl -f -u akmods
</code></pre></div>  </div>
  <p>Bu komut çalıştığı sürece Nvidia değişikliklerini izleyecek, değişim olduğunda terminale log düşecektir. Bu terminali kapatmayın. Kurulum için yeni terminal açın.</p>

  <p>Ekran kartınız şu dört gruptan birinde olmalı. Doğru grubunuzu internetten GPU modelinizi aratarak bulabilirsiniz. Ya da direkt olarak modelinizin marka isminden bir gruplandırma yapabilirsiniz. Eğer son 15 yıl içerisinde aldığınız bir cihazınız varsa çok büyük ihtimalle 1. veya 2. gruplardan birinde olacaktır, siz yine de kontrol edin.</p>

  <p><strong>Sadece size ait olan grup için</strong> olan komutu terminalinize yapıştırarak kurulumu başlatın. İndirme boyutları büyük olduğundan kurulum biraz sürebilir.</p>

  <ol>
    <li>NVIDIA’nın yeni GPU’ları <em>(2017 sonrası Geforce 1000 sonrası örn: GTX1080, Quadro, Tesla, RTX modelleri)</em>
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda
</code></pre></div>      </div>
    </li>
    <li>NVIDIA’nın görece yeni GPU’ları <em>(2014-2017 arası GTX 800/900/10 modelleri)</em>
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install xorg-x11-drv-nvidia-580xx akmod-nvidia-580xx
sudo dnf install xorg-x11-drv-nvidia-580xx-cuda
</code></pre></div>      </div>
    </li>
    <li>NVIDIA’nın görece eski GPU’ları <em>(Geforce 600/700 Kepler,Quadro modelleri)</em>
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install xorg-x11-drv-nvidia-470xx akmod-nvidia-470xx
sudo dnf install xorg-x11-drv-nvidia-470xx-cuda 
sudo dnf install plasma-workspace-x11 xorg-x11-drivers xorg-x11-xinit
</code></pre></div>      </div>
    </li>
    <li>NVIDIA’nın eski GPU’ları <em>(400/500 Fermi)</em>
Bu ekran kartlar artık Nvidia tarafından desteklenmiyor. Bu sebeple Wayland desteği yok, bu sebeple xorg kullandığınızdan emin olun.
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install xorg-x11-drv-nvidia-390xx akmod-nvidia-390xx
sudo dnf install xorg-x11-drv-nvidia-390xx-cuda # Required for nvidia-smi and CUDA support
</code></pre></div>      </div>
    </li>
  </ol>

  <p>Kurulum başarıyla bittiyse geriye kalan tek şey kurulumun doğru bir şekilde uygulandığını teyit etmek olacaktır. Bunun için 4. adıma geçiyoruz.</p>

  <blockquote class="alert alert-warning">
    <p><strong>Uyarı:</strong> Kurulum kapanır kapanmaz bilgisayarın kapatılması sisteminizi bozabilir. 4. adımı tamamlamadan bilgisayarınızı asla ama asla kapatmayın.</p>
  </blockquote>

  <h3 id="sistem-kurulumunu-teyit-etmek">4. Sistem kurulumunu teyit etmek</h3>

  <p>Buraya kadar geldiyseniz sizi tebrik ederim, son aşamaya gelmiş bulunmaktasınız. Kurulum her ne kadar çok hızlı kurulsa da bazı sistemlerde yavaş olabilir. Bu sebeple temkinli olmanızı öneriyorum. Kurulum bitmeden yeniden başlatmak sisteminizi bozabilir. Güvenli bir kurulum yapın. Bunun iki yolu var, ikisini de uygulamanız sizin için daha iyi olur.</p>

  <p>İlk yöntem olarak terminalinizde 5-10 dakikada bir şu komutu çalıştırın. Bu komut aktif versiyonunuzu sizlere gösterir ve kurulumun bittiğini anlamanızı sağlar.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>modinfo -F version nvidia
</code></pre></div>  </div>
  <p>Kurulum başarılı olmuşsa terminalde <code class="language-plaintext highlighter-rouge">570.xxx.xxx</code> tarzı versiyon yazısı görürsünüz. <strong>Bunu gördüğünüz gibi bilgisayarınızı yeniden başlatabilirsiniz çünkü kurulum bitmiştir.</strong></p>

  <p>Eğer <code class="language-plaintext highlighter-rouge">modinfo: ERROR: Module nvidia not found</code> hatası görürseniz paniklemeyin, bu muhtemelen kurulumunuzun daha bitmediğini gösterir ve çoğunlukla hata anlamına gelmez. 5 dakika arayla tekrar deneyin, ikinci metoddan faydalanın.</p>

  <p>İkinci yöntemimiz ise yazının yukarısında açmanızı ve kapatmamanızı istediğim <code class="language-plaintext highlighter-rouge">sudo journalctl -f -u akmods</code> komutlu terminalinizi inceleyin. Terminaldeki çıktılar son 15 dakikadır değişmiyor/akmıyorsa (sisteminiz eskiyse bekleme sürenizi 1 saate kadar çıkarın.)
çok büyük ihtimalle kurulumunuz bitmiştir.</p>

  <p>Muhtemelen başınıza gelmeyecek bir olasılık ama benim başıma geldiği için şunu paylaşmak istiyorum.
Eğer log terminaliniz akmıyorsa, bir saatten uzun süre geçen ‘modinfo: ERROR: Module nvidia not found’ komutu durmadan hata veriyorsa ve bunu uzun bir süredir yapıyorsanız muhtemelen kurulum bitmiş ve reboot bekliyordur. Çoğu zaman korkmanızı gerektiren bir durum olmaz, güvenle bilgisayarınızı yeniden başlatabilirsiniz.</p>

  <p>Bilgisayarınız başarıyla açıldığında tekrar terminali açınız ve terminale şu komutu yazınız:</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>nvidia-smi
</code></pre></div>  </div>

  <p><img src="/assets/img/posts/fedora-nvidia-driver/3.png" alt="nvidia-smi" /></p>

  <p>Bu görseldekine benzer bir çıktı görüyorsanız başarıyla kurulum yaptığınız anlamına geliyor. Bundan sonra bu adımları tekrar etmenize gerek kalmayacak, sistem güncellemeleriyle Linux’unuz size en yeni nvidia sürücüsünü getirecektir.</p>

</div>
<div lang="en">

  <p><img src="/assets/img/posts/fedora-nvidia-driver/banner.png" alt="Banner" /></p>

  <blockquote class="alert alert-warning">
    <p><strong>Warning:</strong> The contents shared in this blog are for informational purposes only. No liability is accepted for any errors, omissions, or issues that may arise from its use. Applying the steps described is entirely at the reader’s own risk.</p>
  </blockquote>

  <h2 id="introduction">Introduction</h2>

  <p>Throughout this article, I will explain how to install Nvidia drivers on the Linux Fedora 43 rawhide operating system.</p>

  <p>Fedora, which is an operating system often recommended to newcomers in the Linux world, does not include closed-source (proprietary) drivers in its packages due to its open-source policy. For this reason, if you want to install the Nvidia driver on a computer with an Nvidia GPU, you have to add the RPM Fusion repository to the system and install it manually.</p>

  <p>You can access RPM Fusion at https://rpmfusion.org/. My source will mostly be there.</p>

  <p>Although it is not a very difficult process, it can probably be a bit confusing for Linux beginners. By applying the methods I will explain below step by step, you can easily install the Nvidia drivers and always stay on the most up-to-date system along with system updates.</p>

  <h3 id="preparation">1. Preparation</h3>

  <p>We will run a command to confirm that the system is up to date and ready. To do this, you first need to open a terminal. Although the shortcut is usually <code class="language-plaintext highlighter-rouge">Control + Alt + T</code>, this can change on systems like XFCE, so if you cannot open it with a shortcut, just typing <code class="language-plaintext highlighter-rouge">Terminal</code> in the search bar will be enough. I will be referring to this whenever I say “open a terminal” throughout the guide. Don’t let the terminal seem complex or scary. Believe me, the hardest thing you will do is copy and paste.</p>

  <p><img src="/assets/img/posts/fedora-nvidia-driver/1.png" alt="My Terminal" /></p>

  <p>My terminal is Konsole, the default terminal of the KDE desktop environment. I also use zsh instead of bash, so my terminal visual in the screenshots might look different to you. But I assure you it has absolutely no difference from the interface in your terminal which is likely <code class="language-plaintext highlighter-rouge">username@PCname</code>, it is purely aesthetic. If you want, I can write a guide for that too :) Anyway, let’s not digress.</p>

  <p>Type this command in the terminal</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf update
</code></pre></div>  </div>
  <p>As soon as you type this, it will ask for your password. Enter your password. You won’t see what you type with * etc. Don’t worry, you are entering the password. After entering it completely, press the <code class="language-plaintext highlighter-rouge">Enter</code> key. Updates will start as soon as you press it. If it asks for update and package confirmation, just type <code class="language-plaintext highlighter-rouge">y</code> and proceed. When everything is finished, it will say something like <code class="language-plaintext highlighter-rouge">x packages updated</code>, username@PCname will appear, and it will let you type things in the terminal again.</p>

  <p><em>The part mentioned up to here will not be detailed again in the rest of the article, and the same things will be done with the same methods.</em></p>

  <blockquote class="alert alert-warning">
    <p><strong>Warning:</strong> If you have newly installed the system and are updating for the first time, I recommend restarting the system. Otherwise, you might experience issues.</p>
  </blockquote>

  <p>Then we will activate the RPM Fusion packages on our system. For this, you will now need to run this code in your terminal. The code will take a very short time.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
</code></pre></div>  </div>
  <p>When this is also done, you can move on to the second step.</p>

  <h3 id="secure-boot-key-enrollment">2. Secure Boot Key Enrollment</h3>

  <p>Now we are at the second step. Although this step looks a bit complicated, it’s actually quite easy. First, your system might have secure boot enabled for some reason, we need to check this. Run the following command in your terminal.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mokutil --sb-state
</code></pre></div>  </div>
  <p>If you get an <code class="language-plaintext highlighter-rouge">enabled</code> return, you can skip this step and move to step 3. Do not perform any additional steps regarding secure boot!</p>

  <p>If you get a <code class="language-plaintext highlighter-rouge">disabled</code> return, you will need to enable secure boot on your computer.</p>

  <h4 id="secure-boot-setup">2.1. Secure Boot Setup</h4>

  <p>First, you will need to install the following required libraries to generate a key.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install kmodtool akmods mokutil openssl
</code></pre></div>  </div>
  <p>Then, create a default key.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo kmodgenca -a
</code></pre></div>  </div>
  <p>If you get an error like <code class="language-plaintext highlighter-rouge">WARNING: EXISTING KEY PAIR</code> while doing this, type the command with force like this.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo kmodgenca -a --force
</code></pre></div>  </div>
  <p>If there was no problem, do not write the forced command!</p>

  <p>When you handle this part too, you need to create a key by entering the command below. Enter a very simple password for the key like <code class="language-plaintext highlighter-rouge">0000</code>.</p>
  <blockquote class="alert alert-warning">
    <p><strong>Warning:</strong> Do not use the numpad while entering numbers, you might have problems. Use the number keys in a row above the letters instead. The boot menu sometimes may not detect the numpad.</p>
  </blockquote>

  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo mokutil --import /etc/pki/akmods/certs/public_key.der
</code></pre></div>  </div>
  <p>After doing this, you will need to restart your system. When you restart, you will encounter a blue screen.</p>

  <p><img src="/assets/img/posts/fedora-nvidia-driver/2.png" alt="MOK Screen" /></p>

  <p>If it’s not this screen but something like MOK management, just pressing <code class="language-plaintext highlighter-rouge">Enter</code> once will suffice. You will reach this screen.</p>

  <p>The only thing you will do here is go down with the arrow keys and say <code class="language-plaintext highlighter-rouge">Enroll MOK</code>. Then say <code class="language-plaintext highlighter-rouge">Continue</code>, select <code class="language-plaintext highlighter-rouge">Yes</code>, and you will come to the password entry menu. Here you will not use your own password, but the key like <code class="language-plaintext highlighter-rouge">0000</code> I mentioned above. Then select <code class="language-plaintext highlighter-rouge">Reboot</code> to restart your computer.</p>

  <p>Wait for your computer to turn on and that’s it. <em>You have already finished the hard part.</em></p>

  <h3 id="installing-the-drivers">3. Installing the Drivers</h3>

  <p>Now that you have enabled secure boot on your system, you are completely ready to install drivers. In this step, you first need to know your Nvidia GPU. If you know which GPU you are using, there is no problem. If you don’t know, you can find out by running the following command in the terminal.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>lspci | grep -iE 'VGA|3D|nvidia'
</code></pre></div>  </div>
  <p>Before starting the installation process, you can log it so you can monitor the installation more clearly. Open a new terminal and paste this command into it.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo journalctl -f -u akmods
</code></pre></div>  </div>
  <p>As long as this command runs, it will monitor Nvidia changes, and a log will fall into the terminal when there is a change. Do not close this terminal. Open a new terminal for installation.</p>

  <p>Your graphics card must be in one of these four groups. You can find your exact group by searching your GPU model on the internet. Or you can group it directly from your model’s brand name. If you have a device you bought within the last 15 years, it will most likely be in the 1st or 2nd groups, but you should check anyway.</p>

  <p>Start the installation by pasting the command <strong>that belongs only to your group</strong> into your terminal. Since download sizes are large, the installation may take a while.</p>

  <ol>
    <li>NVIDIA’s new GPUs <em>(Post-2017 Geforce 1000 onwards e.g.: GTX1080, Quadro, Tesla, RTX models)</em>
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda
</code></pre></div>      </div>
    </li>
    <li>NVIDIA’s relatively new GPUs <em>(2014-2017 GTX 800/900/10 models)</em>
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install xorg-x11-drv-nvidia-580xx akmod-nvidia-580xx
sudo dnf install xorg-x11-drv-nvidia-580xx-cuda
</code></pre></div>      </div>
    </li>
    <li>NVIDIA’s relatively old GPUs <em>(Geforce 600/700 Kepler, Quadro models)</em>
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install xorg-x11-drv-nvidia-470xx akmod-nvidia-470xx
sudo dnf install xorg-x11-drv-nvidia-470xx-cuda 
sudo dnf install plasma-workspace-x11 xorg-x11-drivers xorg-x11-xinit
</code></pre></div>      </div>
    </li>
    <li>NVIDIA’s old GPUs <em>(400/500 Fermi)</em>
These graphics cards are no longer supported by Nvidia. Because of this, there is no Wayland support, so make sure you use xorg.
      <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo dnf install xorg-x11-drv-nvidia-390xx akmod-nvidia-390xx
sudo dnf install xorg-x11-drv-nvidia-390xx-cuda # Required for nvidia-smi and CUDA support
</code></pre></div>      </div>
    </li>
  </ol>

  <blockquote class="alert alert-warning">
    <p><strong>Warning:</strong> Shutting down the computer as soon as the installation closes can break your system. Never ever turn off your computer before completing step 4.</p>
  </blockquote>

  <h3 id="confirming-system-setup">4. Confirming System Setup</h3>

  <p>If you have come this far, congratulations, you are at the final stage. Although the installation is very quick, it may be slow on some systems. For this reason, I advise you to be cautious. Restarting before the installation is finished can break your system. Do a safe installation. There are two ways to do this, applying both would be better for you.</p>

  <p>As the first method, run this command in your terminal every 5 minutes. This command shows you your active version and helps you understand that the installation is complete.</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>modinfo -F version nvidia
</code></pre></div>  </div>
  <p>If the installation is successful, you will see a version text like <code class="language-plaintext highlighter-rouge">570.xxx.xxx</code> in the terminal. As soon as you see this, you can restart your computer because the installation is finished.</p>

  <p>If you see the error <code class="language-plaintext highlighter-rouge">modinfo: ERROR: Module nvidia not found</code>, do not panic, this probably shows that your installation is not finished yet and mostly does not mean an error. Try again 5 minutes apart, make use of the second method.</p>

  <p>Examine your terminal with the <code class="language-plaintext highlighter-rouge">sudo journalctl -f -u akmods</code> command, which I asked you to open earlier and not to close. If the outputs in the terminal have not changed/flowed for the last 15 minutes (if your system is old, extend your waiting time up to 1 hour), your installation is most likely finished.</p>

  <p>It’s a possibility that probably won’t happen to you, but since it happened to me, I want to share this.
If your log terminal is not flowing, and the ‘modinfo: ERROR: Module nvidia not found’ command continues to give an error for over an hour, and you’ve been doing this for a long time, the installation is probably finished and waiting for a reboot. Most of the time there is nothing to fear, you can safely restart your computer.</p>

  <p>When your computer boots up successfully, open the terminal again and type the following command into the terminal:</p>
  <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>nvidia-smi
</code></pre></div>  </div>

  <p><img src="/assets/img/posts/fedora-nvidia-driver/3.png" alt="nvidia-smi" /></p>

  <p>If you see an output similar to this image, it means you have installed it successfully. After this, you won’t need to repeat these steps, your Linux will bring you the newest nvidia driver with system updates.</p>

</div>]]></content><author><name>Muhammet Özmen</name></author><category term="teknik" /><summary type="html"><![CDATA[Fedora'ya nasıl nvidia sürücüsü kurulur hakkında bir rehber.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mozmen.dev/assets/img/thumbs/fedora-nvidia.webp" /><media:content medium="image" url="https://mozmen.dev/assets/img/thumbs/fedora-nvidia.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>