mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1168] runtime: say why slot 133 refuses and which device the proxy wraps (RT-SLOT133-HINT) #1200
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#1200
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/1168
Author: @Daolyap
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:rt-slot133-hint📝 Commits (1)
7b5cf3bruntime: say why slot 133 refuses and which device the proxy wraps (RT-SLOT133-HINT)📊 Changes
2 files changed (+24 additions, -6 deletions)
View changed files
📝
runtime/shims/d3d12_xs.cpp(+12 -5)📝
runtime/shims/d3d12_xs_device.cpp(+12 -1)📄 Description
Item: RT-SLOT133-HINT (claimed in #14).
Why
With the default backend (no
LEONIDA_D3D12), device slot 133 (CreatePlacedResourceX) has no handler behind thehost's D3D12 device and returns
E_NOTIMPLwithout logging anything. The retail 1.0.2.1 title takes that as a failedgraphics init and stops at an
int3atgame_scarlett_master.exe+0x19f4f58about 4.5 s in. The last line in the logis the slot's "first call", with nothing pointing at the cause. Only the Vulkan device registers the slot 133 handler
(
d3d12_vulkan_device.cpp,Device::Device).D3D12XboxCreateDevicealso printed "wrapping the PC ID3D12Device" before picking the backend, so the line was wrongunder
LEONIDA_D3D12=vulkan.Change
d3d12_xs_device.cpp: a one-time stderr hint when slot 133 refuses for lack of a handler, namingLEONIDA_D3D12=vulkan.d3d12_xs.cpp: the proxy line names the device actually wrapped (host PC device or Vulkan device).Log-only. Return values and behaviour are unchanged.
Tested
ctest -R "xs|proxy|placed": 14/14 pass. A full ctest before the change gave 305/308; the 3 failures (ExecuteIndirect / indirect RT) are unrelated and listed in #14.gta6rt --runon the retail 1.0.2.1 exe, default backend: both new lines appear, followed by the sameint3as before.AI-assisted (Claude Code).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.