ajw1980
Status: Curious
Joined: 30 Aug 2008
Posts: 6
Back to top
Posted: Aug 21, 09, 16:56    32 bit compatibility on 64 bit
Hi,

The nvidia installer hasn't been updated to use /usr/lib32 on debian. sgfxi should set these options for installerArgs for 64 bit machines:
--compat32-prefix= --compat32-libdir= --compat32-chroot=/usr/lib32

I've made that change myself and it worked fine on 2 of my machines.

Andy
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2541
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Aug 21, 09, 19:38    
can you provide some details, for example, is this added 64 bit installer arg changing current defaults that might affect other users?

Why are the first two set to null?

It seems reasonable as a change, but I need to make sure this doesn't negatively impact current 64 bit nvidia installer users, none of whom have complained about any issues in the past year, give or take.

Obviously, a test for /usr/lib32 dir would have to be made first, but otherwise it would be good to know what is being nulled out etc.
ajw1980
Status: Curious
Joined: 30 Aug 2008
Posts: 6
Back to top
Posted: Aug 22, 09, 4:46    
These options only change where the 32 bit compatibility libraries get installed, so I don't think they should have any effect on users that don't have the 32 bit libs. The installer checks that the 32 bit directory actually exists before trying to install.

Here is confirmation of the issue:
www.nvnews.net/vbulletin/showthread.php?t=135332

compat32-chroot says where the 32 bit chroot is.

compat32-prefix tells the prefix to use relative to the chroot.

compat32-libdir tells the library to use relative to the compat32-prefix.

Setting the compat32-prefix and compat32-libdir to null make it install directly to the compat32-chroot directory.
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2541
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Aug 22, 09, 8:39    
thanks for the complete information, that's now updated for all 64 bit users, if I understood the threads, this will work fine for lenny, testing and sid, if that's not correct, let me know. Give it a try.
ajw1980
Status: Curious
Joined: 30 Aug 2008
Posts: 6
Back to top
Posted: Aug 22, 09, 18:15    
I don't know if that will work on lenny or not. Moving the 32 bit libraries to /usr/lib32 was changed in early july. The monolithic ia32-libs that changed to /usr/lib32 wasn't upload until august.

/usr/lib32 was in lenny, though:
packages.debian.org/search?searchon=contents&keywords=%2Fusr%2Flib32&mode=path&suite=stable&arch=any

I don't have a machine running lenny, so I can't tell if libraries placed in /usr/lib32 would be used. I would say it is probably safest to not add those options on lenny.

Up to date testing and sid should be working, though. I tested on sid and it is working fine.
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2541
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Aug 22, 09, 19:23    
thanks, I'll exlcude lenny, and thanks for the full complete information, always makes it a lot easier to do this stuff.
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 2541
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: May 22, 10, 14:44    
Update: the new nvidia installer (as of 256.25) throws an error if args are used with no info, so you have to do this:

:: Code ::
--compat32-prefix=/usr --compat32-libdir=lib32 --compat32-chroot=/usr/lib32


sgfxi is updated and tests seem to show it works, at least gui nvidia-settings opens in both new and beta 256.xx driver installs.

Thanks to this thread for the tip on how to fix it.
Display posts from previous:   

All times are GMT - 8 Hours