[elrepo] Centos 7.6 nvidia issue

Phil Perry phil at elrepo.org
Thu Feb 14 17:54:03 EST 2019


On 14/02/2019 15:39, Fred Smith wrote:
> On Mon, Jan 21, 2019 at 12:21:10PM +0000, Brian Smith wrote:
>>     Just reporting my experience with the CentOS 7.5 -> 7.6 update
>>     coincidental with needing to switch from kmod-nvidia ->
>>     kmod-nvidia-390xx
>>     # yum update
>>     reports conflicts between different kmod-nvidia versions.
>>     Trying to change kmod-nvidia first
>>     # yum erase kmod-nvidia
>>     # yum install kmod-nvidia-390xx
>>     reveals conflicts between libglvnd-egl and mesa-libEGL etc. Solution is
>>     to update mesa-libEGL first
>>     # yum update mesa-libEGL
>>     and then install libglvnd-egl
>>     # yum install libglvnd-egl
>>     before installing the 390xx driver
>>     # yum install kmod-nvidia-390xx
>>     and finishing the update
>>     # yum update
>>     Maybe time for another update to the kmod-nvidia package page?
>>     [1]http://elrepo.org/tiki/kmod-nvidia
>>
>> References
>>
>>     1. http://elrepo.org/tiki/kmod-nvidia
> 
> I'm still trying to get my Centos-7.5 box up to 7.6. I had hoped
> that the recipe above would work for me, but it does not.
> 
> Attempting to do "yum erase kmod-nvidia" spews a long list of apparently
> unrelated packages that will be purged along with it, so I didn't do that.
> Trying the "yum install kmod-nvidia" (note that the 390xx package is
> no longer the latest one so I didn't specify that) attempts to install
> a whole ton (or two) of other packages which fails with more conflicts.
> I don't think I should try explicitly installing the 390xx package since
> i already have (kmod-nvidia.x86_64           410.73-1.el7_5.elrepo    @elrepo"
> installed. I further note that epel now has 410.93 available.
> 

epel?

First up, lets see what you currently have installed. Can you show us 
the output from:

rpm -qa | grep nvidia

The latest package is kmod-nvidia-410.93-1.el7_6.elrepo.x86_64, but this 
may be excluded (hidden) from yum if you have yum-plugin-nvidia 
installed but don't yet have the el7.6 kernel installed.

> So, attempting to follow the instructions and deal with mesa-libEGL first,
> erasing it lists a bunch of things it will remove in addition, which I
> dont' much want to do (bunch of Gnome packages, among other things), and
> "yum install libglvnd-egl" wants to install a whole long list of updates
> but that fails because of failed dependencies.
> 
> so, without being able to do the prepration outlined in the original
> posting, if I just do "yum update" I get a lot of text flowing by, and
> it finally ends with some errors. here (below) is the last bit of that
> output, I'm hoping it will mean something to someone who can offer helpful
> suggestions. I wonder why it is trying to install kmod-nvidia 340.xx
> when I already have 410 installed? And I could avoid the whole mess by
> doing a fresh install, but doing a fresh install is a serious pain in the
> fundament--it takes days to get everything reconfigured the way I want it.
> 
> --> Running transaction check
> ---> Package daxctl-libs.x86_64 0:62-1.el7 will be installed
> ---> Package kmod-nvidia-340xx.x86_64 0:340.107-2.el7_6.elrepo will be installed
> --> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts ocl-icd
> --> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts nvidia-x11-drv-340xx-32bit
> --> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts nvidia-x11-drv-340xx
> --> Processing Conflict: nvidia-x11-drv-340xx-340.107-1.el7.elrepo.x86_64 conflicts nvidia-x11-drv
> --> Finished Dependency Resolution
> --> Running transaction check
> ---> Package kernel.x86_64 0:3.10.0-862.9.1.el7 will be erased
> ---> Package kernel-devel.x86_64 0:3.10.0-862.9.1.el7 will be erased
> ---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> ---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> ---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> ---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> ---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> --> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts ocl-icd
> 

The latest elrepo nvidia packages are not compatible with ocl-icd from 
epel, so if you want to use our nvidia packages you are going to have to 
uninstall ocl-icd as they both provide the same files (hence the 
conflict above).

> 
> thanks in advance!
> 
> Fred
> 

Can I suggest you first update your kernel:

yum update kernel\*

then try updating the rest of the system with elrepo disabled:

yum --disablerepo=elrepo\* update

That should prevent yum from trying to pull in kmod-nvidia-340xx.x86_64 
which is clearly wrong. Any errors at this point or does that look good?

Then update the nvidia packages from elrepo, having first uninstalled 
ocl-icd

yum erase ocl-icd
yum update kmod-nvidia

If you get this far, you'll need to reboot to the new el7.6 kernel and 
pick up the new nvidia drivers.



More information about the elrepo mailing list