[Bug 51420] Running any program in Wine causes 100% cpu usage in Xorg

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 8 02:20:25 CST 2021


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

--- Comment #43 from Sveinar Søpler <cybermax at dexter.no> ---
(In reply to Kurt Kartaltepe from comment #42)
> 
> Intel drivers freak out a bit with an eDP device on randr 1.0 but dont cause
> any significant performance impact, i dont have any other devices with to
> test on though, nor do I kid myself that nvidia would change their
> implementation of randr 1.0.

So, the patch i linked above that "forces" nVidia drivers to use randr 1.0, and
was removed by proton (possibly for this reason alone) is what is causing this
weirdness?

Does nVidia + DVI multimonitor + "forced fallback to randr 1.0" cause this
issue? 

Why do my logs with the "proton disable nvidia workaround" patch seem to
indicate randr 1.6 if it does not really work?

The text in the patch:
/* Some (304.64, possibly earlier) versions of the NVIDIA driver only
 * report a DFP's native mode through RandR 1.2 / 1.3. Standard DMT modes
 * are only listed through RandR 1.0 / 1.1. This is completely useless,
 * but NVIDIA considers this a feature, so it's unlikely to change. The
 * best we can do is to fall back to RandR 1.0 and encourage users to
 * consider more cooperative driver vendors when we detect such a
 * configuration. */

Does the values from https://bugs.winehq.org/show_bug.cgi?id=51420#c41 show why
this fallback is necessary for nVidia?

I am aware this cannot be tested on custom wine-staging with proton fshack
patches, since that does not change the resolution for the display, and just
scales everything to "native".

Any testcase i could do on wine-devel to verify that nVidia randr "does not
work"? I guess i will experiment a bit with this.. The text above and some
reports i found about this particular weirdness was from 2012, so even tho it
is currently the default, i do not know for sure it IS the actual case anymore
(although it probably is).

If i revert the "randr fallback for nvidia patch", what would happen? Would i
only be able to choose native resolution for a 3D app for instance? Guess ill
have to experiment a bit when i come home :)

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