fix(agc): bind memory only for the backed slices of a depth plane copy #22531

Open
bagodees wants to merge 4 commits from upstream-pr/22531 into main
bagodees commented 2026-11-17 19:15:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by bagodees on 2026-11-17T19:15:42Z.


What

A depth plane sampled as a 2D array was copied into an image with memory for every slice from 0 to LAST_ARRAY, whatever backs them. Uncharted: Legacy of Thieves Collection (PPSA05684) samples its 2560x1440 D32 depth plane as a 2D array whose LAST_ARRAY varies by frame; in 11 of 57 cold runs it reached 896 to 1792. Each such sample allocated one copy of 14 to 28 GB plus a staging buffer of the same size, both placed in host memory after the device refused them. Only slice 0 has a depth surface, and 1792 slices of that plane (about 26 GB) is more than the console's memory, so most of the declared range cannot be backed.

When slices past some point have neither a depth surface nor committed guest memory, the copy is now a sparse image of every declared slice that binds memory only up to the last slice that has either. The staging buffer covers only those slices. Unbound slices read zero, as uncommitted guest memory is read here, so loads, samples and size queries return what the fully bound copy returned. This needs sparse residency for the copy's format, residencyNonResidentStrict and enough array layers for a sparse image; otherwise, and for cubes and thick layouts, the copy binds every slice as before. A copy is made again when a later sample finds more backed slices than it binds.

SparseImageSupported, SparseRequirements and BindSparseLevels move out of the sampled-texture path in Texture.cpp so the copy can use them, and PlanSparseLevels takes the aspect, since these copies are depth images. Context gains residencyNonResidentStrict.

Tested

Windows 11 Pro (26300), NVIDIA GeForce RTX 4080 (driver 621.01), WinLibs GCC 15.2 UCRT, Release, on main 89b0eef7ab. The driver change is in 3e12a17b7e; 3eca88d569 changes only the test. The RTX 4080 reports sparse residency for D32, D16 and R16_UINT 2D images (up to 2048 layers) and residencyNonResidentStrict.

  • New case in agc_driver_depth_plane_sampling (UnbackedTailCase): a 128x128 D32 2D array with LAST_ARRAY 255 in a guest block of its own, whose first 2 slices are committed and whose other 254 are reserved and uncommitted (PROT_NONE on Linux, reserved arena memory on Windows), so the OS reports them unreadable on every host. At 3e12a17b7e the case sat at the end of the shared 8 MiB block instead, which fails wherever readable memory follows that block, as on the Linux run below. At 3eca88d569, slices 0, 1, 2 and 255 are read with image_load: the drawn value, the filled value, 0 and 0. Where the device can make the copy sparse it must hold less than 16 slices; here it holds 262144 bytes, against 33554432 on main. Where it cannot, it must hold every slice. With the sparse path forced off, the case passes with every slice bound (33554432 bytes).
  • At 3e12a17b7e: ctest -R "depth|sparse" (111 tests; agc_depth_range_remap, guest_ces_sparse_profiles* and windows_sparse_load excluded) with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (SDK 1.4.363), VK_LOADER_DEBUG=layer, on the change and on main. Every test that ran passed on both, apart from tests that skip themselves on this machine (agc_driver_native_depth_driver_queued_fill, agc_driver_sparse_dma_buf_import, agc_host_import_sparse) on both. agc_driver_texture_sparse_levels and agc_driver_sparse_buffer_holes were then built and run on both and pass. The new case fails on main (shown by the first revision of this PR; on main it does not build now, as it uses DepthPlaneCopyCanBeSparse). Every log shows the layer inserted, no was not found line and no VUID-. agc_depth_range_remap_tests.exe is removed by Windows Defender right after linking on this machine, on main too, so it was not run.
  • At 3eca88d569: both agc_driver_depth_plane_sampling registrations with the same environment, on the sparse path (262144 bytes) and with it forced off (33554432 bytes): pass, layer inserted, no VUID-.
  • domx4q ran ctest -R depth at 3e12a17b7e on Arch Linux with an RTX 4090 (driver 620.70.06): no VUID-, and both agc_driver_depth_plane_sampling registrations failed in the old placement of the case, with values that change between runs (one is the ASCII text Tabl), which points to readable memory after the 8 MiB block rather than the copy. 3eca88d569 is not yet run there.
  • The first revision of this PR shortened the copy instead and was run on PPSA05684 (four cold 8-minute runs): no oversized copy and no host-placed staging buffer; one run still lost the device with a write fault, without any large copy, so the title's device loss has another cause as well. This revision was not run on the title.
  • tools/check_conventions.py --base upstream/main and git diff --check pass.

