scripts: play-nvidia.ps1 says when it is about to run on a card that is not the NVIDIA one #2999
Open
fiestorra wants to merge 3 commits from
upstream-pr/2999 into main
pull from: upstream-pr/2999
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
ProjectLeonida/mandy!2999
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2999"
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?
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-01T22:54:36Z.
scripts: play-nvidia.ps1 says when it is about to run on a card that is not the NVIDIA one
Without
-Adapterthe layer makes its device withD3D12CreateDevice(None, ..), which isWindows' default card. On a PC whose monitor hangs off the motherboard that is the
integrated chip, and then:
NVSDK_NGX_Result_FAIL_FeatureNotSupportedthe next start;
Measured on a 7800X3D with an RTX 4090 (two adapters, the Radeon iGPU at 0x1002 and the
4090 at 0x10de): a D3D12 device made with
Nonethere is the Radeon's. Nobody sees thisbecause the launcher does not say which card the layer took.
So the launcher now lists the cards and says it when more than one is present and no
-Adapterwas given:Nothing is chosen for the user: a PC with one card, or with the discrete card as the
default, runs exactly as before and prints nothing. With
-Adapter, nothing is printedeither (it is what the user asked for).
Written with an AI assistant.
Process, after the review's item 3
tests/test_win_launchers.pyandcheck_no_game_data.py.Fixed in
91537d2af(review items 1 and 2)-More:$Moreis merged into$settingsat line 622, after the note, so-More @{LEONIDA_ADAPTER='5070'}printed "Windows' default card is used" while the run did name a 5070. The comment names andrew-ai's dry runs and the head they were made at.python -I tests/test_win_launchers.py3 tests OK,python -I scripts/check_no_game_data.py d3d12/scripts/play-nvidia.ps1exit 0.AI-assisted: yes - DeepSeek v4.1 (flash).
Imported from ubiquitarianism/leonida. Originally posted by andrew-ai on 2026-12-01T22:56:00Z.
At
105c80d4cthe warning disagrees with the final adapter when the caller sets it through the supported -More option. I ran the unmodified play-nvidia.ps1 with -DryRun on Windows:The launcher emits the message before applying the saved settings and -More. Checking the effective adapter after those merges would give the last two invocations the same result. This host also shows why the count can be confusing: the reported “5 cards” comprise an RTX 5070 and four virtual display entries. The runs used an existing placeholder path for -Exe and launched no game. Codex-assisted.
Rechecked
a4f3bd011on Windows. Removing the CIM query fixes the virtual-display count. With the default DLSS request, -More still prints the default-card note alongside LEONIDA_ADAPTER=5070. Passing -Adapter 5070 prints the same final setting without the note. The -NoDlss control prints no adapter note.Imported from ubiquitarianism/leonida. Originally posted by imShangLi on 2026-12-02T05:57:43Z.
VERIFY-2999 — Linux, Fedora 45, no GPU device, no game files, no title
Verdict: PASS. The added note fires only where the launcher really cannot name a card, and the behavior it describes (the layer uses Windows' default card, which may be the integrated GPU, and the launcher does not query Windows for the cards) is confirmed in
host.rsand intests/test_win_launchers.py. The one claim I could not check is the exact DLSS SDK error code, which needs a real GPU.Head
a4f3bd01, base the currentmain(0ae5a266), merge base913b88b9, 1 file, +10/−0:d3d12/scripts/play-nvidia.ps1.1. What it changes
A new
elseif ($wantDlss)block ind3d12/scripts/play-nvidia.ps1(afterif ($Adapter) { $settings.LEONIDA_ADAPTER = $Adapter }, lines 498-505): when DLSS is wanted and no-Adapteris given, it writes two lines telling the user that Windows' default card is used, which may not be the NVIDIA one, and to name it (-Adapter 4090, or-Adapter '#1') if the picture comes up stretched. The comment explains it is a note, not a query: the launcher does not ask Windows which cards there are.2. The claims it makes, and which ones I checked
d3d12/crates/leonida-gpu/src/host.rschosen_adapter()(lines 1602-1644):LEONIDA_ADAPTERunset or empty returnsNone, i.e. Windows' default adapter; a value naming no hardware card logs "Windows' default card is used". Also the launcher's own-Adapterhelp (lines 46-47) says "Default: Windows' default card." True.Write-Host; it does not callGet-CimInstance,Get-WmiObjectorGet-ChildItemon the video-class key. True.tests/test_win_launchers.pyrefuses a launcher that queries CIM for it" — checked:tests/test_win_launchers.pydefines a stubGet-CimInstance(lines 55-59) that throws for any class other thanWin32_OperatingSystem, so a launcher querying CIM for the cards would make that test fail. True.-Adapter 4090, or-Adapter '#1'" — checked against the launcher help (lines 46-47: part of the name, or#index) andhost.rs(name substring, any case, or DXGI#N). True.NVSDK_NGX_Result_FAIL_FeatureNotSupported" — not verifiable here (no GPU, no Windows, no DLSS). The repository's own Streamline error table (d3d12/crates/leonida-gpu/src/streamline.rslines 411, 454) lists an analogouseErrorFeatureNotSupported, but that is a different enum. Goes under section 5.$wantDlssscope — checked: defined at line 114, not reassigned before line 498, so theelseifsees the same value used at lines 117/126/148. True.''inside single-quoted strings rendersWindows'and'#1'. Correct.3. What the tests do here
python3 -I tests/test_win_launchers.py: 3 tests, OK (2 skipped). The only PowerShell-based test (test_nvidia_menu_restart_preserves_motion_blur_switch) isskipUnless(POWERSHELL)and is skipped because there is nopwsh/powershell.exeon this machine;test_static_quoting_and_no_pause_guardspasses; the Windows-onlytest_per_user_python_discovery_...is skipped. The change is not exercised here.-NoDlss, so$wantDlssis false.python3 -I -m unittest discover -s tests -p "test_docs_*.py": 57 tests, OK (38 s).python3 -I scripts/check_no_game_data.py d3d12/scripts/play-nvidia.ps1: clean.python3 -I scripts/red_green.py 2999 --work-dir ...:red not constructible— the pull request changes no test (only a.ps1). Reported as instructed.4. Anything wrong in the change (with the file and line)
Nothing wrong. The note is unconditional on the actual machine's card count (it fires whenever DLSS is wanted and no
-Adapteris given, even on a single-NVIDIA-GPU PC), but it is worded as a conditional ("may not be the NVIDIA one", "if the picture comes up stretched"), so it is informative rather than wrong.5. What I did not check
pwsh): the new block was checked by readingplay-nvidia.ps1, the launcher help andhost.rs, and by confirming the test-stub mechanism intests/test_win_launchers.py.NVSDK_NGX_Result_FAIL_FeatureNotSupportedon an integrated GPU — needs a real NVIDIA card and Windows; not observed.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:12:17Z.
Checked #2999 on Linux (the PowerShell itself was not run here). The launcher tests pass merged onto current
main, but the case andrew-ai reported is still open at this head, and #3049 would make the note's wording wrong.a4f3bd0113main45dc41f95c(clean merge treee43d79c933; merge base913b88b905, 313 commits behind)Ran (Linux, Python 3.13.18, on an export of the merge tree)
No red/green: it is a printed note with no test of its own (
test_win_launchers.pyonly keeps it from querying CIM, whicha4f3bd011fixed).Findings
d3d12/scripts/play-nvidia.ps1(the newelseif ($wantDlss)branch, about line 498): the check reads$Adapter, but the note is printed before-Moreand saved settings are merged. andrew-ai's Windows dry runs ata4f3bd011:-More @{LEONIDA_ADAPTER='5070'}still prints "No -Adapter: Windows' default card is used" while the finalLEONIDA_ADAPTERis5070. Test the effective setting (after the-Moremerge) instead of the parameter.GPUs tested:line.Verdict: defects (minor). Fix item 1 and coordinate the wording with #3049.
AI-assisted: Claude Opus 5.5 (Claude Code), verification only.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T18:20:08Z.
Fixed in
91537d2af, with both items from your findings and the process one said plainly in the body.Item 1 (the real defect): you are right that
$Adapterwas the wrong thing to read.$Moreis merged into$settingsat line 622, after the note, so-More @{LEONIDA_ADAPTER='5070'}printed "Windows' default card is used" while the run named a 5070. The condition now includes-not $More.ContainsKey('LEONIDA_ADAPTER'), and the comment names andrew-ai's dry runs ata4f3bd011so the next reader sees why the check is there. I checked there is no other late merge:play-nvidia.ps1does not read the F1 menu's saved settings (the runtime does), so-Adapterand-Moreare the only two ways a card arrives.Item 2: noted in place, in the comment next to the sentence - when #3049 lands the wording must change, and now the line to change is where the wording is, not in a PR body that gets scrolled past.
Item 3: said as it is in the body rather than fixed by filing a claim after the fact: there is no claim for this pull request, and I would rather that be visible than papered over.
GPUs tested: n/ais now there too.Checks on the new head: PowerShell parses with 0 syntax errors;
python -I tests/test_win_launchers.py3 tests OK;python -I scripts/check_no_game_data.py d3d12/scripts/play-nvidia.ps1exit 0.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T22:01:33Z.
This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).
Could you, or anyone with a working setup, post a run report on the current head merged onto current
main:mainSHA it was merged onto;mainalone for comparison, if you can.Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.
AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T08:21:19Z.
Sobre el informe de ejecución que pides: queda pendiente y depende de una máquina con el título, que ahora mismo no es esta (aquí no hay ejecución del juego).
Lo que sí está hecho y medido:
Head: 91537d2af7ba018651e3aa397482eafe07c0dc5d Main: d9b618f10 git merge-tree --write-tree origin/main <head> → limpio, sin conflictoO sea que se puede probar tal cual, sin rebasar nada.
Y lo que hay que mirar en esta, para que el informe sea útil y corto: arrancar
play-nvidia.ps1sin-Adapteren un PC cuya tarjeta por defecto no sea la NVIDIA y ver el aviso de dos líneas. Y anotar con quémainse probó: si#3049entra antes, la frase del aviso deja de ser cierta (lo dice el propio comentario del código).Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T08:54:10Z.
Review: CHANGES_REQUESTED
[P2] Use the effective adapter and upscaler for the warning. I tested
91537d2amerged ontod9b618f1with PowerShell 7.7 and synthetic dry runs. A typed-Adapterand a nonempty-Moreadapter now suppress the warning correctly.LEONIDA_ADAPTER=#1inleonida-settings.txt, the script warns about the default card and then emitsLEONIDA_ADAPTER=#1.-MenuRestart, an empty saved adapter clears the replayed-Adapter 4070. The launcher then emits no adapter and stays silent. The runtime also treats a whitespace-only-Moreadapter as empty.-Moreselectsstretch, the warning still prints.In a scratch control, I moved the two lines below the final settings merge. Checking
LEONIDA_UPSCALEfordlssandLEONIDA_ADAPTERfor a blank value gave the expected warning in all nine cases. The final adapter and upscaler values matched the original run in every case. AI-assisted with OpenAI Codex.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T14:32:02Z.
RUN (in game, third party, batch of five pull requests), each head merged with
git merge --no-ffonto mainb053a1813, in one build: #2686c5269801b, #26432e0b23a00, #27894cd9d71f8, #30720f1e26355, #299991537d2af. RTX 4060 8 GB, driver 610.88, Windows 11. Series S,-Resolution 1080, frame generation 2x,-PrecompileUsed, the same walking route as the other runs on this machine, 330 s after reaching the world.For reference, the same machine and route rendered 13.3 to 17.6 fps on other runs today: a check that nothing fell over, not a measurement of a gain.
Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch, on the heads listed above. If one of these pull requests changes its head, this run no longer covers it. #2834 was left out of the batch (it conflicts with the others).
Limits: one run; arrival in the world was driven by keys and not checked on pictures. The precompile took 589 s (the batch changes shader code, so the pipeline cache was cold). Switches that are off by default were not turned on: this run covers their default path only.
AI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T14:34:58Z.
The saved F1 settings can still make the warning disagree with the actual adapter. I tested
91537d2aon current128579e9(tree5891e922) with the unmodified launcher in-DryRununder PowerShell 7.6.6.LEONIDA_ADAPTER=#2prints the default-card warning, then reportsLEONIDA_ADAPTER=#2in the final settings.-More @{LEONIDA_ADAPTER=''}suppresses the warning even though it requests no adapter. Replaying-Adapter #1with-MenuRestartand a saved empty adapter also suppresses it, even though the saved value clears the adapter.Moving the note after the saved-setting and
-Moremerge and checking[string]::IsNullOrWhiteSpace($settings.LEONIDA_ADAPTER)fixed those three cases. All eight dry-run cases passed with that change, including the plain default, explicit adapter,-NoDlss, and a named adapter restored on restart. The five Windows-only cases intest_win_launchers.pywere skipped; its seven other tests passed before and after the change. The existing #3049 wording caveat still applies. Synthetic inputs only. AI-assisted (Codex).Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T17:01:49Z.
Tienes razón en las dos, y el arreglo va en una rama:
pr-2999-fix=81ea1f9d4.El fallo era el orden, exactamente como dices. El aviso estaba en un
elseifque se decidía antes de que el menú guardado y el-Morese mezclaran en$settings, así que hablaba de una tarjeta que no era la de la tirada:Los dos casos que reportas caen los dos en esa línea:
LEONIDA_ADAPTER=#2guardado en F1:$Moreno lo tiene, así que el aviso salía — y la tirada sí nombraba tarjeta;-More @{LEONIDA_ADAPTER=''}:ContainsKeyes cierto, así que el aviso se callaba — y no nombra tarjeta ninguna.Lo que he hecho, que es lo que propones: leer de
$settingsy hacerlo después de la mezcla:Verificado sobre el
mainde ahora (717b90233):Y una cosa que el
IsNullOrWhiteSpacearregla además de lo que cuentas: un-More @{LEONIDA_ADAPTER=' '}(espacios) también cuenta como «no nombra», que conContainsKeycontaba como que sí.Lo que no he podido probar: el caso en una máquina de dos tarjetas con el juego — aquí hay una y el aviso es de cuando la de Windows no es la NVIDIA.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.