Announcement

Collapse
No announcement yet.

glxinfo reports NVidia modules on ATI card?

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

  • 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 ##

  • #2
    What Linux distribution are you running? Did you have NVIDIA's driver installed before? What is the output of lsmod ?
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      I'm running FC6 (built as part of MythDora). Although I did not install Nvidia drivers, they might have been included under mythdora.

      My lsmod results are below (no sign of nv anything). Thanks,
      Michelle


      Code:
      Module                  Size  Used by
      tkusb                  14496  1 
      dvbloopback            25100  0 
      w83627ehf              22924  0 
      hwmon                   7684  1 w83627ehf
      i2c_isa                 9600  1 w83627ehf
      eeprom                 11536  0 
      nls_utf8                6272  2 
      cifs                  234256  2 
      sunrpc                166332  1 
      ip6t_REJECT             9984  1 
      xt_tcpudp               7552  5 
      ip6table_filter         7040  1 
      ip6_tables             18372  1 ip6table_filter
      x_tables               19972  3 ip6t_REJECT,xt_tcpudp,ip6_tables
      acpi_cpufreq           14984  0 
      xfs                   553956  2 
      video                  19972  0 
      sbs                    19136  0 
      i2c_ec                  9088  1 sbs
      dock                   14168  0 
      button                 11920  0 
      battery                13956  0 
      asus_acpi              20508  0 
      backlight              10496  1 asus_acpi
      ac                      9348  0 
      fglrx                 656992  15 
      ipv6                  303936  19 ip6t_REJECT
      cx88_alsa              18184  0 
      cx88xx                 71332  1 cx88_alsa
      ir_common              34564  1 cx88xx
      btcx_risc               9224  2 cx88_alsa,cx88xx
      parport_pc             32036  0 
      lp                     16968  0 
      parport                41160  2 parport_pc,lp
      wm8775                 10252  0 
      cx25840                29968  0 
      tuner                  65576  0 
      snd_hda_intel          25496  1 
      snd_hda_codec         167808  1 snd_hda_intel
      snd_seq_dummy           8068  0 
      snd_seq_oss            36736  0 
      snd_seq_midi_event     11904  1 snd_seq_oss
      snd_seq                57072  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
      joydev                 14272  0 
      snd_seq_device         12428  3 snd_seq_dummy,snd_seq_oss,snd_seq
      snd_pcm_oss            48032  0 
      snd_mixer_oss          20736  1 snd_pcm_oss
      stv0299                14728  1 
      ves1x93                10884  0 
      snd_pcm                82308  4 cx88_alsa,snd_hda_intel,snd_hda_codec,snd_pcm_oss
      sg                     40092  0 
      pcspkr                  7424  0 
      i2c_i801               12428  0 
      iTCO_wdt               15556  0 
      iTCO_vendor_support     8196  1 iTCO_wdt
      snd_timer              27268  2 snd_seq,snd_pcm
      snd                    58244  12 cx88_alsa,snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
      soundcore              12128  1 snd
      snd_page_alloc         14344  2 snd_hda_intel,snd_pcm
      ivtv                  137872  0 
      i2c_algo_bit           12040  2 cx88xx,ivtv
      cx2341x                16004  1 ivtv
      tveeprom               19216  2 cx88xx,ivtv
      dvb_ttpci             106052  2 
      saa7146_vv             54016  1 dvb_ttpci
      video_buf              29572  3 cx88_alsa,cx88xx,saa7146_vv
      saa7146                23816  2 dvb_ttpci,saa7146_vv
      ttpci_eeprom            6656  1 dvb_ttpci
      ide_cd                 43936  0 
      i2c_core               26240  16 w83627ehf,i2c_isa,eeprom,i2c_ec,cx88xx,wm8775,cx25840,tuner,stv0299,ves1x93,i2c_i801,ivtv,i2c_algo_bit,tveeprom,dvb_ttpci,ttpci_eeprom
      sky2                   46472  0 
      videodev               31488  3 cx88xx,ivtv,saa7146_vv
      v4l2_common            28416  6 cx25840,tuner,ivtv,cx2341x,saa7146_vv,videodev
      v4l1_compat            18564  3 ivtv,saa7146_vv,videodev
      ohci1394               40624  0 
      ieee1394              304216  1 ohci1394
      cdrom                  41120  1 ide_cd
      serio_raw              11396  0 
      dm_snapshot            22192  0 
      dm_zero                 6272  0 
      dm_mirror              27284  0 
      dm_mod                 63820  10 dm_snapshot,dm_zero,dm_mirror
      usb_storage            75456  0 
      ata_piix               19332  3 
      libata                114324  1 ata_piix
      sd_mod                 25600  5 
      scsi_mod              146476  4 sg,usb_storage,libata,sd_mod
      ext3                  136968  2 
      jbd                    64168  1 ext3
      ehci_hcd               37516  0 
      ohci_hcd               25604  0 
      uhci_hcd               29328  0

      Comment


      • #4
        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.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          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; 10 June 2007, 04:46 PM.

          Comment


          • #6
            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.

            Comment


            • #7
              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.

              Comment


              • #8
                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).

                Comment


                • #9
                  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

                  Comment


                  • #10
                    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.

                    Comment

                    Working...
                    X