GPUOpen-LibrariesAndSDKs / Capsaicin

AMD ARR team rendering framework
MIT License
365 stars 33 forks source link

SceneViewer shows nothing but dark screen #10

Open wumo opened 11 months ago

wumo commented 11 months ago

image

gboisse commented 11 months ago

Hi, could you make sure that your working directory is set to be the repository's root directory? (i.e., Capsaicin)

If that doesn't fix your issue, could you share the content of the console output in here?

hbk723 commented 11 months ago

I have the same / similar issue. It works fine when launching from Visual Studio, but trying to launch from RenderDoc just gives that black screen.

Using Executable Path: "F:\Capsaicin\build\bin\RelWithDebInfo\scene_viewer.exe" and Working Directory: "F:\Capsaicin\build\bin\RelWithDebInfo" immediately closes the program on launch, changing Working Directory to "F:\Capsaicin" runs the program as in the screenshot with the gui up but a black scene.

Edit: I don't see the console output because it only gives the black scene when launching outside of Visual Studio.

I also tried copying the binaries into "F:\Capsaicin" and can successfully launch from the command line by changing directory to "F:\Capsaicin" and typing "scene_viewer", but setting the Executable Path to "F:\Capsaicin\scene_viewer.exe" and Working Directory to "F:\Capsaicin" in RenderDoc still gives the black scene.

gboisse commented 11 months ago

Hi @hbk723, unfortunately RenderDoc does not support DXR, so the extension is forcibly disabled when replaying a capture and the shaders fail to compile, hence the black screen.

I'd recommend using Pix if you want to debug a frame: https://devblogs.microsoft.com/pix/download/

hbk723 commented 11 months ago

Really appreciate the response, I'll try Pix. Awesome work by the way!

invertibleMatrix commented 9 months ago

Same issue with me. My scene_viewer.exe opens fine but only shows environment map and not the scene objects. also there is no output on the console Screenshot (14)