-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Description of Feature
It would be great to have convenient access to some basic information about the original capture and the current replay environment.
I'm mainly interested in GPU info (vendor and device IDs, adapter description, driver version), which clearly already gets serialized somewhere. OS version and capture options (binary name, command line args) would be beneficial too.
PIX does that and it's very useful when you have to juggle multiple capture files with other team members.
When you monitor the debug log you can see some GPU relevant information, e.g.
RDOC 000596: [13:56:30] d3d12_replay.cpp(4604) - Log - Capture was created on <gpu info>
...
RDOC 000596: [13:56:30] dxgi_common.cpp(2088) - Log - Selected <potentially different gpu info> adapter for replay
RDOC 000596: [13:56:30] d3d12_replay.cpp(4724) - Log - Creating D3D12 replay device ...
RDOC 000596: [13:56:30] d3d12_replay.cpp(4823) - Log - Created device.
RDOC 000596: [13:56:30] d3d12_replay.cpp( 146) - Log - Running replay on <gpu and driver info>
...
RDOC 000596: [13:56:30] replay_controller.cpp(2196) - Log - Created replay driver.
renderdoc/renderdoc/driver/d3d12/d3d12_replay.cpp
Line 4584 in 2018b5d
RDCLOG("Capture was created on %s / %ls", |
And you can probably access this information via Python too. But these are both not great solutions because they are not documented anywhere (or don't have enough visibility), and you have to actively do something to get that information.
I think it would be better to just always log this information to "Error & Warnings" or maybe the Statistics window.
Regarding replay environment information - again, I wish the ultimately selected replay device would just get logged to some visible UI element, like the "replay context" at the bottom right, or as text in one of the previously mentioned windows.
Furthermore, I'm not a big fan of the current replay control options. I'd prefer if the application would clearly warn me if I'm trying to replay on a combination (GPU & driver) that does not match the original capture environment. I think it's really important on "modern" APIs to communicate this clearly to avoid accidental mistakes.
This could happen via the "Error & Warnings" window or a modal warning dialog with an option to ignore in the future (for people who like to live dangerously). And as a second step let me choose the replay device. But some sort of UI visibility would already be a good first step.
Environment
- RenderDoc version: all
- Operating System: all
- Graphics API: all