[PR #296] [MERGED] Use latest Lutris 0.5.22 instead of 0.5.18 (fix #292) #284

Closed
opened 2026-10-15 12:50:33 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gow/pull/296
Author: @clsty
Created: 3/10/2026
Status: ✅ Merged
Merged: 3/22/2026
Merged by: @ABeltramo

Base: master ← Head: patch-lutris22


📝 Commits (5)

  • b45f914 Use latest Lutris 0.5.22 instead of 0.5.18
  • 3941cdc Clean a debug command
  • 04cc136 Sync Lutris wolf.config.toml from wolf#367
  • 44b5f94 Revert some changes for consistency
  • 1a6bd5a Add libavfilter10:i386

📊 Changes

3 files changed (+81 additions, -24 deletions)

View changed files

📝 apps/lutris/assets/wolf.config.toml (+22 -15)
📝 apps/lutris/build/Dockerfile (+41 -9)
➕ apps/lutris/build/ignore_capabilities.patch (+18 -0)

📄 Description

Note: A part of this PR is wolf#367.


Lutris v0.5.19 is the first version of Lutris that uses Proton instead of wine (yep, v0.5.18 and older ones do not), which addresses some graphical glitches and greatly improves compatibility.

Because Proton is different as Wine (specifically, Lutris calls umu-launcher to use Steam compatibility tools, i.e. Proton), issue #292 is not simple as just prevent using old cache when building image, but also need patches and permission similar as Steam.


This PR has been tested by myself. I've been using it for Lutris from v0.5.19 to v0.5.22 about a month and it works perfectly fine for me.

Another fun fact: the dev of Lutris thought that v0.5.19 is of low quality so they only provided a tag without *.deb in release of v0.5.19. I had to build Lutris v0.5.19 from source.


How to test this PR locally without affecting the original Lutris 0.5.18:

Firstly run commands:

git clone --branch patch-lutris22 https://github.com/clsty/gow-fork
cd gow-fork
docker build -t localbuilt/lutris:0.5.22 apps/lutris/build

Then in your wolf config (/etc/wolf/cfg/config.toml), add:

    [[profiles.apps]]
    icon_png_path = 'https://games-on-whales.github.io/wildlife/apps/lutris/assets/icon.png'
    start_virtual_compositor = true
    title = 'Lutris22'

        [profiles.apps.runner]
        base_create_json = '''{
  "HostConfig": {
    "IpcMode": "host",
    "CapAdd": ["SYS_ADMIN", "SYS_NICE", "SYS_PTRACE", "NET_RAW", "MKNOD", "NET_ADMIN"],
    "SecurityOpt": ["seccomp=unconfined", "apparmor=unconfined"],
    "Ulimits": [{"Name":"nofile", "Hard":524288, "Soft":524288}],
    "Privileged": false,
    "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"]
  }
}
'''
        devices = []
        env = [ 'RUN_SWAY=1', 'GOW_REQUIRED_DEVICES=/dev/input/event* /dev/dri/* /dev/nvidia* /var/lutris/' ]
        image = 'localbuilt/lutris:0.5.22'
        mounts = [ 'lutris22:/var/lutris/:rw' ]
        name = 'WolfLutris22'
        ports = []
        type = 'docker'

Finally, restart wolf, connect to wolf and start "Lutris22".


Other notices:

  1. For a windows game, right-click to popup its menu and "Configure", then
    • In "Runner options", just use the latest GE-Proron (latest) should be fine.
    • "Enable DXVK" and/or "Enable D3D Extras" need to be turned off/on for some games. There're 4 possibilities (on+on, on+off, off+on, off+off).
    • "Prefer system libraries", normallly just leave it as "on" which is the default value.
  2. Gamescope is not 100% stable thing and if you find it producing error about xdg_surface ..., just restart the WolfLutris container and retry. If it still does not work then maybe you can only run the game without Gamescope.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gow/pull/296 **Author:** [@clsty](https://github.com/clsty) **Created:** 3/10/2026 **Status:** ✅ Merged **Merged:** 3/22/2026 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `master` ← **Head:** `patch-lutris22` --- ### 📝 Commits (5) - [`b45f914`](https://github.com/games-on-whales/gow/commit/b45f914efc8f681c06d581864363461274a7deb4) Use latest Lutris 0.5.22 instead of 0.5.18 - [`3941cdc`](https://github.com/games-on-whales/gow/commit/3941cdc48671013ba69b676cc0e5cf34f15ddf43) Clean a debug command - [`04cc136`](https://github.com/games-on-whales/gow/commit/04cc1367027a6abbef6f9924a433bdaf9de19be4) Sync Lutris wolf.config.toml from wolf#367 - [`44b5f94`](https://github.com/games-on-whales/gow/commit/44b5f94a5128667ff372717de7a9f99fab5ef80f) Revert some changes for consistency - [`1a6bd5a`](https://github.com/games-on-whales/gow/commit/1a6bd5a43ab431090fde50b381efe6ff89bd7fa8) Add libavfilter10:i386 ### 📊 Changes **3 files changed** (+81 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `apps/lutris/assets/wolf.config.toml` (+22 -15) 📝 `apps/lutris/build/Dockerfile` (+41 -9) ➕ `apps/lutris/build/ignore_capabilities.patch` (+18 -0) </details> ### 📄 Description **Note**: A part of this PR is [wolf#367](https://github.com/games-on-whales/wolf/pull/367). --- Lutris v0.5.19 is [the first version of Lutris that uses Proton instead of wine](https://www.gamingonlinux.com/2025/02/lutris-game-manager-v0-5-19-released-with-improved-proton-support/) (yep, [v0.5.18 and older ones do not](https://github.com/lutris/lutris/discussions/4227)), which addresses some graphical glitches and greatly improves compatibility. Because Proton is different as Wine (specifically, Lutris calls umu-launcher to use Steam compatibility tools, i.e. Proton), issue #292 is not simple as just prevent using old cache when building image, but also need patches and permission similar as Steam. --- This PR has been tested by myself. I've been using it for Lutris from v0.5.19 to v0.5.22 about a month and it works perfectly fine for me. > Another fun fact: [the dev of Lutris thought that v0.5.19 is of low quality](https://github.com/lutris/lutris/issues/5943) so they only provided a tag without `*.deb` in release of v0.5.19. I had to build Lutris v0.5.19 from source. --- **How to test this PR locally without affecting the original Lutris 0.5.18:** Firstly run commands: ```sh git clone --branch patch-lutris22 https://github.com/clsty/gow-fork cd gow-fork docker build -t localbuilt/lutris:0.5.22 apps/lutris/build ``` Then in your wolf config (`/etc/wolf/cfg/config.toml`), add: ```toml [[profiles.apps]] icon_png_path = 'https://games-on-whales.github.io/wildlife/apps/lutris/assets/icon.png' start_virtual_compositor = true title = 'Lutris22' [profiles.apps.runner] base_create_json = '''{ "HostConfig": { "IpcMode": "host", "CapAdd": ["SYS_ADMIN", "SYS_NICE", "SYS_PTRACE", "NET_RAW", "MKNOD", "NET_ADMIN"], "SecurityOpt": ["seccomp=unconfined", "apparmor=unconfined"], "Ulimits": [{"Name":"nofile", "Hard":524288, "Soft":524288}], "Privileged": false, "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"] } } ''' devices = [] env = [ 'RUN_SWAY=1', 'GOW_REQUIRED_DEVICES=/dev/input/event* /dev/dri/* /dev/nvidia* /var/lutris/' ] image = 'localbuilt/lutris:0.5.22' mounts = [ 'lutris22:/var/lutris/:rw' ] name = 'WolfLutris22' ports = [] type = 'docker' ``` Finally, restart wolf, connect to wolf and start "Lutris22". --- Other notices: 1. For a windows game, right-click to popup its menu and "Configure", then - In "Runner options", just use the latest GE-Proron (latest) should be fine. - **"Enable DXVK" and/or "Enable D3D Extras" need to be turned off/on for some games.** There're 4 possibilities (`on+on`, `on+off`, `off+on`, `off+off`). - "Prefer system libraries", normallly just leave it as "on" which is the default value. 2. Gamescope is not 100% stable thing and if you find it producing error about `xdg_surface ...`, just restart the WolfLutris container and retry. If it still does not work then maybe you can only run the game without Gamescope. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:50:33 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#284
No description provided.