Advertisement

Lesson 6 problem

Started by July 26, 2003 05:51 AM
1 comment, last by Drooling Iguana 21 years, 7 months ago
I''ve been going through the OpenGL lessons on the NeHe page and I was doing just fine until I hit lesson 6. When I tried to the example code (the Linux/SDL version) from any directory other than the main directory that it extracts to, the cube is just solid white with no textures, and if I run it from the directory it extracts to I get the following error:
X Error of failed request:  GLXBadRenderRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  25
  Current serial number in output stream:  244
Lesson 7 gives me the same problem. I''ve got GLX and SDL set up on my system and they''ve never given me any problem until now. Anyone know what''s wrong? I''m also having trouble getting my own code that I wrote based on the example to work properly. It just shows a solid grey poly instead of the one I want to texture. Are there any common mistakes I should check for?
I am not sure if it has n e thing to do with this, but are the permissions all ok?
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
Advertisement
I checked the permissions. It's all read/write by owner, read-only by everyone else.

And I've tried some of the other Linux versions of the example program. None of them work. Neither does Lesson 7.

EDIT: Or 8.

EDIT AGAIN: I've tried the Linux/SDL version of every lesson up to lesson 12. None of them work. They all give the same error I described above. 1-5 still work fine, though.

YET ANOTHER EDIT: Lesson 10 segfaults when I run it from a directory other than the main one it extracts to. The rest give either a blank screen or some untextured polygons.

FINAL EDIT: Never mind. Turns out that my video card drivers had gotten screwed up somehow. After I re-installed them everything worked fine. Except for my own program. It still shows untextured polys.

[edited by - Drooling Iguana on July 27, 2003 3:40:02 AM]

This topic is closed to new replies.

Advertisement