[Wine] Re: Warcraft 2 BNE - performance problem...
Huk256 at gmail.com
Huk256 at gmail.com
Mon Mar 19 00:54:05 CDT 2007
On 24 Sty, 09:46, Olaf Leidinger <leid... at newcon.de> wrote:
> Hello again!
>
> > Well I tried disabling sound - still a bit choppy (don't get me wrong -
> > game is playable - but is much slower then on windos), I tried playing
> > both windowed and fullscreen version - no change. Meaby I should put
> > Riva TNT inside my PC(I heard that older cards have no problem running
> > ddraw games)?Your card should be okay. To use the TNT card, you've to downgrade your
> NVidia-driver. Older versions of wine could use DGA to directly draw to
> the video hardware -- which was very fast for games like warcraft2 and
> starcraft. But you had to run your app as root to be able to use this
> interface. Today DGA isn't supported by wine anymore and it is also an
> obsoleted X-extension. The plan is to create some kind of DIB-engine.
> Read more about it here [1]. At [2] are reports about sound problems
> in W2 BNE.
>
> Did you disable sound in winecfg or in WarCraftII? I'd suggest to
> disable it in winecfg (just uncheck every box)
>
> Do you use RenderAccel? If not, open your /etc/X11/xorg.conf and add it
> to section "device"
>
> Section "Device"
> Identifier "Card0"
> Driver "nvidia"
> VendorName "nVidia Corporation"
> BoardName "NV34 [GeForce FX 5200]"
> BusID "PCI:3:0:0"
> Option "RenderAccel" "True"
> EndSection
>
> Ciao,
>
> Olaf
>
> [1]http://bugs.winehq.org/show_bug.cgi?id=421
> [2]http://appdb.winehq.org/appview.php?iVersionId=592
>
> application_pgp-signature_part
> 1KPobierz
I disabled sound in winecfg - I don't think there is a way to disable
it in the game anyway.
I tried this option - but no change here is my xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister at builder3) Fri Dec 15
10:12:14 PST 2006
# /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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "pl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
#
/dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
#
/dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
#
/dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "RenderAccel" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
One thin I don't understand is that my card is being detected as
"generic"... could this be the reason?
More information about the wine-users
mailing list