upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 04:03:48 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 04:03:48 +0100
commit78a810cea03bb8128436555f89cd4d07a18f7bf2 (patch)
tree02d6a0d2c48a2919e52afc751c34c2fc918aa7fe /tests/test_run_gpu_tests_python_assembler.py
parentefa45bab9a54bb1315ec3f1970645fce0f4c944d (diff)
launcher: PLAY fetches the files the card needs (DLSS or AMD's FSR 3 DLLs); Tools fetches AMD FidelityFX; "FSR 3"
- d3d12/scripts/get-amd-fidelityfx.ps1 (and Get-AMD-FidelityFX.cmd): AMD's two signed DLLs FSR 3 frame generation needs, amd_fidelityfx_loader_dx12.dll (39 184 bytes) and amd_fidelityfx_framegeneration_dx12.dll (29 679 376), from FidelityFX SDK v2.4.0's Kits/FidelityFX/signedbin on AMD's GitHub (the SDK whose structure versions fsr.rs speaks: frame generation 4.0.2, its DX12 swap chain 4.0.0) into amd-sdk\FidelityFX\bin, the folder play-nvidia.ps1 reads. Each is kept only with its pinned size and git blob hash and a valid Authenticode signature of Advanced Micro Devices, both or neither; AMD's licence (docs/license.md) is saved beside them. amd-sdk/ is git-ignored. - Tools > Fetch AMD FidelityFX files, with a confirmation naming the size. - needed_files(card): the DLSS fetch on an NVIDIA RTX card without NVIDIA's files, the FidelityFX fetch on a card DLSS frame generation does not run on (not an RTX 40 or 50, play-nvidia.ps1's own test) without AMD's DLLs; none for an unread card or off Windows, none once the files are there. With the new setting "Download the files my card needs" (on by default, Picture), PLAY runs those fetches first in the Output panel, then the game, also when one failed (the script starts without DLSS or FSR 3 then). Stop during a fetch ends the start. card_facts now names the judged cards. - Frame generation's mode reads "FSR 3"; with it chosen and AMD's DLLs missing, a note says PLAY downloads them first, or where Tools does. New texts in de/es/fr/pt; docs/launcher.md says it. Tests: NeededFilesTests (every card kind with nothing there, nothing once the files are, a half set fetched again, no card or off Windows, the RTX 40/50 test and the folder are the script's, the note, the setting, the fetcher's pins and signature check and that its two names and fsr.rs's versions agree; a real run of the fetcher on files that are not AMD's keeps nothing, and an unpinned tag is refused). 130 OK, test_win_launchers OK. Counter-tests: needed_files and the note doing nothing fail 3 of 3; the fetcher without its checks keeps the fake DLLs and fails. Real window (AMD card stubbed): "FSR 3" fits, the note shows, the Tools button; PLAY with stubbed commands runs the fetch then the game after a failed fetch, and only the game with the setting off. No real download was made. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions