Announcement

Collapse
No announcement yet.

glxinfo reports NVidia modules on ATI card?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ocgltd
    started a topic glxinfo reports NVidia modules on ATI card?

    glxinfo reports NVidia modules on ATI card?

    I have an ATI X1600 with the latest ATI proprietary driver 8.37.6. The card seems to be working OK, so I now want to get OpenGL working. (GL seems to be happening in software because of how slow it is rendering). When I ran glxinfo I see reference to NVidia and Mesa.

    Can someone help? I have posted my xorg.conf and glxinfo output below.

    Thanks,
    Michelle

    glxinfo:
    Code:
    name of display: :0.0
    display: :0  screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
        GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
        GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, 
        GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, 
        GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
    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
    GLX version: 1.2
    GLX extensions:
        GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
        GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig, 
        GLX_ARB_get_proc_address
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
    OpenGL extensions:
        GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, 
        GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
        GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map, 
        GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
        GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
        GL_ARB_texture_non_power_of_two, GL_ARB_window_pos, 
        GL_ATI_texture_mirror_once, GL_EXT_texture_env_add, GL_EXT_abgr, 
        GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, 
        GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 
        GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, 
        GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
        GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, 
        GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, 
        GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object, 
        GL_EXT_vertex_array, GL_IBM_texture_mirrored_repeat, GL_NV_blend_square, 
        GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, 
        GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow
    
       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
    ----------------------------------------------------------------------
    0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x2c 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x2d 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x2e 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x30 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x31 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x32 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x33 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x34 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x35 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x36 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x37 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x38 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x39 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x3a 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x3b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x3d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x3e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x3f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x40 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x41 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x42 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    xorg.conf:
    Code:
    Section "ServerLayout"
            Identifier     "Multihead layout"
            Screen      0  "aticonfig-Screen[0]" 0 0
    #       Screen      1  "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
            InputDevice    "Keyboard0" "CoreKeyboard"
    #       Option      "Xinerama" "off"
    #       Option      "Clone" "on"
            InputDevice    "TKPANEL" "SendCoreEvents"
    EndSection
    
    Section "Files"
            ModulePath   "/usr/lib/xorg/modules"
    EndSection
    
    Section "Module"
            Load        "dbe" # Double buffering
            Load        "vnc"
            Load        "extmod"
            Load        "glx"
            Load        "dri"
    EndSection
    
    Section "DRI"
            Group 0
            Mode 0666
    EndSection
    
    # ATI does not support composite, so disable
    Section "Extensions"
            Option "Composite" "disable"
    EndSection
    
    Section "ServerFlags"
            # Next line is to prevent error AIGLX error: dlsym for __driCreateNewScreen_20050727 failed
    #       Option "AIGLX" "off"
    EndSection 
    
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "kbd"
            Option      "XkbModel" "pc105"
            Option      "XkbLayout" "us"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[0]"
            Option      "VendorName" "Sony"
            Option      "ModelName" "VPL-HS51"
            Option      "DPMS" "true"
            Modeline    "1280x720_75"   74.48  1280 1336 1472 1664  720 721 724 746 +hsync
            Modeline    "1280x720_60"   60.46  1280 1328 1456 1632  720 721 724 741 +hsync 
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[1]"
            Option      "VendorName" "SilverstoneTek"
            Option      "ModelName" "Internal Monitor"
            Option      "DPMS" "true"
            Modeline    "1280x720_75"   74.48  1280 1336 1472 1664  720 721 724 746 +hsync
            Modeline    "1280x720_60"   60.46  1280 1328 1456 1632  720 721 724 741 +hsync
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[0]"
            Driver      "fglrx"
            BusID       "PCI:6:0:0"
            Screen      0
            Option      "DesktopSetup" "clone"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[1]"
            Driver      "fglrx"
            BusID       "PCI:6:0:1"
            Screen      1
            Option      "VideoOverlay" "on"
            Option      "OpenGLOverlay" "off"
            Option      "DesktopSetup" "clone"
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[0]"
            Device     "aticonfig-Device[0]"
            Monitor    "aticonfig-Monitor[0]"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
                    Modes     "1280x720_75" "1280x720_60"
            EndSubSection
            Option     "PasswordFile"     "/home/mythtv/.vnc/passwd"
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[1]"
            Device     "aticonfig-Device[1]"
            Monitor    "aticonfig-Monitor[1]"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
                    Modes     "1280x720_75" "1280x720_60"
            EndSubSection
            Option     "PasswordFile"     "/home/mythtv/.vnc/passwd"
    EndSection
    
    ## TouchKit section begin (Please do NOT edit this section!!) ##
            Section "InputDevice"
                    Identifier  "TKPANEL"
                    Driver      "touchkit"
                    Option      "Device"        "/dev/tkdat0"
                    Option      "DebugLevel"    "0"
            EndSection
    ## TouchKit section end ##

  • ocgltd
    replied
    That did it! fglrxinfo now shows the ATI drivers, and OpenGL drawing is nice and fast.

    I was hoping this would fix a stuttery/jerky DVD playback problem too...but I'll post that seperately.

    Thanks,
    MD

    Leave a comment:


  • Xipeos
    replied
    Originally posted by Raven3x7 View Post
    what does fglrxinfo print out?
    fglrxinfo is just a "frontend" for glxinfo, so no new information will be gained (it does the same thing as "glxinfo |grep OpenGL". The solution I proposed should work...

    Leave a comment:


  • Raven3x7
    replied
    what does fglrxinfo print out?

    Leave a comment:


  • Xipeos
    replied
    Originally posted by ocgltd View Post
    Ok - my Xorg.0.log is too large to post, so I placed here here:

    Xorg.0.log

    I'm still new at all of this - so I'm interest to learn what you see here....thanks
    Ok...your log shows no error, like you said. However, it doesn't ever check the validity of libGL, and I'm sure that your problem is with libGL - when I use the mesa libs, client glx is SGI, and with fglrx it's ATI.

    First make sure that there are no libGL files (at all):
    Code:
    # find /usr/ -name "libGL.*" -exec rm '{}' \;
    Then reinstall fglrx I think you have some libGLs in /usr/local which for some reason link before fglrx's one OR fglrx installed its libGL in a different location than expected.

    Leave a comment:


  • ocgltd
    replied
    Ok - my Xorg.0.log is too large to post, so I placed here here:

    Xorg.0.log

    I'm still new at all of this - so I'm interest to learn what you see here....thanks

    Leave a comment:


  • Xipeos
    replied
    Originally posted by ocgltd View Post
    There are no errors in my xorg.0.log file, but my system is clearly not using any acceleration for OpenGL drawing (very slow)...I've installed the proprietary ATI driver but it appears not to be installed for Open GL.
    Post your xorg.log. "Mesa GLX indirect" is a fallback when something goes wrong while loading DRI.

    ..and I still think that you have mismatching libraries somewhere. With your log I can probably tell you more. Try "ldd <whatever_opengl_program_you_have>" |grep libGL to see what library is currently linked (try it with amdcccle for example).

    Leave a comment:


  • ocgltd
    replied
    I reinstalled the ATI driver, didn't make a difference (using the ATI installer, nothing package specific). As well, I don't have glxgears so that didn't work...

    Originally posted by ocgltd View Post
    There are no errors in my xorg.0.log file, but my system is clearly not using any acceleration for OpenGL drawing (very slow)...I've installed the proprietary ATI driver but it appears not to be installed for Open GL.

    Leave a comment:


  • ocgltd
    replied
    There are no errors in my xorg.0.log file, but my system is clearly not using any acceleration for OpenGL drawing (very slow)...I've installed the proprietary ATI driver but it appears not to be installed for Open GL.

    Originally posted by Michael View Post
    The fglrx driver seems to be loaded and the NVIDIA driver isn't present. What graphics card are you using? Unless there's any errors in your Xorg.0.log, everything should be working.

    Leave a comment:


  • Xipeos
    replied
    client glx vendor string: NVIDIA Corporation
    Client glx is lib-dependent as far as I know. The most likely solution is to reinstall fglrx (I really recommend that you use the installer and not some distro-specific package).

    If that doesn't work then check for old libGL files with something like "ldd /usr/X11/bin/glxgears |grep libGL", delete them and reinstall fglrx.

    Hope that helps.
    Last edited by Xipeos; 06-10-2007, 04:46 PM.

    Leave a comment:

Working...
X