[Bug 45761] High CPU usage in some games

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 5 06:24:48 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45761

--- Comment #9 from Henri Verbeet <hverbeet at gmail.com> ---
(In reply to Lunknown from comment #6)
> Also i would like to add that i tried adding this to the registry
> 
> HKCU/Software/Wine/Direct3D/CSMT=disabled 
> 
> but i still get high cpu usage.

The "csmt" registry key is a DWORD value, not a string. Set it to 0 (DWORD) to
disable CSMT. See also https://wiki.winehq.org/Useful_Registry_Keys.

(In reply to Andrew Wesie from comment #7)
> This intentional behavior has become apparent to me as well over the past
> two weeks, but I don’t think it is obvious to regular users that one CPU
> core may constantly spin loop if their GPU is slow (e.g. waiting on present
> or space in the queue).

We've been working on optimising resource maps, but it's tricky to get right.
Once those land though, we should also be able to reduce spin counts as well,
since the CS thread stalling should become much rarer under normal
circumstances. Likewise, it may become more reasonable to wait on an event in
e.g. wined3d_cs_emit_present() at that point.

Ultimately though, that's going to help applications that don't spend all that
much time rendering. CPU usage is still expected to be higher than without CSMT
on average, simply because we're expected to be pushing more work to the GPU.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list