VideoEngine.tryToFallback hang - Printable Version +- EmuNewz Network (https://www.emunewz.net/forum) +-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191) +--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51) +---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56) +---- Thread: VideoEngine.tryToFallback hang (/showthread.php?tid=106170) |
VideoEngine.tryToFallback hang - Itaru - 12-08-2012 There is a problem which hangs Heroes Phantasia when certain special attacks are performed which cause too many "Unhandled alpha blend src used 11" ge errors. If these errors trigger "Aborting current list processing due to too many errors" too many times, the game hangs. Log is attached. It seems that the trytoFallback() method in VideoEngine doesn't properly finish the currentList and so the game hangs if it's called too many times. One workaround is to skip the tryToFallback() method call in the VideoEngine.error() method, or set a large value for the VideoEngine.maxErrorCount so that the list is never aborted (50 works well in Heroes Phantasia). With this workaround, Heroes Phantasia works properly and I managed to finish the game without a single hang even when using the problematic special attacks many times. Without this workaround, the game usually hangs after performing the problematic special attacks 3 times. RE: VideoEngine.tryToFallback hang - gid15 - 12-08-2012 Code: 07:32:20 ERROR ge - GUI - Unhandled alpha blend src used 11 The same behavior is now implemented in Jpcsp with r2911. The error message has been removed. Thank you for the detailed analysis! RE: VideoEngine.tryToFallback hang - Itaru - 12-08-2012 Thanks for the fix, gid15! Awesome work as always. |