Skip to content

docs/testing.md: run the Windows runtime tests with UMU-Proton's wine - #9160

Closed
SkippySteve wants to merge 1 commit into
ProjectLeonida:mainfrom
SkippySteve:docs-umu-proton-wine
Closed

SkippySteve wants to merge 1 commit into
ProjectLeonida:mainfrom
SkippySteve:docs-umu-proton-wine

Conversation

@SkippySteve

Copy link
Copy Markdown
Contributor

Adds a short UMU-Proton's wine subsection to docs/testing.md, after "Proton's wine" (claim: #8868 (comment)).

The Proton recipe assumes a Steam install (steamapps/common/Proton 11.0, proton run, STEAM_COMPAT_*). With umu-launcher it works differently:

  • UMU-Proton is under compatibilitytools.d/UMU-Proton-<version> and has only files/bin/wine, no wine64.
  • One umu-run creates the prefix and installs vkd3d-proton and DXVK in it. There is no proton run step and no STEAM_COMPAT_* setup.
  • umu uses WINEPREFIX itself as the prefix and adds a pfx -> . link, so the same folder is ctest's WINEPREFIX. Without WINEPREFIX the prefix is ~/Games/umu/$GAMEID.

How it was checked (Arch Linux, UMU-Proton 11.0-2e / wine-11.0, RTX 2060 SUPER on NVIDIA 615.78.08, Wayland through XWayland, main 867d922f0):

  • umu-run cmd /c exit 0 with a new WINEPREFIX: rc 0. The folder is created with pfx -> ., and d3d12.dll, d3d12core.dll and dxgi.dll are in system32.
  • I ran the documented cmake, build and ctest lines. The build needs Vulkan headers; I passed -DFETCHCONTENT_SOURCE_DIR_VULKANHEADERS to a local copy of the pinned release. Result: 272 tests registered, 271 run, 225 passed, 30 skipped, 1 disabled, 16 failed. These counts are from re-running the failed tests one at a time; with -j4, d3d12_trace also failed. The doc lists the 16 by kind: mismatches with the host or WARP (vkd3d-proton), the two present tests, four command-list refusals or exits in the layer, and three CPU tests (gameinput_host, file_system's MAXIMUM_ALLOWED cases, run_startup_cmdline). I did not compare against a plain Wine build on this machine, so the doc does not say whether those three are specific to UMU.
  • tests/test_docs_links.py, test_docs_cli_flags.py and test_docs_design_rows.py give the same failures before and after this change. Those failures are already red on main and are owned elsewhere.

Docs only. No game files; synthetic runtime tests only. AI-assisted (Claude).

umu-launcher users have UMU-Proton under compatibilitytools.d with only
files/bin/wine, no proton run step and a prefix that is WINEPREFIX itself
(pfx links back to it). Give the umu-run, CMake and ctest lines for it and
the counts measured at 867d922 on an RTX 2060 SUPER.
@YordiLorenzo

Copy link
Copy Markdown

Tested 3db3012 on Linux, Python 3.14.4: pass

test_docs_repo_paths, repeated_lines, table_rows, list_items, env_vars: OK
test_docs_links: same failure as main, none in testing.md
check_no_game_data.py on the page: clean
All 16 failing test names exist in runtime/CMakeLists.txt, 225 + 30 + 16 is the 271 run, and the toolchain's XWIN_DIR matches.

@crastinator crastinator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the umu steps on a second machine, and mapped the 16 failures to open PRs.

AMD Radeon RX 6700 XT (RADV Mesa 26.3.1), CachyOS Linux 7.3.5, umu-launcher 1.4.3, niri (Wayland, XWayland).

The umu mechanics hold. I ran WINEPREFIX=<new folder> GAMEID=umu-default PROTONPATH=<Proton> umu-run cmd /c exit 0 with PROTONPATH pointing at the proton-cachyos-slr 11.0 build instead of UMU-Proton (umu takes any Proton there). It exited 0, created the folder with pfx -> . and pfx.lock, and put d3d12.dll, d3d12core.dll and dxgi.dll in system32. That Proton's files/bin/wine then ran in the same WINEPREFIX. So the section holds beyond UMU-Proton, and saying that PROTONPATH can name any installed Proton might help.

The 16 failures all have open fixes. With Proton CachyOS 11.0 and Proton Experimental 11.0 through files/bin/wine, I get the same picture as your list on AMD. Each one I checked has an open PR that fixes it under Wine and Proton here:

Failure in the list Open PR
d3d12_heap_properties, d3d12_residency, d3d12_indirect_dispatch_count #4362
d3d12_pipeline_library_host #7210
dxgi_swapchain #4704 + 0klavair#2 (a second host comparison #4704 alone still hits)
d3d12_clear #8703
d3d12_clear_formats, d3d12_noop_copy #6500
xbox_present, d3d12_present ("a swapchain of another size") #4803, #4824 (a tiling compositor resizes the test window)
d3d12_vulkan_device #7125
d3d12_depth_resolve #7905 or #7930
gameinput_host #7452 (or #4362)
run_startup_cmdline #8188
file_system (MAXIMUM_ALLOWED) #5617

Two more show up under Proton on AMD that aren't in your NVIDIA list: d3d12_texture_tiles (vkd3d-proton loses the device in the reference run; #9679) and, with -j4 only, a d3d12_xdxr_rt timeout that passes when run alone (1.3 s). Since most of the list will go away as those PRs land, it could be worth saying the list is as of 867d922f0.

AI-assisted (Claude Code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants