From: Chris T. <chr...@ya...> - 2001-06-26 17:30:58
|
Okay, Red Hat 7.1 ATI Xpert 128 (Rage 128, 16MB VRAM, AGP 2x) With Direct Rendering enabled, nothing OpenGL works. The GLPlanet screensaver in GNOME for instance, won't work, and selecting the bubbles 3D screensaver locks up the GUI. I guess I have the wrong libGL.so library. Red Hat didn't install it in usr/X11R6/lib, so I put a symblink there to libGL.so in usr/lib. The /usr/lib/libGL.so file is, however, ANOTHER symlink that I didn't create. It points to a file in /usr/lib called lib.GL.so.1.2.... (with a lot of numbers). That file is the only one that could be it, since all the libGL.so files are symlinks that don't take up more than 19 bytes. So, is my symlink to a symlink causing a problem? How do I know which libGL.so to have? Thanks again for the help. Also, I still can't figure out where to place the /sbin/insmod commands at boot ... modules.conf doesn't seem to be it ... :-( - Chris Thielen " Peace, Love, 'n Linux." ----- Original Message ----- From: "Chris Thielen" <chr...@ya...> To: <dri...@li...> Sent: Tuesday, June 26, 2001 9:51 AM Subject: Re: [Dri-users] Directing Rendering etc. > Thanks, I'll try that, and sorry for forgetting this ... > > Fresh Workstation install of Red Hat 7.1. > (RH 7.1 is kernel 2.4, XFree96 4.0.3, etc.) > > ATI Xpert 128 AGP > (Rage 128, AGP 2x, 16 MB VRAM) > > This list is great though, without it, I never would've gotten glxinfo to > finally report DRI was enabled w/ AGP 2x and all. I'd still be on indirect. > Thanks guys! I'll try these suggestions too. Thanks! > > - Chris Thielen > " Peace, Love, 'n Linux." > > ----- Original Message ----- > From: "Steve Martin" <ec...@be...> > To: "Chris Thielen" <chr...@ya...> > Sent: Tuesday, June 26, 2001 4:48 AM > Subject: Re: [Dri-users] Directing Rendering etc. > > > > Chris Thielen wrote: > > > When my Linux box boots, and I run glxinfo, it reports Direct Rendering > as "no". > > > > > > But, if I log in as root, and type: > > > > > > /sbin/insmod agpgart agp_try_unsupported=1 > > > /sbin/insmod r128 > > > > > > It loads those two kernel modules and, after logging off and back on, > glxinfo reports Direct Rendering as "yes". > > > > > > First Question: How do I set it up so that I don't have to type that? > > > > You don't say which distro / version of Linux you're running, but there > > should > > be some startup files in /etc/rc.d that control startup. One of them > > probably > > references a file called "rc.modules". If it does, find out where that > > file > > is expected to be, create it (if it doesn't exist), and put your > > /sbin/insmod > > commands in there. They'll be started at boot time then. > > > > > Second Question: So, is that all I need to do to run 3D accelerated > games? Just get DRI to say yes? Why won't Unreal Tournament work? Should I > try Quake 3 or something to double check? Is there still a problem? > > > > There might be. Where did you get your libGL.so? It might or might not > > be the > > correct one. I had a whale of a time trying to make DRI work before I > > found > > out that I still had a "stale" (sic) libGL.so file laying around that > > originally > > came from a previously-installed software-based Mesa distribution. > > Removing that > > and linking to the version in /usr/X11R6/lib cured my problem. > > > > > Third Question: What OpenGL library is it linked to/does it need to be > linked to? Does RH 7.1 come with the correct OGL library? > > > > Well, yes and no. RH7.1 puts what appears to be the correct file in > > /usr/lib, but it > > doesn't install a libGL.so in /usr/X11R6/lib, which (according to the > > install script > > that comes with the downloaded XFree86 distro) is the preferred way of > > doing things; > > the script normally puts the libGL.so file in /usr/X11R6/lib and puts a > > symlink to > > that file in /usr/lib. > > > > > BTW, whoever makes agp gart needs to have it automatically do the > agp_try_unsupported option if the module won't load. > > > > Can't help ya there. Sorry. > > > > > I hope somebody out there can help me. How can I check and see if my > accelerator works? > > > > I'd try the "gears" demo from http://dri.sourceforge.net. If it runs at > > full speed > > at full screen size, then I'd guess your DRI works. > > > > Hope this helps. > > > _______________________________________________ > Dri-users mailing list > Dri...@li... > http://lists.sourceforge.net/lists/listinfo/dri-users |