hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.42k stars 2.19k forks source link

[Libretro] Screen orientation causing image rotated and stretched in Vulkan #13816

Open Panderner opened 3 years ago

Panderner commented 3 years ago

Using Vulkan for PPSSPP in Retroarch rotating screen orientation causing the image are Rotated and Stretched but not OpenGL

Portrait: Screenshot_2020-12-26-12-46-37-869_com retroarch

Landscape: Screenshot_2020-12-26-12-40-46-067_com retroarch

Reversed Landscape: Screenshot_2020-12-26-12-40-29-320_com retroarch

Panderner commented 3 years ago

it also affects all games

ztx-lyghters commented 3 years ago

I'm having the same problem

iamSlightlyWind commented 3 years ago

Somehow this also just happened to me. Not sure how it was produced, but I can't reproduce nor revert. Pretty much all I did was delete the app's data and it happened. Reinstall or delete retroarch/delete data did not help.

bluemonkeysuit07 commented 3 years ago

same here, just started to be an issue. previously ppsspp core worked fine on the same device

GtrevizeG commented 2 years ago

any news on this bugs ? it's still there :(

AnalogMan151 commented 2 years ago

Also having this issue. I can set my Video Driver to 90 degree rotation which fixes PPSSPP but messes my other cores.

CharlesAnjos commented 1 year ago

Also having this issue. I can set my Video Driver to 90 degree rotation which fixes PPSSPP but messes my other cores.

sorry for necroposting, but you can modify this setting while the game is running and save it as an override specific for the content or emulator. in my case, PPSSPP core was misbehaving and all other cores were just fine, so I opened a PSP game, went to the main menu, modified the rotation to 90 degrees, went back to the quick menu, into overrides and saved the override as core-related. now whenever i load a game on PPSSPP, it also loads the changes on general settings, which includes the 90 degree screen rotation. if i load other cores, the setting is left as default.

Severem commented 3 months ago

My issue is exactly like Panderner's with the Landscape photo being as mine is on an Android tablet HPad 5. There is something definitely wrong in the coding for PPSSPP and its rendering of Vulkan. I am using F-droid's version, but have used the RA Plus and normal versions (the older version seems to work however, sound glitches too much and when I updated Core, went back to the screwup. ) The older core I believe was 1.18.#. However, I will attempt to try CharlesAnjos solution, but it is only a temporary fix as should something happen where I must delete the App, or change hardware, have to go through this all over again.

Severem commented 3 months ago

Okay, may have found a solution. Under normal Video Driver configuration, have it set to Vulkan with whatever other settings you would like to have. Under PPSSPP and a game you are running, under Core Options > Video, set the Driver to NONE. Close out content, close out RetroArch, jump back into PPSSPP and run your game. On mine, the video and game orientation was correct and even rotated normally when the tablet rotated. If anyone else does this could they confirm the fix? Thank you.

miklecake commented 2 months ago

Okay, may have found a solution. Under normal Video Driver configuration, have it set to Vulkan with whatever other settings you would like to have. Under PPSSPP and a game you are running, under Core Options > Video, set the Driver to NONE. Close out content, close out RetroArch, jump back into PPSSPP and run your game. On mine, the video and game orientation was correct and even rotated normally when the tablet rotated. If anyone else does this could they confirm the fix? Thank you.

It really works, thank you! But if I turn on the volcano again, the next time I start retroarch the screen rotates again.

Severem commented 2 months ago

miklecake - make sure to SAVE your configuration on RetroArch and possibly in the Core settings as well. Thank you for the verification

DJM75 commented 1 month ago

Okay, may have found a solution. Under normal Video Driver configuration, have it set to Vulkan with whatever other settings you would like to have. Under PPSSPP and a game you are running, under Core Options > Video, set the Driver to NONE. Close out content, close out RetroArch, jump back into PPSSPP and run your game. On mine, the video and game orientation was correct and even rotated normally when the tablet rotated. If anyone else does this could they confirm the fix? Thank you.

it works but it's a lot slower, like it's using a software rendering.