renuka prasad renukaprasadb@gmail.com wrote:
./a.out X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream: 12
I think you need to load glx module. Check /etc/X11/xorg.conf, there should be a load glx line in module section.
http://en.wikipedia.org/wiki/GLX
Everything else you've asked for are too much work for me. ;-)