[GAME STATUS]: PPSA01316 - Gran Turismo 7 v.1.0 #1930

Open
opened 2026-11-26 10:09:19 +00:00 by github-bot · 10 comments
Owner

@⁠md-archive on GitHub · 2026-10-27 01:49 UTC · original

Game title

Gran Turismo 7

Game ID / serial

PPSA01316

KytyPS5 version

Release, clang-lld, f90a8b1

Compatibility status

Logo

Last working build / first broken build

N/A

Result details

The game tries network connection, shows an error, the loads into the Logo Intro, after a few moments the game crashes

Steps to reproduce the result

./launcher
choose the game from the list
start it
get a PSN error dialogue
get a slowed down version of PS Studio Logo

Expected behavior

No known issue, the game wasn't bootable on d3d7bd3 so this behaviour is new

OS

Fedora Linux 43 — kernel 7.2.9-101.fc43.x86_64 #1

CPU

AMD Ryzen 9 6900HX

GPU

NVIDIA GeForce RTX 3070 Ti Laptop GPU

RAM / VRAM

32 GB DDR5 / 8GB Vram

Log file upload

logs_kyty.txt.tar.gz

Screenshots/video

https://github.com/user-attachments/assets/0ce30e51-1cd8-447a-9ee1-7a2f3a133dc6

Extra notes

No response

**@⁠md-archive** on GitHub · 2026-10-27 01:49 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930) ### Game title Gran Turismo 7 ### Game ID / serial PPSA01316 ### KytyPS5 version Release, clang-lld, f90a8b1 ### Compatibility status Logo ### Last working build / first broken build N/A ### Result details The game tries network connection, shows an error, the loads into the Logo Intro, after a few moments the game crashes ### Steps to reproduce the result > ./launcher > choose the game from the list > start it > get a PSN error dialogue > get a slowed down version of PS Studio Logo ### Expected behavior No known issue, the game wasn't bootable on d3d7bd3 so this behaviour is new ### OS Fedora Linux 43 — kernel 7.2.9-101.fc43.x86_64 #1 ### CPU AMD Ryzen 9 6900HX ### GPU NVIDIA GeForce RTX 3070 Ti Laptop GPU ### RAM / VRAM 32 GB DDR5 / 8GB Vram ### Log file upload [logs_kyty.txt.tar.gz](https://github.com/user-attachments/files/33994321/logs_kyty.txt.tar.gz) ### Screenshots/video https://github.com/user-attachments/assets/0ce30e51-1cd8-447a-9ee1-7a2f3a133dc6 ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:09:19 +00:00
Author
Owner

@⁠Ekt0re on GitHub · 2026-10-27 11:19 UTC · original

Error log:
[61][00:00:37.126] libkernel::libkernel::PthreadCondWait()
Equeue wait received 1 events: ident = 0x0000000000000000, filter = -14, flags = 0x0000, fflags = 0x00000001, data = 0x0000000000000000, udata = 0x0000000000000000
Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34
Equeue wait received 1 events: ident = 0x0000000000000001, filter = -7, flags = 0x0021, fflags = 0x00000000, data = 0x0000000000000001, udata = 0x0000000000000000
Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34
Equeue wait received 1 events: ident = 0x0000000000000001, filter = -13, flags = 0x0000, fflags = 0x00000001, data = 0x00000000087a18f5, udata = 0x0000000000000000
Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34
Equeue wait received 1 events: ident = 0x0000000000000000, filter = -13, flags = 0x0000, fflags = 0x00000001, data = 0xffffffffffff1989, udata = 0x0000000000000000
count = 2093
processTime = 36235912
processTimeCounter = 119353849032
submitProcessTimeCounter = 119253948660
flipArg = -1
gcQueueNum = 0
flipPendingNum = 1
currentBuffer = -1
Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34
[61][00:00:37.141] libkernel::libkernel::PthreadSetprio()
PthreadSetprio: 61, 389
large_motor = 0
small_motor = 0
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
pixel_format = 8100000022000000
tiling_mode = 0
width = 1920
height = 1080
option = 0000000000000000
dcc_control = 00100024
dcc_cb_register_clear_color = 0000000000000000
start_index = 0
buffer_num = 3
set_index = 0
pixel_format = 0x8100000022000000
tiling_mode = 0
aspect_ratio = 0
width = 1920
height = 1080
pitch_in_pixel = 0
option = 0
category = 1
buffers[0]: data=0x200a00000 metadata=0x206a00000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
temporary: accepting PS5 indirect buffer control flags = 0x0f800000
Errore dai log:
--- Build ---
Source build f90a8b1
--- Error ---
unsupported or invalid video-out surface attributes
in /home/avs202x/Documents/PersonalDev/GitProjects/KytyPS5/src/graphics/presentation/videoOut.cpp:571
handle = 1
data = 0x00000007ea17f500
num = 64
[61][00:00:37.141] libkernel::libkernel::PthreadCondWait()

Main Error:
The crash is caused by a blocking exception within the emulator's graphics presentation module:

  • Exception: unsupported or invalid video-out surface attributes
  • File and line: src/graphics/presentation/videoOut.cpp:571

Causes:
Incompatible Pixel Format (pixel_format = 0x8100000022000000):

  • The game is attempting to register a video output buffer with a pixel format or color space specific to the PS5. This is not yet recognized or implemented in videoOut.cpp.
    Abnormal Buffer Geometry (pitch_in_pixel = 0):
  • The pitch value is 0. The emulator may reject the surface because the value stored in the buffer is invalid.
    Incomplete PS5 Indirect Buffer Handling:
  • The previous warning messages (temporary: accepting PS5 indirect buffer control flags = 0x0f800000) indicate that the emulator is temporarily ignoring the PS5 GPU’s indirect buffer control flags.
**@⁠Ekt0re** on GitHub · 2026-10-27 11:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-6440603269) ### This error is not related to the PSN. **Error log:** _[61][00:00:37.126] libkernel::libkernel::PthreadCondWait() Equeue wait received 1 events: ident = 0x0000000000000000, filter = -14, flags = 0x0000, fflags = 0x00000001, data = 0x0000000000000000, udata = 0x0000000000000000 Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34 Equeue wait received 1 events: ident = 0x0000000000000001, filter = -7, flags = 0x0021, fflags = 0x00000000, data = 0x0000000000000001, udata = 0x0000000000000000 Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34 Equeue wait received 1 events: ident = 0x0000000000000001, filter = -13, flags = 0x0000, fflags = 0x00000001, data = 0x00000000087a18f5, udata = 0x0000000000000000 Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34 Equeue wait received 1 events: ident = 0x0000000000000000, filter = -13, flags = 0x0000, fflags = 0x00000001, data = 0xffffffffffff1989, udata = 0x0000000000000000 count = 2093 processTime = 36235912 processTimeCounter = 119353849032 submitProcessTimeCounter = 119253948660 flipArg = -1 gcQueueNum = 0 flipPendingNum = 1 currentBuffer = -1 Equeue wait: PGL EventQ, caller = 0x0000000900f4ceac, eq = 0x0000000000000002, ev = 0x00000007eceb3f90, num = 1, timo = inf, thread_id = 34 [61][00:00:37.141] libkernel::libkernel::PthreadSetprio() PthreadSetprio: 61, 389 large_motor = 0 small_motor = 0 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 pixel_format = 8100000022000000 tiling_mode = 0 width = 1920 height = 1080 option = 0000000000000000 dcc_control = 00100024 dcc_cb_register_clear_color = 0000000000000000 start_index = 0 buffer_num = 3 set_index = 0 pixel_format = 0x8100000022000000 tiling_mode = 0 aspect_ratio = 0 width = 1920 height = 1080 pitch_in_pixel = 0 option = 0 category = 1 buffers[0]: data=0x200a00000 metadata=0x206a00000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 temporary: accepting PS5 indirect buffer control flags = 0x0f800000 Errore dai log: --- Build --- Source build f90a8b1 --- Error --- unsupported or invalid video-out surface attributes in /home/avs202x/Documents/PersonalDev/GitProjects/KytyPS5/src/graphics/presentation/videoOut.cpp:571 handle = 1 data = 0x00000007ea17f500 num = 64 [61][00:00:37.141] libkernel::libkernel::PthreadCondWait()_ **Main Error:** The crash is caused by a blocking exception within the emulator's graphics presentation module: - Exception: unsupported or invalid video-out surface attributes - File and line: src/graphics/presentation/videoOut.cpp:571 **Causes:** Incompatible Pixel Format (pixel_format = 0x8100000022000000): - The game is attempting to register a video output buffer with a pixel format or color space specific to the PS5. This is not yet recognized or implemented in videoOut.cpp. Abnormal Buffer Geometry (pitch_in_pixel = 0): - The pitch value is 0. The emulator may reject the surface because the value stored in the buffer is invalid. Incomplete PS5 Indirect Buffer Handling: - The previous warning messages (temporary: accepting PS5 indirect buffer control flags = 0x0f800000) indicate that the emulator is temporarily ignoring the PS5 GPU’s indirect buffer control flags.
Author
Owner

