pcsx2
pcsx2 copied to clipboard
Meta: Vertex trace overflow
Description
Some games have floating math problems where it goes beyond the scope that PCSX2 should handle:
- [ ] Primal (Seems fixed by using non-default rounding and clamping)
- [X] Galerians Ash
- [ ] Valkyrie Profile 2
- [X] Street Fighter 3 EX
- [ ] Evil Dead: Regeneration
- [ ] Disney's Up (Not confirmed)
- [ ] Lets Make a J-League Pro Soccer Club
- [ ] Cold Winter
Reason
Track vertex trace overflow
Examples
What to look out for in the Program Log is this message:
Vertex Trace: float overflow detected ! min 3.402823e+38 max 3.402823e+38
Sources: https://forums.pcsx2.net/Thread-Inconsistent-Experiences-Evil-Dead-Regeneration?highlight=Vertex+Trace%3A+float+overflow https://forums.pcsx2.net/Thread-Street-Fighter-EX3-missing-effects?highlight=Vertex+Trace%3A+float+overflow https://forums.pcsx2.net/Thread-Valkyrie-Profile-2-Silmeria-Game-Protection-disabled?pid=602894#pid602894 https://github.com/PCSX2/pcsx2/issues/551 https://github.com/PCSX2/pcsx2/issues/1107 https://github.com/PCSX2/pcsx2/issues/1684 https://github.com/PCSX2/pcsx2/issues/4761
I have Disney Pixar's UP, and I saw 0 graphical glitches. Performance was perfectly fine as well. HW: M1 MacBook Air, so that may be why performance is decent, as UP isn't a demanding game.
Reran the game with the log open, and found this error
Vertex Trace: float overflow detected ! min 3.402823e+38 max 3.402823e+38
So confirmed, sorry
Also, error appears when the opening cutscene begins to play, no sooner than the very first frame of the cutscene.
* [ ] Disney's Up (Not confirmed)
Disney Pixar's Up throws the "Vertex Trace: float overflow" error even when you only run a single frame GS dump. I think the status can be changed to confirmed.
gs_20220702133822_Disney Pixar - Up_SLUS-21864.zip
The range is smaller in the GS dump. Vertex Trace: float overflow detected ! min 3.191373e+34 max 6.488020e+35 But I also get min 3.402823e+38 max 3.402823e+38 during the intro like Danke-Boi reported.
The subtitle rendering problem reported in #4761 is still in 1.7.3082, but depending on the Texture Preloading setting it may behave differently. Since issue #4761 was closed, I'll add my findings here.
What the subtitles are supposed to look like (software mode)
The subtitles are completely invisible with Texture Preloading set to Partial or Full (Hash Cache) in hardware mode
The subtitles appear grey and unreadable with Texture Preloading set to none (hardware mode)
The subtitles aren't always the same shade of grey though. If you load the GS Dump provided above and switch between software and hardware multiple times, the subtitles are sometimes bright grey, sometimes dark grey and sometimes they are completely invisible. It seems to depend on the timing when switching from software to hardware mode. With Texture Preloading enabled the subtitles are always invisible.
Overflow in Cold Winter occurs in pause menu background (SW). Still active as of 1.7.4871
[ 17.5230] Vertex Trace: float overflow detected ! min 3.402823e+38 max 3.402823e+38
Rename GS dump to .xz Cold Winter_SLUS-20845_20230804192554.gs.zip
Overflow occurs in both SpongeBob SquarePants: Revenge of the Flying Dutchman (prevents the camera lock sprite from showing) and in Spider-Man: The Movie (with no obvious negative effect).