LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Hardware accelerated 32-bit games with multilib slackware64 (http://www.linuxquestions.org/questions/slackware-14/hardware-accelerated-32-bit-games-with-multilib-slackware64-752981/)

sunman 09-05-2009 08:54 PM

Hardware accelerated 32-bit games with multilib slackware64
 
I bought the Penumbra Collection from Frictional games a while back when they had a weekend deal for $5. I just installed Slackware64-13.0 last night and I've setup the 32-bit multilib environment by following Alien Bob's wiki howto and everything seems to be ok with it (although I've not really tested much 32 bit stuff yet).

Every time I try to run one of the Penumbra games I get a segfault and I can't figure out why. The only thing I can think of is it might be because I'm using the nvidia 64-bit proprietary driver. The games come with their own versions of libraries they require and I'm kind of stumped as to what to try next :) I get no error logs as the binaries crash before anything really happens.

If anyone has a pointer in the right direction I'd appreciate it, going to email Frictional too and see if they have any ideas as well.

On the upside World of Goo released an update that runs on 64-bit so score one for Linux gamers :)

Tim

adamk75 09-05-2009 08:59 PM

Quote:

Originally Posted by sunman (Post 3671381)
I bought the Penumbra Collection from Frictional games a while back when they had a weekend deal for $5. I just installed Slackware64-13.0 last night and I've setup the 32-bit multilib environment by following Alien Bob's wiki howto and everything seems to be ok with it (although I've not really tested much 32 bit stuff yet).

Every time I try to run one of the Penumbra games I get a segfault and I can't figure out why. The only thing I can think of is it might be because I'm using the nvidia 64-bit proprietary driver. The games come with their own versions of libraries they require and I'm kind of stumped as to what to try next :) I get no error logs as the binaries crash before anything really happens.

If anyone has a pointer in the right direction I'd appreciate it, going to email Frictional too and see if they have any ideas as well.

On the upside World of Goo released an update that runs on 64-bit so score one for Linux gamers :)

Tim

The first thing to check is if the nvidia driver installer installed the 32-bit libraries? It probably would only have done that if you made your 64-bit machine multilib *before* installing the nvidia drivers. What is the output of 'ls -l /usr/lib/libGL.so.1*' ?

Adam

sunman 09-05-2009 09:06 PM

ls -l /usr/lib/libGL.so.1* shows:
lrwxrwxrwx 1 root root 18 2009-09-05 17:02 /usr/lib/libGL.so.1 -> libGL.so.185.18.36*
-rwxr-xr-x 1 root root 408372 2009-08-03 18:45 /usr/lib/libGL.so.1.2*
-rwxr-xr-x 1 root root 618176 2009-09-05 03:43 /usr/lib/libGL.so.185.18.36*

And yes I did install the nvidia driver before making the system multilib, thanks for reminding me.

adamk75 09-05-2009 09:13 PM

That actually looks like the installer did install the 32 bit libraries, but you still have the Mesa library installed as well (libGL.so.1.2). You may want to rename that and link libGL.so.185.18.36 to libGL.so.1.2.

All I can really suggest at this point is seeing if the 32-bit version of glxinfo works properly and shows that you are using the nvidia drivers. I don't have Slackware in front of me at the moment, though, and I don't recall if the multilib conversion installs glxinfo in /usr/bin/32/, but you can certainly check and, if not, install it yourself from the 32 bit packages.

Adam

sunman 09-05-2009 09:14 PM

Ah thanks very much for jogging my brain :) I removed/reinstalled the nvidia driver and all is going well now. The installer prompts to install 32-bit compatibility libraries during the process. Thanks again.

Tim

Edit: Yeah I'm not sure what was up but I confused it somehow :D I did say yes to the 32-bit part last time as well, but it's working fine now.


All times are GMT -5. The time now is 02:24 PM.