Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-31-08, 10:06 AM   #1
Zakhar
Registered User
 
Join Date: Dec 2008
Posts: 8
Default Installation of 180.18 breaks Wine/OpenGL (Ubuntu x64)

Hello,

I just installed the 180.18 driver on my Ubuntu 8.10 x64 (Intrepid Ibex).

It is fine because it fixes a graphical bug I had on title bars going grey (known bug of 177 on some serie 7 & 8 cards).

But the nVidia installer breaks Wine on my Ubuntu system.

I know you said on the closed post about installation that it's hard to keep track of all systems, but here is what happens.

On a x64 Ubuntu system you have 3 lib directories :
/usr/lib (standard stuff on all Linux)
/usr/lib64 (just a bunch of symbolic links to libraries in /usr/lib)
/usr/lib32 (contains 32 bits libraries because some programs need them !)

Namely Wine is still a 32 bits program, even on 64 bits systems.
And I suspect so on every distro !

So during the installation process :
- The script detect outdated modules and libraries
- Removes the outdated stuff
- Build the 64bits modules and libraries
- Copy them in the right place

So basically after the process whe don't have any more 32 bits libraries for 32 bits programs.
... and remember: Wine is mainly used for games, and nVidia is making its money with that

If I had a PC only for office work and enjoy Compiz effect, a basic Intel chip is fair enough !

To be a little bit more helpful now, when I launch OpenGL Games (WoW, Warcraft 3) I get:
Code:
err:module:load_builtin_dll failed to load .so lib for builtin L"OPENGL32.dll": libGL.so.1
After comparing with my laptop, this one stayed with standard Ubuntu 177 driver as I have no Compiz graphical bug, I notice 3 missing libraries (so far)

Code:
/usr/lib32/libGL.so.1
/usr/lib32/libGLcore.so.1
/usr/lib32/libnvidia-tls.so.1
These libraries should be symbolic links and point to the relevant version of nVidia libraries:
Code:
libGL.so.180.18
libGLCore.so.180.18
libnvidia-tls.so.180.18
Of course these libraries have to be 32bits models, but the installer doesn't make them.


What I tried:
- put the 64 bits libraries instead: as expected I got an error saying that wine do no accept 64 bits libraries
- put the 177.80 32 bits libraries (as in Ubuntu repository): the loading error is gone but of course I get a segmentation error.

What I'm going to do:
- I'm going to install a 32bit Intrepid (thanks Wubi !) upgrade to the 180.18 driver, this should install the 32 bits libraries so that I can get them for my 64bits box.
I just hope the 32 bits libraries built on a 32bits system and the 32 bits libraries we have on native 64 are the same ones !


What should be done by nVidia installer:
- build as well 32bits libraries
- put them back where there belong !


If you have any advise on how to make it work smoothly, I'm ready to take them.

I'll keep you posted on my last test (32 bits versions of drivers).
Zakhar is offline   Reply With Quote
Old 12-31-08, 10:31 AM   #2
jeisom
Registered User
 
Join Date: Dec 2005
Location: My own little world
Posts: 117
Default Re: Installation of 180.18 breaks Wine/OpenGL (Ubuntu x64)

Sounds like you used the wrong installer. You need pkg2 installer which installs
32bit compatible libraries.
jeisom is offline   Reply With Quote
Old 12-31-08, 10:57 AM   #3
Zakhar
Registered User
 
Join Date: Dec 2008
Posts: 8
Default Re: Installation of 180.18 breaks Wine/OpenGL (Ubuntu x64)

Well... I do need the 64 bits libraries !

... as my system is 64 bits.

But I also need 32 bits libraries.

Do you say pkg2 will install both sorts of libraries ?

You are right the documentation about which package to download is very very confuse, and I tried package 1.

To check what you suggested, I'll just switch my Wubi, start in 64 and try the other package. (Wubi rocks !)
Zakhar is offline   Reply With Quote
Old 12-31-08, 11:02 AM   #4
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: Installation of 180.18 breaks Wine/OpenGL (Ubuntu x64)

Quote:
Originally Posted by Zakhar View Post
Well... I do need the 64 bits libraries !

... as my system is 64 bits.

But I also need 32 bits libraries.

Do you say pkg2 will install both sorts of libraries ?
yes the installer will ask whether you want to 32bit compatibility libraries.
Dragoran is offline   Reply With Quote
Old 12-31-08, 11:30 AM   #5
Zakhar
Registered User
 
Join Date: Dec 2008
Posts: 8
Default Re: Installation of 180.18 breaks Wine/OpenGL (Ubuntu x64)

Wonderful job guys !

It works ==> Solved

Thanks for your so quick answer and have a happy new year's eve days !

P.S.: if I may, on the Readme about x64 driver, if you changed the example to pkg2, it would be better
Zakhar is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:38 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.