You are not logged in.

#1 2009-01-21 22:53:16

Olnex
Member
Registered: 2008-04-10
Posts: 89

What tweaks opensuse made that makes X4500 performs best?

My laptop (toshiba U400) has X4500 intel video card which is not supported well currently in Linux, I tried Ubuntu 8.10, with its default xorg.conf, there are many problems, supertux runs very slowly, glxgears gives me average 300 fps. Then I tried Opensuse 11.1, kdm has a problem that the screen has random colors, when starting gdm and between login and desktop appears, but the Gnome version has no such problem, and glxgears give me average 600 fps.
Finally I tried Arch, I think the driver should be newer or at least equal to opensuse, so it may be better. Arch has no default graphical environment and I don't know how to write xorg.conf, so I just use the one from Opensuse. However, glxgears give me only average 400 fps, supertux runs fine.
Here is the xorg.conf i used from Opensuse, it has many suse-specific options, not too sure what tweaks do opensuse make:

# /.../
# SaX generated X11 config file
# Created on: 2008-12-31T09:51:36+1100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
#  FontPath     "/usr/share/fonts/misc:unscaled"
#  FontPath     "/usr/share/fonts/local"
#  FontPath     "/usr/share/fonts/75dpi:unscaled"
#  FontPath     "/usr/share/fonts/100dpi:unscaled"
#  FontPath     "/usr/share/fonts/Type1"
#  FontPath     "/usr/share/fonts/URW"
#  FontPath     "/usr/share/fonts/Speedo"
#  FontPath     "/usr/share/fonts/PEX"
#  FontPath     "/usr/share/fonts/cyrillic"
#  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
#  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
#  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
#  FontPath     "/usr/share/fonts/latin2/Type1"
#  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
#  FontPath     "/usr/share/fonts/baekmuk:unscaled"
#  FontPath     "/usr/share/fonts/japanese:unscaled"
#  FontPath     "/usr/share/fonts/kwintv"
#  FontPath     "/usr/share/fonts/truetype"
#  FontPath     "/usr/share/fonts/uni:unscaled"
#  FontPath     "/usr/share/fonts/CID"
#  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
#  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
#  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
#  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
#  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
#  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
#  FontPath     "/usr/share/fonts/hellas/Type1"
#  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
#  FontPath     "/usr/share/fonts/xtest"
#  FontPath     "/opt/kde3/share/fonts"
#  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
#  InputDevices "/dev/input/mouse2"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dri"
  Load         "dbe"
  Load         "freetype"
  Load         "synaptics"
  Load         "extmod"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Microsoft Wheel Mouse Optical"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[3]"
  Option       "AlwaysCore" "true"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
#  Option    "Device" "/dev/input/mouse2"
#  Option       "Device" "/dev/psaux"
  Option       "FastTaps" "1"
  Option       "Emulate3Buttons" "on"
  Option       "HorizScrollDelta" "0"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "SHMConfig" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
  Option       "VertEdgeScroll" "true"
  Option       "TapButton1" "1"
  Option       "TapButton2" "2"
  Option       "TapButton3" "3"
EndSection


Section "Monitor"
  DisplaySize  286 179
  HorizSync    30-52
  Identifier   "Monitor[0]"
  ModelName    "1280X800@60HZ"
  Option       "DPMS"
  Option       "PreferredMode" "1280x800"
  VendorName   "--> LCD"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline     "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
  Modeline     "1280x800" 69.75 1280 1328 1360 1440 800 803 809 823 +HSync -Vsync
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x800" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x800" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x800" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x800" 
    Virtual    3840 1200
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "Mobile Intel GM45 Express Chipset"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-LVDS" "Monitor[0]"
  Option       "SaXDualHSync" "31-48"
  Option       "SaXDualHead" ""
  Option       "SaXDualMode" "Clone"
  Option       "SaXDualMonitorModel" "1024X768@60HZ"
  Option       "SaXDualMonitorVendor" "--> VESA"
  Option       "SaXDualOrientation" "LeftOf"
  Option       "SaXDualResolution" "1024x768"
  Option       "SaXDualVSync" "50-60"
  Option       "SaXExternal" "Identifier&EXT+VertRefresh&50-60+HorizSync&31-48+PreferredMode&1024x768+VendorName&--> VESA+ModelName&1024X768@60HZ"
  VendorName   "Intel"
  Option       "AddARGBGLXVisuals" "True"
EndSection


Section "Monitor"
  HorizSync    31-48
  Identifier   "EXT"
  ModelName    "1024X768@60HZ"
  Option       "PreferredMode" "1024x768"
  VendorName   "--> VESA"
  VertRefresh  50-60
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection

EDIT
I also want to mention that I run glxgear in both opensuse and arch with no other application running, only a gnome-terminal that I can type the command. Also, in Arch, I scaled the core 2 duo CPU frequency to 2Ghz(both, highest), in Opensues I did not do this, not sure what default scaling it uses.

Last edited by Olnex (2009-01-21 22:56:34)

Offline

#2 2009-01-22 13:03:42

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: What tweaks opensuse made that makes X4500 performs best?

Glxgears is not an actual benchmark, so these numbers don't mean anything. If you can play your games just fine, then you're good.

Offline

Board footer

Powered by FluxBB