I have a program that works perfectly without DRI. When I enable DRI… (and I enable it correctly since all the demos work and very fast) the program simply doesn`t show anything in the screen. I tried to debug… and discovered it just stop as soon it reaches any gluPerspective() call.
Any Idea? I already spent two weeks on this problem… and I found nothing wrong with the code (since it works with non DRI and in windows too)
That is the most strange thing… it just stops. No error messages, no crash, the window still there… but the program doesn`t go further. A printf before the call is printed… a printf After the call is never called.
If I try to debug it… when the line is reached and I ask for the next line… it just stays there… and do not advance.
What is the instruction stopping the program ? What is the state of your process (use ‘ps x’ and report the letter in the STAT column) when it is blocked ?
i don’t know, but that’s maybe a pointer problem: i had a similary problem while using voodoo2 with ATI. But the stop wasn’t on gluPerspective() but in initialization.