Running OpenGL-SDL on XFree86,FreeBSD

Hi,

I compiled test programs tagging along with SDL 1.2.

Executing testgl, I got the following message :

Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Couldn’t set GL mode: Couldn’t find matching GLX visual

I thought I missed ‘glx’ extension module and added ‘glx’ module in
/etc/XF86Config :
— the Content of XF86Config ---------------------------------
Section "Files"
ModulePath "/usr/X11R6/lib/modules"
ModulePath "/usr/X11R6/lib/modules/extensions"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local"
EndSection

Section "Module"
Load “dbe” # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "dri"
Load "GLcore"
Load “glx” # GLX
EndSection------------------------------------------------------------------

I got the error message like ‘Unknown Error while Loading
dbe,dri,GLcore,glx’.
I’m sure I set the proper module path because I got an path-error message
before I set the above ModulePath lines

I doubt my platform - probabily video card - does not support SDL with
OpenGL functionality.

I ran SDL test programs on XFree86 4.0 under FreeBSD 4.5 and my video card
is NVidea
Riva TNT2 Model 64.

I’ve been coding my app with SDL-OpenGL under Windows98 without any
problem.

Thanks in advance.

Get the NVIDIA drivers from http://www.nvidia.com/view.asp?PAGE=linux and
follow their instructions.

I can see already that your XF86Config file doesn’t match what the NVIDIA
drivers need. Again, read the driver documentation.

Remember, when all else fails, read the instructions.

Hope this helps,
– Mick> -----Original Message-----

From: LIM JAE EOK [mailto:shelter at lgphilips-lcd.com]
Sent: Friday, 3 May 2002 10:10 AM
To: sdl at libsdl.org
Subject: [SDL] Running OpenGL-SDL on XFree86,FreeBSD

Hi,

I compiled test programs tagging along with SDL 1.2.

Executing testgl, I got the following message :

Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Couldn’t set GL mode: Couldn’t find matching GLX visual

I thought I missed ‘glx’ extension module and added ‘glx’ module in
/etc/XF86Config :
— the Content of XF86Config ---------------------------------
Section "Files"
ModulePath "/usr/X11R6/lib/modules"
ModulePath "/usr/X11R6/lib/modules/extensions"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local"
EndSection

Section "Module"
Load “dbe” # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "dri"
Load "GLcore"
Load “glx” # GLX
EndSection

I got the error message like ‘Unknown Error while Loading
dbe,dri,GLcore,glx’.
I’m sure I set the proper module path because I got an
path-error message
before I set the above ModulePath lines

I doubt my platform - probabily video card - does not support SDL with
OpenGL functionality.

I ran SDL test programs on XFree86 4.0 under FreeBSD 4.5 and
my video card
is NVidea
Riva TNT2 Model 64.

I’ve been coding my app with SDL-OpenGL under Windows98 without any
problem.

Thanks in advance.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I can see already that your XF86Config file doesn’t match what the NVIDIA
drivers need. Again, read the driver documentation.

Do nvidia’s drivers work at all, let alone do 3D acceleration under FreeBSD?

–ryan.

Yes. They were shoehorned into binary compatibility through an awful hack,
and I think there might be quasi-official support coming up, from some
rumors I’ve heard on IRC. Not certain about that, though.

-JohnOn Thu, May 02, 2002 at 09:16:17PM -0400, Ryan C. Gordon wrote:

I can see already that your XF86Config file doesn’t match what the NVIDIA
drivers need. Again, read the driver documentation.
Do nvidia’s drivers work at all, let alone do 3D acceleration under FreeBSD?


John R. Hall - KG4RUO - Stranded in the Sol System
Student, Georgia Tech; Author, Programming Linux Games