Автор Тема: 3d+opengl на i810  (Прочетена 2815 пъти)

hack_man

  • Напреднали
  • *****
  • Публикации: 108
    • Профил
3d+opengl на i810
« -: Nov 17, 2006, 19:48 »
Ползвам Дженто последното и искам да си подкарам 3D акселерацията и OpenGL ..
как да стане ако изобщо може '<img'>??
ядрото и Х-а са прекомпилирани за работа с това видео ..
ето какво казва lspci
VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

п.с. видеото е вгардено
Активен

july

  • Напреднали
  • *****
  • Публикации: 324
    • Профил
3d+opengl на i810
« Отговор #1 -: Nov 17, 2006, 23:06 »
какво казва Xorg.0.log ?

xvinfo
glxinfo
glxgears ?


принципно не е върха на сладоледа, на 24 битов цвят (1024х768) изкарва около 800 на glxgears-a...

за игри не съм го тествал, но за google-earth става'<img'>
Активен

Explisit

  • Напреднали
  • *****
  • Публикации: 97
    • Профил
3d+opengl на i810
« Отговор #2 -: Nov 17, 2006, 23:43 »
Аууу любимите ми карти  '<img'> Аз съм горд собственик на малко по-новата 915G. Да ти кажа не знам как е при Gentoo, но аз съм на Дебиан и единствения свестен начин да я подкараш с ускорение при мен е да минеш на testing (може би) или на unstable (на което съм). Т.е. трябва ти доста новите update-и на Xorg i на драйвера i810 (с този драйвер се зарежда Xorg, а той пък си зарежда съответно модулите 915 или 865 от ядрото) От 2 седмици си update-нах Дебиан-чето и съм адски доволен, че най-сетне оправиха този драйвер. Даже мисля тези дни да си пусна и Xgl. Специално ти препоръчвам да си пуснеш glxinfo |grep -i direct  тук ако ти е на yes супер '<img'> (при мен е )  '<img'>
Активен

Powered by Debian

jorio

  • Напреднали
  • *****
  • Публикации: 12
    • Профил
3d+opengl на i810
« Отговор #3 -: Nov 18, 2006, 02:17 »
МОЖЕ!

Аз ползвам Debian/tesing и имам работеща конфигурация на двумониторна i810, която има акселерация. Това е достатъчно условие, за да работи и OpenGL.

За да се получи работеща конфигурация трябва поддръжката в кърнъла да е на ниво. Тъй като твоята карта е 865 няма проблем и по-стар кърнъл. Все пак последните версии на кърнъл и X.Org дават най-добрите драйвери достъпни за момента. Поддръжката на драйвера за картите на Интел в X.org е от Интел.

За пример давам моята 915 GM карта, Софтуерът като версии е нужен само на  тези които имат нужда от справка. Кърнъл 2.6.17, но поддръжка за 915 има и от малко по-ранни. Дебиан не бързат с новите кърнъли, но все пак тук всичко е ок. Поддържа се и Framebuffer в конзола, но има проблем ако човек иска да си настрои друг режим от този който софтуера определя сам. X.Org е версия 7.1.1 и ВНИМАНИЕ!!! man страницата за този драйвер на X.org е стара. Всички настройки които се виждат в моя конфигурационен файл са взети от сорса на драйвера. Тъй като за акселерация не е нужно нищо повече от коментиране на ненужните части, то проблем няма.

