FCEUX PPU timing issue

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
FCEUX PPU timing issue
by on (#180509)
Real hardware and accurate emulators, like mesen/punes/nintendulator/nestopia
shows this timing roms values exactly as this screenshots:

Tepples overclock demo ROM
240pee, cpu speed

But cycles/line and cpu speed shows a bit lower values on FCEUX.
RockNES and BizHawk had same issue, but it's fixed for now.
Zepper wrote:
"Probably the test ROM uses sprite zero hit, or overflow, to measure the timing. The only change was to avoid the sprites to evaluate on pre-render scanline."

Is this sprite evaluation bug?
Re: FCEUX PPU timing issue
by on (#180523)
Yes.

The overclock test measures time between sprite overflow and sprite 0 in CPU cycles. Because FCEUX's sprite evaluation timing isn't perfect, the time between sprite overflow and sprite 0 differs from the authentic PPU.
Re: FCEUX PPU timing issue
by on (#180524)
@Eugene.S
Care to provide the link of my quoted post? I'm not finding it.
Re: FCEUX PPU timing issue
by on (#180539)
Zepper, it's here:
Image

BTW, i've posted it to bugtracker, but really doubt anyone fix it.
Which games (in theory) may be affected by this bug?
Or this bug manifest only on timing roms, so don't need care about fix it?
Re: FCEUX PPU timing issue
by on (#180545)
Oh, it was a private message. :shock: :D :lol: :lol: