Skip to content

Stop the renderer validation matrix naming benchmark profiles that are gone - #68

Merged
themuffinator merged 1 commit into
themuffinator:mainfrom
danperisse-hue:renderer-matrix-profiles
Nov 27, 2026
Merged

themuffinator merged 1 commit into
themuffinator:mainfrom
danperisse-hue:renderer-matrix-profiles

Conversation

@danperisse-hue

Copy link
Copy Markdown
Contributor

Third item from #62: renderer_validation_matrix.py named benchmark profiles that renderer_gameplay_benchmark.py no longer accepts.

world-ambient, deform, interaction and interaction-shadow-stock (GL and Vulkan for the last two) ran Quake 4 maps: maps/tools/mv2, airdefense, storage2 and medlabs. The benchmark keeps their scene sets empty, because no Prey scene gives the same evidence yet, and its --profile choices no longer include them. All six matrix commands for them failed with invalid choice. The matrix drops them, with a note to register the profiles again once Prey scenes exist.

The presentation command was also broken: it was written as tools\tests\renderer... in a plain string, so \t and \r became a tab and a carriage return. It now uses tools\\tests like the others.

Tests that depended on the old entries:

  • renderer_vulkan_shadow_compatibility required one GL and one Vulkan entry for each interaction profile. It now checks every matrix harness command against the benchmark itself:

    • the command names a profile in PROFILE_DEFAULTS;
    • it parses with the benchmark's own parse_args;
    • it runs the backend its entry names.

    Its own fixtures confirm the check rejects a stale profile, an escaped command and a backend mismatch. If INTERACTION_SCENES or INTERACTION_SHADOW_SCENES gain Prey scenes again, the test asks for the interaction profiles back.

  • renderer_classic_deform_domain no longer requires a deform harness entry, with an openPR06: comment saying why.

  • docs/dev/classic-world-ambient-domain-modernization.md says that the world-ambient profile 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 six renderer_classic_*_domain tests that read the matrix, linux_highdpi_mouse, docs_link_integrity, source_charset_integrity and suite_status_contract all pass.
  • renderer_gpu_skinning and sdl3_multidisplay_windowing, the other suite scripts that read a changed file, pass on Linux too.
  • renderer_validation_matrix.py --list shows the six remaining profiles with clean commands.
  • To check that the new check catches real breakage, I made four changes one at a time and each one failed it: putting a deform entry back, restoring the escaped presentation command, renaming the benchmark's tiers profile, and adding an unknown option to the shadows command.
  • Merged together with Skip suite scripts whose prerequisites are missing, and say what they need #66 and Port the Linux ARM64 release-lane tests and take them off the deferred list #67, it applies cleanly and the same checks pass.

…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
themuffinator merged commit 49db7da into themuffinator:main Nov 27, 2026
9 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants