mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1121
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1086
Author: @azsekazvamdimitar
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:linux📝 Commits (6)
f058ccevk_device_filter_tools: run the tools through the cross build's emulatored61f61dxgi tests: show the window before presenting841b019xbox_present: do not count skipped presents when the window cannot stay minimised9d8ecb9gta6rt: keep a copy of the DllMain failure instead of an exception_ptrd284a3bhost comparisons: skip WARP references that are Wine's vkd3df23f135file_system test: accept two host answers that are Wine's own📊 Changes
10 files changed (+73 additions, -26 deletions)
View changed files
📝
runtime/CMakeLists.txt(+6 -1)📝
runtime/src/main.cpp(+8 -4)📝
runtime/test/check_device_filter_tools.py(+15 -9)📝
runtime/test/d3d12_clear_formats_test.cpp(+2 -0)📝
runtime/test/d3d12_clear_test.cpp(+4 -0)📝
runtime/test/d3d12_pipeline_library_host_test.cpp(+5 -3)📝
runtime/test/dxgi_host_answers_test.cpp(+7 -3)📝
runtime/test/dxgi_waitable_latency_test.cpp(+7 -3)📝
runtime/test/file_system_test.cpp(+10 -1)📝
runtime/test/xbox_present_test.cpp(+9 -2)📄 Description
Claimed in the coordination issue as: TEST-WINE-PROTON-LEFTOVERS (claim)
What and why
The runtime tests that still fail under Wine and Proton on
main, apart from what #983, #913 and #977 cover. One commit per topic:mainvk_device_filter_toolsvk_device_filter_toolscheck_device_filter_tools.pyruns the cross-built.exedirectly,Exec format erroron a Linux host--runner, and CMake passesCMAKE_CROSSCOMPILING_EMULATORas the neighbouring tests dogta6rtrun_startup_cmdline(fail_init, Proton)gta6rtprintsUnknown exceptioninstead ofDllMain returned FALSE: Wine 11.0'srethrow_exceptionthrows the stored object itself, which theexception_ptrlocal frees while the throw unwindsmain.cppkeeps astd::runtime_errorcopy and throws thatdxgi testsdxgi_host_answers,dxgi_waitable_latencySW_SHOWNOACTIVATE, asvk_presenter_syncdoesxbox_presentxbox_presentSW_MINIMIZEholds only until the compositor's next configure (Wayland has no minimised state), so no present is skippedfile_systemfile_systemReadFileinto a reserve-only view succeeds, and Wine's short search for*.?.listsmesh.txt*.?.reference is skipped when the host listsmesh.txt. The shim's checks still run. The six MAXIMUM_ALLOWED failures are #977'shost comparisonsd3d12_clear,d3d12_clear_formats,d3d12_pipeline_library_hosthost_wine.hskips the host reference under Wine;d3d12_clearstill runs the layer's own checkWindows behaviour is unchanged except in
gta6rt, where the same error is now thrown from a copy.Tested
Cross-built on Linux (Debian 13, Docker Ubuntu 26.04) with clang-cl 21.1.8 and xwin (MSVC 14.44), rebased on
main6555c7c4f.Under WineHQ 11.22 (winewayland) and GE-Proton11-14 (Wine 11.0, winex11 through XWayland,
d3d12/dxgifrom its vkd3d-proton and DXVK):vk_device_filter_tools,d3d12_pipeline_library_host,run_startup_cmdline: pass on both;d3d12_clear,d3d12_clear_formats: skip on both. Natively on Linuxvk_device_filter_toolspasses too. Before themain.cppchange,run_startup_cmdlinefailed on GE-Proton (fail_initprintedUnknown exception).file_system: the two checks here pass (oneSKIPline for*.?.) on both; the test still fails on the six MAXIMUM_ALLOWED checks, which #977 covers.dxgi_host_answers,dxgi_waitable_latency,xbox_present(andvk_presenter_syncalongside): pass on both, with the desktop unlocked (on6555c7c4fdxgi_waitable_latencytimed out once under WineHQ, then passed 3 of 3 with--repeat until-fail:3). Under winewaylandxbox_presentprints the minimised case as not checked; under winex11 it is checked as before.xbox_present's 60 Hz timing check fails, with or without this branch.GPUs tested: NVIDIA GeForce RTX 3090, driver 590.48.01, Linux 6.12 (KDE Plasma Wayland).
AI-assisted: yes (Claude).
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (No translator change.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.