These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

wine and crucible 1.5: cpu eating, low fps

Author
Van Brum
One Ship Army
#1 - 2012-03-14 02:31:24 UTC
After updating to crucible 1.5 eve suffers from performance regression. My FPS drops from almost everytime 60 to 15-20 in high quality fullscreen. Sometimes i'm playing in window with double or triple interval for capping eve in cpu and gpu consumtion (lower power, lower noise), but now it's always 100% CPU (about a half in kernelspace)
I tried replace every d3d library using winetricks, but it's useless.
I'm using debian wheezy, linux 3.2.9, wine 1.4 from wine-unstable debian repository. My CPU is Core 2 Duo E7200 and GPU GTX275.

Thanks for answers.

Now I lay me down to sleep(3) Pray the OS my core to keep If I die before I wake Pray the Disk my core to take

Ravow
Republic Military School
Minmatar Republic
#2 - 2012-03-14 03:02:00 UTC
Same here

My CPU is at his overclock limit too :/

AMD 1055T 2.6Ghz @ 4ghz overclocked for EVE... and fun ;)

EVE now stay under 80% with my max OC.... But still less FPS.
Van Brum
One Ship Army
#3 - 2012-03-14 11:46:39 UTC
According to strace eve is calling clock_gettime VERY frequently. IMHO they implemented some kind of profiler inside eve.

$ strace -c -p 20256
Process 20256 attached - interrupt to quit
[ Process PID=20256 runs in 32 bit mode. ]
^CProcess 20256 detached
System call usage summary for 32 bit mode:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
36.43 0.001330 0 1018816 clock_gettime
18.98 0.000693 0 352475 sched_yield
16.79 0.000613 0 8385 write
8.13 0.000297 0 3300 mmap2
7.34 0.000268 0 3302 writev
4.33 0.000158 0 225592 gettimeofday
3.04 0.000111 0 19944 11557 read
2.82 0.000103 0 1651 ioctl
1.12 0.000041 0 26672 rt_sigprocmask
0.74 0.000027 0 3300 mprotect
0.16 0.000006 0 4953 poll
0.11 0.000004 0 1651 getpid
0.00 0.000000 0 6 times
0.00 0.000000 0 9 1 futex
------ ----------- ----------- --------- --------- ----------------
100.00 0.003651 1670056 11558 total

Now I lay me down to sleep(3) Pray the OS my core to keep If I die before I wake Pray the Disk my core to take

darius mclever
#4 - 2012-03-14 12:06:49 UTC  |  Edited by: darius mclever
confirmed here as well.

one note: this could be a wine issue, because we needed to switch from the native msvcrX.dll to the builtin version of wine.
Katrina Bekers
A Blessed Bean
Pandemic Horde
#5 - 2012-03-14 18:10:58 UTC
I can confirm it too.

Annoying.

But in my experience, performance rough rides are come-and-go. Probably the first release(s) of 1.5 will be used as benchmarks. We are all guinea pigs! ;)

<< THE RABBLE BRIGADE >>

Ben AdonKar
Martyrs d'Amour
#6 - 2012-03-14 18:59:17 UTC  |  Edited by: Ben AdonKar
odd, for me performance is at an all time high.

i5-2500K, ATI HD4670
mageia 1 x86_64
wine 1.3.36 (from mageia cauldron i586 repo), fglrx 12.2 installed via rpm created by means of ATI driver script

dualhead, each 1680x1050, getting at least 36fps under load on both clients, usually 40 to 50fps, all medium texture level
GPU at about 95%, two CPU cores at about 50% each (out of four cores two dedicated to EVE, one per client)

gfx is very smooth, window interaction feels snappy. also past flashes and glitches with fglrx are gone.

