Author Topic: Panzer Dragoon Zwei/Saga emulation status  (Read 21339 times)

Draikin

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #15 on: December 30, 2012, 06:26:28 PM »
I can confirm the slowdown in OpenGL for PD Zwei in the latest version, I don't think it was there in the version I tried before that.  The problem is the game still crashes after the first intro movie you get when starting the game, right before it should start the actual episode so I can't test it right now (I'd have to see if I have a savestate somewhere to skip that part). I think I'm noticing the redraw problem in the intro movie as well though. Perhaps it's related to the slowdown. It didn't appear in the version of Yabause I took the screenshots from.

By the way snowdrake, what did you use to record the gameplay? I normally use Dxtory but activating it causes the entire screen to go black.

EDIT: Apparently using a Saturn BIOS the game doesn't crash and I can get to the actual gameplay. The game indeed seems to run twice as slow as normal now but I didn't have the redraw problem.
« Last Edit: December 30, 2012, 06:34:36 PM by Draikin »

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #16 on: December 31, 2012, 01:44:41 AM »
When did you noticed the slowdown? If it's between 0.9.11 and now...  there have been a lot of changes made in the renderers, that may explain why they are slower now...

Draikin

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #17 on: January 02, 2013, 11:46:03 PM »
I don't recall the exact version number but the version I compiled on October 3th 2012 ran correctly. The latest one seems to run the game at half its normal speed all the time, even during FMV's. I don't think it's a performance problem though.

snowdrake

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Youtube account
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #18 on: January 30, 2013, 08:50:56 PM »
When did you noticed the slowdown? If it's between 0.9.11 and now...  there have been a lot of changes made in the renderers, that may explain why they are slower now...
I've done a regression test, it seems Panzer dragoon 2's slowdown in opengl renderer first appeard in revision 2986; as Draikin noted, the slowdown happens during video playback too.

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #19 on: January 30, 2013, 10:17:09 PM »
I've done a regression test, it seems Panzer dragoon 2's slowdown in opengl renderer first appeard in revision 2986; as Draikin noted, the slowdown happens during video playback too.

Heh! Thanks for finding the revision that introduced the problem... I'll look into that and keep you informed on the progress...

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #20 on: January 31, 2013, 08:59:06 PM »
The problem should have been fixed by revision 3054:
http://yabause.svn.sourceforge.net/viewvc/yabause?view=revision&revision=3054

snowdrake

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Youtube account
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #21 on: February 02, 2013, 11:53:59 AM »
Wow, thanks for the quick update, the rev 3054 does fix the slowdown issue with opengl renderer in Panzer Dragoon 2.
But sadly, it seems to brought a slowdown in the software renderer.
As these slowdown can be related to the redrawn bug I talked earlier (  http://www.youtube.com/watch?v=gIiglkNCAB4 ) I've searched for the revision that introduce this previous bug in the software renderer.
It first appeared in 2868 it seems.
http://yabause.svn.sourceforge.net/viewvc/yabause?view=revision&revision=2868

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #22 on: February 04, 2013, 12:45:10 PM »
I can see the redrawn bug in the youtube video... but I can't reproduce it... does it happens everywhere in the game, or just in some levels/areas?

snowdrake

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Youtube account
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #23 on: February 05, 2013, 11:30:40 AM »
I've compiled 3050 and tested it.
Yes, it does happen in all episodes of the game, even during cutscenes.

In 3054, there still these redrawn bug, and a framerate issue from everything in the vdp1 layer (strangely, all other layers don't got any fps issue at all)

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #24 on: February 05, 2013, 12:34:06 PM »
ho... I think I just understood...

I guess you're using the Frame Skip/Limiter? :)

I broke it some time ago and wasn't sure in which revision... it seems you found it...
I'll fix that and post about it here :)

snowdrake

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Youtube account
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #25 on: February 05, 2013, 12:42:05 PM »
Quote
I guess you're using the Frame Skip/Limiter? :)
Yes, you're right,
I've just tested without Frame Skip/Limiter : No bug at all (I should have tested it before, my bad)

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #26 on: February 05, 2013, 09:24:18 PM »

snowdrake

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Youtube account
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #27 on: February 07, 2013, 08:27:26 AM »
I can confirm, no more issue with frameskip in software mode for Panzer Dragoon Zwei.
I tested it against a couple of 3D games just to be sure, the only one still getting this issue seems to be the first Panzer Dragoon; but for this one, I may be wrong but, it seems not related to this previous bug, as there allready was (a subbtle) drawing bug with frameskip in software mode by revision 2867

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #28 on: February 07, 2013, 12:48:07 PM »
Great! :)

As for the Panzer Dragoon bug, it seems Daytona USA CCE has a similar problem...

Guillaume

  • Administrator
  • Sr. Member
  • *****
  • Posts: 359
    • View Profile
    • ./confiture && cake
Re: Panzer Dragoon Zwei/Saga emulation status
« Reply #29 on: February 08, 2013, 12:56:59 PM »
Frameskip should be fixed for Panzer Dragoon by revision 3072: http://yabause.svn.sourceforge.net/viewvc/yabause?view=revision&revision=3072