← Back to team overview

sslug-teknik team mailing list archive

Re: Problem med video FPS

 

Hans Christian Studt wrote:
Carsten Svaneborg wrote:

Hans Christian Studt wrote:

For mig ser det ud som om at jeg ikke har hardware accelleration slået
ordentlig til.
Er der nogen der har forslag til hvad der kan være i vejen.


(/user/home/hcs) #glxgears
135 frames in 5.0 seconds = 27.000 FPS


Jeg får 2290 FPS for standard størrelsen (100x100?) af glxgears
med et Nvidia 440 Go.

Følgende er fra Readme til Nvidia driveren:

Har du Load "dri" eller Load "GLcore" i /etc/X11/XF86Config?
Slet dem hvis du har.

YES - jeg har stadig Load "dri" - fjernes straks :-)

Det hjalp ikke rigtig :-(

Min
/etc/X11/XF86Config
ser sådan ud :
========================================
# File generated by anaconda.

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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.

    RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath   "unix/:7100"

EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
    Load  "fbdevhw"
    ### Load  "dri"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
    Option  "XkbRules"  "xfree86"
    Option  "XkbModel"  "pc105"
    Option  "XkbLayout" "dk"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5-64.3
        VertRefresh  50-160
        Option       "dpms"
EndSection

Section "Device"
    # no known options
    Identifier   "NVIDIA GeForce 2 MX (generic)"
        Driver       "nvidia"
        VendorName   "NVIDIA GeForce 2 MX (generic)"
        BoardName    "NVIDIA GeForce 2 MX (generic)"
        VideoRam     65536
EndSection

Section "Screen"
    Identifier      "Screen0"
        Device          "NVIDIA GeForce 2 MX (generic)"
        Monitor         "Monitor0"
    DefaultDepth    24

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

Section "DRI"
    Mode 0666
EndSection
=================================
Mvh
--
Hans Christian Studt  : http://hc.studt.dk  mailto:hc@xxxxxxxx
.dk og W3C standarder : http://w3c.studt.dk



Follow ups

References