Sadly, I am just proficient enough to get the project to compile and run within X-code. So, short of tossing in a printf, I am outside my league. I did check the scheme, and Shader/API validation was turned off. Just for grins, turned off Metal validation as well.
As the RX580 is the only GPU in the system, and it is recognized as metal capable, I'm not sure what else would be causing the "A GPU with supportsRaytracing is required" besides the API indicating it. This is for both Photo Catch and HelloPhotogrammetry.
I do have one other machine that I can try Monterey on, but it is right on the edge of what is considered compatible... a 2018 MBP with 4GB RX560X