[elrepo] Centos 7.6 nvidia issue

Phil Perry phil at elrepo.org
Fri Feb 15 00:29:19 EST 2019


On 14/02/2019 23:54, Fred Smith wrote:

<snip>

> On Thu, Feb 14, 2019 at 10:54:03PM +0000, Phil Perry wrote:
>> On 14/02/2019 15:39, Fred Smith wrote:
>>>
>>> --> 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?)
> 

It provides libOpenCL.so which is also provided by nvidia-x11-drv 
package so it's not going to cause any issues by replacing it. Try a 
simple 'yum erase ocl-icd' to see if there are any other dependencies, 
and if not, just remove it. Yum will tell you if anything requires 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
> 

It never hurts to have good backups :-)

If yum highlights any issues, just post them here first before 
proceeding if you are nervious and we can work through any issues.




More information about the elrepo mailing list