Skip to content

Debug information not found on Nsight #74

@Makogan

Description

@Makogan

OS: Ubuntu 24.04
Graphics card: Nvidia RTX 4070
cargo gpu version: cargo-gpu 0.1.0

I am trying to profile my shaders using nsight. I currently see this under the flamegraph:

Image

I am compiling my CPU crate with debug symbols enabled.

This is how I invoke cargo gpu:

 let result = std::process::Command::new("cargo")
        .arg("gpu")
        .arg("build")
        .arg("--force-overwrite-lockfiles-v4-to-v3")
        .arg("--auto-install-rust-toolchain")
        .arg("--multimodule")
        .arg("--spirv-metadata")
        .arg("full")
        .arg("--debug")
        .current_dir(path)
        .output()
        .unwrap();

I have tried toggling the --debug flag.

I also read this.

I am uncertain as to why nsight cannot find any debug symbols.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions