lavapipe: "LLVM ERROR: Cannot emit physreg copy instruction" (RPCS3, Persona 5)
System information:
-
Commit:
21.2.0_devel.140173.aabe9d2f6ef
- CPU: Ryzen 7 2700X
- Kernel: 5.12.7-1-MANJARO
-
Device:
llvmpipe (LLVM 11.1.0, 256 bits)
How to reproduce:
- On RPCS3, enable Settings > GPU > Strict Rendering Mode for ease of debugging (without this, RPCS3 has some fast paths that go against the Vulkan spec);
- On RPCS3, set Settings > GPU > Anti-Aliasing to Disabled;
- On RPCS3, set Settings > GPU > Graphics Device to lavapipe;
- Boot Persona 5 (any version should reproduce this issue).
Description:
It should always crash before rendering anything to screen. Sometimes logs "LLVM ERROR: Cannot emit physreg copy instruction
to stderr when crashing. If you don't get the LLVM ERROR at first, try a few more times and eventually you should get it.
I still haven't been able to find another application/game that crashes with this same error. If I find one, I'll update the issue.
I've been able to reproduce this issue in early February with the respective rpcs3 and mesa-git versions at that time, and successfully reproduced it again today.
List of PS3 games currently known to work with lavapipe on RPCS3:
- Demon's Souls
- Minecraft
- Steins;Gate
- Yakuza 3 Demo