pixrt10.dll: PixDllInitialize / PixDllInitializeFromTitle #4

Open
opened 2026-11-26 06:06:58 +00:00 by github-bot · 1 comment
Owner

@⁠omonkeyz on GitHub · 2026-11-21 16:52 UTC · original

Crate: crates/compat/pixrt10

Missing exports: PixDllInitialize, PixDllInitializeFromTitle.

Notes: Large: FromTitle builds the PIX InteractiveRuntime (~329 functions in the 22000 build) with three threads, and connects over Xbtp service 0x1080 through the in-process link device. Three console builds differ (19041 / 22000 / 22621). Only loaded when \\.\XgsKmd10 opens.

The export rows are marked missing in each crate's exports.txt. Read CONTRIBUTING.md first: console behaviour, tests, no fake success, no game files or binaries in the PR. Comment here to claim it so work isn't duplicated.

**@⁠omonkeyz** on GitHub · 2026-11-21 16:52 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/4) **Crate:** `crates/compat/pixrt10` **Missing exports:** PixDllInitialize, PixDllInitializeFromTitle. **Notes:** Large: FromTitle builds the PIX InteractiveRuntime (~329 functions in the 22000 build) with three threads, and connects over Xbtp service 0x1080 through the in-process link device. Three console builds differ (19041 / 22000 / 22621). Only loaded when `\\.\XgsKmd10` opens. The export rows are marked `missing` in each crate's `exports.txt`. Read [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md) first: console behaviour, tests, no fake success, no game files or binaries in the PR. Comment here to claim it so work isn't duplicated.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:06:59 +00:00
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-23 16:05 UTC · original

I found and fixed a DLL-reference leak in pixie_entry_points on commit f89e4106fe. The probe loaded d3d12_xs.dll without releasing its reference on success or validation failure.

The attached patch adds scoped cleanup and a synthetic-DLL regression test. The test fails before the fix and passes afterward, including checks that caller-owned references remain valid.

The PIX suites reported 37 passes, and the PR gate passed. Console-fixture validation was unavailable. This addresses a small part of #4; it doesn’t complete runtime teardown.

issue-4-pr-draft.txt
issue-4-pixrt-test-results.txt
issue-4-regression-after.txt
issue-4-pixie-module-cleanup.patch
issue-4-regression-before.txt

**@⁠BaggyALPHA** on GitHub · 2026-11-23 16:05 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/4#issuecomment-7106580481) I found and fixed a DLL-reference leak in pixie_entry_points on commit f89e4106fe8a1728515afa34ceb5097132cadcda. The probe loaded d3d12_xs.dll without releasing its reference on success or validation failure. The attached patch adds scoped cleanup and a synthetic-DLL regression test. The test fails before the fix and passes afterward, including checks that caller-owned references remain valid. The PIX suites reported 37 passes, and the PR gate passed. Console-fixture validation was unavailable. This addresses a small part of #4; it doesn’t complete runtime teardown. [issue-4-pr-draft.txt](https://github.com/user-attachments/files/35285302/issue-4-pr-draft.txt) [issue-4-pixrt-test-results.txt](https://github.com/user-attachments/files/35285303/issue-4-pixrt-test-results.txt) [issue-4-regression-after.txt](https://github.com/user-attachments/files/35285305/issue-4-regression-after.txt) [issue-4-pixie-module-cleanup.patch](https://github.com/user-attachments/files/35285304/issue-4-pixie-module-cleanup.patch) [issue-4-regression-before.txt](https://github.com/user-attachments/files/35285301/issue-4-regression-before.txt)
This discussion has been locked. Commenting is limited to contributors.
No description provided.