[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running 32bit OpenGL program with amd64



lee writes:

> Alberto Luaces writes:
>
>> lee writes:
>>
>>> Francesco Pietra writes:
>>>
>>>> Hello:
>>>> I would like to continue to use a 32bit graphical program based on
>>>> OpenGL. It worked well on i386, requiring libXm.so.3 (from libmotif3).
>>>>
>>>> Is it conceivable to simply add libXm.so.3 (taken from my dismissed
>>>> i388 PC) to ia32-libs?
>>>
>>> If you're running stable, it might work if all dependencies are
>>> fulfilled.  You could try it out ...  In testing, 32bit support is
>>> broken, and ia32-libs seems to be deprecated in favour of brokenarch.
>>
>> I had no problems using multiarch in testing and installing the required
>> :i386 packages.
>
> I've been using a 32bit application which stopped working when the
> NVIDIA drivers were updated last time.

Correct.  The same happened to me.

> The reasons why it stopped working are unknown, 

Not quite.  The *nvidia-glx-ia32 packages where emptied/obsoleted.  See
for example http://packages.debian.org/wheezy/libgl1-nvidia-glx-ia32 .

> and apparently I would have to switch to brokenarch before having a
> chance to get it working again.  There's no way to tell which i386
> packages would need to be installed, and since it doesn't work anyway,
> there's no point in trying to find out.
>

Yes it is.  If you have installed the typical 64-bit .deb package that
is actually a 32-bit binary with the ia32-libs package dependency, you
can just quickly install the real 32-bit .deb.  Then apt-get or aptitude
will pull the :i386 dependencies for that :i386 package.  This can be
done for example, for skype or the Humble Bundle games.

If your package is not installed as a .deb file, you would be on your
own as well recollecting the appropriate libraries in 32 bit.
Nevertheless, you can track which ones are required with the command
'ldd' and the Debian packages page
(http://www.debian.org/distrib/packages)  This is not a specific
multiarch advice, anyway.

>
>> However, I had to use the nvidia drivers from experimental in order to
>> have working 32-bit OpenGL libraries.
>
> I have tried that at least three times now.  It doesn't work, causes
> dependency problems and is difficult to fix once it's messed up.

The only tricky part at the time of this writing is to select the right
nvidia drivers if you are using them.  But as I said, now there is
available at the experimental repository a new version that fixes the
multiarch problem for OpenGL.  Just take care of installing the exact
same version of drivers and libraries among the multiple solutions
offered to you by the conflict resolution tool in apt-get/aptitude.

> 32bit support is totally broken, brokenarch totally sucks, and I'm
> majorly pissed and don't trust Debian anymore.  It seems unlikely that
> the problem will be fixed before the next release is out, and I find it
> amazing that they will leave the users of stable with this problem and
> have them find out that their 32bit software doesn't work anymore after
> the upgrade.  If it wasn't such a pita to do it, I'd already have
> switched to something else.

I think the opposite.  I see all mature enough, and I expect that tiny
details like the one I described will be ironed out before the release.
The concept is simple: activate multiarch → install 32-bit software by
means of 32-bit .debs.  The wine package for wheezy in amd64 has a nice
documentation on how to activate multiarch.

-- 
Alberto


Reply to: