Going Medieval (1029780)

オープン
#10,385 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp, linux
領域
desktop

調査の方向性

This is a deep Wine/X11 input investigation, not a scoped edit: the payload names no file or test, only the reproduction and the xinput workaround. Start by reproducing the Steam↔game focus round trip and capturing the WINEDEBUG=+rawinput trace and xinput list-props snapshots broken and after the slave-pointer cycle, then compare what Wine sees at the focus transition. Done means pan/rotate survive focus changes without manually re-enumerating xwayland-relative-pointer. Expect to touch Wine's X11 raw-input device handling, so treat it as long-running.

索引モデルが issue の本文から書いたものです。

説明

Game compatibility - Unofficial

Compatibility Report

  • Name: Going Medieval
  • Steam AppID of the game: 1029780

System Information

  • GPU: AMD Radeon RX 7800 XT (NAVI32, RADV/ACO)
  • Video driver version: Mesa 26.1.6 (radv), kernel DRM 3.64
  • Kernel version: 7.2.15-76070215-generic (Pop!_OS 24.04 LTS)
  • Link to full system information report as Gist: https://gist.github.com/tsavercool/5c68718cd71edd7c8b950a99431d1339
  • Proton version: Proton Experimental experimental-11.0-20261112-x86_64; also reproduced on Proton 9.0 (Beta)

Additional environment notes:

  • Session: COSMIC on Wayland, game runs as an X11 client under Xwayland 24.1.13 (DISPLAY=:1)
  • Compositor: cosmic-comp 0.1179450437724.04f2beba6 (updated 2026-11-15 10:01; previous build 0.1179431057724.0466524a0)
  • Display: 7680x1440 desktop, 5120x1440 @ 120 Hz primary; game windowed at 1920x1080, D3D11 via DXVK
  • Steam client updated 2026-11-15 15:32 (first client update since 2026-10-25)
  • Steam Overlay disabled for this app (OverlayAppEnable "0"); Steam Input config disabled

I confirm:

  • [X ] that I haven't found an existing compatibility report for this game.
  • [ X] that I have checked whether there are updates for my system available.

steam-1029780.log

Symptoms

Switching focus between the Steam client window and the game window (both X11 under Xwayland) leaves the game unable to use mouse-drag camera controls. Middle-mouse pan and right-mouse rotate move the camera only a few pixels ("invisible wall"), and the camera snaps back to its original orientation when the button is released, as if the drag were cancelled.

What still works in the broken state: cursor movement and absolute position, clicks, UI hover, scroll zoom, and all keyboard input (WASD, hotkeys). Only mouse deltas are dead.

Notes:

  • The game can also start already broken, without any in-session focus change after launch.
  • Relaunching the game does not reliably clear it; a reboot does.
  • No crash, and no related error in Player.log.
  • To support tech - I am more reporting this for fear that it could impact future Linux compatibility.

What was ruled out:

  • Steam Overlay disabled for the app — still reproduces
  • steam -cef-disable-gpu — still reproduces
  • Proton version/prefix: reproduces on Proton Experimental 11.0-20261112 and on Proton 9.0 (Beta) with a freshly created prefix
  • Hardware, remappers, OBS hooks, Steam Input, monitor layout/scaling, window mode, in-game settings

Evidence collected:

  • xinput test-xi2 --root during a broken drag shows a healthy XInput2 stream (1307 RawMotion events + 26 button events over one drag), so events reach the X server/Xwayland correctly; Wine is not converting them into game deltas.
  • X11 input focus is correctly on the game window (XGetInputFocus returns the game window, revert=2).
  • Cycling the XInput slave pointer devices (xwayland-pointer:64, xwayland-relative-pointer:64) with xinput disable/enable while the game is running instantly restores pan/rotate — i.e. forcing Wine to re-enumerate input devices clears the fault. The master Virtual core pointer cannot be cycled (BadAccess, XInput minor 57).
  • Since an XInput hierarchy change is also what a reboot performs, this points to Wine's X11 raw-input device state going stale after focus transitions.

Workaround (run while the game is open):

#!/bin/sh
export DISPLAY="${DISPLAY:-:1}"
for id in $(xinput list | sed -n 's/.*xwayland-\(relative-\)\{0,1\}pointer:[0-9]*.*id=\([0-9][0-9]*\).*/\2/p'); do
    xinput disable "$id"; sleep 0.6; xinput enable "$id"; sleep 0.6
done

Reproduction

  1. Launch Going Medieval from Steam on a Wayland session (COSMIC), windowed.
  2. Confirm middle-mouse pan and right-mouse rotate work.
  3. Click the Steam client window (library or chat pane).
  4. Click back into the game window.
  5. Middle-drag to pan, right-drag to rotate — motion is effectively zero and the camera snaps back on release.
  6. Run the workaround above — pan/rotate work again immediately; repeat step 3–4 to break it again.

Related observation: in some sessions the same break occurs after switching focus to a Wayland-native application instead of Steam, and in those sessions a Steam↔game round trip cures it, so the trigger is a focus transition rather than the Steam client specifically.

Attachments available on request: $HOME/steam-1029780.log from a PROTON_LOG=1 launch, xinput list / xinput list-props captured broken and after the workaround, and a WINEDEBUG=+rawinput trace with the focus transition and device cycle marked.

主要言語
C++
スター
33.4k
フォーク
1.8k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ValveSoftware/Proton のほかの issue

ValveSoftware/Proton の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。