From: Mike M. <mac...@ya...> - 2000-09-22 22:48:11
|
THE STORY CONTINUES I finally got the DRI working, thank you Homme, your help made me recompile the whole DRI tree and installing it with the symbolic links. Unreal-Tournament works (Very very FAST), YAHOO!!!. But there's still one annoying problem, after about 3/6 minuts while playing UT the X server just freezes, I can still access my computer remotely to kill the X process and reboot my computer so it's not totally locked. I think X or UT is trying to restart libGL.1.2 on the fly after some minutes. This is what I did to get DRI for MGA working: - Downloaded the latest Xfree DRI from FTP://dri.sourceforge.net/pub/dri - Downloaded Kernel 2.4.0 test8 + prepatch3 form www.kernel.org - UN-tarred the kernel and applied the patch - Compiled the kernel with AGPGART enabled for my chip set - UN-tarred Xfree DRI and followed the instructions on the DRI project site - Make World - Make Install (I choosed /bin/X11R6-DRI as project root) - Compiled and installed the kernel driver mga.o (can be compiled separate) (from: /programs/Xserver/hw/xfree4/os-support/linux/drm/kernel) (to: /lib/modules/XX/kernel/drivers/char/drm) - added 'usr/X11R6-DRI/lib' in '/etc/ld.so.conf' above 'usr/X11R6/lib' - did 'ldconfig' to search and cache for the new libraries (this prevents the message 'DRM 2.XX expected but DRM 1.0.1 installed') - I didn't made the symbolic links, I only copied mga_drv.o and mga_dri.o (from: /programs/Xserver/hw/xfree4/drivers/mga/) ("mga_drv.o" to: /usr/X11R6/lib/modules/drivers) ("mga_dri.o" to: /usr/X11R6/lib/modules/dri/mga_dri.so) <- mga_dri.o - Then I started the xserver with "startx" <-duh - I tested if DRI was working as followed - cat /var/log/XFree*, if it says DRI loaded successfully - ./glxinfo, if DRI is enabled (got it from dri.sourceforge.net on the resource page) - ./gears, if DRI was working (MGA's performance is normally more than 700fps with DRI enabled it's about 100 with DRI disabled) - then the big thing "Unreal-Tournament" I hope this will help!!! I can't explain what I did further, my problem now is that Unreal freezes in about 6 minutes of playing. Questions: - Someone had a simmilair problem? - Are the plans for DRI enabled in XFree out of the box? - may be, some tips to improve performance :) ? and the performance for unreal? Things I noticed: - I noticed, since my DRI is working properly (except the thing with UT) that the QT and GTK widgets are drawed correctly - When I copied the mga.o, the mga_dri.o and the mga_drv.o drivers to there appropiate directories (without installing the whole DRI-CVS to /usr/X11R6-DRI), XFree runned with the message DRI was enabled sucessfully, but when I runned "glxinfo" it said DRI was disabled (and it was). - When the system freezes, it is not totally locked, I can still access my system remotely. (not something new) Again, TNX Homme, I hope you or someboody else can help me with the UT problem. I also hope my instructions how I installed XFree with MGA DRI enabled will help others. I know, I know a lot of hoping : \ Thank you, Mikey Machuidel :) __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ |