Nvidia installer conflict solution

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Nvidia installer conflict solution

Postby dbbolton on Tue Dec 04, 2012 8:35 am

Note: the following applies to Linux Mint 13 Maya, amd64 (using packages from Precise Pangolin).

Today, I logged in to Cinnamon to discover that I had no window manager or panel, but I could launch Nautilus from the desktop. My .xsession-errors told me that Clutter had crashed due to a fatal error, so I assumed that something happened to my graphics driver (I installed version 304.60 with the nvidia installer because jockey failed repeatedly).

I re-ran the nvidia installer which told me the installation had been altered (by apt, I imagine). The file in question was /usr/lib/libOpenCL.so, a symlink.

To fix this conflict, find out what is available:
Code: Select all
find /usr/lib -iname '*opencl*'                                         
/usr/lib/libnvidia-opencl.so.1
/usr/lib/libOpenCL.so.1.0.0
/usr/lib/libOpenCL.so
/usr/lib/libOpenCL.so.1.0
/usr/lib/libnvidia-opencl.so.304.60
/usr/lib/libOpenCL.so.1


In this case libnvidia-opencl.so.304.60 is my only option. Now to fix the symlink:
Code: Select all
mv /usr/lib/libOpenCL.so /usr/lib/libOpenCL.so.orig
ln -s /usr/lib/libnvidia-opencl.so.304.60 /usr/lib/libOpenCL.so


Now restart X:
Code: Select all
/etc/init.d/mdm restart


And you should be good to go. I made myself a script to save myself the trouble of going through this process every time X is updated, located here.

Note: there was also a similar problem invoving /usr/lib/xorg/modules/extensions/libglx.so, but I have not seen it in recent versions of Ubuntu. I also made a script for it here.

I recommend that you fix this problem manually as I outlined above. If you choose to use my scripts, you do so at your own risk.
Last edited by dbbolton on Mon Dec 31, 2012 10:26 pm, edited 1 time in total.
dbbolton
Level 1
Level 1
 
Posts: 36
Joined: Mon Nov 28, 2011 11:51 pm

Linux Mint is funded by ads and donations.
 

Re: Nvidia installer conflict solution

Postby Guilden_NL on Tue Dec 04, 2012 3:31 pm

To clarify, you are running Mint 13, correct? Am checking due to my inability to load NVidia in 14.
Asus UX51vz Zenbook
User avatar
Guilden_NL
Level 1
Level 1
 
Posts: 22
Joined: Sun Sep 18, 2011 10:08 pm
Location: Arizona, USA

Re: Nvidia installer conflict solution

Postby dbbolton on Mon Dec 31, 2012 10:24 pm

Guilden_NL wrote:To clarify, you are running Mint 13, correct? Am checking due to my inability to load NVidia in 14.


Yes, I'm running 13 (Maya).
dbbolton
Level 1
Level 1
 
Posts: 36
Joined: Mon Nov 28, 2011 11:51 pm


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 18 guests