View previous topic :: View next topic |
Author |
Message |
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Fri Jun 04, 2004 10:15 pm Post subject: ut2004 and ut2003 demo's with radeon 7500 mobility |
|
|
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 |
|
|
swanson Tux's lil' helper
Joined: 04 Jun 2004 Posts: 147 Location: Edinburgh, Scotland
|
Posted: Fri Jun 04, 2004 11:41 pm Post subject: |
|
|
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 |
|
|
dpl Tux's lil' helper
Joined: 22 Apr 2003 Posts: 137 Location: Canada
|
Posted: Sat Jun 05, 2004 9:18 pm Post subject: |
|
|
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 |
|
|
swanson Tux's lil' helper
Joined: 04 Jun 2004 Posts: 147 Location: Edinburgh, Scotland
|
Posted: Sun Jun 06, 2004 1:32 pm Post subject: |
|
|
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 |
|
|
packetstorm n00b
Joined: 19 Jul 2004 Posts: 5
|
Posted: Mon Jul 19, 2004 11:34 am Post subject: |
|
|
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 |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Mon Sep 13, 2004 10:39 pm Post subject: |
|
|
helped me a lot as well, so thanks again
now _this_ would be nice to have in an ebuild!
regards
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
|