Core works in Retroarch but not emulationstation

I am trying to get PS1 games to run in emulationstation through retroarch. I have the libretro ppa downloaded, the mednafen_psx_libretro.so, and it’s linked in the emulationstation configs but it backs out on emulationstation but works fine on retroarch. what did I screw up?