View previous topic :: View next topic |
Author |
Message |
swoppe Tux's lil' helper
Joined: 16 Aug 2004 Posts: 104 Location: Sweden
|
Posted: Tue Feb 13, 2007 2:30 pm Post subject: WoW under wine really low fps |
|
|
Hello.
I recently reinstalled gentoo after a bit of pebkc while trying netBSD on the same disk... (yes i formated the wrong partition... (bit of advice don't repartition disks when you are really tired)).
Anyway.
Reinstall was fine, everything worked except for OpenGL, well it works its just really slow. As a comparison: wow running with wine-0.9.20 with nvidia-drivers 8776 on my old install managed about 100fps, now with wine-0.9.30 and nvidia-drivers 9746 i get less than 20 fps. The same slowdown is apparent in mplayer with -vo gl, and all the eyecandy stuff using OpenGL.
I tried using the older nvidia driver in portage but the performance increase was small.
emerge info Code: |
Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 13 Feb 2007 02:29:01 +0000
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd amd64 berkdb bitmap-fonts cli cracklib crypt dlloader dri fortran gdbm gpm iconv isdnlog libg++ midi ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python readline reflection session spl ssl tcpd test truetype truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
Code: | glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation |
Code: | glxinfo | grep direct
direct rendering: Yes |
I would really appreciate any help you can give.
Edit: I forgot about the random crashes, OpenGL programs randomly crash when i try to start them /var/log/messages look something like this
Code: |
Feb 13 15:24:03 box NVRM: Xid (0001:00): 6, PE0002 1844 000000c0 0000fdf4
cdc00000 0007000e
Feb 13 15:24:03 box NVRM: Xid (0001:00): 28, L1 -> L0
Feb 13 15:24:03 box NVRM: Xid (0002:00): 28, L1 -> L0
Feb 13 15:24:03 box NVRM: Xid (0002:00): 6, PE0002 03fc 00000000 00000000
ffffffff 00000000
Feb 13 15:24:03 box NVRM: Xid (0001:00): 28, L0 -> L0
Feb 13 15:24:03 box NVRM: Xid (0002:00): 28, L0 -> L0
Feb 13 15:24:03 box NVRM: Xid (0001:00): 6, PE0002 1844 000000c0 00000000
cea18000 00000000
Feb 13 15:24:03 box NVRM: Xid (0001:00): 28, L1 -> L0
Feb 13 15:24:03 box NVRM: Xid (0002:00): 28, L1 -> L0
Feb 13 15:24:03 box NVRM: Xid (0002:00): 6, PE0002 03fc 00000000 00000000
ffffffff 00000000
Feb 13 15:24:03 box NVRM: Xid (0001:00): 28, L0 -> L0
Feb 13 15:24:03 box NVRM: Xid (0002:00): 28, L0 -> L0
Feb 13 15:24:17 box NVRM: Xid (0001:00): 6, PE0002 0318 03030303 0000fdf8
ce408000 0007000e
Feb 13 15:24:17 box NVRM: Xid (0001:00): 28, L1 -> L0
Feb 13 15:24:17 box NVRM: Xid (0002:00): 28, L1 -> L0
Feb 13 15:24:17 box NVRM: Xid (0002:00): 6, PE0002 1900 02ea00e4 00000000
ffffffff 00000000
Feb 13 15:24:17 box NVRM: Xid (0001:00): 28, L0 -> L0
Feb 13 15:24:17 box NVRM: Xid (0002:00): 28, L0 -> L0
Feb 13 15:24:17 box NVRM: Xid (0001:00): 6, PE0002 0318 03030303 00000000
cec08000 00000000
Feb 13 15:24:17 box NVRM: Xid (0001:00): 28, L1 -> L0
Feb 13 15:24:17 box NVRM: Xid (0002:00): 28, L1 -> L0
Feb 13 15:24:17 box NVRM: Xid (0002:00): 6, PE0002 1900 02ea00e4 00000000
ffffffff 00000000
Feb 13 15:24:17 box NVRM: Xid (0001:00): 28, L0 -> L0
Feb 13 15:24:17 box NVRM: Xid (0002:00): 28, L0 -> L0
Feb 13 15:24:29 box NVRM: Xid (0001:00): 6, PE0002 0318 03030303 00000030
ce800000 0007000e
Feb 13 15:24:29 box NVRM: Xid (0001:00): 28, L1 -> L0
Feb 13 15:24:29 box NVRM: Xid (0002:00): 28, L1 -> L0
Feb 13 15:24:29 box NVRM: Xid (0001:00): 6, PE0002 0318 03030303 00000000
cee08000 00000000
Feb 13 15:24:29 box NVRM: Xid (0001:00): 28, L1 -> L0
Feb 13 15:24:29 box NVRM: Xid (0002:00): 28, L1 -> L0
Feb 13 15:24:29 box NVRM: Xid (0002:00): 6, PE0002 0404 000000ff 00000000
ffffffff 00000000
Feb 13 15:24:29 box NVRM: Xid (0002:00): 28, L0 -> L0 |
This is glxgears crashing when i tried to start it a few minutes ago. When it does work I get about 15k fps from it.
Code: | lspci | grep nVidia
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GTX] (rev a1)
02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GTX] (rev a1) |
Edit 2: Iforgot to post my xorg.conf, I have striped out some parts to make it smaller
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
RgbPath "/usr/lib64/X11/rgb"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/intlfonts"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
# Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "wfb"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
VertRefresh 60.0 - 75.0
HorizSync 31.0 - 49.0
ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
Option "No Logo" "1"
VendorName "nVidia Corporation"
BoardName "G70 [GeForce 7800 GTX]"
BusID "PCI:1:0:0"
Option "AddARGBGLXVisuals" "true"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "G70 [GeForce 7800 GTX]"
BusID "PCI:2:0:0"
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
|
Sorry 'bout the long post
Edit: edited the topic to reflect the problem. _________________ Programmink and dyslexia, they do not mix... - Pitr
Last edited by swoppe on Wed Feb 14, 2007 1:14 am; edited 2 times in total |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Tue Feb 13, 2007 7:41 pm Post subject: |
|
|
Nvidia drivers don't like the GLcore X module, so remove it from xorg.conf. |
|
Back to top |
|
|
swoppe Tux's lil' helper
Joined: 16 Aug 2004 Posts: 104 Location: Sweden
|
Posted: Tue Feb 13, 2007 8:13 pm Post subject: |
|
|
Unfortunately commenting out GLcore did not make any difference.
Wine hard locked the system when I tried to start wow, and writing lots of "stuff" to /var/log/messages
Code: | Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/Games/World of Warcraft
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/Games/World of Warcraft
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/.wine/drive_c/windows/system32
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/Games/World of Warcraft
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/Games/World of Warcraft
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/.wine/drive_c/windows/system32
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/.wine/drive_c/windows/system32
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/.wine/drive_c/windows/system32
Feb 13 20:57:05 box ioctl32(WoW.exe:8432): Unknown cmd fd(9) cmd(82187201){02} arg(00222000) on /home/anders/Games/World of Warcraft |
There are a lot more lines in the log, but they all look about the same.
The strange thing is after i restarted the system wow could start without any problems, but im still getting really low fps, (I have not tried to start any other OpenGL application.)
But since its ioctl32 thats complaining, could that have something to do with emul-linux libraries, some system package or the kernel? _________________ Programmink and dyslexia, they do not mix... - Pitr |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Tue Feb 13, 2007 11:37 pm Post subject: |
|
|
I the mis-format wiped your wine registry, but not WoW data because it's on another partition, maybe you have to do a reinstall in WoW. But I would get native linux games functioning okay before trying to tweak wine. |
|
Back to top |
|
|
swoppe Tux's lil' helper
Joined: 16 Aug 2004 Posts: 104 Location: Sweden
|
Posted: Wed Feb 14, 2007 1:13 am Post subject: |
|
|
The format wiped everything except my backups, but I reinstalled wow just for good measure, or rater installed it on a win box and copied it to my linux box.
I just installed ppracer or tuxracer or whatever its called now to test OpenGL, and I get 125ish FPS with every video option on and FSAA multisampling on x4 so its not OpenGL that isent working its wine. Ill edit the topic.
Oh and perhaps this should be moved to the game forum? _________________ Programmink and dyslexia, they do not mix... - Pitr |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|