Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ut2004 and ut2003 demo's with radeon 7500 mobility
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Fri Jun 04, 2004 10:15 pm    Post subject: ut2004 and ut2003 demo's with radeon 7500 mobility Reply with quote

Good evening folks,
I've got a dell inspiron 5100 and I'm trying to get ut2003 or ut2004 working. The computer has a radeon mobility 7500 card in it, and it's all working with glxgears giving me between 1000 - 7000 fps.
This is all fine and dandy, but when I start up either ut game, they are both very choppy until I get into the actual game, and at that point it is impossible to play because I can't see any shapes, just mass amounts of colour.
If anyone knows how to fix this that would be great, cause I'd like to be playing some games. I"ll send in whatever information would be helpful as well, just ask because I'm not sure what would be needed to figure this out.
Thanks,
- dpl
_________________
puto risi vidi
Back to top
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 147
Location: Edinburgh, Scotland

PostPosted: Fri Jun 04, 2004 11:41 pm    Post subject: Reply with quote

You'd need to build the current Mesa/DRI CVS code and apply a S3TC patch (patent issues) and its build its (currently) external library.

I don't know if a Mobility 7500 can actually cope with UT200[34] though.

BTW 7000 fps from glxgears for a Mobility 7500? Really?
_________________
Alan.
Back to top
View user's profile Send private message
dpl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 137
Location: Canada

PostPosted: Sat Jun 05, 2004 9:18 pm    Post subject: Reply with quote

Should I be installing just the straight mesa from the portage tree? And how do I apply the S3TC patch and external library?
Could you explain in a bit more detail what I should be doing?
Thanks.

The 7000+ in glxgears is when the gears window is hidden. Typically, it's around 1200-1300.
I should be able to use the 7500 to play ut2003 at least, since I can do it in windows with no problem at all.

- dpl
_________________
puto risi vidi
Back to top
View user's profile Send private message
swanson
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2004
Posts: 147
Location: Edinburgh, Scotland

PostPosted: Sun Jun 06, 2004 1:32 pm    Post subject: Reply with quote

No, build and install manually from CVS. Instructions on this are here;
http://dri.sourceforge.net/cgi-bin/moin.cgi/Building

Download the three CVS trees (DRM, DRI and Mesa) and then copy them to another directory for building, eg /tmp/build.

Apply the following S3TC patch to Mesa (newer versions may be available check the Mesa mailing list);
http://homepage.hispeed.ch/rscheidegger/dri_experimental/mesa_r200_radeon_i830_txc_cvs040602.diff.gz

Build its (currently) external library and copy it to /usr/local/lib;
http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn040524.tar.gz

I also apply a patch for R200 (which won't matter for your Mobility 7500);
http://marc.theaimsgroup.com/?l=dri-devel&m=106668758605732&q=p3


Edit the xc/xc/config/cf/host.def file as documented, setting MesaSrcDir and DRMSrcDir. I also tune the GCC options (removing comments "/* */" surrounding the options), remove the debug flag and only build for Radeon and R200;

Quote:
-#define MesaSrcDir /X11R6/SourceForge/Mesanew/Mesa
-#define DRMSrcDir /X11R6/SourceForge/DRI-freedesktop/drm
+#define MesaSrcDir /tmp/build/Mesa
+#define DRMSrcDir /tmp/build/drm

-#define DefaultGcc2i386Opt -O2
+#define DefaultGcc2i386Opt -O2 -march=pentium3 -mfpmath=sse -mmmx -m3dnow -msse -msse2

-#define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe -g
+#define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe

-#define XF86CardDrivers tdfx i810 mga ati glint vga sis
-#define DriDrivers r200 mga i810 r128 radeon gamma i830 sis tdfx ffb
+#define XF86CardDrivers ati
+#define DriDrivers r200 radeon


Then build the DRM and DRI as documented. Do not do the "make install" however, we will copy the files manually.

Stop X then copy the files in xc/xc/exports/lib (after backing up originals);

Quote:
cp libGL.so.1.2 /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
cp libOSMesa.so.4.0 /usr/X11R6/lib/libOSMesa.so.4.0
cp modules/drivers/radeon_drv.o /usr/X11R6/lib/modules/drivers/radeon_drv.o
cp modules/drivers/ati_drv.o /usr/X11R6/lib/modules/drivers/ati_drv.o
cp modules/dri/r200_dri.so /usr/X11R6/lib/modules/dri/r200_dri.so
cp modules/dri/radeon_dri.so /usr/X11R6/lib/modules/dri/radeon_dri.so
cp modules/linux/libdrm.a /usr/X11R6/lib/modules/linux/libdrm.a
cp modules/extensions/libglx.a /usr/lib/opengl/xorg-x11/extensions/libglx.a
cp modules/extensions/libdri.a /usr/X11R6/lib/modules/extensions/libdri.a
cp modules/extensions/libGLcore.a /usr/X11R6/lib/modules/extensions/libGLcore.a


Copy the kernel module radeon.[o|ko] as documented. Then "rmmod radeon" and "modprobe radeon" to reload the module.

Finally run "ldconfig" and start X.
_________________
Alan.
Back to top
View user's profile Send private message
packetstorm
n00b
n00b


Joined: 19 Jul 2004
Posts: 5

PostPosted: Mon Jul 19, 2004 11:34 am    Post subject: Reply with quote

Thank you, swanson!
Works perfect for me (PC with Ati Radeon 7500 and a Notebook ibm Thinkpad a31p with a radeon7500).

I use xfree, not X.org, so i didnt had to copy the hole thing manually. The script (make install) did it for me.

Greetings
Back to top
View user's profile Send private message
thepi
Guru
Guru


Joined: 06 Jan 2004
Posts: 352
Location: Tokyo, Japan

PostPosted: Mon Sep 13, 2004 10:39 pm    Post subject: Reply with quote

helped me a lot as well, so thanks again :D

now _this_ would be nice to have in an ebuild! :P

regards
pi~
_________________
Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
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