DRI support for X (KDE)

Discussion in 'Installation/Configuration' started by shadowsa, Dec 10, 2005.

  1. shadowsa

    shadowsa New Member

    i have the following card installed "Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)"
    and DRI is disabled, i tryed to enable it with sax2 but still glxinfo is telling me DRI disabled, direct rendering, and it also seems like opengl is not working either, i have no idea how i can setup these. i need help please if possible, the output of 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_OML_swap_method, GLX_SGI_make_current_read,
        GLX_SGIS_multisample, GLX_SGIX_fbconfig
    client glx vendor string: SGI
    client glx version string: 1.4
    client glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
        GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
        GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
        GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
        GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
    GLX extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
        GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.2.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_shadow_ambient, GL_ARB_texture_border_clamp,
        GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
        GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
        GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
        GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
        GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
        GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
        GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
        GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
        GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
        GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
        GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
        GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
        GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
        GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
        GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
        GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
        GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
        GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
        GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
        GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
        GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
        GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
        GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
    glu version: 1.3
    glu extensions:
        GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
    
       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 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
    0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
    0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
    0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
    0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
    0x3e 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
    
     
  2. shadowsa

    shadowsa New Member

    and the output of my XF86config

    Code:
    # /.../
    # SaX generated X11 config file
    # Created on: 2005-11-28T03:05:58+0900.
    #
    # Version: 7.1
    # Contact: Marcus Schaefer <sax@suse.de>, 2002
    #
    # Automatically generated by [ISaX] (7.1)
    # PLEASE DO NOT EDIT THIS FILE!
    #
    Section "Files"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/local"
      FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/URW"
      FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
      FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
      FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
      FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
      FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/CID"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
      FontPath     "/opt/kde3/share/fonts"
      InputDevices "/dev/ttyS0"
      InputDevices "/dev/ttyS1"
      InputDevices "/dev/ttyS2"
      InputDevices "/dev/ttyS3"
      InputDevices "/dev/ttyS4"
      InputDevices "/dev/ttyS5"
      InputDevices "/dev/ttyS6"
      InputDevices "/dev/ttyS7"
      InputDevices "/dev/ttyS8"
      InputDevices "/dev/psaux"
      InputDevices "/dev/logibm"
      InputDevices "/dev/sunmouse"
      InputDevices "/dev/atibm"
      InputDevices "/dev/amigamouse"
      InputDevices "/dev/atarimouse"
      InputDevices "/dev/inportbm"
      InputDevices "/dev/gpmdata"
      InputDevices "/dev/mouse"
      InputDevices "/dev/usbmouse"
      InputDevices "/dev/adbmouse"
      InputDevices "/dev/input/mice"
      InputDevices "/dev/input/event0"
      InputDevices "/dev/pointer0"
      InputDevices "/dev/pointer1"
      InputDevices "/dev/pointer2"
      InputDevices "/dev/pointer3"
    EndSection
    
    Section "ServerFlags"
      Option       "AllowMouseOpenFail"
      Option       "RandR" "on"
    EndSection
    
    Section "Module"
      Load         "glx"
      Load         "type1"
      Load         "extmod"
      Load         "dbe"
      Load         "freetype"
      Load         "v4l"
      Load         "dri"
    EndSection
    
    Section "InputDevice"
      Driver       "kbd"
      Identifier   "Keyboard[0]"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "us"
      Option       "XkbModel" "pc104"
      Option       "XkbRules" "xfree86"
    EndSection
    
    Section "InputDevice"
      Driver       "synaptics"
      Identifier   "Mouse[1]"
      Option       "Device" "/dev/input/mice"
      Option       "Emulate3Buttons" "on"
      Option       "Name" "Touchpad"
      Option       "SHMConfig" "on"
      Option       "Vendor" "Synaptics"
      Option       "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
      Driver       "mouse"
      Identifier   "Mouse[3]"
      Option       "Buttons" "7"
      Option       "Device" "/dev/input/mice"
      Option       "Name" "ExplorerPS/2 on USB"
      Option       "Protocol" "ExplorerPS/2"
      Option       "Vendor" "USB-Mouse"
      Option       "ZAxisMapping" "4 5"
    EndSection
    
    Section "Monitor"
      Option       "CalcAlgorithm" "CheckDesktopGeometry"
      DisplaySize  246 185
      HorizSync    31-65
      Identifier   "Monitor[0]"
      ModelName    "1024X768@70HZ"
      Option       "DPMS"
      VendorName   "--> LCD"
      VertRefresh  58-78
      UseModes     "Modes[0]"
    EndSection
    
    Section "Modes"
      Identifier   "Modes[0]"
      Modeline      "1024x768" 83.00 1024 1080 1192 1360 768 769 772 803
      Modeline      "800x600" 50.32 800 840 928 1056 600 601 604 627
      Modeline      "800x600" 42.83 800 840 920 1040 600 601 604 624
      Modeline      "768x576" 46.12 768 808 888 1008 576 577 580 602
      Modeline      "768x576" 39.22 768 800 880 992 576 577 580 599
      Modeline      "640x480" 31.13 640 664 728 816 480 481 484 502
      Modeline      "640x480" 26.87 640 664 728 816 480 481 484 499
    EndSection
    
    Section "Screen"
      DefaultDepth 24
      SubSection "Display"
        Depth      15
        Modes      "1024x768" "800x600" "768x576" "640x480"
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1024x768" "800x600" "768x576" "640x480"
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1024x768" "800x600" "768x576" "640x480"
      EndSubSection
      SubSection "Display"
        Depth      32
        Modes      "1024x768" "800x600" "768x576" "640x480"
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1024x768" "800x600" "768x576" "640x480"
      EndSubSection
      Device       "Device[0]"
      Identifier   "Screen[0]"
      Monitor      "Monitor[0]"
    EndSection
    
    Section "Device"
      BoardName    "855 GM"
      BusID        "0:2:0"
      Driver       "i810"
      Identifier   "Device[0]"
      Option       "NoDDC"
      Option       "ShowCache"
      Option       "NoAccel"
      Option       "SWcursor"
      Option       "Dac6Bit"
      Option       "DRI"
      Option       "PageFlip"
      Option       "XvMCSurfaces" "1"
      Option       "CacheLines" "1"
      Option       "usevnc" "no"
      Screen       0
      VendorName   "Intel"
    EndSection
    
    Section "ServerLayout"
      Identifier   "Layout[all]"
      InputDevice  "Keyboard[0]" "CoreKeyboard"
      InputDevice  "Mouse[1]" "CorePointer"
      InputDevice  "Mouse[3]" "SendCoreEvents"
      Option       "Clone" "off"
      Option       "Xinerama" "off"
      Screen       "Screen[0]"
    EndSection
    
    Section "DRI"
        Group      "video"
        Mode       0660
    EndSection
    
    Section "Extensions"
      Option       "Composite" "Enable"
    EndSection
    
    also that thinkg about X11 and Xfree and Xfree86 and X and Xorg is to me very confusing, i dont know why it is not just X or im sure im misunderstanding here something.
    please help if possible, im not sure if these informations are enough, i dont know what else is needed, because im newbie. if anything esle is needed please let me know.

    thnak you in advance
    btw. it is anoying that the caracters are limited to 10000
     
  3. shadowsa

    shadowsa New Member

    problem solved, after reviewing my log file, i found out that in sax2 the following 2 options were activated, NoAccel, and SWcursor, i dont know why. but 1 have 1 more question, there are other options, like, NoDCC, XxMCSurfaces, Cachelines, ShowCache, Dac6Bit, PageFlip, what are these exaclty? i cant find any documentation about those
     

Share This Page