This reverts commit aba1a41c5c5d430b40466d4f347aad47c5087663.
Per [1], the performance disparity has been fixed in Linux 5.3.
The hack also made vkGetCalibratedTimestampsEXT calibrate to the wrong clock, since the code to choose the time domain was designed to mirror upstream Wine behavior. A possible fix is to mirror the hack over to vkGetCalibratedTimestampsEXT, however since Linux 5.3 has been around for a while, removing the hack seems to be the better option.
Thanks! Makes a lot of sense to revert this now. 5.3 was a long time ago already. I've merged this into the experimental tree, it should show up in bleeding-edge soon.
This reverts commit aba1a41c5c5d430b40466d4f347aad47c5087663.
Per [1], the performance disparity has been fixed in Linux 5.3.
The hack also made vkGetCalibratedTimestampsEXT calibrate to the wrong clock, since the code to choose the time domain was designed to mirror upstream Wine behavior. A possible fix is to mirror the hack over to vkGetCalibratedTimestampsEXT, however since Linux 5.3 has been around for a while, removing the hack seems to be the better option.
[1] https://lore.kernel.org/linux-arm-kernel/20190621095252.32307-1-vincenzo.frascino@arm.com/