Solidly in my top 3 movies of 2023 with the other two being Barbenheimer. I'm not even a DnD player, I know a little bit about it because I'm a terminally online nerd who's been playing vidya games for over 20 years and has occasionally read comics that are inspired by DnD , but never been part of a campaign. Unless you count Baldur's Gate 3.
It's just a ton of fun. Chris Pine plays his character so well, I can not imagine him as anything else anymore. Like in Star Trek he's not Kirk anymore, he's Edgin. Everyone else also played their roles... Honestly, I'd say flawlessly. I don't remember a single actor being bad in that movie.
They don't do a ton of the actual rules and mechanics stuff from DnD (like quite obviously there's no dice rolls in combat), but the references they do have are quite funny. Any background knowledge you have of DnD or Forgotten Realms will enhance your experience with the movie, but it's absolutely not necessary to find the whole thing hilarious.