@⁠Nawid3333 on GitHub · 2026-10-27 17:55 UTC · original

@⁠md-archive The exit comes from the video-out check rejecting the DCC layout of your display buffers. The registration just before the error has category = 1 (compressed) and dcc_control = 00100024, and video-out only accepts 0x48 and 0x208 there. 0x00100024 is the layout with 128-byte blocks (128-byte maximum uncompressed and compressed block size, independent 128-byte blocks). The other logged attributes pass that check, pitch_in_pixel = 0 included, and the pixel format is checked after it: the two registrations earlier in your log used the same pixel format at 3840 wide with dcc_control = 00000208, and they went through.

Your log is from f90a8b1; the check is the same on current upstream main. Since you build from source: could you try the branch fix/videoout-dcc-128b of https://github.com/Nawid3333/KytyPS5 (upstream main 0685bffb plus one commit that accepts this layout) and tell me whether GT7 gets past this point, and where it stops next? Other changes between f90a8b1 and 0685bffb may also change where it stops. If it gets past this point, I'll open a PR with your result.

**@⁠Nawid3333** on GitHub · 2026-10-27 17:55 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-6449599101) @⁠md-archive The exit comes from the video-out check rejecting the DCC layout of your display buffers. The registration just before the error has `category = 1` (compressed) and `dcc_control = 00100024`, and video-out only accepts `0x48` and `0x208` there. `0x00100024` is the layout with 128-byte blocks (128-byte maximum uncompressed and compressed block size, independent 128-byte blocks). The other logged attributes pass that check, `pitch_in_pixel = 0` included, and the pixel format is checked after it: the two registrations earlier in your log used the same pixel format at 3840 wide with `dcc_control = 00000208`, and they went through. Your log is from f90a8b1; the check is the same on current upstream main. Since you build from source: could you try the branch `fix/videoout-dcc-128b` of https://github.com/Nawid3333/KytyPS5 (upstream main 0685bffb plus one commit that accepts this layout) and tell me whether GT7 gets past this point, and where it stops next? Other changes between f90a8b1 and 0685bffb may also change where it stops. If it gets past this point, I'll open a PR with your result.
Author
Owner

@⁠md-archive on GitHub · 2026-10-27 21:16 UTC · original

@⁠Nawid3333 tested your fix. It gets GT7 past the video-out check.

Tested at 2efd314 (main) vs 82d9036 (your fix rebased onto 2efd314), same dump and settings:

  • 2efd314 (main): still exits at the video-out DCC check.
  • 82d9036 (fix): passes the check. Copyright notice and logo display, and the game reaches the demo screen. Starting gameplay hangs on the loading screen with no change after 5 minutes; the log keeps repeating (i've included the behaviour in my video).

The original branch (4c291e0 on 0685bff) behaves the same.

Rendering is very slow throughout. GPU: RTX 3070 Ti / 8GB VRAM.
Logs and video: http://vcloud.md-archive.com/url/uvykwtgasi2qmveh

**@⁠md-archive** on GitHub · 2026-10-27 21:16 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-6453777648) @⁠Nawid3333 tested your fix. It gets GT7 past the video-out check. Tested at 2efd314 (main) vs 82d9036 (your fix rebased onto 2efd314), same dump and settings: - **2efd314 (main):** still exits at the video-out DCC check. - **82d9036 (fix):** passes the check. Copyright notice and logo display, and the game reaches the demo screen. Starting gameplay hangs on the loading screen with no change after 5 minutes; the log keeps repeating (i've included the behaviour in my video). The original branch (4c291e0 on 0685bff) behaves the same. Rendering is very slow throughout. GPU: **RTX 3070 Ti / 8GB VRAM**. Logs and video: http://vcloud.md-archive.com/url/uvykwtgasi2qmveh
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-14 16:41 UTC · original

@⁠md-archive Thanks for testing! The fix is in main since #1945 (merged 2026-10-28), so the official builds from then on get past the video-out check without a branch.

The hang on the loading screen after that is a separate problem, and main has changed a lot since 2efd314. If it still hangs with the current official build (KytyPS5-2026-11-14-3e226bf or newer), could you attach that run's _kyty.txt here (Printf output = File)? A log attached to the issue lets me compare it with later runs.

**@⁠Nawid3333** on GitHub · 2026-11-14 16:41 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-6880854299) @⁠md-archive Thanks for testing! The fix is in main since #1945 (merged 2026-10-28), so the official builds from then on get past the video-out check without a branch. The hang on the loading screen after that is a separate problem, and main has changed a lot since 2efd314. If it still hangs with the current official build (KytyPS5-2026-11-14-3e226bf or newer), could you attach that run's `_kyty.txt` here (Printf output = File)? A log attached to the issue lets me compare it with later runs.
Author
Owner

