You are not logged in.

#1 2007-07-19 12:32:44

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Having the maximum performance of my graphic card?

Hello, I have an Intel i915 Express as graphic card (I know, he sucks), and well, I can play good at Wolfestein Enemy Territory, playing with 40-90 Frames in some zones, with the minimum quality options, so I have a good performance. But in some zones (almost open zones, snipping zones), the FPS decays to 5 FPS o less :S

My question: How Can I explode and get the maximum performance of my intel graphic card??

I post my xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

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

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

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "es"
    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

Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
    Option        "CorePointer"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
    #Option      "LeftEdge" "1700"
        #Option      "RightEdge" "5300"
        #Option      "TopEdge" "1700"
        #Option      "BottomEdge" "4200"
        #Option      "FingerLow" "25"
        #Option      "FingerHigh" "30"
        #Option      "MaxTapTime" "180"
        #Option      "MaxTapMove" "220"
        #Option      "VertScrollDelta" "100"
        #Option      "MinSpeed" "0.06"
        #Option      "MaxSpeed" "0.12"
        #Option      "AccelFactor" "0.0010"
        #Option      "SHMConfig" "on"
EndSection

Section "Device"
    Identifier    "Generic Video Card"
    Driver        "i810"
    BusID           "PCI:0:2:0"
    VideoRam        65536
    Option        "RenderAccel"        "true"
    Option          "backingstore"        "true"
    Option          "VBERestore"        "true"
    Option          "XAANoOffscreenPixmaps"    "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
    HorizSync    31.5-90
    VertRefresh    59-75
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Generic Video Card"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Depth        16
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x800"
    EndSubSection
EndSection

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

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "DRI"
    Mode    0666
EndSection

Greetings

Last edited by Davigetto (2007-07-19 12:33:18)


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#2 2007-07-19 13:49:01

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Having the maximum performance of my graphic card?

I think a good start would be to disable the composite extension...


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-07-19 17:17:34

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Having the maximum performance of my graphic card?

First of all, get rid of that debian config file and generate a decent one with Xorg -configure. Then put back the needed things for keyboard maps and videomemory and it should run a bit better (believe me, you don't want int10 and dbe here, neither do you want all those ancient fontpath locations).
Next step you could try, is to get new kernel DRI modules for your chipset. There's an i915tex driver available, though still experimental, which is utilized by xf86-video-intel and the mesa driver that comes with it. There's no package for it, you have to get a snapshot from dri.freedesktop.org for that. There's also intructions at that location.

Offline

#4 2007-07-19 20:34:47

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

Re: Having the maximum performance of my graphic card?

This is my new xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Touchpad" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option "XkbLayout" "es"
EndSection

Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
    Option        "CorePointer"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
    #Option      "LeftEdge" "1700"
        #Option      "RightEdge" "5300"
        #Option      "TopEdge" "1700"
        #Option      "BottomEdge" "4200"
        #Option      "FingerLow" "25"
        #Option      "FingerHigh" "30"
        #Option      "MaxTapTime" "180"
        #Option      "MaxTapMove" "220"
        #Option      "VertScrollDelta" "100"
        #Option      "MinSpeed" "0.06"
        #Option      "MaxSpeed" "0.12"
        #Option      "AccelFactor" "0.0010"
        #Option      "SHMConfig" "on"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "CMO"
    ModelName    "1526"
EndSection

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"
    VideoRam    131072
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport   0 0
        Depth       16
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes        "1280x800"
    EndSubSection
EndSection

I believe there are some improves to do, because when I play Wolfenstein, at 800x600, the screen is not "expanded", and withthe old xorg the screen was expanded, so the Monitor Section I believe must be modified. What changes I must do to have a perfect xorg?

My screen is at 1280x800 pixels (a 15,4" laptop), and my graphic card is 128 MB of memory.

Greetings and thank you very much, JGC, I have experimented a good improvement tongue


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#5 2007-07-20 22:29:38

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,952

Re: Having the maximum performance of my graphic card?

You need to add more modes to the screen section to something like this :

    DefaultDepth 24
    SubSection "Display"
        Depth     24
        Modes "1280x800" "1024x768" "800x600" "640x480" "320x240"
    EndSubSection

The first listed mode is the default choice.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB