[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenGL



Chris Burns said:

> how do i get the GLX extension?

be sure all opengl libraries that you need are installed(most likely
one/more of the mesa* packages), and turn on glx in the X config file
/etc/X11/XF86Config-4

sample from my nvidia setup:

Section "Module"
    Load        "dbe"  	# Double buffer extension
    Load	"extmod"
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

once that is done, restart X and/or your display managers so the new
config file can take effect. once done try running the command glxinfo.

sample output:
[aphro@aphro:~]$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.2
[..]
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce3/PCI/3DNOW!
OpenGL version string: 1.3.1 NVIDIA 28.80
[..]
(bunch more stuff snipped)


nate





Reply to: