Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Capture a valid capture RDC with two GPU #323

Open
xavier114 opened this issue Jun 24, 2024 · 0 comments
Open

Cannot Capture a valid capture RDC with two GPU #323

xavier114 opened this issue Jun 24, 2024 · 0 comments

Comments

@xavier114
Copy link

I cant seem to be able to import muy .rdc capture, The samples works.

I tried every combo of Blender Version, Addons Version and RenderDoc version but none work with my capture, the sample all works.

I got two gpu which are Nvidia RTX 4060 and Intel UHD Graphics.

I look in the capture file itself and notice the following:

A sample file Capture Structure
image

And compare to mine:
image

They dont have the same ammount of Color Passes and the error in blender is the following:

google_maps_rd failed and returned:
Loading capture from Z:\Capture\park.rdc...
Trying scraping strategy #4 (from draw call #0)...
(Skipping drawcall ClearDepthStencilView())
Not relevant yet: ClearRenderTargetView()
Not relevant yet: ClearDepthStencilView()
Not relevant yet: ClearDepthStencilView()
Not relevant yet: DrawInstanced()
Traceback (most recent call last):
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 377, in <module>
    main(controller)
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 369, in main
    scraper.run()
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 278, in run
    relevant_drawcalls, capture_type = self.extractRelevantCalls(drawcalls)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 214, in extractRelevantCalls
    return self.extractRelevantCalls(drawcalls, _strategy=_strategy+1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 176, in extractRelevantCalls
    if not skipped_drawcalls or self.hasUniform(skipped_drawcalls[0], "_uMeshToWorldMatrix"):
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 142, in hasUniform
    constants = self.getVertexShaderConstants(draw)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Z:\Blender Foundation\Blender\4.1\scripts\addons\MapsModelsImporter\google_maps_rd.py", line 132, in getVertexShaderConstants
    elif var.type == rd.VarType.Int:
                     ^^^^^^^^^^^^^^
  File "Z:\Blender Foundation\Blender 4.1\4.1\python\Lib\enum.py", line 784, in __getattr__
    raise AttributeError(name) from None
AttributeError: Int. Did you mean: 'SInt'?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant