Dual core problems

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Sqwelch
Newbie
Newbie
Posts: 4
Joined: Sun Mar 08, 2009 2:22 pm

Dual core problems

Post by Sqwelch »

Hi all

Having problems with dual core in wine. It seems that every application I use through wine only uses 1 core. Any thorghts on how I can implement the wine apps to use both cores??

Native Linix apps use both cores generally. The DXDiag in wine also shows the 2 cores
Apps Im trying

Red Alert 3
HL2 + DM
X3

I know these use both cores in windows
I do also use wow in wine but I know theres is a problem with dual on that.

Wine version, 1.1.16
Ubuntu 8.10
AMD 6000+ x64

Any help would be great
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Dual core problems

Post by vitamin »

Sqwelch wrote:Having problems with dual core in wine. It seems that every application I use through wine only uses 1 core.
How do you know that? What apps? You sure they know how to use multiple cores to begin with?
Sqwelch
Newbie
Newbie
Posts: 4
Joined: Sun Mar 08, 2009 2:22 pm

Post by Sqwelch »

System Monitor open, Look at the app, E.g HL2.exe, Uses only 50% never exceeds. Graphs show 1 core using 100% other using basically nothing. (Say basically cos theres usually about 1-5% for ubuntu system processes, advance desktop, etc)
In windows, Task manager clearly shows the process evenly balanced on each core.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sqwelch wrote:System Monitor open, Look at the app, E.g HL2.exe
HL2 was never able and still can not use more then one core. Get your facts straight before blaming something on Wine that programs themselves can't do.
Sqwelch
Newbie
Newbie
Posts: 4
Joined: Sun Mar 08, 2009 2:22 pm

Post by Sqwelch »

vitamin wrote:
Sqwelch wrote:System Monitor open, Look at the app, E.g HL2.exe
HL2 was never able and still can not use more then one core. Get your facts straight before blaming something on Wine that programs themselves can't do.
Well sorry for asking for some help. Maybe that HL cannot use multicore, yet on windows it does, However I'm sure that redalert 3 uses multicore as its apart of their recommended specs, This also utilises multi core on windows also. Perhaps I've got a setting wrong on wine? DXdiag on wine tho does detect dual core. Helpfull advice appreciated, ranting to a noob not :(
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sqwelch wrote:However I'm sure that redalert 3 uses multicore as its apart of their recommended specs, This also utilises multi core on windows also.
Wine as well as Linux video drivers work totally different then windows. So don't expect to see same things as on windows.
And yes Wine's d3d is single threaded.
Sqwelch
Newbie
Newbie
Posts: 4
Joined: Sun Mar 08, 2009 2:22 pm

Post by Sqwelch »

Thanks for the info :)
Well the games and apps are working enough anyways. I did read that Linux tends to use one core before moving to the other one and heard that windows has a tendency of showing a balance but physically its only using one core untill the other is atually needed. Good jobs btw to the developers of wine as some of the apps I'm using through wine crash on windows due to me having 64bit vista. Go vista is all I can say lol.

One question I'd like to ask, What would happen If we copied the entire system 32 file from windows into the wine directory? (Obviously say no to overriding existing files).
I haven't tried this but I was wondering what the result would be / if any1 has done this.
John Drescher

Dual core problems

Post by John Drescher »

One question I'd like to ask, What would happen If we copied the entire system 32 file from windows into the wine directory? (Obviously say no to overriding existing files).
Most things would break.

John
James Mckenzie

Dual core problems

Post by James Mckenzie »

Sqwelch <[email protected]> wrote on March 9th:
Sent: Mar 9, 2009 8:26 AM
To: [email protected]
Subject: [Wine] Re: Dual core problems


One question I'd like to ask, What would happen If we copied the entire system 32 file from windows into the wine directory? (Obviously say no to overriding existing files).
I haven't tried this but I was wondering what the result would be / if any1 has done this.
This will break your ability to run Wine. Only copy over native (Windows) dlls when you need
to use native code. This is best done by using Dan Kegel's Winetricks. This script attempts
to set the appropriate dlls to native, builtin so you don't have to.

James McKenzie
Locked