[SDL] OpenGL in linux
mike at mjv.com
Sat Jul 20 08:34:01 PDT 2002
After you load the driver, if you haven't already, you'll probably still
get the error - it's a little bug in the configuration file. Check the
XF86Config or XF86Config-4 (On my RH7.1). In the "Device" section, the
Driver is listed as "nv". Change that to "nvidia", restart X and you
should get all sorts of neat 3D stuff. :)
William Robinson wrote:
>>I'm having a problem in using OpenGL with SDL in
>>linux. When I call SDL_SetVideoMode with the
>>SDL_OPENGL flag, SDL_GetError returns "Couldn't find
>>matching GLX visual".
>>This is probably a stupid error on my part, but I'm
>>new at this =)
>>I am running Mandrake 8.1 with SDL 1.2.4 on a GeForce
>>3 Ti 200 with the Nvidia driver.
> if you haven't already done so, try and download the newest NVidia drivers from their website.
> this is the current driver page and it contains detailed information on setting it up.
> if you already have it all set up, though, try looking at appendix C of the README file that came with the NVidia-GLX package (for me it's at /usr/share/doc/packages/NVIDIA-1.0/README). it might just be that you are missing a symbolic link or something.
> hope this helps somewhat
http://dotfile.net/ - Dedicated to Open Source Software
More information about the SDL