Your computer is MacBook Pro 10,1 and pro 15” retina mid 2012 a1398.
The relevant technologies are ivy bridge, intel hd 4000 and nvidia Kepler.
According to opencore legacy patcher, you can use Ventura (osx/macos 13)with broken live text if you go the opencore route.
That will most likely offer a better experience than linux on your hardware.