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

Re: can glx work without nvidia driver?



On Fri, Aug 17, 2007 at 23:20:29 -0400, H.S. wrote:
> 
> I am trying to get this little OpenGL program I wrote some months ago,
> but this time it gives me this error (it compiles okay though):
> 
> $> ./mktrngdat
> freeglut (./mktrngdat): OpenGL GLX extension not supported by display ':0.0'
> 
> I notice that there is some problem with Nvidia driver now adays and
> module-assistant auto-install does not work for nvidia. So at present,
> my system (Etch) is not using the proprietary Nvidia module, just the
> native nv module.

[...]

> My xorg.conf file has the following parts:
> Section "Module"
>         Load    "i2c"
>         Load    "bitmap"
>         Load    "ddc"
>         Load    "dri"
>         Load    "extmod"
>         Load    "freetype"
>         #Load   "glx"
>         Load    "GLcore"
>         Load    "int10"
>         Load    "type1"
>         Load    "vbe"
> EndSection
> Section "Device"
>         Identifier      "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
>         Driver          "nv"
>         BusID           "PCI:1:0:0"
> EndSection
> Section "DRI"
>         Mode    0666
> EndSection
> 
> Furthermore:
> $> glxinfo
> name of display: :0.0
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Error: couldn't find RGB GLX visual

[...]

> So, the questions is, how do I get my little program to work without
> installing Nvidia driver?

I would try to uncomment the 'Load "glx"' line in your xorg.conf. You
probably commented out that line because the proprietary nvidia driver
requires you to do so, but AFAIK the "nv" driver does need the normal
Xorg glx module if you want to use the GLX extension.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: