Snes sound issues

Hey all,

Linux noob here. I installed lakka today on my Rpi 1 b+ and that works pretty great. All the nes roms run smooth but only a couple snes roms run decently. The ones with problems (mortal kombat 2 & 3, megamans) sound horrible (screeches) and their framerate is very low. Is there something that I can do to optimize?

Thanks for any pointers.

[QUOTE=tboheeren;22768]Hey all,

Linux noob here. I installed lakka today on my Rpi 1 b+ and that works pretty great. All the nes roms run smooth but only a couple snes roms run decently. The ones with problems (mortal kombat 2 & 3, megamans) sound horrible (screeches) and their framerate is very low. Is there something that I can do to optimize?

Thanks for any pointers.[/QUOTE] I’ve tried Kirby’s Adventure for the snes before, and I have had similar problems. The framerate was okay, but the sound was choppy. Kivuar gave me a new build to try out, so I’ll see if that fixes anything.

Hi tboheeren. On NES, you can add the BIOS and overclock the pi1 to get full speed.

On SNES, the picodrive core we ship is not optimized enough to run at full speed on the rpi1, sorry for that.

Hey Kivutar,

Thanks for your response. Today I tested the same roms on a rPi2. The framerate is more than ok but the sound keeps screeching at moments. Any thoughts?

[QUOTE=Kivutar;22813]Hi tboheeren. On NES, you can add the BIOS and overclock the pi1 to get full speed.

On SNES, the picodrive core we ship is not optimized enough to run at full speed on the rpi1, sorry for that.[/QUOTE]

Depending on the game (Square RPGs are notorious for it; wind and sword swishes are the most common use), the screeching may be a result of the emulator (i.e., working as intended). To make it sound right, the emulator needs a computationally expensive interpolation function that is generally left out for platforms with very low power.

I never notices audio issues with snes9x-next on the rpi2 though. Please try it also on another TV. Sometimes the EDID is wrong, and some cores behave wrongly on non 60hz tvs.

Tested today on another tv. A friend of mine tested a different rom of the same game (Mortal kombat 2, 3) and has the same screeching sounds. If you like I can send you the rom to test?

[QUOTE=Kivutar;22848]I never notices audio issues with snes9x-next on the rpi2 though. Please try it also on another TV. Sometimes the EDID is wrong, and some cores behave wrongly on non 60hz tvs.[/QUOTE]

Yeah, snes9x-next should be fine as long as it’s maintaining a stable 60 fps, but I think catsfc and pocketsnes both lack the interpolation code and will sound terrible, if either of those are being used.

And how do I change within a standard Lakka setup from pocketsnes to snes9x-next?

On RPI1, we don’t even ship snes9x-next, the hardware is too weak to run that core at full speed. Even picodrive with its arm optimization is too heavy for the RPi1. This hardware is weak like a PSP. And SNES is not so easy to emulate accurately while keeping it fast.

I have both a rpi 1 and a 2.both running lakka latest stables. Can you point out how to use snes9x next on the rpi2. [QUOTE=Kivutar;22920]On RPI1, we don’t even ship snes9x-next, the hardware is too weak to run that core at full speed. Even picodrive with its arm optimization is too heavy for the RPi1. This hardware is weak like a PSP. And SNES is not so easy to emulate accurately while keeping it fast.[/QUOTE]

You will see two snes icons in the list, one is labeled as pocketsnes, the other one is labeled as snes9x-next.

Also, sorry for the mistake in my last message, I meant pocketsnes, not picodrive.

I managed to get SNES running almost perfectly on the RPi1. I achieved this by overclocking to 900mhz (along with the suggested overvolt and memory overclock settings for this setting). Sound is stable in all the games I tested (with very slightly lag from certain SFX, but very playable). A 1000mhz overclock would probably make it flawless, but I don’t want to OC that much.

RPi2 can get SNES running at 100% out of the box as far as I’ve seen. Again though, it’ll OC to 1000mhz quite happily if you need more speed.

Yes overclocking will improve performance on these cores. Also, using a TV with a smaller resolution or forcing a low resolution in the bootloader can improve performance.

Anyway, even with combining those two, you won’t get all snes games at full speed on the rpi1.

Another question regarding this issue. Now that I am on the rPI2 I can see the core selection menu. However I try to select snes9-next as the standard but it keeps running games with pocketsnes. When I choose ‘load content’ however I see indeed that snes9-next is used and all games run flawlessly including the sound. How can I select snes9-next as the default core without using load content each time?

You should see two snes icons in the horizontal list. Choose the one corresponding to snes9x-next.

Thank you , I was searching in all the wrong places due to being used to rPi1 :-/