since my gfx card is several years old it is only a relative comparision of course. so posting this in case someone wants to try this for reference. also willing to post further info if helpful.
Jacek Alabel
The Scope
Gallente Federation
#7 - 2012-03-14 21:18:41 UTC
I have big performance problems as well but downgrading to wine 1.3.15 helped a little. I am hitting 15 FPS instead of 9:
sudo apt-get install wine1.3=1.3.15-0ubuntu5
Kharid Depran
Hedion University
Amarr Empire
#8 - 2012-03-14 21:33:23 UTC  |  Edited by: Kharid Depran
(Ignore it, I accidentally posted it to wrong thread and I can't delete it here)
Ravow
Republic Military School
Minmatar Republic
#9 - 2012-03-16 14:24:27 UTC  |  Edited by: Ravow
Hopefully it will be fixed soon, They have the same problem on the Apple supported platform.

It could be that Transgaming have copied the Wine code (and have the same bug) or...
That the bug is in the shared EVE Windows code.

Also I have found that workaround on the Mac forum, do we have that option (I'm at work so I can't check) : https://forums.eveonline.com/default.aspx?g=posts&m=942217#post942217

"The solution ist to go into the ESC menu and de-select the "Use multithreaded OpenGL" option. Restart EvE and voila, you'll have your original frame rate back."
Raath Nambode
Sebiestor Tribe
Minmatar Republic
#10 - 2012-03-16 16:38:36 UTC  |  Edited by: Raath Nambode
Ravow wrote:
Hopefully it will be fixed soon, They have the same problem on the Apple supported platform.

It could be that Transgaming have copied the Wine code (and have the same bug) or...
That the bug is in the shared EVE Windows code.

Also I have found that workaround on the Mac forum, do we have that option (I'm at work so I can't check) : https://forums.eveonline.com/default.aspx?g=posts&m=942217#post942217

"The solution ist to go into the ESC menu and de-select the "Use multithreaded OpenGL" option. Restart EvE and voila, you'll have your original frame rate back."


ok leading on from that thread I had a play and found a solution that sort of works for me.

I use the following bash file to start eve :

Quote:
#!/bin/bash
export WINEDLLOVERRIDES="msvcr100,msvcr90,msvcrt=b,n"
env WINEPREFIX="/home/###/.wine" taskset 1 wine C:\\eve\\EVE\\eve.exe


by inserting the command taskset 1 it forces it to run on a single core. By doing this my framerate has gone from 18-20 in station to 45-50 fps. So looks like the issue is to do with the way either eve or wine is handling the multi threading.

Wormhome Navigation - http://www.staticmapper.com Industrial Management - http://industry.darkshadowindustries.com Follow me on twitter https://twitter.com/staticmapper

Van Brum
One Ship Army
#11 - 2012-03-16 17:24:12 UTC  |  Edited by: Van Brum
Raath Nambode wrote:
Ravow wrote:
Hopefully it will be fixed soon, They have the same problem on the Apple supported platform.

It could be that Transgaming have copied the Wine code (and have the same bug) or...
That the bug is in the shared EVE Windows code.

Also I have found that workaround on the Mac forum, do we have that option (I'm at work so I can't check) : https://forums.eveonline.com/default.aspx?g=posts&m=942217#post942217

"The solution ist to go into the ESC menu and de-select the "Use multithreaded OpenGL" option. Restart EvE and voila, you'll have your original frame rate back."


ok leading on from that thread I had a play and found a solution that sort of works for me.

I use the following bash file to start eve :

Quote:
#!/bin/bash
export WINEDLLOVERRIDES="msvcr100,msvcr90,msvcrt=b,n"
env WINEPREFIX="/home/###/.wine" taskset 1 wine C:\\eve\\EVE\\eve.exe


by inserting the command taskset 1 it forces it to run on a single core. By doing this my framerate has gone from 18-20 in station to 45-50 fps. So looks like the issue is to do with the way either eve or wine is handling the multi threading.


Nothing happens. Still have 100% cpu load. Say something about your config please? wine version, arch, distro?

Now I lay me down to sleep(3) Pray the OS my core to keep If I die before I wake Pray the Disk my core to take

Raath Nambode
Sebiestor Tribe
Minmatar Republic
#12 - 2012-03-16 19:31:38 UTC
Van Brum wrote:
Nothing happens. Still have 100% cpu load. Say something about your config please? wine version, arch, distro?


I'm running Ubuntu 10:04
Wine 1.4 rc6

The hardware is a dell latitude M5010
4 gig ram
Tricore Phenom N850
ATI Mobility 4650

In windows with that I can run 1 client full settings or 2 clients medium settings at 60 fps, 3 clients at 40 fps on medium settings or 4 clients at 30 fps on low settings.

Soon as kids are in bed I'll try multi boxing and get back to you. Innitial tests at work before showed a marked improvement from what I had last night after locking the process to 1 core

Wormhome Navigation - http://www.staticmapper.com Industrial Management - http://industry.darkshadowindustries.com Follow me on twitter https://twitter.com/staticmapper

Dante Chusuk
Sebiestor Tribe
Minmatar Republic
#13 - 2012-04-26 13:42:58 UTC  |  Edited by: Dante Chusuk
Out of interest is anyone still getting this. Ok so my scenario is a little different (and will probably get things thrown at me) as I am getting the same symptoms (high CPU use) under similar usage scenarios (multiple clients, fixed window, native monitor res) however I am running Windows 7 64 bit.

Searching multiple different ways only brings up this thread. Raath, are you still getting noticeable improvements by setting affinity of each exefile process to an individual core?

The scenario only occurs when I have all three clients "active", i.e. if I minimise everything to desktop and bring up 2 of 3 clients it does not go into high CPU usage. Bring up the third and within 60 seconds or so framerate drops to single figures and CPU use bounces up to 60-75% from probably 10% at most.

I've not noticed this before with one of my other graphics cards (Radeon 6970) but this is after a recent swap and reinstall.

Current rig is:
Asus Crosshair IV Formula
AMD 1090t (stock speed currently)
16GB Corsair Vengeance RAM (again currently stock speeds)
EVGA GTX560ti 2Win (HyperSLI patch installed and working to get SLI on non-certified board, actually recommended by EVGA support team!)
150GB WD Raptor SATA II

I appreciate this is a Linux thread but thought the collective knowledge might help as I couldn't seem to find the same issue elsewhere!

Thanks for any assistance.

Additional: I am running three clients via the junction method described in the Wiki rather than my previous 3 separate installations I used until I got the Asus CHIV set-up last year. And maybe I am making a rod for my own back by running all three clients at high?
Van Brum
One Ship Army
#14 - 2012-04-27 19:03:33 UTC  |  Edited by: Van Brum
With new escalation update i have my CPU load about 10% with full graphics at the station. It's simply FANTASTIC. I think with low graphics eve will run at 100 fps at my casio calculator :D

Now I lay me down to sleep(3) Pray the OS my core to keep If I die before I wake Pray the Disk my core to take

Van Brum
One Ship Army
#15 - 2012-04-27 19:11:46 UTC
Dante Chusuk wrote:
The scenario only occurs when I have all three clients "active", i.e. if I minimise everything to desktop and bring up 2 of 3 clients it does not go into high CPU usage. Bring up the third and within 60 seconds or so framerate drops to single figures and CPU use bounces up to 60-75% from probably 10% at most.


Well 3 clients is a lot. With 3 clients on high settings you should run out of video memory (i doubt that same textures from different app instances unite in vram). Try to set textures to low. Try to turn off resource caching. Anyway try to install linux and start 3 clients. :D I have no problems running 3 clients on my core2duo E7200 + gtx275 box with 30fps under wine with high settings.

Now I lay me down to sleep(3) Pray the OS my core to keep If I die before I wake Pray the Disk my core to take

Bent Barrel
#16 - 2012-04-30 21:43:03 UTC
I have more changes than the last patch (updated CPUs inbetween), but since escalations patch I have much better in flight FPS (about 80% increase).

anyway EVE only has ONE worker thread under wine that does any CPU load (out of about 15 that it spawns), so setting each client to one core should help it.