[Résolu] Sarge : 3D avec Intel 845G

Bonjour,

Je suis sous Debian Sarge.
Voilà un bon moment que je bloque sur l’activation du direct rendering. J’ai une carte intégrée intel 82845G (autrement dit 845G), le driver dans XFree86 est i810.

Je vous poste ma config de XFree :

[quote]Section "Files"
FontPath “unix/:7100” # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option “XkbRules” "xfree86"
Option “XkbModel” "pc105"
Option “XkbLayout” "fr"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option “Device” "/dev/psaux"
Option “Protocol” "ImPS/2"
Option “Emulate3Buttons” "true"
Option “ZAxisMapping” "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option “SendCoreEvents” "true"
Option “Device” "/dev/input/mice"
Option “Protocol” "ImPS/2"
Option “Emulate3Buttons” "true"
Option “ZAxisMapping” "4 5"
EndSection

Section "Device"
Identifier "Carte vidéo générique"
Driver "i810"
EndSection

Section "Monitor"
Identifier "A17-2"
HorizSync 31-81
VertRefresh 56-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Carte vidéo générique"
Monitor "A17-2"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes “1280x1024” “1024x768” “800x600” "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection
[/quote]

Rien de vraiment spécial, le DRI est activé.

Voici mon Glxinfo :

[quote]name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 5.0
server glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 5.0
client glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
GLX extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.4 Mesa 5.0
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_point_parameters, GL_ARB_shadow,
GL_ARB_shadow_ambient, 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_transpose_matrix,
GL_ARB_window_pos, GL_ATI_texture_mirror_once, 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_convolution, GL_EXT_compiled_vertex_array, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
GL_EXT_stencil_two_side, 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_object, GL_EXT_texture_lod_bias,
GL_EXT_vertex_array, GL_HP_occlusion_test, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_resize_buffers, GL_MESA_ycbcr_texture,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_point_sprite,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_pixel_texture,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIX_depth_texture, GL_SGIX_pixel_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient
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

0x22 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x27 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x28 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x29 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
[/quote]

On constate bien le direct rendering: No

dans mon lsmod, j’ai bien :

(il semble que le dri utilise le i830, qui se refere à la même carte d’après mes recherches).

Je me suis dit que peut être ma carte n’était pas prise en compte par le noyau, mais non :

Donc c’est bien activé…

ce qui m’eclate le plus c’est le log de XFree qui me dit que tout est ok ! (je vous épargne le blabla qui ne nous concerne pas en prenant que des extraits traitants du DRM/DRI)

Bon je ne suis pas fou quand même, il me dit bien : “(II) I810(0): direct rendering: Enabled”

Quelqu’un aurait une idée ? je patauge complètement.

Boah, ça n’a pas l’air de motiver grand monde :frowning:

Pour ce que j’en ai compris, les drivers OpenSource d’Intel apportent la 3D sur ces nouveaux chipsets - dit GMA -, avec un “support” élargi aux puces créés à partir de l’i830.

Ce pilote est crée pour le serveur X, en relation avec mesa.

intellinuxgraphics.org/

Première option : basculer sur le server Xorg :stuck_out_tongue:

Pour ce qui est du server XFree86, malheureusement, les “choses” n’évoluent pas … aussi bien.
La page suivante du projet XFree86 à propos du pilote i810, qui est celui qui supporte cette puce et les suivantes, informe de ces points suivants :

A-priori, il supporte la 3D… sauf que, si j’ai bien compris cela :

[quote]
By default 8 Megabytes of system memory are used for graphics. For the 830M and later, the default is 8 Megabytes when DRI is not enabled and 32 Megabytes with DRI is enabled. This amount may be changed with the VideoRam entry in the config file Device section. It may be set to any reasonable value up to 64MB for older chipsets or 128MB for newer chipets. It is advisable to check the XFree86 log file to check if any features have been disabled because of insufficient video memory. In particular, DRI support or tiling mode may be disabled with insufficient video memory. Either of these being disabled will reduce performance for 3D applications. Note however, that increasing this value too much will reduce the amount of system memory available for other applications.[/quote]

Il y a des problèmes de performances …

Tu peux essayer ces quelques informations :
-1- Activer la video ram, et sytem ram dans le BIOS de ton pc,
[quote]For the i810 and i815 familiy of chipset, operating system support for allocating system memory for video use is required in order to use this driver. For the 830M and later, this is required in order for the driver to use more video ram than has been pre-allocated at boot time by the BIOS.[/quote]
-2- Positionner l’Option VideoRam dans ton fichier de config XFree,
[quote]This amount may be changed with the VideoRam entry in the config file Device section[/quote]
Mais attention, autant de mémoire tu alloueras à ta carte, autant tu en réduiras pour le système :
[quote]Note however, that increasing this value too much will reduce the amount of system memory available for other applications.[/quote]
Essaye d’abord de fixer la valeur à 64 Mo, puis une fois que toutes ces modifications sont faites, redémarre ton serveur graphique.

(cf la doc du chipset Intel i810 relatif au server XFree)

Dernier point : “patience et longueur de rage font que force” …
Autrement dit, on n’est pas à ta botte, ne l’oublie pas. Personne n’est censé te répondre ici ou ailleurs en temps et en heure où tu l’estimes, donc sois patient. Ta dernière réflexion ne motive pas à t’aider … comprends-le.

++

PS : Pour finir, mon anglais est approximatif … donc, d’autres pourront rectifier au cas où …

Le passage à la etch m’a tout corrigé, donc ça marche…

[quote]ernier point : “patience et longueur de rage font que force” …
Autrement dit, on n’est pas à ta botte, ne l’oublie pas. Personne n’est censé te répondre ici ou ailleurs en temps et en heure où tu l’estimes, donc sois patient. Ta dernière réflexion ne motive pas à t’aider … comprends-le. [/quote]

Je te trouve gonflé quand même, déjà d’un je n’ai pas dit quelque chose du style “Mais répondez moi !!” Je n’ai forcé ni pressé personne et de deux, mon deuxième message a été posté quand même une journée après le second, ce n’est pas comme si je postais toutes les deux heures pour avoir une réponse !