DEV Community

Marco D. Mosna
Marco D. Mosna

Posted on

How to make the Nvidia drivers to work on a laptop using Fedora with Secure Boot?

Nvidia can be quirky when it comes to Linux systems, but fortunately, with the power of the internet and a cup of coffee, hours' worth of headaches can lead to significant learning experiences.

Now, how do you make the Nvidia drivers work if you have a laptop with an integrated GPU + dedicated GPU setup?

A little caveat: this worked for me and might not work for you. This is just a guide to hopefully improve your search for a solution.

Steps:

  1. Set up Fedora to work with Secure Boot.
  2. Get and use the Nvidia driver installer from the official Nvidia website.
  3. Using the location defined during the Nvidia installation, find the .der file and import it using mokutil. (You should be familiar with this step after following the Secure Boot setup in step 2.)
  4. After importing the key with mokutil, reboot and follow the prompts (see step 2 for details).
  5. Enjoy your Nvidia drivers!

Resources:

My current Fedora kernel version:

Linux fedora 6.11.3-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct 10 22:31:19 UTC 2024 x86_64 GNU/Linux

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay