libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
114 stars 61 forks source link

[RPI4] Very short screen and sound freeze with auto zoom mode. #522

Closed iconoclusterdotexe closed 2 years ago

iconoclusterdotexe commented 2 years ago

Platform: RPi4 8GB Retroarch version: 1.10.3 PUAE and PUAE2021 cores version: latest (with last commit) Running on Batocera (a customized version, with original flags on compiling)

I've noticed a very short screen and sound freeze when using the Automatic Zoom Mode. This happens when it cut vertically the overscan and extends the image screen to the monitor-tv frame (on vertical obv).

You can reproduce the issue by using every RA Aspect Ratio, Zoom Mode = Automatic and Zoom Mode Crop = every (except horizontal).

It's not a big issue, but it's quite annoying.

sonninnos commented 2 years ago

I'm pretty sure the geometry resizing can't be made any faster. Try increasing frontend sound latency.

iconoclusterdotexe commented 2 years ago

I moved the phone camera close to the screen to show you how the screen freezes. https://user-images.githubusercontent.com/75033413/166489052-b641a1ce-d55a-4fbe-a887-bb0df1e61767.mp4

https://user-images.githubusercontent.com/75033413/166490082-464a62b7-abfd-49c5-9ce4-735127859db7.mp4

sonninnos commented 2 years ago

What game is that, since changing the screen size so often is no bueno?

I mean too bad if the game reports that those are the lines that are drawn to, but maybe it could be forced to even values instead..

iconoclusterdotexe commented 2 years ago

Brian The Lion. In this case it change the screen size only when you show the level password.

iconoclusterdotexe commented 2 years ago

What game is that, since changing the screen size so often is no bueno?

I mean too bad if the game reports that those are the lines that are drawn to, but maybe it could be forced to even values instead..

Yeah, it happens in some games. Not really a big issue i think. Consider I'm using Automatic zoom mode with Vertical and Horizontal crop now. But the sound and screen freezes is really strange. However I've tested now with an higher sound latency and different audio driver too (from alsa to alsathread). Same issue.

sonninnos commented 2 years ago

I've been using Automatic ever since I created it, and the impact is minimal with my hardware. I doubt that is going to change ever, but I'll try to optimize it to skip that kind of small change.

As in it is not the Automatic per se but the change in general. Same can be observed with manual zoom toggling.

iconoclusterdotexe commented 2 years ago

Ok, now I realized this issue happens when using vulkan driver. In gl works perfectly. I think it can be a vulkan-headers issue.

sonninnos commented 2 years ago

Good. Pointless screen size changing is also sorted and will be in the next update.