Find the answer to your Linux question:
Results 1 to 5 of 5
I can not run any opengl application. I get this output message: freeglut (./s): OpenGL GLX extension not supported by display ':0.0' when trying to run my program 's' - ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    21

    OpenGL GLX extension not supported by display ':0.0'

    I can not run any opengl application.
    I get this output message:
    freeglut (./s): OpenGL GLX extension not supported by display ':0.0'
    when trying to run my program 's' - which is just a program using only opengl and glut.
    I have tried add/remove programs and installed
    'Restricted Device Managers' and
    'NVidia binary X.org driver'

    I have also tried the combination:
    'Restricted Device Managers' and
    'NVidia binary X.org driver('new driver')'

    uname -a is: 2.6.24.2-ipipe

    does anyone know why this is happening?

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    Why don't you start by seeing if the xorg.conf is telling the server to load glx
    module, something like....
    Code:
    cat /etc/X11/xorg.conf | grep -i glx
    will tell you if the glx model is in there.
    If it is, try
    Code:
    glxinfo
    Will give you some information on what's up with the module, it will also tell if your in direct rendering or not.
    Finaly, if you found glx in xorg.conf and got data from the module with glxinfo, try
    Code:
    glxcontext
    to get a performance baseline.
    Post the results.

  3. #3
    Just Joined!
    Join Date
    Jun 2008
    Posts
    21
    dijetlo,
    Thanks for the quick reply:
    cat /etc/X11/xorg.conf | grep -i glx
    gives:
    Load "glx"
    Option "AddARGBGLXVisuals" "True"

    glxinfo
    gives:

    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

    visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
    ----------------------------------------------------------------------
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    0x21 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    0x39 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None

    Lastly,
    glxcontext
    gives:
    bash: glxcontent: command not found

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    the nvidia driver is not currently in use, which is why you can't do any opengl stuff. You need to add a line in your xorg.conf under the devices section of your video card Driver "nvidia"

    you should see something like this if it was working
    Code:
    ccooper@usxxcoopec3l1c:~$ glxinfo
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    server glx extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
        GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
        GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer, 
        GLX_ARB_fbconfig_float
    client glx vendor string: NVIDIA Corporation
    client glx version string: 1.4
    client glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
        GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
        GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
        GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float, 
        GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap, 
        GLX_EXT_framebuffer_sRGB

  5. #5
    Just Joined!
    Join Date
    Jun 2008
    Posts
    21

    glx

    Hi, thank you for the info:
    under /etc/x11/xorg.conf
    I find the lines:
    Section "Device"
    Identifier "Failsafe Device"
    Driver "nvidia"
    VendorName "NVIDIA"
    BoardName "NVIDIA GeForce 8 Series"
    Screen 0
    EndSection

    Screen is '0'. Is this the line that I should change to something like:
    "800x600"??

    Also, my kernel is an -ipipe, which is a real-time kernel and I am not allowed into system->admin->restricted drivers manager to turn my drivers on directly. The system delivers and error message when I try it.
    So, I've tried rebooting into the generic kernel where I can then enable the nvidia card in system->admin->restricted drivers manager.
    When I reboot back into the ipipe kernel, I can't tell if its on or not though.
    best,

    I found in another site to comment out the line that says
    #Load "glx"
    under Section "module"
    I did this too (without restarting) and it has not helped yet.

    in
    xorg.conf
    I found that:
    Section "Device"
    Identifier "Failsafe Device"
    Driver "nvidia"
    VendorName "NVIDIA"
    BoardName "NVIDIA GeForce 8 Series"
    Screen 0
    EndSection

    I read that since my driver is "nvidia", that is the real driver from nvidia, and that if I had "nv" that would have been the freeware driver that may cause issues. However, I have the real "nvidia" driver.

    Some people are saying to unistall the NVIDIA driver all together. I do not know how to do this, but I am apprehensive to uninstall the real driver if there is another option available.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...