@⁠md-archive on GitHub · 2026-11-21 19:17 UTC · original

Hi @⁠Nawid3333, Things have changed quite a bit. The game now loads into the menu, though very slowly. I suspect your initial fix already solved the issue where the game quit after the logo. The remaining problems look GPU-related: compiling the whole shader cache takes a lot of processing power.

I've attached the log and a video: http://vcloud.md-archive.com/url/uvykwtgasi2qmveh

**@⁠md-archive** on GitHub · 2026-11-21 19:17 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-7067915549) Hi @⁠Nawid3333, Things have changed quite a bit. The game now loads into the menu, though very slowly. I suspect your initial fix already solved the issue where the game quit after the logo. The remaining problems look GPU-related: compiling the whole shader cache takes a lot of processing power. I've attached the log and a video: http://vcloud.md-archive.com/url/uvykwtgasi2qmveh
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-21 19:26 UTC · original

@⁠md-archive Thanks, good to hear it reaches the menu now. On the first run every shader the game uses is translated and compiled once. KytyPS5 keeps the results in _PipelineCache/PPSA01316.shaders and _PipelineCache/PPSA01316.bin and loads them at the next start, so later starts compile far less. Does the second start reach the menu faster?

Could you attach that run's _kyty.txt here (zipped, Printf output = File) instead of an outside link, so it stays with the issue? The build name from the window title helps too.

**@⁠Nawid3333** on GitHub · 2026-11-21 19:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-7068027825) @⁠md-archive Thanks, good to hear it reaches the menu now. On the first run every shader the game uses is translated and compiled once. KytyPS5 keeps the results in `_PipelineCache/PPSA01316.shaders` and `_PipelineCache/PPSA01316.bin` and loads them at the next start, so later starts compile far less. Does the second start reach the menu faster? Could you attach that run's `_kyty.txt` here (zipped, Printf output = `File`) instead of an outside link, so it stays with the issue? The build name from the window title helps too.
Author
Owner

@⁠md-archive on GitHub · 2026-11-23 01:26 UTC · original

@⁠Nawid3333, sure! The raw logs are too big to upload directly (up to ~700 MB), so here are trimmed versions of each run, all on the latest build a0b083c8. I only removed the shader recompiler dumps (RDNA2 disassembly, CFG and IR listings), which made up most of each file. Each ShaderRecompiler ... decoded RDNA2: / native IR: header is still there, with a note giving the number of lines removed. Everything else is unchanged. The full, untrimmed logs are available at the same link.
The third run is the most eventful one. With a warm shader cache, I got past the intro and into gameplay. It then crashed while loading the main menu, with a segfault similar to the one I reported in #2069:

Unhandled host exception: type=1 code=11 pc=0x00007fb08df57c88 access=1 address=0x0000000000000028
in .../src/loader/runtimeLinker.cpp:693

The segfault is in NVIDIA's SPIR-V compiler

The kernel log shows the crash is inside NVIDIA's driver:

kyty_emulator[45199]: segfault at 28 ip 00007f60ed357c88 sp 00007f6081728740 error 4 in libnvidia-glvkspirv.so.580.196.07[157c88,7f60ed231000+71e000]
Code: ... e8 f8 fd 1e 00 <48> 8b 50 28 48 89 55 40 ...

  • The crash is at offset 0x157c88 in libnvidia-glvkspirv.so. The instruction is mov rdx, [rax+0x28] with rax == NULL.
  • The run-3 crash (pc=0x7fb08df57c88) is at the same offset in the same library. Its load base is 0x7fb08de00000.
  • So the driver dereferences a null pointer while compiling a pipeline from SPIR-V that Kyty generated. A few new CS/PS shaders were compiled right before the crash.