Технически казано: в кърнъла трябва да има DRM (нищо общо с разни цифрови права!'<img'> драйвер поддържащ съответната карта. В X.Org трябва да има DRI драйвер поддържащ тази карта също! За моите версии всичко е наред и се поддържа дори 945/965. Не вярвам в Gentoo поддръжката на DRI да е спряна по подразбиране, така, че изрично пускане не е нужно. При старт X.org сам определя и зарежда драйверите от ядрото. Това не беше така преди време. На 2.6.8 трябваше да се зареди ръчно intel-agp. Тук intel в intel-agp идва от производителя на чипсета.

За да се убедя, че имам акселерация правя следното:

$ glxinfo | grep dir
direct rendering: Yes

$glxgears -printfps
ТОВА НЕ СА ДАННИ ОТ 915! Това са данни от Radeon 9550!!!
1252 frames in 5.0 seconds = 250.330 FPS
1240 frames in 5.0 seconds = 247.989 FPS
1243 frames in 5.0 seconds = 248.588 FPS


Надявам се, че информацията ще помогне...

И още едно нещо! В един друг пост ми казаха, че Xv не е било достъпно по някакъв повод. Там съм описал начин да се пусне обрато овърлей за Радеон, но потребител е уточнил, че това работи и за Интел. Нямам линк, но темата е за mplayer и Xv.

Това е кодът на моя xorg.conf, който е за 915GM, но 8xx се поддържа по същия начин.

Примерен код


Section "Files"
   FontPath   "/usr/share/fonts/X11/misc"
   FontPath   "/usr/share/fonts/X11/cyrillic"
   FontPath   "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/Type1"
   FontPath   "/usr/share/fonts/X11/100dpi"
   FontPath   "/usr/share/fonts/X11/75dpi"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "us,bg"
   Option      "XkbVariant"   "bds"
   Option      "XkbOptions"   "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
EndSection

##############################################################
# First Screen
Section "Device"
   Identifier   "Pipe A"
   Driver      "i810"
   BusID      "PCI:0:2:0"
#   Screen      0
   Option      "MonitorLayout" "CRT,Second"
#   Option      "Clone" "true"
   Option      "DevicePresence" "true"
   Option      "DDC" "true"
   ###################################################
   # Merged Framebuffer
   Option      "MergedFB" "true"
   Option      "MetaModes" "800x600-800x600"
   Option      "SecondPosition" "Below"
   Option      "SecondMonitorHorizSync" "30-65"
   Option      "SecondMonitorVertRefresh" "50-75"
   ###################################################
EndSection

Section "Monitor"
   Identifier   "Monitor 0"
   Option      "DPMS"
   HorizSync   30-65
   VertRefresh   50-75
EndSection

Section "Screen"
   Identifier   "Screen 0"
   Device      "Pipe A"
   Monitor      "Monitor 0"
   DefaultDepth   16
   SubSection "Display"
      Depth      16
      Modes      "800x600"
#      Virtual      800 1200
   EndSubSection
EndSection

##############################################################
# Second Screen
Section "Device"
   Identifier   "Pipe B"
   Driver      "i810"
   BusID      "PCI:0:2:1"
#   Screen      1
   Option      "DevicePresence" "true"
   Option      "DDC" "true"
EndSection

Section "Monitor"
   Identifier   "Monitor 1"
   Option      "DPMS"
   HorizSync   30-65
   VertRefresh   50-75
EndSection

Section "Screen"
   Identifier   "Screen 1"
   Device      "Pipe B"
   Monitor      "Monitor 1"
   DefaultDepth   16
   SubSection "Display"
      Depth      16
      Modes      "800x600"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Screen 0"
   Screen      "Screen 1" Below "Screen 0"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection




Активен

ray

  • Напреднали
  • *****
  • Публикации: 1456
    • Профил
3d+opengl на i810
« Отговор #4 -: Nov 18, 2006, 07:26 »
Здравейте,

Виж в официалната документация на Gentoo - drm и поддръжка на чипсета в ядрото и после малко настройки в xorg.conf.
Успех. Румен
Активен

hack_man

  • Напреднали
  • *****
  • Публикации: 108
    • Профил
3d+opengl на i810
« Отговор #5 -: Nov 18, 2006, 10:44 »
Цитат (july @ Ноември 18 2006,00:06)
какво казва Xorg.0.log ?

xvinfo
glxinfo
glxgears ?


принципно не е върха на сладоледа, на 24 битов цвят (1024х768) изкарва около 800 на glxgears-a...

за игри не съм го тествал, но за google-earth става'<img'>

HackMan plamen # glxinfo
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
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_copy_sub_buffer, 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_EXT_texture_from_pixmap
GLX version: 1.2
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,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: http://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_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_texture_non_power_of_two, GL_ARB_texture_rectangle,
    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_framebuffer_object, 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_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

   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



HackMan plamen # glxgears
1697 frames in 5.1 seconds = 335.530 FPS
1718 frames in 5.0 seconds = 342.559 FPS
1717 frames in 5.1 seconds = 333.735 FPS
1718 frames in 5.1 seconds = 338.211 FPS

това е резултата
Активен

hack_man

  • Напреднали
  • *****
  • Публикации: 108
    • Профил
3d+opengl на i810
« Отговор #6 -: Nov 18, 2006, 11:26 »
ето и моя Xorg.conf
 
Примерен код
# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.


# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi"
    FontPath   "/usr/share/fonts/100dpi"
#    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/Type1"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.


EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "Protocol"      "Standard"
    Option      "AutoRepeat"    "500 10"
    Option      "XkbModel"      "pc104"
    Option      "XkbRulse"      "xfree86"
    Option      "XKbOptions"    "grp_led:scroll,grp:alt_shift_toggle"
    Option      "XkbLayout"     "us,bg"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "Auto"   # Auto detect
    Option "Device"      "/dev/input/mice"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"   "Xqueue"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"   "256"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"   "9600"
#    Option "SampleRate"   "150"

# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.

    Option "ZAxisMapping"   "4 5 6 7"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5 - 64.3

#    HorizSync   30-64         # multisync
#    HorizSync   31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync   15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-70

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "Matrox Millennium G400"
#    Driver      "mga"
    Driver   "i810"
Option "DDC" "true"
    #VideoRam    16384
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "Matrox Millennium G400"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

Активен

july

  • Напреднали
  • *****
  • Публикации: 324
    • Профил
3d+opengl на i810
« Отговор #7 -: Nov 18, 2006, 11:42 »
# Section "DRI"
#    Mode 0666
# EndSection


тез работи не трябва да са коментирани

за да избегнеш в началото възможност да имаш проблем с правата, пробвай като root...

lsmod | grep -i drm
lsmod | grep -i agp
dmesg | grep -i drm
dmesg | grep -i agp

grep -i dri /var/log/Xorg.0.log
Активен

hack_man

  • Напреднали
  • *****
  • Публикации: 108
    • Профил
3d+opengl на i810
« Отговор #8 -: Nov 18, 2006, 12:30 »
Браво пичове '<img'>
еваларката ....

# glxgears
1950 frames in 5.0 seconds = 389.934 FPS

# glxinfo
direct rendering: Yes
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
OpenGL Проблем
Настройка на хардуер
jm 6 4232 Последна публикация Aug 25, 2003, 12:05
от kolio_kolev
OpenGL 3D
Настройка на хардуер
mimosh 1 2093 Последна публикация Nov 08, 2003, 03:36
от emotion
Проблем с OpenGL
Настройка на програми
sys7em 1 1453 Последна публикация Mar 02, 2005, 22:54
от JollyRoger
как да настроя на i810 вертикалната честота
Настройка на хардуер
Vesko 2 1445 Последна публикация Mar 31, 2005, 10:30
от Vesko
Проблем с драйвери на i810
Настройка на хардуер
Azure 1 1082 Последна публикация Dec 06, 2006, 21:47
от mom