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

Bilinear Filtering? #84

Open
abaddononion opened this issue Apr 12, 2021 · 2 comments
Open

Bilinear Filtering? #84

abaddononion opened this issue Apr 12, 2021 · 2 comments

Comments

@abaddononion
Copy link

This is just a guess... I'm not entirely sure what's causing my issue. But when I stream certain games (I've only verified on PSX titles thus far) to my PC, I'm not getting exactly the same video I'm seeing on the Vita itself. In particular, when certain screens fade to black, rather than properly fading all the way, they linger on the last visible frame for too long.

I noticed this same issue if I enable bilinear filtering in Adrenaline. But as long as I leave it set to "Original", I don't see this issue on the Vita itself, however I do still have it through udcd. Is it possible that udcd is using bilinear filtering permanently, regardless of Adrenaline settings? And if so, is there some way I can turn it off?

@xerpi
Copy link
Owner

xerpi commented Apr 12, 2021

I think bilinear filtering can be removed by setting this to 0: https://github.com/xerpi/vita-udcd-uvc/blob/master/src/main.c#L605
Check #59 (comment)

@abaddononion
Copy link
Author

Thanks for the pointer! That was exactly what I was looking for!!

Unfortunately... it's apparently not the root caue of my issue. =/

I know my changes are working because i tried the other change mentioned in that ticket you linked, and it totally changed the output aspect ratio.

I tried both setting params.unk04 = 0; and removing the line entirely. in both scenarios, it didn't fix the problem.

Are there other video "improvement" parameters I can try to turn off? I'd like to get as close as possible to the PSX "Original" mode.

The easiest way to observe this problem is to simple start up any PSX game under Adrenaline (with the vita screen still on) and watch the Playstation logo on both screens. When it fades on the Vita screen, it will continue to linger for quite some time longer on the PC screen. There's several other scenarios where it causes artifacts, but that one is the quickest/easiest to test.

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

2 participants