Every launch now crashes during shader cache warm-up

The shader that triggers the crash was saved to the shader cache. Since then, every launch (two attempts, same address both times) crashes while loading the cache, before the game starts. The log ends at:

Shader cache: compiling shaders and pipelines from _PipelineCache/PPSA01316.shaders (113.3 MB) with 8 threads

If it helps, I can send PPSA01316.shaders (113 MB). It reproduces the crash every time on this setup.

GPU faults from earlier runs (Xid)

Run 1, Xid 31 (MMU fault):
NVRM: Xid (PCI:0000:01:00): 31, pid=11587, name=kyty_emulator, channel 0x00000013, intr 00000000. MMU Fault: ENGINE GRAPHICS GPC3 GPCCLIENT_PE_2 faulted @ 0x3_c17a5000.

Short caching run, Xid 13 (depth target width violation):
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 0: 3D WIDTH ZT Violation. Coordinates: (0x28, 0x0)
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 2: 3D WIDTH ZT Violation. Coordinates: (0x24, 0x8)
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 3: 3D WIDTH ZT Violation. Coordinates: (0x28, 0x8)
NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 5: 3D WIDTH ZT Violation. Coordinates: (0x24, 0x0)
NVRM: Xid (PCI:0000:01:00): 13, pid=25281, name=kyty_emulator, Graphics Exception: channel 0x00000022, Class 0000c797, Offset 00000000, Data 00000000

System: Fedora 43, Linux 7.3.3, NVIDIA GeForce RTX 3070 Ti Laptop GPU, driver 580.196.07 (open kernel module)
first_run-build_a0b083c8-20261123_0000.zip
second_run-build_a0b083c8-20261123_0025.zip
third_run-build_a0b083c8-20261123_0100.zip

**@⁠md-archive** on GitHub · 2026-11-23 01:26 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-7089143790) @⁠Nawid3333, sure! The raw logs are too big to upload directly (up to ~700 MB), so here are trimmed versions of each run, all on the latest build a0b083c8. I only removed the shader recompiler dumps (RDNA2 disassembly, CFG and IR listings), which made up most of each file. Each ShaderRecompiler ... decoded RDNA2: / native IR: header is still there, with a note giving the number of lines removed. Everything else is unchanged. The full, untrimmed logs are available at the same link. The third run is the most eventful one. With a warm shader cache, I got past the intro and into gameplay. It then crashed while loading the main menu, with a segfault similar to the one I reported in #2069: Unhandled host exception: type=1 code=11 pc=0x00007fb08df57c88 access=1 address=0x0000000000000028 in .../src/loader/runtimeLinker.cpp:693 The segfault is in NVIDIA's SPIR-V compiler The kernel log shows the crash is inside NVIDIA's driver: kyty_emulator[45199]: segfault at 28 ip 00007f60ed357c88 sp 00007f6081728740 error 4 in libnvidia-glvkspirv.so.580.196.07[157c88,7f60ed231000+71e000] Code: ... e8 f8 fd 1e 00 <48> 8b 50 28 48 89 55 40 ... - The crash is at offset 0x157c88 in libnvidia-glvkspirv.so. The instruction is mov rdx, [rax+0x28] with rax == NULL. - The run-3 crash (pc=0x7fb08df57c88) is at the same offset in the same library. Its load base is 0x7fb08de00000. - So the driver dereferences a null pointer while compiling a pipeline from SPIR-V that Kyty generated. A few new CS/PS shaders were compiled right before the crash. Every launch now crashes during shader cache warm-up The shader that triggers the crash was saved to the shader cache. Since then, every launch (two attempts, same address both times) crashes while loading the cache, before the game starts. The log ends at: Shader cache: compiling shaders and pipelines from _PipelineCache/PPSA01316.shaders (113.3 MB) with 8 threads If it helps, I can send PPSA01316.shaders (113 MB). It reproduces the crash every time on this setup. <details> <summary>GPU faults from earlier runs (Xid)</summary> Run 1, Xid 31 (MMU fault): NVRM: Xid (PCI:0000:01:00): 31, pid=11587, name=kyty_emulator, channel 0x00000013, intr 00000000. MMU Fault: ENGINE GRAPHICS GPC3 GPCCLIENT_PE_2 faulted @ 0x3_c17a5000. Short caching run, Xid 13 (depth target width violation): NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 0: 3D WIDTH ZT Violation. Coordinates: (0x28, 0x0) NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 2: 3D WIDTH ZT Violation. Coordinates: (0x24, 0x8) NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 3: 3D WIDTH ZT Violation. Coordinates: (0x28, 0x8) NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 5: 3D WIDTH ZT Violation. Coordinates: (0x24, 0x0) NVRM: Xid (PCI:0000:01:00): 13, pid=25281, name=kyty_emulator, Graphics Exception: channel 0x00000022, Class 0000c797, Offset 00000000, Data 00000000 </details> System: Fedora 43, Linux 7.3.3, NVIDIA GeForce RTX 3070 Ti Laptop GPU, driver 580.196.07 (open kernel module) [first_run-build_a0b083c8-20261123_0000.zip](https://github.com/user-attachments/files/35249212/first_run-build_a0b083c8-20261123_0000.zip) [second_run-build_a0b083c8-20261123_0025.zip](https://github.com/user-attachments/files/35249213/second_run-build_a0b083c8-20261123_0025.zip) [third_run-build_a0b083c8-20261123_0100.zip](https://github.com/user-attachments/files/35249211/third_run-build_a0b083c8-20261123_0100.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 02:03 UTC · original

