|
|
|
|
|
by foxfluff
1637 days ago
|
|
> What I understand is that proton is a layer/adapter to run windows games and should create a FPS hit Your understanding is wrong. It's largely a reimplementation of Windows APIs. Those implementations can perform better or worse than the real thing depending on quality of implementation and the underlying OS. Some games will perform better on Linux. Some will perform worse. Some are about equal. |
|
System calls are also something that would require an additional layer, as the required Linux system calls need to be made in addition to intercepting the Windows system calls in Wine code. Some other APIs in Wine may also be implemented on top of corresponding Linux APIs rather than just being standalone replacements for Windows code.
The majority of code in Wine is probably just reimplementations of Windows APIs, which could be thought of as being parallel to the Windows implementations rather than layers between a Windows API and a Linux one, so you're correct there.
I'd generally expect there to be a performance hit on average, but as you said, it doesn't always happen, and it's not as large as one might expect if thinking about an emulator or something similar.