Retroarch: [Android] Black screen on orientation change

Created on 9 Apr 2018  路  9Comments  路  Source: libretro/RetroArch

Description

The screen goes black whenever I switch from Portrait to Landscape, also from Landscape to Portrait.

Expected behavior

UI / Overlay / Game updated to the new device orientation

Actual behavior

A black screen (I don't know if touchscreen inputs are handled)

Steps to reproduce the bug

  1. Do an orientation change on Android device

Bisect Results

It may be a device specific issue as I don't remember having this happening on other Android devices.

Version/Commit

You can find this information under Information/System Information

  • RetroArch: at commit 91ba076

Environment information

  • OS: Android (v8.0)
  • Device: Sony Xperia XZ2 Compact (H8324)

Logcat

logcat.log

These lines appears on orientation change:

04-09 12:05:24.185   821  1479 E BufferQueueProducer: [com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture#0] dequeueBuffer: BufferQueue has been abandoned
04-09 12:05:24.185 10365 10385 I Adreno  : DequeueBuffer: dequeueBuffer failed
needs info or confirmation android

Most helpful comment

I fixed this issue by a setting on my galaxy s8. When I would rotate my screen within retroarch it would go black, but if I swiped on the screen around where the soft buttons are I found a button that looks like joystick buttons, called "game mode". Likely a Samsung tool. Once I toggled full-screen it worked after restarting my game.

All 9 comments

I have the same problem.

Version/Commit

Using F-Droid version from 1.4.0 to 1.7.2 6c09195

Environment information

  • OS: Android (v8.0)
  • Device: Xiaomi Mi MIX 2

I have the same problem on Samsung Galaxy S9+. Screen goes black when rotated to landscape, stays black until force quit.

Same here on Pixel 2 XL (Oreo 8.1.0). On mine, I can just switch to a different app and switch back to restore the screen. RetroArch 1.7.3 (Google Play Store)

I fixed this issue by a setting on my galaxy s8. When I would rotate my screen within retroarch it would go black, but if I swiped on the screen around where the soft buttons are I found a button that looks like joystick buttons, called "game mode". Likely a Samsung tool. Once I toggled full-screen it worked after restarting my game.

Seems to work fine for me on Pixel 2 upgraded to Android Pie

Th3dll's comment worked for me, after putting in full screen mode in the game settings, it worked, i have a galaxy S8+.

Thanks @th3dll that worked for me too i have the galaxy note 8
Edit: The Overlay and Icons are stretched then, I changed back to no fullscreen

the newest nightly fixed for me this bug @p-sam @beerenauslese @sub-atomic @BetaLeaf @th3dll @ctweeks2002 you all should test if this is fixed now

It would be great if Samsung would just stop putting weird "Game Optimizers" in their Android versions.
The solution @th3dll provided fixed it for me too. Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Chocobubba picture Chocobubba  路  3Comments

parkerlreed picture parkerlreed  路  3Comments

wrldwzrd89 picture wrldwzrd89  路  3Comments

RobLoach picture RobLoach  路  3Comments

GoronMegaZord picture GoronMegaZord  路  3Comments