Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I got 32-bit games to work nicely... :D
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
ozric100
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 136

PostPosted: Tue Apr 13, 2004 3:26 pm    Post subject: Reply with quote

I gave this a shot to get Americas Army working... but no luck... the log files
seam to show that its loading the 64bit libGL.so as the version is not the 32bit version. not sure what else to try. Oh btw .. I must us agpgart as nvagp does not work for AMD 8111. This might be the reason but I am not sure.

ldconfig -p | grep libGL | grep lib32 has all the needed libs listed


Any Ideas. This is a real show stopper for me .. AA is the only game I play.
_________________
Tyan tiger K8W, Opteron 2x246, 2x512 PC3200 OCZ, FX5900
Back to top
View user's profile Send private message
sarah_t_s
n00b
n00b


Joined: 27 Apr 2004
Posts: 21

PostPosted: Sat May 01, 2004 7:20 pm    Post subject: Reply with quote

I find the idea of playing my Windows 32 bit games on my AMD64 Gentoo installation quite interesting and all seems relativley easy. However, everyother machine I have avaliable is slackware based which doesn't have the coresponding directories.

I've got the 5336 Nvidia package here; although in it's <nvidia installer>/usr/lib/ I find
libGL.la
libGL.so.1.0.5336
libGLcore.so.1.0.5336
are these the fellas? I assume dump them in the directory and rewire the symlinks to point at them?

Also WineX, whilst I can emerge a version of it alegedly (ACCEPT_KEYWORDS="x86" emerge winex I take it?) what about the subscription version? Do I need to fiddle or is it a matter of ./configure make make install and it'll automagically get pointed to the emul layer?

Sorry if this sounds n00bish, but I'm really enjoying the sheer horsepower my 3400 has in 64bit mode after seeing XP pro stall all over the place in 32bit :)
Back to top
View user's profile Send private message
ereptor
n00b
n00b


Joined: 17 Apr 2004
Posts: 34

PostPosted: Sun May 02, 2004 8:25 pm    Post subject: Reply with quote

i would also like to be able to get thos lib's
thnx
_________________
never regret the things you do, only the things you don't
Back to top
View user's profile Send private message
Imek
Guru
Guru


Joined: 20 Jan 2004
Posts: 390
Location: Newcastle, England

PostPosted: Wed May 26, 2004 12:31 pm    Post subject: Reply with quote

The libs are easy to get. You just get the nvidia installer for the drivers, and do a

Code:
sh NVIDIA-Linux-x86-1.0-<version>-pkg2.run --extract-only


The two files are in the usr/lib directory in the directory created. You'll need to make symlinks when moving them, i.e. libGL.so, libGL.so.1, and the same for libGLcore.

Anyway, I did all this, and I'm having big problems. It works as described, I can put gl-extensions on in ET when I couldn't before, and it looks okay once I've put the nvidia libraries in, but I still get crap performance- exactly the same as with the old libraries. I know it's finding and using them, though, because I have to export __GL_FORCE_DIRECT=0 to get it working. I've also tried NWN, it also gets crap performance, like before.. And I'm getting fpses invariably above my refresh rate in Windows with these games. How come you seem to be getting improved performance with the nvidia libraries? Have I missed something?
_________________
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Back to top
View user's profile Send private message
ozric100
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 136

PostPosted: Thu May 27, 2004 4:09 pm    Post subject: Reply with quote

I gave up on GLX in 64it. I have the old disk for my AMDXP in my system.. SO .. I just use 32bit to play games. I still consider 64bit playland.
_________________
Tyan tiger K8W, Opteron 2x246, 2x512 PC3200 OCZ, FX5900
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Mon May 31, 2004 7:05 pm    Post subject: Reply with quote

did anyone solve this:


Quote:
ET 2.56 linux-i386 Sep 10 2003
----- FS_Startup -----
Current search path:
/root/.etwolf/etmain
/opt/enemy-territory/etmain/pak1.pk3 (10 files)
/opt/enemy-territory/etmain/pak0.pk3 (3725 files)
/opt/enemy-territory/etmain/mp_bin.pk3 (4 files)
/opt/enemy-territory/etmain

----------------------
3739 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot handle TLS data
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
zicada
n00b
n00b


Joined: 25 May 2004
Posts: 7

PostPosted: Wed Jun 09, 2004 5:12 pm    Post subject: Reply with quote

As far as i know, as long as the nvidia-kernel module you loaded before startng X is 64bit (wich ofcourse is the case for everyone, the 32bit nvidia-kernel wouldnt load into a 64bit kernel),- it wouldnt be possible to run 32bit nvidia-glx drivers.

The reason youre not getting any direct rendering or any fancy GL extentions or anything like that is simply because of this fact,- the GL drivers need to talk to software directly in the kernel, and the libGL.so's your 32bit binaries run, are actually the xorg-x11 ones, not the nvidia ones. This seems to be ok for some games (quake3 in vertex mode, nwn allthaught a bit slow) Other games rely on direct rendering, or use 3d instructions that require t&l and things like that (think quake3 in lightmap mode)

To get the games that actually do run ok a bit faster, create a chroot'ed 32bit environment, and compile the x libraries etc. with optimized flags,- this atleast made nwn playable. Im looking at around 1000fps with glxgears now.

Until we get updated nvidia-drivers that are able to coexist happily as 32/64bit i believe theres no way to get 32bit games to play any better than this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum