Skip to content

How can I launch VulkanMod with RenderDoc for Vulkan frame capture? #856

Description

@sienaiwun

Hi,

I'm trying to capture a Vulkan frame from VulkanMod using RenderDoc for debugging and graphics analysis.

I built VulkanMod from source and I'm able to run the game normally through Gradle (runClient), but I'm not sure how to launch it correctly from RenderDoc.

I tried launching java.exe directly with the arguments generated by Loom, for example:

"C:\Program Files\Java\jdk-21.0.10\bin\java.exe"
-Dfile.encoding=UTF-8
-Duser.country=CN
-Duser.language=zh
-Duser.variant
@C:\Users\DELL\vulkanmod\build\loom-cache\argFiles\runClient
-Dfabric.dli.config=C:\Users\DELL\vulkanmod.gradle\loom-cache\launch.cfg
-Dfabric.dli.env=client
-Dfabric.dli.main=net.fabricmc.loader.impl.launch.knot.KnotClient

I also tried launching from both the project root directory and the run directory, but neither worked.

My goal is simply to launch the game through RenderDoc so I can capture Vulkan frames.

Has anyone successfully used RenderDoc with VulkanMod?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions