xenia icon indicating copy to clipboard operation
xenia copied to clipboard

[GPU/VIDEO] D1MODE_V_COUNTER

Open Gliniak opened this issue 3 years ago • 0 comments

Validation

  • [X] I've read the FAQ.
  • [X] The Xenia build used is from the master branch (not MLBS/AlexVS/Canary/pull requests, etc.)
  • [X] This issue isn't for tech support (help with Xenia).
  • [X] If this issue occurs in a specific game, I've done analysis to locate the faulty subsystem of the emulator and a potential reason in it.
  • [X] I've checked if this issue hasn't already been reported.
  • [X] My device meets the minimum requirements: https://github.com/xenia-project/xenia/wiki/Quickstart#system-requirements
  • [X] (If building) I have read the building doc: https://github.com/xenia-project/xenia/blob/master/docs/building.md

Describe what's going wrong

Right now D1MODE_V_COUNTER is set to be 720 (0x2D0), however certain titles checks it while trying to playback videos, which causes them to stuck in infinite loop.

After spending a bit of time it seems like value must be changed with frequency at least 120 times higher than actual vsync (probably 720 to match amount of lines being draw) thread, however I haven't checked exact frequencies yet.

After some time with it I expect to be updated every 1/(display_refresh*horizontal_lines)

Screenshots just for future: image image

Affected Titles: https://github.com/xenia-project/game-compatibility/issues/710 https://github.com/xenia-project/game-compatibility/issues/725 https://github.com/xenia-project/game-compatibility/issues/767

Describe what should happen

Not applicable

If applicable, provide a callstack here, especially for crashes

No response

If applicable, upload a logfile and link it here

No response

Gliniak avatar Feb 22 '22 18:02 Gliniak