PDA

View Full Version : Games keep crashing...need help


djlightning
11-07-02, 03:58 AM
I am running RH8 with the new kernel. I installed the drivers without a hitch, no problems. No every time I go to use a game that requires GL the computers randomly locks up. I have to do a hard reboot.. I was reading up in the README file
If you experience crashes you can try setting the environment variable __GL_SINGLE_THREADED.

Where do I set this variable at?? Anyways kinda lost here, any advise would be great.

Thanx,
Aaron
AMD K6/2 550
512 RAM
GForce2 MX 64 MEG
Red Hat 8

bwkaz
11-07-02, 08:13 AM
It's an AMD CPU -- does passing "mem=nopentium" at boot help with the problem, or not? Which bootloader do you use, lilo or grub, or something else?

If you want to try the __GL_SINGLE_THREADED fix, then you can simply open a terminal emulator (xterm, Eterm, konsole, and gnome-terminal are a few, and there are many others), tell it export __GL_SINGLE_THREADED=1, and then run your game from the same terminal emulator session.

But (again, from the README) you shouldn't have to do this if you're using at least glibc 2.2. You can check for sure by looking for ld* in /lib -- ls /lib/ld* -- and if that comes back with (there will be more than just this file, but this file is the important one) ld-2.2.x.so, where x is a single digit, then this environment variable probably won't work.

djlightning
11-07-02, 02:38 PM
does passing "mem=nopentium"
No I dont get that at boot, and I am using GRUB.
I checked and I do have all the libraries that are required. Further playing with the os I found out that it just randomly locks up, more so when running a app the requires OpenGL. Anways I am considering just reinstalling the OS again to see what happens.

bwkaz
11-07-02, 04:37 PM
Try editing /etc/grub/menu.lst (I think). On the kernel line, add mem=nopentium to the end of it (inside the parentheses).

Or try the export anyway.

djlightning
11-07-02, 08:56 PM
I got it working :D I edited the grub.config which is in /ect/boot, the menu.lst is actualy a sim ling to it. I am not sure if this was the fix, but I do remeber reading somewhere that there where issues with a P5A bios, so happens I have that. I had to set the Turbo AGP option to disabled. Loaded up into RH immediatly went to TUX, because it alwasy crashed at the "Click Any Key To Continue" and played my first game of Tux wih no issues.

Very happy camper.

Thnx for the advice and here is the working fix for my case.

Aaron