Git Product home page Git Product logo

Comments (3)

kmittman avatar kmittman commented on July 28, 2024

If I recall correctly, 418.87.00 (August 2019) was the first to use the "flavor" name scheme: https://github.com/NVIDIA/yum-packaging-nvidia-driver#deliverables
As such the installation instructions changed to

sudo yum install nvidia-driver-latest-dkms

This is needed to explicitly filter out the latest and branch-XXX packages (for precompiled).

As far as why 440 and 465, I think that's just a result of the resolver trying to find an upgrade scenario that works. Might need to uninstall, as I don't recall if this upgrade is expected to install cleanly or not.

from yum-packaging-precompiled-kmod.

kmittman avatar kmittman commented on July 28, 2024

@paulraines68 please take a look and verify that these instructions solve the upgrade issue.

First I installed the old driver version using the local installer repo method

# Enable EPEL 7 repo
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# Download NVIDIA driver local repo
wget http://us.download.nvidia.com/tesla/418.67/nvidia-diag-driver-local-repo-rhel7-418.67-1.0-1.x86_64.rpm
# Install/enable local repo
sudo rpm -i nvidia-diag-driver-local-repo-rhel7-418.67-1.0-1.x86_64.rpm
# Install NVIDIA driver packages (including nvidia-settings)
sudo yum install cuda-drivers

Very important after using a local repo

# Remove the local repo afterwards
sudo yum remove "*nvidia*driver-local-repo*"

Then as per the CUDA Download Page, enable the CUDA network repository

# Enable CUDA repo for RHEL7 (x86_64)
sudo yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
# Force metadata to be refreshed
sudo yum clean all

If you try this (without nvidia-settings) it will fail to upgrade due to dependency conflicts

# Install the latest-dkms "flavor"
sudo yum install nvidia-driver-latest-dkms
Error: nvidia-driver-branch-440 conflicts with 3:nvidia-driver-latest-dkms-465.19.01-1.el7.x86_64
Error: Package: 3:nvidia-driver-branch-440-440.118.02-1.el7.x86_64 (cuda-rhel7-x86_64)
           Requires: kmod-nvidia-latest-dkms = 3:440.118.02
Error: nvidia-driver-latest-dkms conflicts with 3:nvidia-driver-branch-440-440.118.02-1.el7.x86_64

However, if you install the NVIDIA driver (latest-dkms flavor) and the cuda-drivers meta-package, then it will upgrade just fine to the latest version (465.19)

# Install the latest-dkms "flavor", plus nvidia-settings, nvidia-libXNVCtrl, nvidia-libXNVCtrl-devel
sudo yum install nvidia-driver-latest-dkms cuda-drivers
Installed:
  kmod-nvidia-latest-dkms.x86_64 3:465.19.01-1.el7              nvidia-driver-latest-dkms.x86_64 3:465.19.01-1.el7                 
  nvidia-driver-latest-dkms-NVML.x86_64 3:465.19.01-1.el7       nvidia-driver-latest-dkms-NvFBCOpenGL.x86_64 3:465.19.01-1.el7     
  nvidia-driver-latest-dkms-cuda.x86_64 3:465.19.01-1.el7       nvidia-driver-latest-dkms-cuda-libs.x86_64 3:465.19.01-1.el7       
  nvidia-driver-latest-dkms-devel.x86_64 3:465.19.01-1.el7      nvidia-driver-latest-dkms-libs.x86_64 3:465.19.01-1.el7            
  nvidia-libXNVCtrl.x86_64 3:465.19.01-1.el7                    nvidia-libXNVCtrl-devel.x86_64 3:465.19.01-1.el7                   
  nvidia-modprobe-latest-dkms.x86_64 3:465.19.01-1.el7          nvidia-persistenced-latest-dkms.x86_64 3:465.19.01-1.el7           
  nvidia-settings.x86_64 3:465.19.01-1.el7                      nvidia-xconfig-latest-dkms.x86_64 3:465.19.01-1.el7                

Dependency Installed:
  yum-plugin-nvidia.noarch 0:0.5-1.el7                                                                                              

Updated:
  cuda-drivers.x86_64 0:465.19.01-1                                                                                                 

Replaced:
  dkms-nvidia.x86_64 3:418.67-1.el7                             nvidia-driver.x86_64 3:418.67-4.el7                                
  nvidia-driver-NVML.x86_64 3:418.67-4.el7                      nvidia-driver-NvFBCOpenGL.x86_64 3:418.67-4.el7                    
  nvidia-driver-cuda.x86_64 3:418.67-4.el7                      nvidia-driver-cuda-libs.x86_64 3:418.67-4.el7                      
  nvidia-driver-devel.x86_64 3:418.67-4.el7                     nvidia-driver-libs.x86_64 3:418.67-4.el7                           
  nvidia-libXNVCtrl.x86_64 3:418.67-1.el7                       nvidia-libXNVCtrl-devel.x86_64 3:418.67-1.el7                      
  nvidia-modprobe.x86_64 3:418.67-1.el7                         nvidia-persistenced.x86_64 3:418.67-1.el7                          
  nvidia-settings.x86_64 3:418.67-1.el7                         nvidia-xconfig.x86_64 3:418.67-1.el7                               

Complete!

from yum-packaging-precompiled-kmod.

kmittman avatar kmittman commented on July 28, 2024

Closing, no response received after 2 weeks.

from yum-packaging-precompiled-kmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.