Open newhinton opened 4 months ago
This is something you will have to look into, and provide as much context as possible. Seems to be related to vulkan. Otherwise I will have to revert the commit until it is fixed.
Enable the debug renderer and try again.
As far as i can tell, the error is the same with the debug renderer. Does that output to a different place than logcat?
Just as a sanity check:
This also happens with the "original" orientation which corresponds to ActivityInfo.SCREEN_ORIENTATION_USER (2)
. Though there the user has to press that little orientation-change button that pops up, after which citra crashes. So this bug existed beforehand, just the new settings really exacerbate this issue.
One option would be to change the options to not use SCREEN_ORIENTATION_SENSOR_LANDSCAPE but SCREEN_ORIENTATION_LANDSCAPE and newly SCREEN_ORIENTATION_REVERSE_LANDSCAPE AND remove the automatic variant. This should prevent the device from automatically rotating, but really makes it more convoluted.
However, that solution has the benefit that we can change this any time we want. If that bug gets fixed, we can just change it back. Users that made use of the then-missing options will not know there was a change, until they change it. Their original choice will still work just as fine. It's just not selectable anymore.
If this issue can be closed in the future, then #61 may also be closed. Please test #61 on your new PR.
Is there an existing issue for this?
Affected Build(s)
93025c95f2ce4baed37a7b587236f12ef667c540
Description of Issue
With the new device orientation feature, the emulator crashes when the device rotates 180° (landscape) Both automatic and landscape screen orientations cause this crash.
From what i can see, this originates from the core, not my changes. I also have experienced other crashes like when the power savings mode restarts, but those have been hard to reproduce.
Expected Behavior
No Crash.
Reproduction Steps
Log File
System Configuration
CPU: Google Tensor G2 (Pixel 7) GPU/Driver: RAM: 4Gb OS: GrapheneOS (android 14)