[elrepo] Centos 7.6 nvidia issue

Fred Smith fredex at fcshome.stoneham.ma.us
Thu Feb 14 18:54:24 EST 2019


On Thu, Feb 14, 2019 at 10:54:03PM +0000, Phil Perry wrote:
> 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?

Nah. Senior moment. elrepo, of course :)

> 
> First up, lets see what you currently have installed. Can you show
> us the output from:
> 
> rpm -qa | grep nvidia

rpm -qa | grep -i nvidia
kmod-nvidia-410.73-1.el7_5.elrepo.x86_64
yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
nvidia-x11-drv-410.73-1.el7_5.elrepo.x86_64
nvidia-detect-410.78-1.el7.elrepo.x86_64

> 
> 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).

Ah. thanks for that info. I have to admit I don't know what ocl-icd
is for, nor why I have it. [later...] Ah. Something to do with OpenCL.
Not sure what I need it for, now (unless Firefox or Chrome--or Vivaldi
might use it). I used to run Folding At Home, but don't anymore. I think I
saw a reference to wine in one posting too but don't run wine on this box.

Anything else that might break if I remove that? (or are you implying
that the nnvidia packages install a suitable substitute for it?)

> 
> >
> >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.

I'll be trying this in a few days. I need a better way of doing a bare-
metal backup before I try it again, so the 4 TB usb drive I just ordered
should do the trick once it arrives. (this last try I backed up 
everything onto my NAS box, which took ALL DAY plus several more hours
to run md5sum on the dd image files. yes, I know md5 is deprecated.)

So, once I get that and get everything backed up again I"ll give your
suggestions a try and post here what happens.

thanks again for your guidance!

Fred
-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
               Show me your ways, O LORD, teach me your paths;
                     Guide me in your truth and teach me,
                         for you are God my Savior,
                    And my hope is in you all day long.
-------------------------- Psalm 25:4-5 (NIV) --------------------------------


More information about the elrepo mailing list