@⁠md-archive Thanks, the logs narrow it down.

In the third log the last shader translated before the crash is the compute shader 0x20fb12e4cbfab7ee: 429 blocks, 19 loops, 192,396 SPIR-V words. Neither it nor the three shaders translated just before it appear in the first and second runs. So it is the main candidate, but the log alone cannot tell which of them NVIDIA's compiler fails on.

PPSA01316.shaders stores the SPIR-V of each module, and the warm-up passes it unchanged to vkCreateShaderModule, so yes, please send it (a link is fine at that size). With it I can take out these modules, check them with spirv-val and compile them with other drivers, to tell invalid SPIR-V from us apart from a driver bug.

Until then, moving PPSA01316.shaders out of _PipelineCache (keep the copy) leaves the warm-up nothing to compile (its log line then shows 0.0 MB), so the game should start again. If it then crashes the same way while loading the main menu, that also points at these shaders.

**@⁠Nawid3333** on GitHub · 2026-11-23 02:03 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-7089632383) @⁠md-archive Thanks, the logs narrow it down. In the third log the last shader translated before the crash is the compute shader `0x20fb12e4cbfab7ee`: 429 blocks, 19 loops, 192,396 SPIR-V words. Neither it nor the three shaders translated just before it appear in the first and second runs. So it is the main candidate, but the log alone cannot tell which of them NVIDIA's compiler fails on. `PPSA01316.shaders` stores the SPIR-V of each module, and the warm-up passes it unchanged to `vkCreateShaderModule`, so yes, please send it (a link is fine at that size). With it I can take out these modules, check them with `spirv-val` and compile them with other drivers, to tell invalid SPIR-V from us apart from a driver bug. Until then, moving `PPSA01316.shaders` out of `_PipelineCache` (keep the copy) leaves the warm-up nothing to compile (its log line then shows 0.0 MB), so the game should start again. If it then crashes the same way while loading the main menu, that also points at these shaders.
Author
Owner

@⁠md-archive on GitHub · 2026-11-23 03:43 UTC · original

Here's the corrupted shader cache

the main share (logs/video/screenshots)
Follow-up: I reproduced this on purpose a few more times on a0b083c8. Any cache containing 0x20fb12e4cbfab7ee crashes during warm-up on every launch. It happened twice more just now, at 04:22:58 and 04:24:08, both at libnvidia-glvkspirv.so.580.196.07+0x157c88.

What's in the share:

  • The original .shader file that triggers the fault.
  • A .zip with a cache I had the emulator build from scratch so I could reproduce the fault cleanly:
    • ok_PPSA01316.shader is the working cache. Each time it hit the broken state, I stripped the faulty record from it, and it boots fine.
    • The .bak files are the broken versions, saved each time the fault came back.

With only that one record removed, the cache starts normally. The game runs until it compiles that shader again at the main menu, then crashes the same way (pc=…57c88). That makes 4 crashes in total, each one right after CS 0x20fb12e4cbfab7ee.

Log of the latest crash: eighth_run-build_a0b083c8-crash-main_menu_shader-20261123_0421.zip

