EmuNewz Network
About Renderdoc - 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: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: About Renderdoc (/showthread.php?tid=198206)



About Renderdoc - onelight - 09-05-2017

Anyone know how to capture JPCSP uisng Renderdoc?
   


RE: About Renderdoc - gid15 - 09-05-2017

I've never tried it...


RE: About Renderdoc - DragonNeos - 09-06-2017

The closest attempt I could get to make Renderdoc hook onto JPCSP was to use the following settings:
Code:
Executable Path: start-windows-amd64.bat
Working Directory: ...\jpcsp-windows-amd64
Capture Options
[X] Hook Into Children
However, I couldn't capture anything when I pressed the Print Screen button (F12 activates Settings on JPCSP).

You could try any of the suggestions listed on this forum topic to see if it helps: Why does no GPU debugger work properly with LWJGL?
The posts from the linked topic seemed to imply that users attempting to debug with Java have to install the JDK and use Java.exe for the Executable Path and place the necessary Command-line Arguments in order to invoke the program that is being analyzed.


RE: About Renderdoc - onelight - 09-06-2017

[x]Hook Into not working for me.
I can't run any game
Code:
Running Jpcsp 64bit...
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Exception in thread "GUI" java.lang.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.GL11.glDisableClientState(GL11.java:1006)
        at jpcsp.graphics.RE.RenderingEngineLwjgl.disableClientState(RenderingEngineLwjgl.java:891)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.disableClientState(BaseRenderingEngineProxy.java:537)
        at jpcsp.graphics.RE.REShader.startDisplay(REShader.java:756)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.StateProxy.startDisplay(StateProxy.java:330)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.AnisotropicFilter.startDisplay(AnisotropicFilter.java:55)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.ViewportFilter.startDisplay(ViewportFilter.java:31)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:291)
        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$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(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.GL11.glDisableClientState(GL11.java:1006)
        at jpcsp.graphics.RE.RenderingEngineLwjgl.disableClientState(RenderingEngineLwjgl.java:891)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.disableClientState(BaseRenderingEngineProxy.java:537)
        at jpcsp.graphics.RE.REShader.startDisplay(REShader.java:756)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.StateProxy.startDisplay(StateProxy.java:330)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.AnisotropicFilter.startDisplay(AnisotropicFilter.java:55)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.ViewportFilter.startDisplay(ViewportFilter.java:31)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:291)
        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$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(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)

I try Capture java.exe

Executable Path: G:\jpcsp\jpcsp-windows-x86-amd64\jdk1.8.0_131\bin\java.exe
Working Directory: G:\jpcsp\jpcsp-windows-x86-amd64\jdk1.8.0_131\bin
Command-line Arguments: -Xmx1024m -Xss2m -XX:ReservedCodeCacheSize=64m -Djava.library.path=../../jpcsp-windows-x86-amd64 -jar ../../bin/jpcsp.jar
   
still can't run any game
Code:
Exception in thread "GUI" java.lang.IllegalStateException: Function is not supported
        at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:58)
        at org.lwjgl.opengl.GL11.glDisableClientState(GL11.java:1006)
        at jpcsp.graphics.RE.RenderingEngineLwjgl.disableClientState(RenderingEngineLwjgl.java:891)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.disableClientState(BaseRenderingEngineProxy.java:537)
        at jpcsp.graphics.RE.REShader.startDisplay(REShader.java:756)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.StateProxy.startDisplay(StateProxy.java:330)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.AnisotropicFilter.startDisplay(AnisotropicFilter.java:55)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.startDisplay(BaseRenderingEngineProxy.java:82)
        at jpcsp.graphics.RE.ViewportFilter.startDisplay(ViewportFilter.java:31)
        at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:291)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:339)
        at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:368)
        at sun.awt.RepaintArea.updateComponent(RepaintArea.java:255)
        at sun.awt.RepaintArea.paint(RepaintArea.java:232)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:358)
        at java.awt.Component.dispatchEventImpl(Component.java:4965)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.awt.EventQueue$4.run(EventQueue.java:729)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)