This topic is now archived and is closed to further replies.

Drooling Iguana

Lesson 6 problem

Recommended Posts

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?

Share this post

Link to post
Share on other sites
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]

Share this post

Link to post
Share on other sites