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

Save process environment variables in capture file #1574

Closed
bradgrantham-lunarg opened this issue Jun 10, 2024 · 1 comment · Fixed by #1663
Closed

Save process environment variables in capture file #1574

bradgrantham-lunarg opened this issue Jun 10, 2024 · 1 comment · Fixed by #1663
Assignees
Labels
capture Issue with capture P1 Prevents an important capture from being replayed task Work to be performed

Comments

@bradgrantham-lunarg
Copy link
Contributor

Add some kind of a block to capture that contains the process environment variables. E.g. "MESA_SHADER_CACHE_DIR" is an important variable for allowing Mesa to use the same cache for created graphics pipeline (compiled shaders) from run to run. If the environment was stored in the capture file, someone could take the output of gfxrecon-info or gfxrecon-convert and pull out environment variables of interest. This could be automated by a replayer script, maybe repurpose gfxrecon-replay-renamed.py to apply some heuristics and goop to set helpful environment variables, etc.

@bradgrantham-lunarg bradgrantham-lunarg added the task Work to be performed label Jun 10, 2024
@bradgrantham-lunarg bradgrantham-lunarg changed the title Save process environment variables Save process environment variables in capture file Jun 10, 2024
@bradgrantham-lunarg bradgrantham-lunarg added P1 Prevents an important capture from being replayed capture Issue with capture labels Jun 10, 2024
@bradgrantham-lunarg
Copy link
Contributor Author

Is there an analog for Android? Android has environment variables and properties - is there a subset of that data that alters driver behavior that we would like to have restored in replay in #1575?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
capture Issue with capture P1 Prevents an important capture from being replayed task Work to be performed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants