Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ body:
id: commit
attributes:
label: nxnative commit
description: "`git rev-parse --short HEAD` in the checkout you built from (or the date you downloaded it)."
description: "`git rev-parse --short HEAD` in the checkout you built from (or the date you downloaded it). Try the latest `main` first (`git fetch origin`, rebuild from `origin/main`): the problem may be fixed already."
placeholder: 4639c511
validations:
required: true
Expand Down
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/test_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Test request on a low-spec device
description: Ask someone with a base Mac or another low-spec device to run a change or a build and report how it plays
body:
- type: markdown
attributes:
value: |
Most contributors measure on the device they have, often a fast Mac. No one has to own a base Mac ([charter](https://github.com/seedds/nxnative/blob/main/docs/charter.md#devices)); this form asks someone who owns one, and wants to help, to try a change: a quick played check, before and after. A pull request does not wait for an answer.
A tester needs their own copy of the game. Never attach or ask for game files, keys or anything extracted from a game.
- type: input
id: change
attributes:
label: What to test
description: The pull request, branch or commit, and the revision to compare it with (usually `main` or the merge base).
placeholder: "PR #1234 against main at 7bccfc88"
validations:
required: true
- type: textarea
id: why
attributes:
label: Why it needs a low-spec test
description: What the change does and what could get better or worse there (memory, CPU per frame, pacing, load time, power).
validations:
required: true
- type: dropdown
id: device
attributes:
label: Device needed
description: The device class the result matters on. Pick every one that applies.
multiple: true
options:
- Mac M1, 8 GB (Switch game reference)
- Mac M2, 16 GB, 10-core GPU (Switch 2 game reference)
- Another 8 GB or 16 GB base-chip Mac (M1 to M4)
- iPhone 15 Pro or Pro Max (8 GB)
- M1 iPad
validations:
required: true
- type: input
id: games
attributes:
label: Games, title IDs and versions
description: The games to try. Several are fine; say which matters most.
placeholder: "Splatoon Raiders, 0400380020056000, v65536"
validations:
required: true
- type: textarea
id: steps
attributes:
label: What to do
description: Where in the game, for how long, and which settings. A save point or a smoke route (`dm/games/<id>/smoke.tsv`) makes the two runs comparable. Keep it under about 15 minutes.
placeholder: |
From the first boss fight's third stage, play 2 minutes, docked, MetalFX, render scale 1.0.
Once on main, once on the change, same place and settings.
validations:
required: true
- type: textarea
id: report
attributes:
label: What to report
description: The numbers that answer the question. Defaults are filled in; remove what does not apply.
value: |
- Device, chip, GPU cores, memory, macOS or iOS version:
- Commit of each build (`DMCommit` in the Mac app's Info.plist):
- How it played on each build (smooth, stutters, paging, crashes):
- The `[nvn] timing` and `power` lines of the scene from each log (`~/Library/Logs/nxnative/<title ID>.log`; `log.txt` on iOS):
- Memory: Activity Monitor's memory pressure and the game's Memory column, or a `DM_MEMSTAT` file:
- Screenshots where the picture differs:
validations:
required: true
- type: checkboxes
id: no-game-files
attributes:
label: No game files
options:
- label: Nothing here asks for or contains game files, keys or data extracted from a game.
required: true
5 changes: 4 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Title: name the game and its title ID when it is about one game ("Star Fox (0400E88025B1A000): …"), so searches and labels find it. Open it as a draft early. -->
<!-- Keep a PR to one change. AGENTS.md and CONTRIBUTING.md say where findings go; link to them instead of repeating them here. -->

## What and why
Expand All @@ -9,7 +10,9 @@
<!-- Delete what does not apply. Say what was not checked too. -->
- Tests: <!-- e.g. make -C dm/host/tests GAME=<id> run; make -C dm/gfx/tests GAME=<id> run (Apple silicon, Metal); the dm/tools/tests that apply -->
- Games run, with title ID and version: <!-- what was played, for how long, and what was compared (log lines, frame times, screenshots) -->
- Devices and OS: <!-- e.g. M2 Max, macOS 26.1; iPhone 17 Pro Max, iOS 26.1 -->
- Existing work: <!-- the issues, pull requests and branches searched for the same area or game, and how this relates to them (docs/charter.md, Before starting work) -->
- Devices and OS: <!-- e.g. M2 Max, macOS 26.1; iPhone 17 Pro Max, iOS 26.1. A cost you know of on other devices, the base Macs especially, goes here too (docs/charter.md, Devices) -->
- Reach and risk: <!-- narrow, shared or wide (docs/charter.md, The bar rises with reach and risk), and what that tier asks for. For a default changed for every game: the devices it was measured on (a test request issue can ask for another), the switch that restores the old behaviour, and the docs/decisions.md entry -->
- For a change to the shader chain, the host or a tool that every game uses: the `scripts/regress.py check --games` report on the games it most likely reaches (`regress.py impact` helps), or why none ([06-dev-loop.md](https://github.com/seedds/nxnative/blob/main/docs/agents/06-dev-loop.md))
- Measurements before and after, where the change is about speed, memory or power

Expand Down
Loading
Loading