Gran Turismo 7 (PPSA01317 01.710.000): aborts after buying a used car: "guest texture sampled with unnormalized coordinates ... (base level 0, levels 10, layers 1, view type 1)" #16650

Open
opened 2026-11-07 13:16:59 +00:00 by humanityBG · 0 comments
humanityBG commented 2026-11-07 13:16:59 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by humanityBG on 2026-11-07T13:16:59Z.


What happens

Gran Turismo 7 throws and aborts on the screen after a used car is bought:

AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, and is neither a single-level view at mip 0 nor read only by image_sample_lz through an S# without minimum LOD or bias, which is not implemented (base level 0, levels 10, layers 1, view type 1)

This is the gap in docs/dev/debt/shader.md ("Unnormalized S#s are accepted only when direct and used only by image_sample ... on a single-layer 1D or 2D view that is one level at mip 0 ..."): the view here is 2D, single-layer, base level 0, 10 levels.

Title, test or build step

Gran Turismo 7, PPSA01317 01.710.000. Own decrypted dump, every module unwrapped from SELF, relinked with --windows --to-intel.

AnyPS5 commit

main 33876d3742 + #9020 head b24fdaefeb (now merged) + #7256 head 6ceaa3963c, merged locally without conflicts (local merge commit 108db4620dc5). WinLibs GCC 15.2.0 r7, Release.

System

Windows 11 (10.0.26300), Intel i9-7920X (24 threads), 32 GB, NVIDIA GeForce RTX 2080 Ti, driver 617.42.

Host report

AnyPS5 host report (format 1)
commit: 108db4620dc5
[system]
os: Windows 10.0.26300
cpu: Intel(R) Core(TM) i9-7920X CPU @ 2.90GHz
cpu_threads: 24
memory_mib: 32457
cpu_gate: passed
[sdl]
linked: 2.33.0
compiled: 2.33.0
[gpu]
device: NVIDIA GeForce RTX 2080 Ti
type: discrete
vendor_id: 0x10de
device_id: 0x1e07
vulkan_api: 1.4.351
driver: NVIDIA
driver_info: 617.42
driver_version_raw: 0x9a4a8000
subgroup_size: 32
device_local_mib: 11027

All required Vulkan items are present (full block on request).

Steps to reproduce

  1. APS5_STALL_WATCHDOG_SECS=30, APS5_LOG_TIMESTAMPS=1, start app.exe.
  2. Boot to the menu, open the world map, enter the used car dealership.
  3. Buy a car and confirm. The next screen starts to load, then the process aborts.

