EmuNewz Network
Release of External Software Rendering for JPCSP - Printable Version

+- EmuNewz Network (http://www.emunewz.net/forum)
+-- Forum: PSP Emulation (/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (/forumdisplay.php?fid=51)
+---- Forum: JPCSP builds and releases (/forumdisplay.php?fid=53)
+---- Thread: Release of External Software Rendering for JPCSP (/showthread.php?tid=160732)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Release of External Software Rendering for JPCSP - DragonNeos - 02-28-2018 09:40 AM

The Bleach: Soul Carnival series has issues getting through the tutorial because the following isn't properly supported on the External Software Renderer:
Code:
04:09:18  INFO hle.sceGe_user - user_main - sceGeGetCmd FBP: cmd=0x9C, value=0x9C044000

On OpenGL, the game should display a message box (1st Screenshot) before showing the main menu (2nd Screenshot). On the External Software Renderer, the screen becomes black and the game doesn't respond to any buttons being pressed. I have attached logs (with hle.sceGe_user set to DEBUG) for both the External Software Renderer and OpenGL.


RE: Release of External Software Rendering for JPCSP - gid15 - 02-28-2018 01:16 PM

Code:
04:09:18  INFO hle.sceGe_user - user_main - sceGeGetCmd FBP: cmd=0x9C, value=0x9C044000
I have checked on a real PSP and the value returned by the external software renderer is the correct one. Is it possible to switch to the DEBUG level just before the issue occurs? Maybe this might help identifying the problem.

Thank you!


RE: Release of External Software Rendering for JPCSP - gid15 - 02-28-2018 08:09 PM

(02-28-2018 01:16 PM)gid15 Wrote:  
Code:
04:09:18  INFO hle.sceGe_user - user_main - sceGeGetCmd FBP: cmd=0x9C, value=0x9C044000
I have checked on a real PSP and the value returned by the external software renderer is the correct one. Is it possible to switch to the DEBUG level just before the issue occurs? Maybe this might help identifying the problem.

Thank you!
Looking further at the available log, I think this is the call that might cause the hang:
Code:
04:09:18 DEBUG hle.sceGe_user - user_main - sceGeListEnQueueHead listAddr=0x095F7D80, stallAddr=0x00000000, cbid=0x0, argAddr=0x09FFE9A0
Could you please try the fix from 5610ced?

If the issue is not fixed, I will definitively require a DEBUG log just before the hang.

Thank you!


RE: Release of External Software Rendering for JPCSP - DragonNeos - 03-01-2018 10:50 AM

The issue is fixed when I tried the game with revision ad07cc3. However, there seems to be another issue that occurs on the External Software Renderer and OpenGL when the first boss appears (emulator crashes with different error messages between the two renderers).

External Software Renderer:
Code:
java.lang.RuntimeException: Cannot find executable
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:159)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:209)
    at _S1_2_0x0880C398.s(_S1_2_0x0880C398.java:4)
    at _S1_2_0x0880C398.exec(_S1_2_0x0880C398.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:177)
    at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:209)
    at _S1_2_0x0880E86C.s(_S1_2_0x0880E86C.java:76)
    at _S1_2_0x088085BC.s(_S1_2_0x088085BC.java:664)
    at _S1_2_0x08811CB0.s(_S1_2_0x08811CB0.java:964)
    at _S1_2_0x08804000.s(_S1_2_0x08804000.java:124)
    at _S1_2_0x08821850.s(_S1_2_0x08821850.java:268)
    at _S1_2_0x08821850.exec(_S1_2_0x08821850.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java​:806)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:871)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)

OpenGL:
Code:
Exception in thread "GUI" java.lang.ArrayIndexOutOfBoundsException: 1065353216
    at jpcsp.graphics.RE.RenderingEngineLwjgl.setTextureMipmapMagFilter(RenderingEngine​Lwjgl.java:667)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTextureMipmapMagFilter(BaseRenderi​ngEngineProxy.java:312)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTextureMipmapMagFilter(BaseRenderi​ngEngineProxy.java:312)
    at jpcsp.graphics.RE.StateProxy.setTextureMipmapMagFilter(StateProxy.java:637)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTextureMipmapMagFilter(BaseRenderi​ngEngineProxy.java:312)
    at jpcsp.graphics.RE.AnisotropicFilter.setTextureMipmapMagFilter(AnisotropicFilter.​java:71)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTextureMipmapMagFilter(BaseRenderi​ngEngineProxy.java:312)
    at jpcsp.graphics.RE.BaseRenderingEngineFunction.endDirectRendering(BaseRenderingEn​gineFunction.java:414)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRenderingEngin​eProxy.java:72)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRenderingEngin​eProxy.java:72)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRenderingEngin​eProxy.java:72)
    at jpcsp.graphics.RE.ViewportFilter.endDirectRendering(ViewportFilter.java:66)
    at jpcsp.graphics.textures.GETexture.drawTexture(GETexture.java:271)
    at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:221)
    at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:211)
    at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:325)​
    at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:339)
    at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:368)
    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$300(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$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 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$1.doIntersectionPrivilege(Unknown 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)
Exception in thread "GUI" java.lang.ArrayIndexOutOfBoundsException: 1065353216
    at jpcsp.graphics.RE.RenderingEngineLwjgl.setShadeModel(RenderingEngineLwjgl.java:5​28)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setShadeModel(BaseRenderingEngineProx​y.java:282)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setShadeModel(BaseRenderingEngineProx​y.java:282)
    at jpcsp.graphics.RE.StateProxy.setShadeModel(StateProxy.java:916)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setShadeModel(BaseRenderingEngineProx​y.java:282)
    at jpcsp.graphics.RE.BaseRenderingEngineProxy.setShadeModel(BaseRenderingEngineProx​y.java:282)
    at jpcsp.graphics.GeContext.update(GeContext.java:244)
    at jpcsp.graphics.VideoEngine.startUpdate(VideoEngine.java:798)
    at jpcsp.graphics.VideoEngine.update(VideoEngine.java:661)
    at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:294)​
    at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:339)
    at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:368)
    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$300(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$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown 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$1.doIntersectionPrivilege(Unknown 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)



RE: Release of External Software Rendering for JPCSP - gid15 - 03-01-2018 02:15 PM

(03-01-2018 10:50 AM)DragonNeos Wrote:  The issue is fixed when I tried the game with revision ad07cc3. However, there seems to be another issue that occurs on the External Software Renderer and OpenGL when the first boss appears (emulator crashes with different error messages between the two renderers).
Could you please provide a log with the "compiler" set at the DEBUG level and if possible enabling the DEBUG level shortly before the error occurs.

Thank you!


RE: Release of External Software Rendering for JPCSP - DragonNeos - 03-02-2018 11:05 AM

Here you go. Hopefully these log files can show where the exact error is located with regards to the compiler instructions.