This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release of External Software Rendering for JPCSP
11-23-2020, 12:11 AM
Post: #101
RE: Release of External Software Rendering for JPCSP
On the 32-bit version of the External Software Renderer, when you close JPCSP, Java will crash and create a hs_err_pidXXXXX.txt file. I have tested all revisions until 37bb9b7 and they produce the same result (any builds older than this were hosted on RapidGator or EmuNewz and have already been removed).

Most builds I have tested show the following as the issue when the emulator is closed:
Code:
# Problematic frame:
# C  [software-ge-renderer-SSE3.dll+0x2d92e]

Starting with revision 97c0bf3, the memory address is slightly different:
Code:
# Problematic frame:
# C  [software-ge-renderer-SSE3.dll+0x2d89e]


Attached File(s)
.7z  External Software Renderer Java Crash on exit (32-bit).7z (Size: 7.25 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
04-21-2022, 12:05 PM
Post: #102
RE: Release of External Software Rendering for JPCSP
When the External Software Renderer is used, at least on revision 935ea155, the following message appears on the console window:
Code:
Running Jpcsp 64bit...
Exception in thread "GUI" java.lang.ArrayIndexOutOfBoundsException: -1
        at jpcsp.graphics.RE.StateProxy.matrixFirstUpdated(StateProxy.java:494)
        at jpcsp.graphics.RE.StateProxy.setMatrix(StateProxy.java:849)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setMatrix(BaseRenderingEngineProxy.ja​va:232)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setMatrix(BaseRenderingEngineProxy.ja​va:232)
        at jpcsp.graphics.RE.RenderingEngineLwjgl.setProjectionMatrix(RenderingEngineLwjgl.​java:1292)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineFunction.startDirectRendering(BaseRendering​EngineFunction.java:391)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDirectRendering(BaseRenderingEng​ineProxy.java:77)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDirectRendering(BaseRenderingEng​ineProxy.java:77)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDirectRendering(BaseRenderingEng​ineProxy.java:77)
        at jpcsp.graphics.RE.ViewportFilter.startDirectRendering(ViewportFilter.java:73)
        at jpcsp.graphics.VideoEngineUtilities.drawTexture(VideoEngineUtilities.java:175)
        at jpcsp.graphics.VideoEngineUtilities.drawFrameBuffer(VideoEngineUtilities.java:26​2)
        at jpcsp.graphics.VideoEngineUtilities.drawFromMemory(VideoEngineUtilities.java:288​)
        at jpcsp.graphics.VideoEngineUtilities.drawFrameBufferFromMemory(VideoEngineUtiliti​es.java:277)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:271)​
        at org.lwjgl.opengl.awt.AWTGLCanvas.render(AWTGLCanvas.java:107)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paint(sceDisplay.java:153)
        at java.awt.Canvas.update(Unknown Source)
        at sun.awt.RepaintArea.updateComponent(Unknown Source)
        at sun.awt.RepaintArea.paint(Unknown Source)
        at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Un​known Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Un​known Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Un​known Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

As the emulator continues to run over time, the console window will continue displaying this message periodically:
Code:
Exception in thread "GUI" java.lang.ArrayIndexOutOfBoundsException
Find all posts by this user
Quote this message in a reply
04-24-2022, 03:58 PM
Post: #103
RE: Release of External Software Rendering for JPCSP
Code:
Running Jpcsp 64bit...
Exception in thread "GUI" java.lang.ArrayIndexOutOfBoundsException: -1
        at jpcsp.graphics.RE.StateProxy.matrixFirstUpdated(StateProxy.java:494)
        at jpcsp.graphics.RE.StateProxy.setMatrix(StateProxy.java:849)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setMatrix(BaseRenderingEngineProxy.ja​va:232)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setMatrix(BaseRenderingEngineProxy.ja​va:232)
        at jpcsp.graphics.RE.RenderingEngineLwjgl.setProjectionMatrix(RenderingEngineLwjgl.​java:1292)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setProjectionMatrix(BaseRenderingEngi​neProxy.java:277)
        at jpcsp.graphics.RE.BaseRenderingEngineFunction.startDirectRendering(BaseRendering​EngineFunction.java:391)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDirectRendering(BaseRenderingEng​ineProxy.java:77)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDirectRendering(BaseRenderingEng​ineProxy.java:77)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDirectRendering(BaseRenderingEng​ineProxy.java:77)
        at jpcsp.graphics.RE.ViewportFilter.startDirectRendering(ViewportFilter.java:73)
        at jpcsp.graphics.VideoEngineUtilities.drawTexture(VideoEngineUtilities.java:175)
        at jpcsp.graphics.VideoEngineUtilities.drawFrameBuffer(VideoEngineUtilities.java:26​2)
        at jpcsp.graphics.VideoEngineUtilities.drawFromMemory(VideoEngineUtilities.java:288​)
        at jpcsp.graphics.VideoEngineUtilities.drawFrameBufferFromMemory(VideoEngineUtiliti​es.java:277)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:271)​
        at org.lwjgl.opengl.awt.AWTGLCanvas.render(AWTGLCanvas.java:107)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paint(sceDisplay.java:153)
        at java.awt.Canvas.update(Unknown Source)
        at sun.awt.RepaintArea.updateComponent(Unknown Source)
        at sun.awt.RepaintArea.paint(Unknown Source)
        at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Un​known Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Un​known Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Un​known Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
As this issue been fixed by 94802cf? I could not reproduce it myself...

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
04-25-2022, 12:10 PM
Post: #104
RE: Release of External Software Rendering for JPCSP
Yes, the issue has been fixed when I used the emulator on commit cf405d21.

The console error message can be reproduced on older commits like aabff280 using latest External Software Renderer commit 3d1bbb0 (see below screenshot).


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)