This could be a number of things…
https://wiki.archlinux.org/title/PRIME#Black_screen_with_GL-based_compositors
https://wiki.archlinux.org/title/PRIME#Error_when_running_Wine_games_with_DXVK
(note that if you do want to use one of the switcher things … best to use one of these: More tools for Optimus laptops are now available)