Le Vendredi 9 Août 2002 23:59, vous avez écrit :
> je fais tourner FlightGear sur un PII 333 avec 128 de ram et une ati rage
> fury... si les indications suivantes peuvent être utiles:
>
> support AGP:
>
> $ dmesg | grep agpgart
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 96M
> agpgart: Detected Intel 440LX chipset
> agpgart: AGP aperture is 64M @ 0xe4000000
>
> on voit que le support est activé. chez moi pas de module, il est intégré
> au noyau (2.4.17). si cette commande ne donne rien -> il faut charger le
> module agpgart. (ou changer de noyau...)

je charge mon module agpgart et ensuite comme toi avec la commande: "dmesg | 
grep agpgart" , j'obtiens:

# dmesg | grep agpgart
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro KT133 chipset
agpgart: AGP aperture is 64M @ 0xd0000000
[root@mdkpingus nono]#



>
> /etc/X11/XF86Config-4:
>
> éditer le fichier et chercher les paragraphes Module et Device.
>
> Section "Module"
>
>       #on doit au moins trouver ces 2 lignes:
>       load "glx"
>       load "dri"
>
> EndSection
>
> Section "Device"
>
>       #la ligne intéressante: Option "AGPMode"
>       #pour les bus AGP comme il n'y en a souvent qu'un,
>       #c'est 1:0:0 pour BusID.
>       Identifier  "ATI Rage 128"
>       BusID "1:0:0"
>       VendorName  "ATI"
>       BoardName   "Unknown"
>       Driver      "r128"
>       Option      "AGPMode"
>EndSection

moi, je n'ai rien de tout ça, ni pour la section device, ni pour la section 
module.
Voici un extrait de mon  /etc/X11/XF86Config-4 (je mets des séparations ¬¬¬ 
en début et fin de fichier pour que ce soit plus clair):

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬

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

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat"  "250 30"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"

EndSection

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"

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

#    Option "ChordMiddle"

EndSection



Section "Module"

# This loads the DBE extension module.
    Load        "dbe"

# This loads the Video for Linux module.
    Load        "v4l"


# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

    SubSection  "extmod"
        #Option "omit xfree86-dga"
    EndSubSection

# This loads the Type1 and FreeType font modules

    Load        "type1"
    Load        "freetype"
EndSection

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

# Any number of monitor sections may be present

Section "Monitor"
    Identifier "Generic|Generic Monitor, 1280x1024 @ 60 Hz"
    VendorName "Generic"
    ModelName  "Unknown"


# 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


# 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


# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync 
-vsync

# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616


EndSection



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

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "RIVA TNT2"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "nv"
#    VideoRam    4096
    # Clock lines


    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    #    Option      "sw_cursor"

    Option      "DPMS"  "on"
EndSection



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


Section "Screen"
    Identifier "screen1"
    Device      "RIVA TNT2"
    Monitor     "Generic|Generic Monitor, 1280x1024 @ 60 Hz"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "800x600" "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    Screen     "screen1"

    InputDevice "Mouse1" "CorePointer"

    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
 
> les librairies et includes:
>
> $ glxinfo | grep renderer
> Loading required GL library /usr/X11R6/lib/libGL.so.1.2
> OpenGL renderer string: Mesa DRI Rage128 20010405 AGP 1x x86/MMX
>
> si on n'a pas un message de ce genre, ou "indirect" noté qqpart, il manque
> des trucs ...

J'ai pas ce message:
# $ glxinfo | grep renderer
bash: $: command not found
#

>
> libGL.so.1 -> XFree86-libs
> libGLU.so.1 -> mesa-common
> lubglut.so.3 -> mesa-common
> si installé via rpm, ils risquent de se trouver dans /usr/X11R6/lib. on
> peut faire des liens dans /usr/lib vers ces libs qui sont elles-mêmes des
> liens vers les "vraies" librairies.

Là c'est bon:
[root@mdkpingus nono]# locate libGL.so.1
/usr/X11R6/lib/libGL.so.1.3.401
/usr/X11R6/lib/libGL.so.1.0
/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1.2
[root@mdkpingus nono]# locate libGLU.so.1
/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGLU.so.1.3.401
[root@mdkpingus nono]# locate libglut.so.3
/usr/X11R6/lib/libglut.so.3.7.0
/usr/X11R6/lib/libglut.so.3
[root@mdkpingus nono]#


Pour FlightGears je verrai après. Je ne mets pas FlightGears en cause car 
d'autres jeux 3D ne fonctionnent pas.

Mon problème est donc XF86Config-4 qui n'est visiblement pas configuré comme 
il faut. Que faut-il que je lui fasse ?

merci d'avance 
nono

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à