sm64-port icon indicating copy to clipboard operation
sm64-port copied to clipboard

[PS2] Experimenting with native 720p support - is it possible?

Open metchebe opened this issue 1 year ago • 3 comments

Hello all.

Having figured out today how to build the PS2 port with the latest SDK, I built native 480p and 720p versions of the executable by changing the following line 112 in gfx_ps2_wapi.c:

#if defined(VERSION_EU)
    vid_mode = &vid_modes[2]; // PAL
#else
    vid_mode = &vid_modes[4]; // 720p
#endif

So the 480p version seems to work OK, but the 720p version has graphical glitches. HOWEVER, the rendering that can be seen between the glitches seems OK (see image), and apparently runs at fullspeed too...

IMG_20230316_114917171

So I wonder if a fix for native 720p rendering is possible, it seems like the hardware could do it... maybe I missed a step?

Regards.

metchebe avatar Mar 16 '23 15:03 metchebe

You would probably need to handle interlacing or something. I remember looking into this and not coming up with any solutions. Now I don't really remember much about it.

fgsfdsfgs avatar Mar 16 '23 17:03 fgsfdsfgs

OK thanks for the reply. For what it's worth, I can say my 480p build (with vid_modes[1]) works great having tested it for about an hour, so it being noninterlaced is not an issue here.

720p support seems close, maybe someone (fjtrujy?) could comment if this is in fact true or if the fixes are more complex.

metchebe avatar Mar 17 '23 13:03 metchebe

I remember trying to achieve the same thing. I encountered the same glitches after some minutes of gameplay. Too bad my PS2 broke

lucaspontoexe avatar Mar 23 '23 00:03 lucaspontoexe