Repository navigation
Stop the renderer validation matrix naming benchmark profiles that are gone - #68
Merged
themuffinator merged 1 commit intoNov 27, 2026
Conversation
…e gone Third item from themuffinator#62. renderer_gameplay_benchmark.py no longer offers the world-ambient, deform, interaction and interaction-shadow-stock profiles: their scenes were Quake 4 maps (maps/tools/mv2, airdefense, storage2, medlabs) with no Prey counterpart, and the benchmark keeps those scene sets empty. renderer_validation_matrix.py still listed six commands for them, so it drops them, with a note to register the profiles again once Prey scenes exist. The presentation command also lost its backslashes to "\t" and "\r" escapes; it now reads tools\tests like the others. renderer_vulkan_shadow_compatibility required the four interaction entries. It now checks that every matrix harness command names a profile the benchmark offers, parses with the benchmark's own parse_args, and runs the backend its entry names, so the two cannot drift apart again; it rejects a stale profile, an escaped command and a backend mismatch in its own fixtures, and asks for the interaction profiles back if Prey interaction scenes appear. renderer_classic_deform_domain no longer requires a deform harness entry, and the world-ambient modernization note says the profile is not available in openPR06.
themuffinator
added a commit
that referenced
this pull request
Nov 29, 2026
…round, and stop rewriting the config at launch Ported from openPR06, the PREY port built on openQ4 (third round: pull requests #53-#81 and issues #61-#78 by danperisse-hue). - A deflated PK4 member keeps what it inflates once it is seeked (up to 32 MiB), so a wave or model chunk scan no longer inflates the member again at every seek, and a seek to the current position does nothing (#53). - Generated animation caches are built in memory and written, synced and closed by a writer thread, at most 16 files and 64 MiB queued; the main thread promotes them, and game shutdown waits for the queue (#54, as adapted to openQ4's version-3 cache in openPR06 a945a6b). - idInternalCVar::Update flags CVAR_ARCHIVE only when the declaration makes a cvar archived, so a module registering archived cvars the config already set no longer rewrites openQ4Config.cfg on every launch (#63). - idProgram::FindFreeResultDef finds a reusable <RESULT> temporary through a per-scope hash chain, newest first like the def list, instead of walking every result compiled so far (#64). - Linux: the loose-directory memo runs on case-sensitive filesystems too, resolving case once per directory (#56); glibc malloc arenas are capped at two unless MALLOC_ARENA_MAX is set (#71); the fatal-breadcrumb directory is created like mkdir -p (#57). - com_timestampPrints describes 1 as seconds and 2 as milliseconds (#60). - Tests: filesystem_length_probe_contract follows the memo (#65), posix_memory_management checks the arena cap, and android_savepath extracts Posix_MkdirParents (openPR06 bd071e1). - BUILDING.md: running the Linux stock smokes under a headless Weston (#81). Prey-only or already in openQ4, and not ported: #48, #55, #59, #66-#68, #70, #73, #74, #76, #77, #79, #80. Co-authored-by: danperisse-hue <danperisse@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third item from #62:
renderer_validation_matrix.pynamed benchmark profiles thatrenderer_gameplay_benchmark.pyno longer accepts.world-ambient,deform,interactionandinteraction-shadow-stock(GL and Vulkan for the last two) ran Quake 4 maps:maps/tools/mv2,airdefense,storage2andmedlabs. The benchmark keeps their scene sets empty, because no Prey scene gives the same evidence yet, and its--profilechoices no longer include them. All six matrix commands for them failed withinvalid choice. The matrix drops them, with a note to register the profiles again once Prey scenes exist.The
presentationcommand was also broken: it was written astools\tests\renderer...in a plain string, so\tand\rbecame a tab and a carriage return. It now usestools\\testslike the others.Tests that depended on the old entries:
renderer_vulkan_shadow_compatibilityrequired one GL and one Vulkan entry for each interaction profile. It now checks every matrix harness command against the benchmark itself:PROFILE_DEFAULTS;parse_args;Its own fixtures confirm the check rejects a stale profile, an escaped command and a backend mismatch. If
INTERACTION_SCENESorINTERACTION_SHADOW_SCENESgain Prey scenes again, the test asks for the interaction profiles back.renderer_classic_deform_domainno longer requires adeformharness entry, with anopenPR06:comment saying why.docs/dev/classic-world-ambient-domain-modernization.mdsays that theworld-ambientprofile is not available in openPR06, and keeps the inherited command for reference.Checks on
d2510380c, on Windows (Python 3.14) and WSL (Ubuntu 26.04, Python 3.14):renderer_vulkan_shadow_compatibility, the sixrenderer_classic_*_domaintests that read the matrix,linux_highdpi_mouse,docs_link_integrity,source_charset_integrityandsuite_status_contractall pass.renderer_gpu_skinningandsdl3_multidisplay_windowing, the other suite scripts that read a changed file, pass on Linux too.renderer_validation_matrix.py --listshows the six remaining profiles with clean commands.deformentry back, restoring the escapedpresentationcommand, renaming the benchmark'stiersprofile, and adding an unknown option to theshadowscommand.