#80 Switch to RPM Fusion as the recommended way to install the nvidia driver
Merged 5 years ago by jflory7. Opened 5 years ago by kwizart.
fedora-docs/ kwizart/quick-docs nvidia-bbe  into  master

@@ -75,23 +75,23 @@ 

  === Proprietary Closed Source Driver (NVIDIA)

  

  Some users may prefer to use the closed-source proprietary drivers as they offer better performance than the open source ones.

- In that case, there's two sources from where you can get your drivers: http://rpmfusion.org[RPMFusion] and http://negativo17.org/[Negativo17]. Although both these sources are valid and will work, the Negativo17 driver is generally recommended over the RPMFusion ones, as the Negativo17 drivers are generally kept up to date and follow Fedora packaging guidelines better. They have also been known to work with Fedora to improve integration.

+ In that case, Fedora-compatible driver packages can be obtained from this source: http://rpmfusion.org[RPM Fusion].

  

- NOTE: The Installation process detailed below uses the Negativo17 repository.

- If you wish to use the RPMFusion repository instead, please adjust the steps according to your requirement

  

  == Installation (NVIDIA Proprietary Driver)

  

- . To install the NVIDIA drivers, first add the Negativo17 repository:

+ . To install the NVIDIA drivers, first add the RPM Fusion repository:

  +

  ----

- # sudo dnf config-manager --add-repo=https://negativo17.org/repos/fedora-nvidia.repo

+ # sudo dnf install fedora-workstation-repositories

+ # sudo dnf config-manager rpmfusion-nonfree-nvidia-driver --set-enabled

+ 

  ----

  

  . Then, install the necessary packages:

  +

  ----

- # sudo dnf install nvidia-driver kernel-devel akmod-nvidia dkms acpi

+ # sudo dnf install akmod-nvidia acpi

  ----

  

  . To get Bumblebee, we first need to enable the https://copr.fedorainfracloud.org/coprs/chenxiaolong/bumblebee/ chenxiaolong/bumblebee[Copr repository]:
@@ -112,7 +112,7 @@ 

  # gpasswd -a $USER bumblebee

  ----

  

- . Enable the `bumblebeed` service and disable the `nvidia-fallback` service. This service comes from the Negativo17 drivers and will attempt to load `nouveau` if `nvidia` fails to load. However, when using Bumblebee, neither one should load at boot.

+ . Enable the `bumblebeed` service and disable the `nvidia-fallback` service. This service comes from the packaged drivers and will attempt to load `nouveau` if `nvidia` fails to load. However, when using Bumblebee, neither one should load at boot.

Per AsciiDoc Recommended Practices, could you follow the one sentence per line convention? It is awkward to write at first, but it makes reviewing git diffs much easier in a pull request.

  +

I don't think the paragraph that recommends the one sentence per line even observe this best practise.
Unfortunately I don't plan to rewrite this doc, but instead write a new one that is simpler and don't rely on bumblebee.
(uneeded in most cases).

  ----

  # systemctl enable bumblebeed
@@ -205,13 +205,14 @@ 

  * To uninstall the NVIDIA drivers:

Could you make this into a header? It will help with SEO.

== Uninstall NVIDIA drivers on Fedora or something similar.

  +

  ----

This is already part of the uninstall section.

- # dnf remove nvidia-driver kernel-devel akmod-nvidia

+ # dnf remove akmod-nvidia xorg-x11-drv-nvidia\*

  ----

  

- * To remove the Negativo17 repository:

+ * To remove the nvidia-driver repository:

  +

  ----

- # rm /etc/yum.repos.d/fedora-nvidia.repo

+ # sudo dnf config-manager rpmfusion-nonfree-nvidia-driver --set-disabled

+ 

  ----

  

  Reboot.

Since the 3rd party policy adoption, the RPM Fusion community repository was preferred
over other single maintained repository.
See https://pagure.io/fedora-workstation/issue/43

This change switch the preferred method to install the nvidia driver.

Signed-off-by: Nicolas Chauvet kwizart@gmail.com

I think this line got a little mangled in the change, I'd suggest something like:

In that case, Fedora-compatible driver packages can be obtained from this source: http://rpmfusion.org[RPM Fusion].

Also, shouldn't this document be directing people to Gnome Software, now?

I haven't tried it this way myself, but I thought the whole point of the third-party repo change was that the RPMFusion repo and the Nvidia drivers could be installed from there, no muss no fuss, instead of making people run dnf commands?

Thx, fixed in the same branch.

This doc is about bumblebee, and personally I'm not a fan of it. Right now it should eventually be removed, because this is not really a method fedora would endorse. But that a separate issue. Right now this fix only the main issue with this doc not advertising a preferred method.

So basically "software" way would be a graphical way to enable nvidia driver without using command line. This should be a separate documentation (I or anyone could provide)
Please see this https://pagure.io/fedora-workstation/issue/64 that been said.

rebased onto 11de307f5a5010fbf3222fc6764f4a22fff2c226

5 years ago

This doc is about bumblebee, and personally I'm not a fan of it. Right now it should eventually be removed, because this is not really a method fedora would endorse. But that a separate issue. Right now this fix only the main issue with this doc not advertising a preferred method.

Gotcha, that makes sense.

rebased onto a33bd0710fd4236746f10ece58fea0540c71ea15

5 years ago

Per AsciiDoc Recommended Practices, could you follow the one sentence per line convention? It is awkward to write at first, but it makes reviewing git diffs much easier in a pull request.

Could you make this into a header? It will help with SEO.

== Uninstall NVIDIA drivers on Fedora or something similar.

Metadata Update from @jflory7:
- Request assigned

5 years ago

I don't think the paragraph that recommends the one sentence per line even observe this best practise.
Unfortunately I don't plan to rewrite this doc, but instead write a new one that is simpler and don't rely on bumblebee.
(uneeded in most cases).

This is already part of the uninstall section.

rebased onto 966104f

5 years ago

Pull-Request has been merged by jflory7

5 years ago
Metadata