tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 129 forks source link

More ajustement for wine compatibility #605

Open nda-cunh opened 2 years ago

nda-cunh commented 2 years ago

image

Add on ajustement for wine[32|64] compatibility layer the variable environnement:

WINEESYNC= 1|0 WINEFSYNC= 1|0 WINEFSYNC_FUTEX2= 1|0

like proton ajustement

nda-cunh commented 2 years ago

I have make this file wine.json

all that is needed is to move it here "/data/share/tweaks" and finally to modify the meson file so that it installs it with :). I did not put WINEFSYNC_FUTEX2 because I am waiting for your opinion on it, Since it requires a linux kernel 5.16 to work

[
    {
        "id": "wine_esync",
        "name": "Wine: Enable esync",
        "description": "Enable eventfd-based in-process synchronization primitives",
        "url": "https://github.com/ValveSoftware/Proton#runtime-config-options",
        "applicable_to": {
            "platforms": ["windows"],
            "compat": ["wine"]
        },
        "env": {
            "WINEESYNC": "1"
        }
    },
    {
        "id": "wine_fsync",
        "name": "Wine: Enable fsync",
        "description": "Enable futex-based in-process synchronization primitives",
        "url": "https://github.com/ValveSoftware/Proton#runtime-config-options",
        "applicable_to": {
            "platforms": ["windows"],
            "compat": ["wine"]
        },
        "env": {
            "WINEFSYNC": "1"
        }
    }
]
Lucki commented 2 years ago

Tweaks are defined with JSON (.json) files under the tweaks/ directory in GameHub's configuration directory, e.g. $HOME/.config/com.github.tkashkin.gamehub/tweaks.

The refactor will have a much more advanced tweak system and also a few more built in.

nda-cunh commented 2 years ago

Approximately when is the refactoring planned?