Hi,
I am trying to build and run the HelloPhotogrammetry app that is associated with WWDC21 session 10076 (available for download here).
But when I run the app, I get the following error message:
A GPU with supportsRaytracing is required
I have a Mac Pro (2019) with an AMD Radeon Pro 580X 8 GB graphics card and 96 GB RAM. According to the requirements slide in the WWDC session, this should be sufficient. Is this a configuration issue or do I actually need a different graphics card (and if so, which one?).
Thanks in advance.
Did you have any luck sorting this out? I have looked all over, and everything says that an RX580 should be enough, but I get the same error.
@moonlightmac, can you see what this API returns if you use your AMD GPU as the MTLDevice? I also found a bug report that this might be caused if you have Shader/API validation enabled for your project. You can disable those in the app's scheme.
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