It stopped at +1959 s into a run that also compiled most of its pipelines for the first time (see #13219 for the compile times). 1 of 1 runs; not retried yet, because the car is now owned in the save.

Log

[shader-disk-cache] (10 s): 0 hits, 219 misses, 218 writes (178.4 MiB), 0 load failures, 0 write failures; resource plans: 7 hits, 157 misses, 156 writes, 0 load failures; 0.1 MiB read in 42.1 ms (totals: 2857 hits, 509 misses, 508 writes; plans 2779 hits, 420 misses)
[+1959.156769 s] [Shaders/ShaderRegistry.cpp:896 ReportPreparedAtUse] Shader 0x12721c9b00 stage 3 has no artifact prepared at registration for the state of this draw or dispatch; preparing it at use
[+1959.211173 s] [Shaders/ShaderRegistry.cpp:896 ReportPreparedAtUse] Shader 0x12721eb000 stage 6 has no artifact prepared at registration for the state of this draw or dispatch; preparing it at use
[gpu] driver failure: AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, and is neither a single-level view at mip 0 nor read only by image_sample_lz through an S# without minimum LOD or bias, which is not implemented (base level 0, levels 10, layers 1, view type 1)
[videoout] presentation failed: AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, ... (base level 0, levels 10, layers 1, view type 1)
terminate called after throwing an instance of 'std::runtime_error'
  what():  AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, ... (base level 0, levels 10, layers 1, view type 1)
FATAL: abort() (SIGABRT) on thread 21452
    #0 0x00007fff6156a408 libc.prx+0x3a408
    #1 0x00007fff616ed0c1 libc.prx+0x1bd0c1
  stack return address candidates include libSceVideoOut.prx+0x1a9757, +0x9560, +0x12bf0, +0x14fd0, +0x109f2

The message does not name the shader or the S#. The two shaders prepared at use just before are the most likely users.

What was checked

  • Searched open issues and PRs for the message and for "unnormalized coordinates": #1377 (merged) covers the base level of mipmapped views, #14963 and #14964 add clamp modes; none covers this case.
  • The same build passes the menus, world map, dealership (60 FPS once its pipelines are compiled) and saving.
  • Full run18.err.log (with pm4 rings) and the Windows crash dump are available on request.

AI-assisted: the game ran and was played on my machine; the runs, the log and debugger analysis and this text were done with Claude Code (model: Claude Opus 5.5).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6259487336 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/16650). Originally posted by [humanityBG](https://github.com/humanityBG) on 2026-11-07T13:16:59Z. --- ### What happens Gran Turismo 7 throws and aborts on the screen after a used car is bought: ```text AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, and is neither a single-level view at mip 0 nor read only by image_sample_lz through an S# without minimum LOD or bias, which is not implemented (base level 0, levels 10, layers 1, view type 1) ``` This is the gap in `docs/dev/debt/shader.md` ("Unnormalized S#s are accepted only when direct and used only by `image_sample` ... on a single-layer 1D or 2D view that is one level at mip 0 ..."): the view here is 2D, single-layer, base level 0, **10 levels**. ### Title, test or build step Gran Turismo 7, PPSA01317 01.710.000. Own decrypted dump, every module unwrapped from SELF, relinked with `--windows --to-intel`. ### AnyPS5 commit `main` 33876d3742 + #9020 head b24fdaefeb (now merged) + #7256 head 6ceaa3963c, merged locally without conflicts (local merge commit 108db4620dc5). WinLibs GCC 15.2.0 r7, Release. ### System Windows 11 (10.0.26300), Intel i9-7920X (24 threads), 32 GB, NVIDIA GeForce RTX 2080 Ti, driver 617.42. ### Host report ```text AnyPS5 host report (format 1) commit: 108db4620dc5 [system] os: Windows 10.0.26300 cpu: Intel(R) Core(TM) i9-7920X CPU @ 2.90GHz cpu_threads: 24 memory_mib: 32457 cpu_gate: passed [sdl] linked: 2.33.0 compiled: 2.33.0 [gpu] device: NVIDIA GeForce RTX 2080 Ti type: discrete vendor_id: 0x10de device_id: 0x1e07 vulkan_api: 1.4.351 driver: NVIDIA driver_info: 617.42 driver_version_raw: 0x9a4a8000 subgroup_size: 32 device_local_mib: 11027 ``` All required Vulkan items are present (full block on request). ### Steps to reproduce 1. `APS5_STALL_WATCHDOG_SECS=30`, `APS5_LOG_TIMESTAMPS=1`, start `app.exe`. 2. Boot to the menu, open the world map, enter the used car dealership. 3. Buy a car and confirm. The next screen starts to load, then the process aborts. It stopped at +1959 s into a run that also compiled most of its pipelines for the first time (see #13219 for the compile times). 1 of 1 runs; not retried yet, because the car is now owned in the save. ### Log ```text [shader-disk-cache] (10 s): 0 hits, 219 misses, 218 writes (178.4 MiB), 0 load failures, 0 write failures; resource plans: 7 hits, 157 misses, 156 writes, 0 load failures; 0.1 MiB read in 42.1 ms (totals: 2857 hits, 509 misses, 508 writes; plans 2779 hits, 420 misses) [+1959.156769 s] [Shaders/ShaderRegistry.cpp:896 ReportPreparedAtUse] Shader 0x12721c9b00 stage 3 has no artifact prepared at registration for the state of this draw or dispatch; preparing it at use [+1959.211173 s] [Shaders/ShaderRegistry.cpp:896 ReportPreparedAtUse] Shader 0x12721eb000 stage 6 has no artifact prepared at registration for the state of this draw or dispatch; preparing it at use [gpu] driver failure: AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, and is neither a single-level view at mip 0 nor read only by image_sample_lz through an S# without minimum LOD or bias, which is not implemented (base level 0, levels 10, layers 1, view type 1) [videoout] presentation failed: AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, ... (base level 0, levels 10, layers 1, view type 1) terminate called after throwing an instance of 'std::runtime_error' what(): AGC graphics: guest texture sampled with unnormalized coordinates is not a single-layer 1D or 2D view without a minimum LOD clamp, ... (base level 0, levels 10, layers 1, view type 1) FATAL: abort() (SIGABRT) on thread 21452 #0 0x00007fff6156a408 libc.prx+0x3a408 #1 0x00007fff616ed0c1 libc.prx+0x1bd0c1 stack return address candidates include libSceVideoOut.prx+0x1a9757, +0x9560, +0x12bf0, +0x14fd0, +0x109f2 ``` The message does not name the shader or the S#. The two shaders prepared at use just before are the most likely users. ### What was checked - Searched open issues and PRs for the message and for "unnormalized coordinates": #1377 (merged) covers the base level of mipmapped views, #14963 and #14964 add clamp modes; none covers this case. - The same build passes the menus, world map, dealership (60 FPS once its pipelines are compiled) and saving. - Full `run18.err.log` (with pm4 rings) and the Windows crash dump are available on request. AI-assisted: the game ran and was played on my machine; the runs, the log and debugger analysis and this text were done with Claude Code (model: Claude Opus 5.5).
Sign in to join this conversation.
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#16650
No description provided.