[Bug 48386] Some CPU features are not reported for Intel CPU (Detroit: Become Human is affected)

WineHQ Bugzilla wine-bugs at winehq.org
Wed Feb 19 13:00:46 CST 2020


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

--- Comment #3 from Paul Gofman <gofmanp at gmail.com> ---
(In reply to Matteo Bruni from comment #2)
> (In reply to Matteo Bruni from comment #1)

> Actually, I don't know if that patch is enough to fix this bug. Paul, is
> that the case?

Yes, I tested Detroit Become Human still works this way.

My initial patch had more things in it but they are either not quite correct
(1) or not needed (2), so I cleaned those for upstream after testing.

1. Additional bits from cpuid on Intel pulled from AMD branch.
    Those are actually AMD specific. They seem to be always 0 on Intel (so it
has no effect), but relying on them seems not quite correct as Intel manual
refers those as reserved.

2. PF_RDWRFSGSBASE_AVAILABLE processor feature
    This CPU feature is available on Windows on real hardware (at least where I
tested it) but is not available under VMs (testbot and my local VirtualBox).
There is cpuid flag for that which is set on Windows but is not set on Linux
(Linux denies rdfsbase / rdgsbase through machine status word). So adding that
was a bit not straightforward and as soon as I figured it is not actually
needed here I thought it can wait until some application wants that.

-- 
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