Higher V. Backporch Support for Optimal PSP In-Game Picture

NewHome Forums OSSC & OSSC Pro OSSC – Feature Requests Higher V. Backporch Support for Optimal PSP In-Game Picture

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36658
    eatnumber1
    Participant

    I’m looking to dial in some optimal PSP settings. I’ve calculated some optimal timings based on hooking up my PSP to an oscilloscope, and am able to get a nice picture when in the main menu.

    Unfortunately however, the PSP letterboxes games. If I treat the letterboxed area as H./V. frontporch and backporch, I’ve calculated what the correct H/V. Active and H/V. Backporch should be. Unfortunately, the V. Backporch setting doesn’t go high enough (max is 63, I want 134). Is it possible to increase that limit?

    Here is my timing measurements, along with the calculations with the resulting OSSC settings.

    • This topic was modified 4 months ago by eatnumber1.
    • This topic was modified 4 months ago by eatnumber1.
    #36739
    BuckoA51
    Keymaster

    I’m not sure many displays could tolerate that high, but I couldn’t say for sure.

    #36740
    eatnumber1
    Participant

    As far as I know, the OSSC will adjust the frontporch to compensate, and won’t adjust the V. Active region, meaning that the resulting output resolution won’t change, so TVs should see little to no difference.

    I’m already running the PSP with a 480p input signal, but the active/backporch regions configured so that the resulting output image is 640×360.

    At V. Backporch = 134 and V. Active = 272, the OSSC will be perfectly outputting only the actual non-letterboxed portions of the screen. That said, the resulting image will be 480×272, or 960×544 in line2x, which probably won’t work (or at least look good) on my TV. That said, if I allow for some amount of letterboxing and bump the V. Active up to 360, the V. Backporch needed to center the image on screen is 86 (still higher than the current 63). Alternatively, if I cut off two real pixels from the vertical resolution (V. Active = 270), I’ll get a 480×270 picture, which in line2x is 960×540, which is a standard resolution (qHD). I think that doing so will require a V. Backporch of 135. In fact, here’s the PSP with those settings (V. Active = 270, H. Active = 480). It scales decently well to my 4k display horizontally, and should also vertically, but cuts off on the bottom without being able to set V. Backporch to 135.

    Here’s how that looks: 960x540 PSP image

    • This reply was modified 4 months ago by eatnumber1.
    • This reply was modified 4 months ago by eatnumber1.
    #36850
    eatnumber1
    Participant

    I have implemented this, and marqs has merged my changes. It will be released with the next version of the OSSC firmware (0.86). Here’s how it looks, and I’ll put the settings I’m using below the screenshots.

    tactics ogre fullscreen
    closeup

    I believe the remaining blurring is due to my TV’s poor upscaling, along with some analog video noise coming from the PSP itself.

    The settings I’m using are:
    H. Backporch: 176
    H. Active: 480
    V. Backporch: 135
    V. Active: 270

    Oddly, these backporch values are not the ones I’d calculated, but these are the ones that produce a centered image.

    Now, with a 960×540 image, 2x that would be 1920×1080 (1080p). Time to dig into whether a Line4x in 480p mode is possible to implement :).

    • This reply was modified 3 months, 3 weeks ago by eatnumber1.
    #39236
    BuckoA51
    Keymaster

    Excellent work 🙂

    #39350
    nmalinoski
    Participant

    This is really cool. Is there a facility for automatically detecting when the PSP goes into game mode (resolution switch?), or will there be profile swapping involved?

    #39351
    eatnumber1
    Participant

    Sadly no, or at least it’s not straightforward. There’s no resolution switch as far as the OSSC (or your TV) is concerned.

    However that said, I improved on this further since my last post, and 0.86 now has a dedicated sampling mode and an optimized line2x mode. So all you need to do is set “480p in sampler” to “PSP 480×272”.

    It might be possible to count the size of the overscan area plus the letterbox and switch when the active region changes, but I’m not sure if that will be prone to false triggering in other places though.

    Also FYI I looked into line4x. It’s not possible at all, ever on the OSSC (maybe the pro, idk). The HDMI transmitter cannot run at a fast enough clock speed. That said, I did some work to get the OSSC working better at clock speeds close to its theoretical max so that I can do line3x with a 3x vertical and 2x horizontal pixel clock (3x horizontal is also too fast). That work also got released with 0.86, although the Line3x mode is disabled because it’s not aspect ratio preserving. With those settings, it’s at the edge of what the OSSC can support, but it now works. With 2x horizontal, there’s enough room in the overscan area now that I can theoretically get to 3x horizontal without increasing clock speed by drawing into the overscan. The OSSC doesn’t support that kind of drawing mode yet though, so implementing that support is my next project. Once it works the output resolution should be 1440×816.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.