Repository navigation
fix(agc): publish a host write's whole units first so a unit shadow cannot land over it - #17787
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Windows + NVIDIA result for head Host: Windows 11 26300, Intel i7-12700K, NVIDIA GeForce RTX 2070 SUPER, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, Validation-layer protocol on
No new validation errors and no new failures. The 4 failures on both trees ( The tests this PR adds or changes ( AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine. |
|
Windows GPU note for head
So this PR's test has no Windows coverage; a Linux GPU run is the one that exercises it. AI-assisted: yes. |
|
Additional Linux validation on an RX 6650 XT, RADV, kernel 7.2.14-arch1-1. Baseline AGC is main
The baseline reproduces both overwrite cases: publication while the host write is open, and publication between its flush and write. In each, byte 0 contains the shadow's GPU results. Both cases preserve the host bytes on the candidate. All 28 physical GPU executions had zero skips, zero VUIDs and no missing validation layer. Loader logs confirm 104 Khronos layer insertions across the three arms and selection of the RX 6650 XT. Fixture/library hashes remained unchanged. Unit shadows were enabled for these tests. This report makes no new title, Windows or performance claim. Commands, exact pins, library/fixture hashes, linkage and complete synthetic-test logs. SHA-256: AI-assisted: yes (Codex). |
|
I wrote #6926, so thanks for tracking this down, @Mouhand-Kaddo. Your reading matches the rule in A second title: JJenkx sees a load crash from #6926 in Dusk Diver 2 (PPSA06565), where about half the runs segfault in the title's own code while loading. With this PR 0 of 12 runs crashed, the same as with #6926 reverted (D#10081). |
|
Windows result on a title for head Host: Windows 11 26300, Ryzen 7 5800X, NVIDIA GeForce RTX 4070 Ti (driver 610.47), WinLibs GCC 15.2.0, Release. The Pathless (PPSA01825, 02.000.000) crashes intermittently while it loads on In one crash, the read buffer the loader was parsing held the previous APR read's bytes in its second 64 KiB block, while the first block was fresh. That matches this PR's race on Windows: APR's Every run used the same save and pad route and ran for 240 s with
On an older Windows coverage for the test.
It goes after the stale-unit check and releases the GPU mutex that the test's retile(*four, unit4, unit, 0x45, false);
Require(AnyShadowedOverlaps(unit4, unit), "the re-marked unit 4 is not shadowed");
{
const auto depth = GpuMutex().DepthOnThisThread();
for (std::uint32_t level = 0; level < depth; ++level) GpuMutex().unlock();
PrepareHostWrite(unit4, unit);
for (std::uint32_t level = 0; level < depth; ++level) GpuMutex().lock();
}
{
std::lock_guard gpu(GpuMutex());
Require(PublishShadow(unit4, unit, PublishScope::Whole, PublishReason::Evict) == 0, "a publish made inside a host write copied a unit the write covers");
}
std::memset(static_cast<std::uint8_t*>(block) + 4 * unit, 0x56, unit);
recorder.Sync();
Require(words[4 * unit] == 0x56 && words[4 * unit + 4096] == 0x56 && words[5 * unit - 1] == 0x56 && words[5 * unit] == 0x11, "a publish recorded inside a host write landed over its bytes");For reference, I also tried a different fix before I found this PR. In AI-assisted: yes. |
|
Windows confirmation on a title, since the new test skips on Windows. Demon's Souls PPSA01341 v01.007.000, Windows 11 Pro, i9-14900K, RTX 5080 (driver 32.0.16.1742), WinLibs GCC 15.2.0 Release. Same relinked
On Windows the crash is the title's own loader reading a table entry that isn't there: Once it was a divide by zero while loading |
|
Windows check of head Setup: Windows 11 x64, WinLibs GCC 15.2.0 (r7), Ninja, Release,
AI-assisted: yes. |
|
Additional Linux/RADV validation on RX 6650 XT, including a second title: OCTOPATH TRAVELER II (PPSA09809), v01.000.000. Exact versions: main Focused tests: identical fixture source against each arm's frozen libraries,
No skips, 0 VUID errors. Full numbered verbose output confirms layer insertion separately in all three fixtures on both arms. Passing-case JUnit output truncates the loader startup, so coverage was verified from the full logs rather than the original JUnit-derived boolean. Native matched pair: separate writable runtimes copied from the same startup-settings and warm-cache seed, same scripted Cross inputs at 30/45/60/75/90 s, default unit shadows enabled on both arms:
All asset/input/provider/seed hash guards passed, kernel setting restored, overlays unmounted and no native processes left. Both native runs and each focused GPU arm used the host FIFO. The candidate still logs transient Commands, exact pins, build results, source-preservation proof, GPU logs/JUnit, native logs/reports, cleanup receipts and reviewed screenshots. SHA-256 The initial fresh-settings setup run is excluded from this pair: it needed Options to confirm settings, reached the title and required final harness SIGTERM. Its retained settings/cache supplied the common seed; it is not counted as a passing control. Longer follow-up on the same frozen integration: a corrected bounded run selected Agnea, confirmed her start, passed the opening text and displayed her theatre-stage scene. Scheduled close completed normally: native exit 0, observer exit 0, 339.6 s. All asset/input/provider/cache-seed hash and cleanup guards passed. This is chapter-opening verification; interactive gameplay and character movement remain unverified. The stage capture is dark and may be a fade; no rendering-fidelity or brightness-fix claim. Earlier interrupted longer harness attempts are excluded. Follow-up commands, report, full log, reviewed captures and limits, SHA-256 AI-assisted: yes |
|
Current-main candidate-only check of this host-write fix on Asterigos: Curse of the Stars, PPSA08194 v01.004.001, Linux/RADV RX 6650 XT. Exact pins: main Observed: native GPU frames show the title/main menu, New Game selected, Adventure difficulty, and the opening Begin loading illustration after holding Cross. The bounded 360 s run closed normally: native and observer exit 0, elapsed 365.9 s. All original asset/input/save, frozen-provider, kernel-restoration and unmount guards passed; no native process remained. This establishes startup and new-game loading only: no gameplay or Continue/save-reload verification. Four focused physical Vulkan checks passed: Limits: one candidate native run, no current-main native control, no crash-rate reduction or FPS gain claim, no by-ear audio or PS5 pixel-fidelity claim. Native capture requests affect timing. Initial Evidentiary pins, reviewed GPU frames, focused test commands/log/JUnit and cleanup summary. f8f9e521054d5a4b33172aa300f1e3ede13f3c247209466d838953490f7c01a7-256 AI-assisted: yes Longer gameplay follow-up on the same frozen pins: the second actual native run reaches Outerrim, dismisses the Exploration and Interaction tutorial, and displays the health/mana HUD and “Check surroundings for anything unusual” objective. Native GPU captures before/after a forward-stick pulse show the changed position/viewpoint. Ordinary scheduled close gives native/observer exit 0 at 423.6 s, all original-input/save/provider/kernel/unmount guards pass and no native process remains. A single official Cold startup created roughly 3,849 shader-cache entries before the level settled. The new private autosave and warm caches are retained to shorten the next iteration, but checkpoint reload is not yet verified. The scene has strong bright haze; no PS5 visual-fidelity or by-ear audio comparison was made. This remains one candidate integration, pinned main Reviewed native GPU frames, exact pins, full official trace/summary, trace digest, input receipts and cleanup review — SHA-256 |
443a0dd to
3b0aa27
Compare
|
I reproduced the documented short-write gap and tested an alternative to the stamp + second flush. This is support for this PR; I have not opened a competing PR.
The alternative tracks host-write preparation with a thread-local flag scoped by the existing RAII guard and selects Alternative diff against tested main. Your original test remains credited through the branch history; the archive also includes a standalone diff. Linux/RADV RX 6650 XT, physical watched dma-buf Vulkan memory, validation 1.4.363:
The 11 runs cover five groups with default / Synthetic idle preparation cost (best of 5 × 20000, same pinned CPU): main 48.5/46.4 ns, this PR 115.8/118.2 ns, standalone alternative 53.7/52.5 ns, for unrelated-image-pending / nothing-pending respectively. These are not title performance results. Whole publication may copy prior contents even when a later host write is full; dirty-unit/title timing and Windows/other GPUs remain unmeasured. Your refreshed head Commands, source pins, patch, environment, verbose tests/JUnit and hash guards, SHA-256 AI-assisted: yes |
|
Native qualification of the Whole-publication alternative on Asterigos, PPSA08194 v01.004.001, Linux/RADV RX 6650 XT:
Limits: one native pair, not a crash-rate study; the passing main control does not contradict earlier intermittent startup failures. The previous cache seed is identical and hash-checked, but both builds record 0 shader-cache hits / 3913 misses, so loading is effectively cold. No FPS gain, movement, by-ear audio, or PS5 pixel/lighting-fidelity claim. Strong bright haze is visible in both arms; transient Exact pins, source scope, commands, preservation/cleanup results, reviewed native frames, observer reports and paired GPU logs/JUnit. SHA-256 AI-assisted: yes |
3b0aa27 to
2c40ed8
Compare
|
Note 🤖 Claude Opus 5.5 responding on behalf of @Mouhand-Kaddo @JJenkx, your Whole-publication approach is now this PR's fix, with you as co-author (head Changes from your branch:
Demon's Souls PPSA01342 on Linux/RADV RX 6900 XT, base |
|
I read the new design against the stamp head. It is simpler and the
|
2c40ed8 to
f5df02a
Compare
|
Note 🤖 Claude Opus 5.5 responding on behalf of @Mouhand-Kaddo @oneandonlydean, both points are addressed in 1. The publish gap: real, and now closed. A publish that finishes entirely between the pending-write check and
2. The two other crash sites. Logs (local paths replaced by
Both came from the Whole fix without the in-progress check, in the first 10 of 20 runs, while another build was running on the machine. Matched runs on
The crash on this head is a call through a null pointer, about 110 s in. Its stack runs through the same game frames as the first log ( |
|
Note 🤖 Claude Opus 5.5 responding on behalf of @Mouhand-Kaddo #18010 overlaps this PR in more than the
Whichever lands second needs the early return to leave a host write to the rest of the hook while a publish is in progress: if (HookClearAccess() && HookSnapshotEnabled() && !HookFlushCpuBlocks() && !(GuestMemory::CurrentReadSite() == GuestMemory::ReadSite::HostWrite && AnyPublishInProgress()) && ClearAccess(address, bytes)) {Checked on a local merge of this head and #18010: |
f5df02a to
0c2c1a8
Compare
|
Note 🤖 Claude Opus 5.5 responding on behalf of @Mouhand-Kaddo The Windows failure on
I can't rerun the job from the fork. Could someone with access rerun the failed Windows job? |
Validation: queue item 45 — PR #17787 (AGC host-write publication vs unit shadow)Automated sequential-queue validation run (item 45 of 50). Verdict: PASS (Linux/AMD scoped). Environment
Commits
Build
Focused tests (identical matched set in both trees, 13 tests)Pattern (from Test command (both trees, identical env, Results
Per-test pass/skip outcomes are identical between base and PR (same test names, same status). Skips are device-capability skips on RADV (e.g. "the device does not import watched host memory for unit shadows"), identical in both trees, not failures. Supplemental (PR tree only): Layer checks (per AGENTS.md)
Validation-error diff (VUID-/SYNC-HAZARD/bracketed IDs)
Push
VerdictPASS — build clean, 13/13 focused AGC tests pass with identical per-test outcomes vs base, validation layer inserted in every run, zero validation errors in both trees, and the PR's new regression test Limitations
|
|
Stellar Blade (PPSA13197) on Windows hits what looks like the same regression: since #6926, Bisect of
AMD Radeon RX 9070 XT, Windows 11. I have not run this PR's branch or |
|
Note 🤖 Claude Opus 5.5 responding on behalf of @Mouhand-Kaddo @moong15, that fits this bug. Removing the Could you run this PR's head,
Nothing in the fix is Windows-specific, but nobody has run it on Windows yet, so a crash count over the same 8 launches would be the first result there. |
…annot land over it Co-authored-by: JJenkx <31495916+JJenkx@users.noreply.github.com>
0c2c1a8 to
2d2c4ec
Compare
Superseabas
left a comment
There was a problem hiding this comment.
Windows check of head 2d2c4ec1ad on two GPUs, merged onto main 3ffcba66e0. The bug reproduces on Windows, and this PR fixes it there, using a Windows port of the new test (below). It may also be what @moong15 sees in Stellar Blade on Windows.
Setup: Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh, r3), Release, run from PowerShell with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and the Khronos validation layer. GPUs: NVIDIA GeForce RTX 5070 Ti (621.01) and the Ryzen 7 7700X's integrated AMD Radeon (Adrenalin 26.10.2). main doesn't build on Windows right now (#18037's setenv in UploadCacheReadOnlyFlush.cpp), so both sides carry #19899 only so they build.
No regressions: ctest -R '^agc|gpu|vulkan|video_out' on main and with this PR:
main |
this PR | |
|---|---|---|
| RTX 5070 Ti | 0 failed of 1828 | 0 failed of 1829 |
| Radeon | 1 failed of 1828 | 1 failed of 1829 |
The one Radeon failure is agc_driver_sample_order_grid_reference on both sides (fixed by #9503). The extra test is agc_driver_host_write_shadowed_unit, which skips here. No other test changes its result, and there are no validation messages on either GPU, on either side.
The new test on Windows. As it is, it skips on Windows ("udmabuf imports are Linux only"). Only its setup is Linux-specific. On Windows, a 1 MiB guest-arena block imported through a host pointer stays write-watched: the driver's import probe reports "host imports of write-watched memory keep the write watch: yes … direct host imports of private memory are settled and stay watched" on both GPUs. So I ported the setup, leaving every check as it is (patch below), and ran it 3 times per GPU:
| RTX 5070 Ti | Radeon | |
|---|---|---|
main's driver code (the PR's 5 production files reverted) |
fails 3 of 3 | fails 3 of 3 |
| this PR | passes 3 of 3 | passes 3 of 3 |
On main, both GPUs fail the same 4 cases. In the two "host write over a shadowed unit" cases and "host write during another thread's publish of its unit", byte 0 holds the shadow's GPU results instead of the host write's. "short host write of 65553 of 131072 bytes at +0" fails with "byte 65553 holds 51, not 190". The other 8 short-write cases pass on main too. With this PR every case passes, with no validation messages.
The Windows port of HostWriteShadowedUnit.cpp (built and run on both GPUs; macOS keeps a stub)
--- a/core/libs/prx/libSceAgcDriver/tests/execution/HostWriteShadowedUnit.cpp
+++ b/core/libs/prx/libSceAgcDriver/tests/execution/HostWriteShadowedUnit.cpp
@@ -8,6 +8,9 @@
#include "VulkanTestDevice.hpp"
#include "prx/libc/include/GuestArena.hpp"
#include "prx/libc/include/GuestWriteWatch.hpp"
+#ifdef _WIN32
+#include <windows.h>
+#endif
#ifdef __linux__
#include <fcntl.h>
#include <sys/mman.h>
@@ -25,9 +28,9 @@
#include <thread>
#include <utility>
-#ifndef __linux__
+#if !defined(__linux__) && !defined(_WIN32)
int main() {
- std::printf("skipped, udmabuf imports are Linux only\n");
+ std::printf("skipped, host imports of write-watched memory are tested on Linux and Windows only\n");
return VulkanTestSkipped;
}
#else
@@ -52,6 +55,7 @@
std::uint8_t* mapping = nullptr;
int backing = -1;
+#ifdef __linux__
bool Resolve(std::uintptr_t address, std::size_t bytes, int* file, std::uint64_t* offset) {
const auto begin = reinterpret_cast<std::uintptr_t>(mapping);
if (address < begin || address + bytes > begin + MappingBytes) return false;
@@ -59,6 +63,7 @@
*offset = address - begin;
return *file >= 0;
}
+#endif
int Skip(const char* why) {
std::printf("skipped, %s\n", why);
@@ -213,6 +218,15 @@
int main() {
using namespace AgcDriver::Graphics;
try {
+#ifdef _WIN32
+ auto device = OpenVulkanTestDevice();
+ if (!device) return VulkanTestSkipped;
+ if (!UnitShadowEnabled()) return Skip("unit shadows are off");
+ mapping = static_cast<std::uint8_t*>(GuestArena::GuestArenaAllocate_nid_postfix(MappingBytes, 65536));
+ Require(mapping != nullptr, "host write over a shadowed unit: cannot allocate the arena block");
+ GuestArena::GuestArenaCommit_nid_postfix(mapping, MappingBytes, PAGE_READWRITE, MappingBytes);
+ std::memset(mapping, AroundByte, MappingBytes);
+#else
const int udmabuf = open("/dev/udmabuf", O_RDWR | O_CLOEXEC);
if (udmabuf < 0) return Skip("host imports are unavailable: /dev/udmabuf is not accessible");
close(udmabuf);
@@ -228,6 +242,7 @@
mapping = static_cast<std::uint8_t*>(mapped);
GuestArena::GuestArenaSetSharedBacking_nid_postfix(Resolve);
std::memset(mapping, AroundByte, MappingBytes);
+#endif
const auto address = reinterpret_cast<std::uint64_t>(mapping);
GuestAllocations::Mutation().Add(mapping, MappingBytes, true, true, true);
@@ -237,7 +252,9 @@
}
Require(ranges.size() == 1, "host write over a shadowed unit: the allocation is not registered");
Require(device->ImportGuestMemory(ranges, GuestAllocations::GuestAllocationsGeneration_nid_postfix(), false), "host write over a shadowed unit: the import made without the GPU lock was refused");
+#ifndef _WIN32
GuestWriteWatch::GuestWriteWatchRegister_nid_postfix(mapping, MappingBytes);
+#endif
const auto firstUnit = (address + Unit - 1) & ~(Unit - 1);
const auto context = AgcDriver::VulkanDeviceTestAccess::ContextOf(*device);
@@ -246,7 +263,11 @@
std::lock_guard lock(AgcDriver::GuestMemory::GpuMutex());
import = HostImportFor(context, address, MappingBytes);
}
+#ifdef _WIN32
+ if (import == nullptr) return Skip("no host import of the arena block");
+#else
if (import == nullptr || !import->dmaBuf) return Skip("the device imported the mapping through a host pointer, which is compared, not watched");
+#endif
if (!AgcDriver::GuestMemory::Watched(firstUnit, 8 * Unit)) return Skip("the imported units are not write-watched");
landHook = AgcDriver::GuestMemory::CurrentFlushHook();
@@ -266,7 +287,9 @@
AgcDriver::GuestMemory::SetFlushHook(landHook);
Require(passed, "host write over a shadowed unit: a publish put a unit shadow's results over a host write, or a short host write lost the GPU's results past it");
+#ifndef _WIN32
GuestWriteWatch::GuestWriteWatchUnregister_nid_postfix(mapping, MappingBytes);
+#endif
GuestAllocations::Mutation().Remove(mapping);
std::cout << "host write shadowed unit tests passed\n";
return 0;Windows arena memory is write-watched without GuestWriteWatchRegister, as in SampledCacheBudget.cpp's WatchedSurface. 1 MiB is also Windows' floor (settleFloorBytes) for keeping a settled import watched. The main failures and the PR passes in the tables above are from this patch plus one diagnostic print. The patch as shown was then built and passed once more on each GPU. I haven't built it on Linux or macOS.
I'd suggest adding the Windows setup, so the regression test also covers the platform where Stellar Blade crashes. That's optional for this PR.
Reading the change: tagging host writes ReadSite::HostWrite instead of Store is what makes FlushForAccess choose PublishScope::Whole for them. WritesGuestMemory keeps the hook-sync profiling treating them as stores. The AnyPublishInProgress wait covers the case where another thread's publish is already under way. One small, non-blocking point: PublishShadow's skip inside a completion (UnitShadow.cpp, Recorder::InCompletion() && CurrentReadSite() == ReadSite::Store) still names only Store. I found no path where a host write runs inside a completion: the driver's own GuestArena::HostWrite is under OwnHostWrite, so PrepareHostWrite returns early for it. But WritesGuestMemory there would keep the two sites alike.
Not run: Linux, macOS, and a title (I don't have Demon's Souls or Stellar Blade).
AI-assisted: yes (Claude Code)
…dow fix lands Fork only. Since boykopovar#6926 the hook flushes pending GPU results over every host write; Stellar Blade's loader then reads clobbered package summaries and crashes in about 85% of launches (0 of 8 with the hook off, 2026-11-14). Drop this commit once boykopovar#17787 or another fix is on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What
Since #6926, Demon's Souls (PPSA01342) crashes on Linux most times it loads into the world. It segfaults in its own code while loading (
DemonsSouls.elf+0x1788ede). Reverting #6926 or settingAPS5_NO_UNIT_SHADOW=1stops the crash.Why. A file read can lose its bytes to a unit shadow's GPU results.
PrepareHostWriteflushes withReadSite::Store, soFlushForAccessusesPublishScope::PartialUnits. The units the host write covers wholly stay fresh in their slab. PerUnitShadow.hpp, that is right only if the writer then stamps them, and a host write does not stamp: the tracker only learns about it when a collect walks the written pages.address-based heapspublish inGuestBufferMemory::UploadFinish. Its collect runs before the pages are written, so it judges the units fresh and its slab → import copy lands over the file bytes.The fix, as proposed by @JJenkx (co-author):
PrepareHostWriteflushes under its ownReadSite::HostWrite, soFlushForAccesspublishes every unit over the range (PublishScope::Whole) before the write. Nothing is left fresh for a later publish to copy over the file bytes, and a short read keeps the GPU's results in the bytes it does not write. Driver stores (ReadSite::Store) keepPartialUnits.WritesGuestMemory(site)keeps host writes counted as stores in the hook sync profile.publishUnitsmarks its units published before it notes its copy as a pending write, so the host write finds nothing to publish and nothing pending yet.publishUnitsnow counts itself in progress for its whole body (AnyPublishInProgress), and a host write that sees one in progress takes the GPU mutex and waits for pending writes over its range. With none in progress it stays lock-free.Tested
Linux 7.2.15, RX 6900 XT (RADV, Mesa 26.2.7), GCC, Release.
New test
agc_driver_host_write_shadowed_unit. It shadows units of memfd-backed (dma-buf) guest memory and opens aHostWriteover them.main.It skips without
/dev/udmabufor unit shadows.agc_driver_host_write_shadowed_unit,agc_driver_host_write_pending_storage,agc_driver_host_write_hookandagc_driver_gcn_display_present_triggerpass, with and withoutAPS5_PROFILE_DRAW=1.Validation layers (
VK_LAYER_KHRONOS_validation1.4.363):ctest --test-dir build -R 'agc_driver_host_write|agc_driver_gcn_display_present_trigger' -VwithANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer, on this PR and onmain1414f2c, with and withoutAPS5_PROFILE_DRAW=1. Every log showsInsert instance layer "VK_LAYER_KHRONOS_validation"for each test instance and none has the layer-not-found message. Neither tree logs aVUID-line. Rerun on this head after each rebase ontomain: same result.Demon's Souls PPSA01342 v1.004, output 1920x1080, warm shader caches. Each run presses through the menus and keeps running 45 s after loading starts, past the point where
maincrashes. Runs onmain1414f2c, before that rebase, interleaved one by one in one session, with nothing else running:main+0x1788ede)Earlier runs on
mainfaea44f: the Whole fix without the in-progress check crashed 2 of 20 times, both in the first 10 while another build was running on the machine (+0x10da241in the menus, through the same game call path as the null call above, andnull or misaligned index baseafter loading). The stamp head survived 20 of 20.Host write cost:
agc_driver_host_write_pending_storage_tests --cost 20000, pinned to one core, 5 runs: 73 to 90 ns per 64 KiB host write, the same as the 72 ns measured onmainbefore. A host write takes the GPU mutex only while a publish is in progress anywhere, so it can wait out another thread's publish then; that cost was not measured.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)