Difference between revisions of "Development:Renderdoc"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Add development category)  | 
				|||
| Line 1: | Line 1: | ||
| + | [[Category:Development]]  | ||
| + | |||
= Getting a capture =  | = Getting a capture =  | ||
== Without Thunks ==  | == Without Thunks ==  | ||
Revision as of 13:37, 22 June 2022
Getting a capture
Without Thunks
- Ensure Renderdoc is installed in the rootfs
 
OpenGL
- Set LD_PRELOAD=librenderdoc.so as an environment variable
 - This can be done in FEXConfig or an application profile to limit its reach
 
Vulkan
- Ensure the renderdoc layer is installed
 - Set ENABLE_VULKAN_RENDERDOC_CAPTURE=1 as an environment variable
 - This can be done in FEXConfig or an application profile to limit its reach
 
Alternatively
You can use renderdoccmd to launch an application directly.
- renderdoccmd capture -w <program> <args...>
 
As long as this application is installed in your rootfs then it should work for both OpenGL and Vulkan applications.
Capture results
- Once you have captured a frame in an application running renderdoc (F12 typically)
 - The results will be in /tmp/RenderDoc/ as *.rdc files
 - Technically these are meant to be moved over to the qrenderdoc application but you can rip them directly
 
With Thunks
Likely to be the same as without thunks, but instead of adding environment variables inside of FEX. One needs to do it outside of FEX instead