intel driver, modular xorg, is /dev/agpgart really needed?

harrow harrow at
Sat May 19 22:05:41 UTC 2007

>so the sequence you  use is:
>kldload agp
>kldload i915
>and everything works?

well, i guess not everything, but mostly...
i've started beryl first time some days ago, it seems to work, but i was not able to start glclock. I hevn't time to dig for it, that is result (may be somebody help me to fix it):

glclock-6.0 Beta 6.0
June 2000 by Masa (Masaki Kawase)
<E-Mail: masa at>

OpenGL client (compile-time) informations.
  Compiled base: OpenGL-1.2

  Supportable version dependence capabilities (depend on run-time OpenGL version):
        OpenGL-1.1 Texture Object        ... -e, -C, -r
        OpenGL-1.1 Polygon Offset        ... -zoffset with -s 3, -r, -D
        OpenGL-1.2 Separate Specular Color       ... -s 3

  Supportable extensions (depend on run-time OpenGL extensions):
        GL_ARB_multitexture              ... -r 2
        GL_ARB_separate_specular_color   ... -s 3
        GL_EXT_separate_specular_color   ... -s 3
        GL_EXT_texture_object            ... -e, -C, -r
        GL_EXT_polygon_offset            ... -zoffset with -s 3, -r, -D
        GL_ARB_texture_cube_map          ... -FAKE with -e, -C, -r
        GL_EXT_texture_cube_map          ... -FAKE with -e, -C, -r
        GL_NV_texgen_reflection          ... -FAKE with -e, -C, -r
        GL_EXT_texture_filter_anisotropic        ... -anisotropy with -e, -s, -C, -r
        GL_ARB_texture_compression       ... -TC or -tformat with -s, -e, -C, -r
        GL_EXT_texture_compression_s3tc  ... -S3TC or -tformat with -s, -e, -C, -r
        GL_3DFX_texture_compression_FXT1         ... -FXT1 or -tformat with -s, -e, -C, -r

libGL warning: 3D driver claims to not support visual 0x5b
OpenGL server (run-time) informations.
  Vendor    : Tungsten Graphics, Inc
  Renderer  : Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2
  Version   : 1.3 Mesa 6.5.3
        GL_ARB_depth_texture    GL_ARB_fragment_program
        GL_ARB_imaging  GL_ARB_multisample      GL_ARB_multitexture
        GL_ARB_point_parameters GL_ARB_shadow
        GL_ARB_texture_border_clamp     GL_ARB_texture_compression
        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_texture_rectangle        GL_ARB_transpose_matrix
        GL_ARB_vertex_buffer_object     GL_ARB_vertex_program   GL_ARB_window_pos
        GL_EXT_abgr     GL_EXT_bgra     GL_EXT_blend_color
        GL_EXT_blend_equation_separate  GL_EXT_blend_func_separate
        GL_EXT_blend_minmax     GL_EXT_blend_subtract
        GL_EXT_clip_volume_hint GL_EXT_cull_vertex
        GL_EXT_compiled_vertex_array    GL_EXT_convolution      GL_EXT_copy_texture
        GL_EXT_draw_range_elements      GL_EXT_fog_coord        GL_EXT_histogram
        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_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_filter_anisotropic       GL_EXT_texture_lod_bias
        GL_EXT_texture_object   GL_EXT_texture_rectangle
        GL_EXT_vertex_array     GL_3DFX_texture_compression_FXT1
        GL_APPLE_client_storage GL_APPLE_packed_pixels
        GL_ATI_blend_equation_separate  GL_IBM_rasterpos_clip
        GL_IBM_texture_mirrored_repeat  GL_INGR_blend_func_separate
        GL_MESA_pack_invert     GL_MESA_ycbcr_texture   GL_MESA_window_pos
        GL_NV_blend_square      GL_NV_light_max_exponent
        GL_NV_texture_rectangle GL_NV_texgen_reflection
        GL_NV_vertex_program    GL_NV_vertex_program1_1
        GL_OES_read_format      GL_SGI_color_matrix     GL_SGI_color_table
        GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp
        GL_SGIS_texture_edge_clamp      GL_SGIS_texture_lod
        GL_SGIX_depth_texture   GL_SUN_multi_draw_arrays

  Max texture size: 2048x2048
  Texture internal format: GL_RGB8 (R:8 G:8 B:8)

Prohibited capabilities: None
GL_ARB_multitexture (max texture units: 8) is available.
OpenGL-1.2 Separate Specular Color is available.
OpenGL-1.1 Texture Object is available.
OpenGL-1.1 Polygon Offset is available.
GL_ARB_texture_cube_map is available.
GL_EXT_texture_filter_anisotropic (max of max anisotropy: 2.0) is available.
GL_ARB_texture_compression is available.
GL_3DFX_texture_compression_FXT1 is available.

Color buffer: 320 x 320 (R:8 G:8 B:8 A:8 + Z:24)
Double buffering mode.
Per-vertex shading.
5 directional light(s).
Linear equation fogging.

X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  159 (DAMAGE)
  Minor opcode of failed request:  4 ()
  Serial number of failed request:  46
  Current serial number in output stream:  50
my xorg.conf is

Section "ServerLayout"
        Identifier     " Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse2" "CorePointer"
        InputDevice    "Mouse0" "AlwaysCore"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "OffTine" "20"
        Option         "AIGLX" "True"

Section "Extensions"
        Option "Composite" "enable"
        Option "RENDER" "enable"

Section "Files"
        RgbPath      "/usr/local/share/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/TrueType/"
        FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "GLcore"
        Load  "xtrap"
        Load  "dri"
        Load  "freetype"
        Load  "type1"

Section "DRI"
        group 0
        mode 0666

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbVariant" "winkeys"
        Option      "XkbLayout"   "us,ru(winkeys)"
#        Option      "XkbOptions"  "grp:lwin_toggle,grp_led:scroll"
        Option      "XkbOptions"  "grp:menu_toggle,grp_led:num"

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"

Section "InputDevice"
        Identifier  "Mouse2"
        Option      "ZAxisMapping" "8 9 10 11"
        Option      "Buttons" "11"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/psm0"

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"
        VendorName   "LPL"
        ModelName    "bc00"

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
        Option      "DRI"       "true"
        Option      "XAANoOffScreenPixmaps" "true"
        VideoRam    65535

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        SubSection "Display"
                Viewport   0 0
                Depth     4
        SubSection "Display"
                Viewport   0 0
                Depth     8
        SubSection "Display"
                Viewport   0 0
                Depth     15
        SubSection "Display"
                Viewport   0 0
                Depth     16
        SubSection "Display"
                Viewport   0 0
                Modes "1280x800"
                Depth     24

for two day i start beryl with .xinitrc

emerald &
/usr/local/bin/beryl --indirect-rendering --strict-binding --replace settings &  wmpid=$!
xterm &
wait $wmpid

More information about the freebsd-x11 mailing list