Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
metchebe opened this issue Mar 16, 2023 · 4 comments
Open

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

metchebe opened this issue Mar 16, 2023 · 4 comments

Comments

@metchebe
Copy link

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.

@fgsfdsfgs
Copy link
Owner

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.

@metchebe
Copy link
Author

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.

@lucaspontoexe
Copy link

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

@lucaspontoexe
Copy link

Alright, my PS2 is now fixed, and I can finally run this in real hardware. I am getting the same problem.

Back in 2021, I tried replacing some gskit calls with their gskit_hires counterparts.
#25 (comment)
The game worked for a few minutes until all textures began disappearing and glitching out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants