need help garage band and iMovie

I installed macOS Monterey on a 2011 iMac and when I try to open garage band it says`Unable to initialize graphics. This typically happens when running inside of an unsupported virtual machine environment, or when running on an unsupported Mac`and when I open iMovie and click to create a project it just quits the app

Author: @GlitteringPea9542