Not tested: AMD and Mesa drivers at the current head. tablefrogpillow's RADV and lavapipe runs were of the first revision (a07e947ce5), whose shortened copy left loads past it out of bounds. Where these drivers lack sparse residency for depth formats, the copy binds every slice, as on main.

tools/pr_overlap.py reports #18185 on neighbouring lines of DepthSurfaceTexture (it adds fields to each slice) and #10894, #19697 and #20041 on the offsets table of DepthPlaneSampling.cpp; neither implements this change.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4080, driver 621.01, Windows 11 Pro 26300
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5363360938 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22531). Originally posted by [bagodees](https://github.com/bagodees) on 2026-11-17T19:15:42Z. --- ### What A depth plane sampled as a 2D array was copied into an image with memory for every slice from 0 to `LAST_ARRAY`, whatever backs them. Uncharted: Legacy of Thieves Collection (PPSA05684) samples its 2560x1440 D32 depth plane as a 2D array whose `LAST_ARRAY` varies by frame; in 11 of 57 cold runs it reached 896 to 1792. Each such sample allocated one copy of 14 to 28 GB plus a staging buffer of the same size, both placed in host memory after the device refused them. Only slice 0 has a depth surface, and 1792 slices of that plane (about 26 GB) is more than the console's memory, so most of the declared range cannot be backed. When slices past some point have neither a depth surface nor committed guest memory, the copy is now a sparse image of every declared slice that binds memory only up to the last slice that has either. The staging buffer covers only those slices. Unbound slices read zero, as uncommitted guest memory is read here, so loads, samples and size queries return what the fully bound copy returned. This needs sparse residency for the copy's format, `residencyNonResidentStrict` and enough array layers for a sparse image; otherwise, and for cubes and thick layouts, the copy binds every slice as before. A copy is made again when a later sample finds more backed slices than it binds. `SparseImageSupported`, `SparseRequirements` and `BindSparseLevels` move out of the sampled-texture path in `Texture.cpp` so the copy can use them, and `PlanSparseLevels` takes the aspect, since these copies are depth images. `Context` gains `residencyNonResidentStrict`. ### Tested Windows 11 Pro (26300), NVIDIA GeForce RTX 4080 (driver 621.01), WinLibs GCC 15.2 UCRT, Release, on `main` `89b0eef7ab`. The driver change is in `3e12a17b7e`; `3eca88d569` changes only the test. The RTX 4080 reports sparse residency for D32, D16 and R16_UINT 2D images (up to 2048 layers) and `residencyNonResidentStrict`. - New case in `agc_driver_depth_plane_sampling` (`UnbackedTailCase`): a 128x128 D32 2D array with `LAST_ARRAY` 255 in a guest block of its own, whose first 2 slices are committed and whose other 254 are reserved and uncommitted (`PROT_NONE` on Linux, reserved arena memory on Windows), so the OS reports them unreadable on every host. At `3e12a17b7e` the case sat at the end of the shared 8 MiB block instead, which fails wherever readable memory follows that block, as on the Linux run below. At `3eca88d569`, slices 0, 1, 2 and 255 are read with `image_load`: the drawn value, the filled value, 0 and 0. Where the device can make the copy sparse it must hold less than 16 slices; here it holds 262144 bytes, against 33554432 on `main`. Where it cannot, it must hold every slice. With the sparse path forced off, the case passes with every slice bound (33554432 bytes). - At `3e12a17b7e`: `ctest -R "depth|sparse"` (111 tests; `agc_depth_range_remap`, `guest_ces_sparse_profiles*` and `windows_sparse_load` excluded) with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` (SDK 1.4.363), `VK_LOADER_DEBUG=layer`, on the change and on `main`. Every test that ran passed on both, apart from tests that skip themselves on this machine (`agc_driver_native_depth_driver_queued_fill`, `agc_driver_sparse_dma_buf_import`, `agc_host_import_sparse`) on both. `agc_driver_texture_sparse_levels` and `agc_driver_sparse_buffer_holes` were then built and run on both and pass. The new case fails on `main` (shown by the first revision of this PR; on `main` it does not build now, as it uses `DepthPlaneCopyCanBeSparse`). Every log shows the layer inserted, no `was not found` line and no `VUID-`. `agc_depth_range_remap_tests.exe` is removed by Windows Defender right after linking on this machine, on `main` too, so it was not run. - At `3eca88d569`: both `agc_driver_depth_plane_sampling` registrations with the same environment, on the sparse path (262144 bytes) and with it forced off (33554432 bytes): pass, layer inserted, no `VUID-`. - [domx4q](https://github.com/boykopovar/AnyPS5/pull/22531#issuecomment-6959850449) ran `ctest -R depth` at `3e12a17b7e` on Arch Linux with an RTX 4090 (driver 620.70.06): no `VUID-`, and both `agc_driver_depth_plane_sampling` registrations failed in the old placement of the case, with values that change between runs (one is the ASCII text `Tabl`), which points to readable memory after the 8 MiB block rather than the copy. `3eca88d569` is not yet run there. - The first revision of this PR shortened the copy instead and was run on PPSA05684 (four cold 8-minute runs): no oversized copy and no host-placed staging buffer; one run still lost the device with a write fault, without any large copy, so the title's device loss has another cause as well. This revision was not run on the title. - `tools/check_conventions.py --base upstream/main` and `git diff --check` pass. Not tested: AMD and Mesa drivers at the current head. [tablefrogpillow's RADV and lavapipe runs](https://github.com/boykopovar/AnyPS5/pull/22531#issuecomment-6958957934) were of the first revision (`a07e947ce5`), whose shortened copy left loads past it out of bounds. Where these drivers lack sparse residency for depth formats, the copy binds every slice, as on `main`. `tools/pr_overlap.py` reports #18185 on neighbouring lines of `DepthSurfaceTexture` (it adds fields to each slice) and #10894, #19697 and #20041 on the offsets table of `DepthPlaneSampling.cpp`; neither implements this change. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> none - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> NVIDIA GeForce RTX 4080, driver 621.01, Windows 11 Pro 26300 - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-11-21 10:54:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T10:54:29Z.

Review: DISMISSED


Reviewed — changes requested

Changes are required before merge: compute the bound slice count from committed ranges without treating gaps before the last range as backed.

What I ran

  • Reviewed head 3eca88d569daed6a6ee1999b0412da8183dda28d from the prepared diff and reader. No build or tests were run.
  • Read: VulkanDevice.cpp, Context.hpp, DepthSurface.hpp, Texture.hpp, DepthSurface.cpp, Texture.cpp, DepthPlaneSampling.cpp, and GuestMemory.cpp; also reviewed description.md, commits.md, manifest.json, and diff.patch.
  • Excluded by the bundle: VulkanDevice.cpp and Texture.cpp full texts (the changed hunks were read through the reader). files.json was unavailable in the reader; the manifest lists all eight changed files and says six full texts are included.

Results

Check Result Note
Diff and targeted source review passed Found one concrete edge case
Build and tests not run No execution environment available
Other changed-file behavior not verified Full audit not completed

Findings

Blocking

  • core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:171 — backedPlaneLayers derives the backing prefix from ranges.back().second. If committed guest memory has a gap and a later committed range, this counts every intervening layer as backed. The sparse image then binds those gap layers and stages them with ReadCommitted, despite their pages being uncommitted. Compute the maximum backed prefix from contiguous committed bytes starting at address (while still accounting for depth surface slices), and add coverage for a committed range after a gap.

Non-blocking

None.

Not verified

  • Build, tests, validation-layer runs, and physical-console behavior were not run. The author reports NVIDIA/Windows tests in the description; those are not runs performed for this review.
  • The sparse path was inspected, but this review did not exhaustively verify Vulkan sparse binding behavior across drivers.

To get this to a good state

Fix the gap handling in backedPlaneLayers and add a regression case with committed pages after an uncommitted gap. Then rerun the relevant depth-plane sampling tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004764300 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22531#pullrequestreview-6004764300). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T10:54:29Z. **Review:** DISMISSED --- # Reviewed — changes requested Changes are required before merge: compute the bound slice count from committed ranges without treating gaps before the last range as backed. ## What I ran - Reviewed head `3eca88d569daed6a6ee1999b0412da8183dda28d` from the prepared diff and reader. No build or tests were run. - Read: `VulkanDevice.cpp`, `Context.hpp`, `DepthSurface.hpp`, `Texture.hpp`, `DepthSurface.cpp`, `Texture.cpp`, `DepthPlaneSampling.cpp`, and `GuestMemory.cpp`; also reviewed `description.md`, `commits.md`, `manifest.json`, and `diff.patch`. - Excluded by the bundle: `VulkanDevice.cpp` and `Texture.cpp` full texts (the changed hunks were read through the reader). `files.json` was unavailable in the reader; the manifest lists all eight changed files and says six full texts are included. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted source review | passed | Found one concrete edge case | | Build and tests | not run | No execution environment available | | Other changed-file behavior | not verified | Full audit not completed | ## Findings ### Blocking - `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:171` — `backedPlaneLayers` derives the backing prefix from `ranges.back().second`. If committed guest memory has a gap and a later committed range, this counts every intervening layer as backed. The sparse image then binds those gap layers and stages them with `ReadCommitted`, despite their pages being uncommitted. Compute the maximum backed prefix from contiguous committed bytes starting at `address` (while still accounting for depth surface slices), and add coverage for a committed range after a gap. ### Non-blocking None. ## Not verified - Build, tests, validation-layer runs, and physical-console behavior were not run. The author reports NVIDIA/Windows tests in the description; those are not runs performed for this review. - The sparse path was inspected, but this review did not exhaustively verify Vulkan sparse binding behavior across drivers. ## To get this to a good state Fix the gap handling in `backedPlaneLayers` and add a regression case with committed pages after an uncommitted gap. Then rerun the relevant depth-plane sampling tests.
MarcZX10 commented 2026-11-22 05:02:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T05:02:31Z.

Review: COMMENTED


Reviewed — comments

The sparse copy bounds memory use to the last backed layer, but the changes leave a correctness and resource-lifetime issue in the sparse image path.

What I ran

Reviewed head 73e3c65537860540c57c3720c92731f01e8a8d1f using repo_read.py to inspect the prepared diff and targeted source ranges. No commands or tests were run during this review.

Results

Check Result Note
Diff and changed code passed Core paths inspected
Automated tests not run No local test execution
Full changed-file review not run VulkanDevice.cpp and Texture.cpp were inspected only at relevant ranges

Findings

Blocking

None verified.

Non-blocking

  • The sparse image is created with arrayLayers = layers, but PlanSparseLevels is called with arrayLayers = max(backed, 1). The resulting bind plan allocates sparse binds only for the backed prefix, while the image's remaining array layers are intentionally nonresident. This appears consistent with the stated design, but depends on sparse residency semantics and the strict-nonresident feature; physical-device behavior was not tested here. See core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:2646.

  • The GuestBlock test destructor removes allocation tracking and unmaps/releases reserved memory before unregistering write-watch ranges. If unregistering consults or accesses the memory range, that order could be problematic; I did not inspect the unregister implementation. See core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp:151.

Not verified

  • Full texts of core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp and core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp were excluded from the review bundle; only the relevant changed and neighboring ranges were read through repo_read.py.
  • Other changed files were not read in full. The manifest lists Context.hpp, DepthSurface.hpp, Texture.hpp, DepthSurface.cpp, DepthPlaneSampling.cpp, and the debt note as included; targeted sections of DepthSurface.cpp and DepthPlaneSampling.cpp and the relevant declaration/implementation ranges in the excluded files were inspected.
  • Tests and behavior on AMD/Mesa, other Vulkan drivers, and the target game were not run or confirmed by this reviewer. The description reports author-run results on an RTX 4080/Windows 11 and an RTX 4090/Arch Linux on an earlier revision.

To get this to a good state

Nothing is required. The points above are optional context for follow-up validation.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6010479504 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22531#pullrequestreview-6010479504). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T05:02:31Z. **Review:** COMMENTED --- # Reviewed — comments The sparse copy bounds memory use to the last backed layer, but the changes leave a correctness and resource-lifetime issue in the sparse image path. ## What I ran Reviewed head `73e3c65537860540c57c3720c92731f01e8a8d1f` using `repo_read.py` to inspect the prepared diff and targeted source ranges. No commands or tests were run during this review. ## Results | Check | Result | Note | |---|---|---| | Diff and changed code | passed | Core paths inspected | | Automated tests | not run | No local test execution | | Full changed-file review | not run | `VulkanDevice.cpp` and `Texture.cpp` were inspected only at relevant ranges | ## Findings ### Blocking None verified. ### Non-blocking - The sparse image is created with `arrayLayers = layers`, but `PlanSparseLevels` is called with `arrayLayers = max(backed, 1)`. The resulting bind plan allocates sparse binds only for the backed prefix, while the image's remaining array layers are intentionally nonresident. This appears consistent with the stated design, but depends on sparse residency semantics and the strict-nonresident feature; physical-device behavior was not tested here. See `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:2646`. - The `GuestBlock` test destructor removes allocation tracking and unmaps/releases reserved memory before unregistering write-watch ranges. If unregistering consults or accesses the memory range, that order could be problematic; I did not inspect the unregister implementation. See `core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp:151`. ## Not verified - Full texts of `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` and `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` were excluded from the review bundle; only the relevant changed and neighboring ranges were read through `repo_read.py`. - Other changed files were not read in full. The manifest lists `Context.hpp`, `DepthSurface.hpp`, `Texture.hpp`, `DepthSurface.cpp`, `DepthPlaneSampling.cpp`, and the debt note as included; targeted sections of `DepthSurface.cpp` and `DepthPlaneSampling.cpp` and the relevant declaration/implementation ranges in the excluded files were inspected. - Tests and behavior on AMD/Mesa, other Vulkan drivers, and the target game were not run or confirmed by this reviewer. The description reports author-run results on an RTX 4080/Windows 11 and an RTX 4090/Arch Linux on an earlier revision. ## To get this to a good state Nothing is required. The points above are optional context for follow-up validation.
ligmaSec commented 2026-12-03 18:30:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T18:30:49Z.

Review: COMMENTED


A shared mip tail can bind the layers that Refresh skips. If the driver reports imageMipTailFirstLod == 0 with VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, PlanSparseLevels binds the one opaque tail for every declared array layer even when passed a smaller layer count. DepthPlaneCopy still sets resident to the smaller count, and Refresh skips all layers at or above it. Those layers have bound, uninitialized depth texels, so residencyNonResidentStrict cannot supply zeroes for them. Could DepthPlaneCopy fall back to a fully initialized copy when its only mip shares a tail across layers, and cover that requirements shape in the sparse-plan test? Vulkan sparse mip tail rules

Source review of 73e3c65537. The current integration has conflicts in the depth copy and its test.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6176008139 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22531#pullrequestreview-6176008139). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T18:30:49Z. **Review:** COMMENTED --- A shared mip tail can bind the layers that `Refresh` skips. If the driver reports `imageMipTailFirstLod == 0` with `VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT`, `PlanSparseLevels` binds the one opaque tail for every declared array layer even when passed a smaller layer count. `DepthPlaneCopy` still sets `resident` to the smaller count, and `Refresh` skips all layers at or above it. Those layers have bound, uninitialized depth texels, so `residencyNonResidentStrict` cannot supply zeroes for them. Could `DepthPlaneCopy` fall back to a fully initialized copy when its only mip shares a tail across layers, and cover that requirements shape in the sparse-plan test? [Vulkan sparse mip tail rules](https://docs.vulkan.org/spec/latest/chapters/sparsemem.html#sparsememory-miptail) Source review of `73e3c65537`. The current integration has conflicts in the depth copy and its test. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/22531:upstream-pr/22531'
git switch 'upstream-pr/22531'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/22531'
git switch 'upstream-pr/22531'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/22531'
git switch 'upstream-pr/22531'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/22531'
git switch 'main'
git merge --squash 'upstream-pr/22531'
git switch 'main'
git merge --ff-only 'upstream-pr/22531'
git switch 'main'
git merge 'upstream-pr/22531'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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
boykopovar/AnyPS5!22531
No description provided.