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.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About Renderdoc
#1
Anyone know how to capture JPCSP uisng Renderdoc?
   
Reply
#2
I've never tried it...
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#3
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.


Attached Files Thumbnail(s)
   
Reply
#4
[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)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)