The same problem persists in version 24.12.1. When I freshly boot the computer, it detects the Graphics API correctly and AFMF2 works. For an unknown reason, when I later try to run any game, regardless of dx11 or dx12, it cannot determine the game's Graphics API. There is nothing written in the Graphics API section. As a result, I cannot use AFMF2.
Edit: I think I've figured out the problem. I'll test it some more. I usually use Spotify in the background. When Spotify is off, AMD can determine the game's Graphics API and I can use AFMF2. I am experiencing the problem I mentioned above when Spotify is open. I always leave Hardware Acceleration turned off for Spotify. Even then, I can't understand why it would cause such a problem.