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

errors and warnings when replaying AMD Pro traces #180

Closed
lunarpapillo opened this issue Feb 14, 2019 · 2 comments
Closed

errors and warnings when replaying AMD Pro traces #180

lunarpapillo opened this issue Feb 14, 2019 · 2 comments

Comments

@lunarpapillo
Copy link
Contributor

These traces were captured on a Linux machine and immediately replayed on the same machine. Four out of five games produced unexpected output. But the rendering output was fine (at least, as far as I could tell).

Rise of the Tomb Raider:

        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        64.516657 fps, 198.878871 seconds, 12831 frames, 1 loop, framerange 1-12831

Talos: no errors or warnings

Warhammer:

        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        45.134589 fps, 126.554823 seconds, 5712 frames, 1 loop, framerange 1-5712

Dawn of War:

        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        [gfxrecon] ERROR - API call (vkGetPipelineCacheData) returned value VK_INCOMPLETE that does not match return value from capture file VK_SUCCESS.
        169.297617 fps, 61.117222 seconds, 10347 frames, 1 loop, framerange 1-10347

Dota 2:

        ...
        [gfxrecon] WARNING - Failed to map handle for object id 2
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 100000001
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 100000001
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        [gfxrecon] WARNING - Failed to map handle for object id 1010000
        [gfxrecon] WARNING - Failed to map handle for object id 55dda3519c90
        210.600937 fps, 43.081480 seconds, 9073 frames, 1 loop, framerange 1-9073
@dustin-lunarg
Copy link
Contributor

The vkGetPipelineCacheData errors are related to #189. The size of the data returned by this function can vary from run to run on some drivers. The replay tool is currently using the size it read from the file when replaying this function, and not the actual size expected for the current run. Because the replay tool does not make use of the retrieved data, it should be safe to ignore these messages.

I believe that the handle mapping warnings are related to #187, where the replay tool is mapping a handle that the driver is going to ignore in the context of the current call. It should also be safe to ignore these messages.

The commits in #162 will change these to debug messages, so that they are not displayed by default.

@lunarpapillo
Copy link
Contributor Author

This issue seems fixed.

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

2 participants