You are not logged in.

#1 2008-12-14 08:12:10

Vipermaseg
Member
From: Spain
Registered: 2008-12-12
Posts: 62

Warcraft III under Wine with low FPS (I know, frequent problem...)

The problem is that after the intalation of the new X.Org and the last actualitation of Wine, my Warcraft III never passes the 11 fps (even in windowed mode).

I don't think that is a problem of Wine becose I left enougth time to somebody report the bug in Winehq.org, so I belive that the problem is the configuration of the X.Org.

I use a Dell Inspiron 1525 with an Intel Video Card. I don't know the model of the card but I can tell you that Compiz and glxgears work fine rigth now.

And, this is my xorg.conf

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

Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

Section "Files"
    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  "dbe"
    Load  "xtrap"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
    Load  "freetype"
    Load "synaptics"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Option          "CoreKeyboard"
        Option          "XkbModel" "Dell Laptop/notebook Inspiron 6xxx/8xxx" # "Inspiron XPS 1210"
        Option          "XkbLayout"             "us,es"
        Option          "XkbRules"              "xorg"
#        Option          "XkbOptions" "grp:alt_shift_toggle"
        Driver          "kbd"
EndSection


Section "InputDevice"
   Identifier  "SynapticsTouchpad"
    Driver  "synaptics"
    Option  "Device"   "/dev/input/mouse0"
    Option  "Protocol"   "auto-dev"
    Option  "LeftEdge"   "130"
    Option  "RightEdge"   "840"
    Option  "TopEdge"   "130"
    Option  "BottomEdge"   "640"
    Option  "FingerLow"   "7"
    Option  "FingerHigh"   "8"
    Option  "MaxTapTime"   "180"
    Option  "MaxTapMove"   "110"
    Option  "EmulateMidButtonTime"   "75"
    Option  "VertScrollDelta"   "20"
    Option  "HorizScrollDelta"   "20"
    Option  "MinSpeed"   "0.25"
    Option  "MaxSpeed"   "0.50"
    Option  "AccelFactor"   "0.010"
    Option  "EdgeMotionMinSpeed"   "200"
    Option  "EdgeMotionMaxSpeed"   "200"
    Option  "UpDownScrolling"   "1"
    Option  "CircularScrolling"   "1"
    Option  "CircScrollDelta"   "0.1"
    Option  "CircScrollTrigger"   "2"
    Option  "SHMConfig"   "on"
    Option  "Emulate3Buttons"   "on"
    Option  "VertEdgeScroll"    "true"
    Option  "HorizEdgeScroll"   "true"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "AUO"
    ModelName    "2374"
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"                  "True"
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Thanks.

EDIT1: I've tried with native game and it looks messy too, but compiz and glxgears still working perfect...

Last edited by Vipermaseg (2008-12-14 19:49:05)

Offline

#2 2008-12-14 11:42:26

Xauthority
Member
From: ../
Registered: 2008-11-03
Posts: 61

Re: Warcraft III under Wine with low FPS (I know, frequent problem...)

For me its working fine even after the upgrade.
lspci | grep -i vga
=> 01:00.0 VGA compatible controller: nVidia Corporation GeForce 9500 GT (rev a1)
wine --version = wine-1.1.10
Are you sure that you are starting it with wine war3 -opengl

Last edited by Xauthority (2008-12-14 11:43:45)

Offline

#3 2008-12-14 16:20:16

Vipermaseg
Member
From: Spain
Registered: 2008-12-12
Posts: 62

Re: Warcraft III under Wine with low FPS (I know, frequent problem...)

lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)



It is already in opengl mode, but the moost extrange is that I can not improve the performance using less quality. Is allways stuck in 11fps.

Offline

#4 2008-12-14 17:03:49

Xauthority
Member
From: ../
Registered: 2008-11-03
Posts: 61

Re: Warcraft III under Wine with low FPS (I know, frequent problem...)

Are you trying to run compiz and Warcraft at the same time ?
Try disable compiz an the run again. If that still wont help try startx /usr/bin/wine war3.exe --opengl -- :1

Offline

#5 2008-12-14 19:48:12

Vipermaseg
Member
From: Spain
Registered: 2008-12-12
Posts: 62

Re: Warcraft III under Wine with low FPS (I know, frequent problem...)

No, I'm not trying to do that.

I use to use metacity when playing 3D games.

Last edited by Vipermaseg (2008-12-14 19:48:36)

Offline

#6 2008-12-19 01:14:25

krupintupple
Member
From: toronto
Registered: 2007-06-11
Posts: 29

Re: Warcraft III under Wine with low FPS (I know, frequent problem...)

Heya,

i know it's crude, but i just run it directly from client with:

wine "/home/XXXX/World of Warcraft/Wow.exe"

and manage to average about 20 FPS; add 5 if i'm inside or underground, subtract 5 if i'm in an open area - and this is with amarok and pidgin open.

i should mention that two weeks ago, the xorg-server updates b0rked my nvidia system, so i rolled them back and am thusly using the older packages, so YMMV.

Offline

Board footer

Powered by FluxBB