When you start a rom and when in game press select + x and look at what driver it uses for audio. I had the same problem with some of the emulators after updating everything. For some the driver for audio was changed from sdl2 to alsathread. I didn't have sound and got the above mentioned underun error.
It needs to be sdl2.
Hope it helps.