From: Brian P. <br...@va...> - 2000-12-15 15:58:17
|
German Gomez Garcia wrote: > > On 2000.12.14 23:18:08 +0100 Brian Paul wrote: > > I don't recall seeing any previous posts from you. > > Well, you can search in the mailing list archive for > libglut, or glut I'm sure you would find it. > > > What exactly is the problem? > > The problem is that every application I linked to libglut will crash the > computer, sometimes the first time the app is run, other times the second, > but never past the third time. I have tested it with various apps. Every > example in the Mesa that needs libglut, a really simple app available on > the net (cube.c) that simple draw a cube and rotate it. And other apps like > MathGL3d (which also use libglui). > > I'm using latest CVS, but it has been there since five or six months, in > fact I don't remember anytime where it worked, although I don't test it > (any app linked against libglut) until five or six months ago. I have a > Matrox G400 MAX and I'm running kernel 2.4.0-test12 (pre) but as you can > suppose I've run lots of kernels (since five months I have the oportunity > to > test a lot of them :-), and I've tested also with stable 2.2.x (2.2.16, > 2.2.17, and 2.2.18pre) with the same results. I have a dual PII450 (maybe > it's related to SMP?). > > The crash is a complete crash, no keyboard, no sysrq, no disk activity. > I've tried to connect through the net but it doesn't work either, so I > suppose it's related to the kernel in some way. I've tried both the mga.o > included in the kernel and the mga.o included in the DRI CVS Tree, both > fail. > > The main problem is that the bug is very difficult to track down, mainly > because I cannot log anything, as soon as the program fails nothing else > get done. The crash is not a segfault or similar (at least at first sight) > because the screen doesn't change. The best way to define what happens is > freeze, mouse pointer included. Sometimes the crash is not inmediat, I can > SysRq + K to kill the app and change to a console to try to do something, > but two or three seconds after the first crash the computer completely > crash. I'm not fast enough to login, although I think that it wouldn't let > me log in. > > Other apps (every GL applet in xcsreensaver, Geomview, Vis5d, etc) works > perfectly (great job!) just the apps linked against libglut fails. One > strange thing is that some apps that sometimes run once or twice before > crashing show strange colors, not the expected colors, and some widgets are > not completely drawn. > > Of course if I disable DRI everything works perfectly (slow, but perfectly > :-). > > If you want more info or want me to try something just tell me, I really > need libglut under DRI, and XF4.x is too good to go back to 3.3.6+Utah-GLX. > > Thanks for your time Have you tried Mesa/demos/glinfo? It uses glut, opens a window, but doesn't render anything. The next one to try would be Mesa/demos/clearspd. It only calls glClear and a few other simple functions; no 3D rendering. If you can provide some info about your motherboard one of the DRI developers might be able to comment on possible AGP issues. -Brian PS: I'm cc'ing the dri-devel list so that others might be able to help. |