**@⁠md-archive** on GitHub · 2026-11-23 03:43 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-7090970151) Here's the corrupted [shader cache](http://vcloud.md-archive.com/url/xpe2t4ecdzmv2jhn) [the main share (logs/video/screenshots)](https://vcloud.md-archive.com/url/uvykwtgasi2qmveh) **Follow-up:** I reproduced this on purpose a few more times on `a0b083c8`. Any cache containing `0x20fb12e4cbfab7ee` crashes during warm-up on every launch. It happened twice more just now, at 04:22:58 and 04:24:08, both at `libnvidia-glvkspirv.so.580.196.07+0x157c88`. **What's in the share:** - The original `.shader` file that triggers the fault. - A `.zip` with a cache I had the emulator build from scratch so I could reproduce the fault cleanly: - `ok_PPSA01316.shader` is the working cache. Each time it hit the broken state, I stripped the faulty record from it, and it boots fine. - The `.bak` files are the broken versions, saved each time the fault came back. With only that one record removed, the cache starts normally. The game runs until it compiles that shader again at the main menu, then crashes the same way (`pc=…57c88`). That makes 4 crashes in total, each one right after CS `0x20fb12e4cbfab7ee`. Log of the latest crash: [eighth_run-build_a0b083c8-crash-main_menu_shader-20261123_0421.zip](https://github.com/user-attachments/files/35252805/eighth_run-build_a0b083c8-crash-main_menu_shader-20261123_0421.zip)
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-23 06:01 UTC · original

Thanks for the cache and the extra runs.

  • The record itself is valid SPIR-V. I took CS 0x20fb12e4cbfab7ee out of the original PPSA01316.shaders (192,396 words, the same size as the EmitProgram line in your logs): spirv-val (Vulkan 1.3) accepts it, and AMD's offline Vulkan compiler (RGA, gfx1201) builds it.
  • The crash does not depend on the parallel warm-up. Your fourth run started with an empty cache, so there was no warm-up and every shader was compiled on demand, and it still crashed right after this CS's EmitProgram, like the warm-up crashes and the eighth run at the main menu. Each time the pc ends in ...57c88 and the fault address is 0x28, the same as the libnvidia-glvkspirv segfault (offset 0x157c88) in your dmesg.
  • It is the largest compute module in the store: 192,396 words, the next one has about 106,700. In SPIR-V it is one function with 19 loops and 2,916 phis.
  • #2069 (ASTRO's PLAYROOM, driver 580.178.04) has the same crash (segfault at 28, offset 0x157c88). Since GT7 crashes with no warm-up at all, making the warm-up serial (#2132) would not avoid it here, and #2069 may be the same compiler crash.

If you can, try a driver from another NVIDIA branch (newer than 580, if your distribution offers one). If that driver builds the pipeline, the bug is in the 580 compiler.

The Xid 13 errors (3D WIDTH ZT Violation) are a different problem; I have not looked into them yet.

**@⁠Nawid3333** on GitHub · 2026-11-23 06:01 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1930#issuecomment-7092941446) Thanks for the cache and the extra runs. - The record itself is valid SPIR-V. I took CS 0x20fb12e4cbfab7ee out of the original PPSA01316.shaders (192,396 words, the same size as the `EmitProgram` line in your logs): spirv-val (Vulkan 1.3) accepts it, and AMD's offline Vulkan compiler (RGA, gfx1201) builds it. - The crash does not depend on the parallel warm-up. Your fourth run started with an empty cache, so there was no warm-up and every shader was compiled on demand, and it still crashed right after this CS's `EmitProgram`, like the warm-up crashes and the eighth run at the main menu. Each time the pc ends in `...57c88` and the fault address is 0x28, the same as the libnvidia-glvkspirv segfault (offset 0x157c88) in your dmesg. - It is the largest compute module in the store: 192,396 words, the next one has about 106,700. In SPIR-V it is one function with 19 loops and 2,916 phis. - #2069 (ASTRO's PLAYROOM, driver 580.178.04) has the same crash (`segfault at 28`, offset 0x157c88). Since GT7 crashes with no warm-up at all, making the warm-up serial (#2132) would not avoid it here, and #2069 may be the same compiler crash. If you can, try a driver from another NVIDIA branch (newer than 580, if your distribution offers one). If that driver builds the pipeline, the bug is in the 580 compiler. The Xid 13 errors (`3D WIDTH ZT Violation`) are a different problem; I have not looked into them yet.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#1930
No description provided.