pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

Meta: Vertex trace overflow

Open RedDevilus opened this issue 3 years ago • 4 comments

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

RedDevilus avatar Dec 10 '21 16:12 RedDevilus

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 Screen Shot 2022-03-14 at 1 53 58 PM

Also, error appears when the opening cutscene begins to play, no sooner than the very first frame of the cutscene.

Danke-Boi avatar Mar 14 '22 17:03 Danke-Boi

* [ ]  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) gs_20220702172250_Disney Pixar - Up_SLUS-21864

The subtitles are completely invisible with Texture Preloading set to Partial or Full (Hash Cache) in hardware mode gs_20220702172255_Disney Pixar - Up_SLUS-21864

The subtitles appear grey and unreadable with Texture Preloading set to none (hardware mode) gs_20220702133822_Disney Pixar - Up_SLUS-21864

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.

noigeaR avatar Jul 16 '22 17:07 noigeaR

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

MrCK1 avatar Aug 04 '23 23:08 MrCK1

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).

TheTechnician27 avatar Mar 09 '24 22:03 TheTechnician27