libretro / uae4arm-libretro

Port of uae4arm for libretro (rpi/android)
6 stars 8 forks source link

Sound Crackling/Screen Flickering #2

Open qclart opened 6 years ago

qclart commented 6 years ago

Issue: Screen flickering in hi-res interlaced mode. Line doubling can be implemented in this core to fix this issue - https://github.com/Chips-fr/uae4arm-rpi/commit/518b1330aca2210450626ef7d673aa8c69fcd4bf

Issue: Sound crackling and stutter occurs regardless of settings applied. I don't believe this an emulation speed issue as the fps is good.

Chips-fr commented 4 years ago

You can try the latest update, sound should be good now...

apison commented 4 years ago

I've tested your update, sound seems a bit better but crackling is still present. it's a shame because this emulator is the only that works full speed on my underpowered board. Some times ago I've made a fork of your project and added some useful core options to it and I've enabled joystick for 2 player game. You can take a look to it if you are going to continue your project.

Chips-fr commented 4 years ago

Strange. It's now very good on raspberry pi 3, so there should be some dependencies between platform. What is your platform ? Are you sure you're full speed ? Which platform did you choose when compiling ? The only other ARM platform i could try is an orange pi...

Yes i already take a look at your version and took 2nd joystick and 2nd mouse button solution. I did look at disk switching which was interesting (especially since the gui source is far from usable). https://github.com/Chips-fr/uae4arm-libretro

apison commented 4 years ago

I use it on a hacked jamma pandora box, it use jessie linux as os, maybe the problem is my board, retroarch said that games run 60 fps, so speed should not be the problem.

apison commented 4 years ago

With the fix The sound is great setting uae4arm in ntsc 60hz mode, in PAL crackling is still present.

Chips-fr commented 4 years ago

note that this core emulate a PAL amiga, which has refresh screen of 50Hz and not 60Hz. It is hardcoded in /libretro/core/libretro-core.cpp: struct retro_system_timing timing = { 50.0, 44100.0 }; If i understand well you're still emulating a PAL amiga but with a refresh rate of 60Hz on your device ?

On my Rpi3:

This is quite expected.

So i don't have same problem as you. Could it be link to retroarch version ? I use latest version on my side (1.8.6)

apison commented 4 years ago

My fault I didnt setted audiosync option in retroarch now audio is perfect. Thank you very much for your fix.