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.11k stars 2.16k forks source link

PPSSPP 1.8.0 reported to not work on Xiaomi Mi Box #11922

Closed hrydgard closed 4 years ago

hrydgard commented 5 years ago

Xiaomi Box appears to be a set top Android TV box and I've gotten multiple reports that 1.8.0 doesn't run on it.

There seems to be two variants of this hardware, the Xiaomi Box and the Xiaomi Box S. Not sure if only one or both are affected.

unknownbrackets commented 5 years ago

Do we know which version previously worked - even 1.7.5 if not a git build? Or is this a newer device?

-[Unknown]

hrydgard commented 5 years ago

From what I understand, previous builds have worked. I'm contacting the reporter to try to figure out when it broke.

unknownbrackets commented 5 years ago

Sounds like a compositing issue to me? http://forums.ppsspp.org/showthread.php?tid=25020&pid=133692#pid133692

-[Unknown]

5schatten commented 5 years ago

Correct me if I'm wrong but the Xiaomi Box S uses an Amlogic S905X? Because my Khadas Vim SBC which uses the same SOC has pretty much the same problem with v1.8.0 while v1.7.5 is fine.

hrydgard commented 5 years ago

I've got one now, will investigate soon.

5schatten commented 5 years ago

Any news about this topic?

hrydgard commented 5 years ago

Sorry not yet, but soon.

unknownbrackets commented 5 years ago

Is this still a problem in the latest git?

If yes, it'd help to try some git builds in between 1.7.5 and 1.8.0.

-[Unknown]

hrydgard commented 5 years ago

Yeah this fell by the wayside. I'll have some time to track this down the coming week.

hrydgard commented 5 years ago

I just managed to build for the Mi Box (which is ARMv7 so had to downgrade the NDK, which I did using the new side-by-side NDK feature in Android Studio 3.5 beta). The app starts up just fine but cannot be navigated properly with the included remote, so I'll make sure to fix that.

hrydgard commented 5 years ago

Okay so with that I can navigate around, but things are still severely broken on this box and I don't understand why. Black screens when starting stuff, and black screens when task switching.

Not sure it's worth supporting or if I should just blacklist it on Google Play, it probably won't perform well anyway.

hrydgard commented 5 years ago

When the screen goes black, it can often be recovered by switching away from the app and back to it, curiously enough.

abdussyi commented 5 years ago

any solution for this issues ?

rkkoszewski commented 5 years ago

Could this be an Android TV issue? I'm having the same issue on my Philips 804/12 with Android TV 9.

joaopaulosilvasimoes commented 4 years ago

Same.

npu3pak commented 4 years ago

Same problem with mibox s and android 8.1.

  1. Emulator itself is working
  2. When I run LocoRoco it displayed language selection screen for couple of seconds, then it turns black.
rkkoszewski commented 4 years ago

Hi there, was able to capture some LogCat. I just started PPSSPP and was staring at a black screen. Then after a while I put the TV in standby, turned in ON again, went into PPSSPP again, black screen again here, and then I pressed the "back" button on my remote, and then the PPSSPP UI can be seen for a few milliseconds till the Android TV menu is shown.

Here are the logs:

12-31 16:03:46.968 31621 31621 D PPSSPPNativeActivity: Landscape: true
12-31 16:03:46.983 31621 31621 I PPSSPPNativeActivity: Running on an Android TV Device
12-31 16:03:46.998 31621 31621 I PPSSPP  : NativeApp.init() -- begin
12-31 16:03:47.002 31621 31621 I PPSSPP  : NativeApp.init(): device name: 'Philips:TPM191E'
12-31 16:03:47.003 31621 31621 I PPSSPP  : NativeApp.init(): External storage path: /storage/emulated/0
12-31 16:03:47.003 31621 31621 I PPSSPP  : NativeApp.init(): Launch shortcut parameter: 
12-31 16:03:47.019 31621 31621 I PPSSPP  : Longest display side: 1920 pixels. Choosing scale 2
12-31 16:03:47.044 31621 31621 I PPSSPP  : Default pad map
12-31 16:03:47.047 31621 31621 I PPSSPP  : Creating /storage/emulated/0/PSP
12-31 16:03:47.061 31621 31621 I PPSSPP  : NativeApp.init() -- creating Vulkan context
12-31 16:03:47.061 31621 31621 I PPSSPP  : AndroidVulkanContext::Init
12-31 16:03:47.067 31621 31621 I PPSSPP  : Creating Vulkan context
12-31 16:03:47.068 31621 31621 I PPSSPP  : VulkanLoad: Found library 'libvulkan.so'
12-31 16:03:47.068 31621 31621 W PPSSPP  : VulkanLoad: Base functions loaded.
12-31 16:03:47.170 31621 31621 D vulkan  : searching for layers in '/data/app/org.ppsspp.ppsspp-ezOijvkXLMuityoiaeKNVw==/lib/arm'
12-31 16:03:47.170 31621 31621 D vulkan  : searching for layers in '/data/app/org.ppsspp.ppsspp-ezOijvkXLMuityoiaeKNVw==/base.apk!/lib/armeabi-v7a'
12-31 16:03:47.171 31621 31621 D vulkan  : searching for layers in '/data/app/org.ppsspp.ppsspp-ezOijvkXLMuityoiaeKNVw==/split_config.armeabi_v7a.apk!/lib/armeabi-v7a'
12-31 16:03:47.171 31621 31621 D vulkan  : searching for layers in '/data/app/org.ppsspp.ppsspp-ezOijvkXLMuityoiaeKNVw==/split_config.xhdpi.apk!/lib/armeabi-v7a'
12-31 16:03:47.222 31621 31621 W PPSSPP  : Vulkan instance functions loaded.
12-31 16:03:47.223 31621 31621 I PPSSPP  : Chose physical device 0: 0xec7d9b58
12-31 16:03:47.223 31621 31621 I PPSSPP  : Memory Types (3):
12-31 16:03:47.223 31621 31621 I PPSSPP  :   0: Heap 0; Flags: DEVICE_LOCAL HOST_VISIBLE HOST_COHERENT   
12-31 16:03:47.223 31621 31621 I PPSSPP  :   1: Heap 0; Flags: DEVICE_LOCAL HOST_VISIBLE HOST_CACHED   
12-31 16:03:47.223 31621 31621 I PPSSPP  :   2: Heap 0; Flags: DEVICE_LOCAL   
12-31 16:03:47.227 31621 31621 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-31 16:03:47.228 31621 31621 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-31 16:03:47.228 31621 31621 I PPSSPP  : Creating Vulkan device
12-31 16:03:47.228 31621 31621 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-31 16:03:47.228 31621 31621 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-31 16:03:47.242 31621 31621 W PPSSPP  : Vulkan device functions loaded.
12-31 16:03:47.242 31621 31621 I PPSSPP  : Missing (device): vkGetPhysicalDeviceSparseImageFormatProperties
12-31 16:03:47.242 31621 31621 I PPSSPP  : Device created.
12-31 16:03:47.242 31621 31621 I PPSSPP  : Vulkan device created!
12-31 16:03:47.244 31621 31621 I PPSSPP  : STORAGE PERMISSION: GRANTED
12-31 16:03:47.244 31621 31621 I PPSSPP  : g_Config.screenRotation = 5
12-31 16:03:47.244 31621 31621 I PPSSPPNativeActivity: Setting requested rotation: 5 ('5') (Initialize)
12-31 16:03:47.247 31621 31621 I PPSSPPNativeActivity: OpenGL ES 3.0 detected.
12-31 16:03:47.258 31621 31621 I PPSSPP  : g_Config.screenRotation = 5
12-31 16:03:47.259 31621 31621 I PPSSPPNativeActivity: Setting requested rotation: 5 ('5') (onCreate)
12-31 16:03:47.260 31621 31621 W AudioManager: Use of stream types is deprecated for operations other than volume control
12-31 16:03:47.260 31621 31621 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
12-31 16:03:47.267 31621 31621 I PPSSPP  : NativeApp.audioInit() -- Using OpenSL audio! frames/buffer: 512   optimal sr: 48000   actual sr: 48000
12-31 16:03:47.268 31621 31621 E PPSSPPNativeActivity: updateSystemUiVisibility: decor view not yet created, ignoring for now
12-31 16:03:47.270 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:03:47.270 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:03:47.270 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:03:47.270 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:03:47.270 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:03:47.270 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=0 pixel_yres=0
12-31 16:03:47.270 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:03:47.277 31621 31621 D OpenGLRenderer: Skia GL Pipeline
12-31 16:03:47.277 31621 31621 I NativeSurfaceView: NativeSurfaceView
12-31 16:03:47.290 31621 31621 I PPSSPPNativeActivity: setcontentview before
12-31 16:03:47.297 31621 31621 I PPSSPPNativeActivity: setcontentview after
12-31 16:03:47.297 31621 31621 W PPSSPPNativeActivity: ensureRenderLoop - not starting thread, needs surface
12-31 16:03:47.304 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(0 x 0, dpi=320, refresh=60.00)
12-31 16:03:47.304 31621 31621 I PPSSPP  : RecalcDPI: display_xres=0 display_yres=0
12-31 16:03:47.304 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:03:47.304 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=nan dp_yscale=nan
12-31 16:03:47.304 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=0 dp_yres=0
12-31 16:03:47.304 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=0 pixel_yres=0
12-31 16:03:47.305 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:03:47.305 31621 31621 I PPSSPP  : g_Config.screenRotation = 5
12-31 16:03:47.305 31621 31621 I PPSSPPNativeActivity: Setting requested rotation: 5 ('5') (onResume)
12-31 16:03:47.306 31621 31621 I PPSSPPNativeActivity: onResume
12-31 16:03:47.306 31621 31621 E SensorManager: sensor or listener is null
12-31 16:03:47.306 31621 31621 W AudioManager: Use of stream types is deprecated for operations other than volume control
12-31 16:03:47.306 31621 31621 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
12-31 16:03:47.307 31621 31621 I PPSSPP  : NativeApp.resume() - resuming audio
12-31 16:03:47.307 31621 31621 I PPSSPP  : Calling OpenSLWrap_Init_T...
12-31 16:03:47.307 31621 31621 I PPSSPP  : Returned from OpenSLWrap_Init_T
12-31 16:03:47.312 31621 31621 D         : PlayerBase::PlayerBase()
12-31 16:03:47.312 31621 31621 D         : TrackPlayerBase::TrackPlayerBase()
12-31 16:03:47.312 31621 31621 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-31 16:03:47.317 31621 31621 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1024
12-31 16:03:47.326 31621 31664 E libOpenSLES: stop the treak when buffer queue empty
12-31 16:03:47.326 31621 31621 W PPSSPPNativeActivity: ensureRenderLoop - not starting thread, needs surface
12-31 16:03:47.356 31621 31621 I PPSSPPNativeActivity: onAttachedToWindow
12-31 16:03:47.357 31621 31621 I PPSSPPNativeActivity: Cutout was null
12-31 16:03:47.377 31621 31665 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:03:47.377 31621 31665 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
12-31 16:03:47.377 31621 31665 I OpenGLRenderer: Initialized EGL, version 1.4
12-31 16:03:47.377 31621 31665 D OpenGLRenderer: Swap behavior 1
12-31 16:03:47.382 31621 31621 I PPSSPPNativeActivity: Correct orientation detected, resetting orientation counter.
12-31 16:03:47.382 31621 31621 D PPSSPPNativeActivity: Surface created. pixelWidth=1920, pixelHeight=1080 holder: android.view.SurfaceView$3@c1c4a38 or: 6
12-31 16:03:47.383 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:03:47.383 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:03:47.383 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:03:47.383 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:03:47.383 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:03:47.383 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=0 pixel_yres=0
12-31 16:03:47.383 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:03:47.383 31621 31621 D PPSSPPNativeActivity: Setting fixed size 0 x 0
12-31 16:03:47.383 31621 31621 V PPSSPPNativeActivity: surfaceChanged: isCreating:true holder: android.view.SurfaceView$3@c1c4a38
12-31 16:03:47.383 31621 31621 W PPSSPPNativeActivity: Surface changed. Resolution: 1920x1080 Format: 4
12-31 16:03:47.384 31621 31621 I PPSSPP  : NativeApp.backbufferResize(1920 x 1080)
12-31 16:03:47.384 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:03:47.384 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:03:47.384 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:03:47.384 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:03:47.384 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:03:47.384 31621 31621 I PPSSPP  : Size change detected (previously 0,0) - calling NativeResized()
12-31 16:03:47.384 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:03:47.385 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:03:47.385 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:03:47.385 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:03:47.385 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:03:47.385 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:03:47.385 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:03:47.385 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:03:47.385 31621 31621 W PPSSPPNativeActivity: ensureRenderLoop: Starting thread
12-31 16:03:47.386 31621 31674 I PPSSPPNativeActivity: Starting the render loop: Surface(name=null)/@0x5f8da11
12-31 16:03:47.386 31621 31674 W PPSSPP  : runEGLRenderLoop. display_xres=1920 display_yres=1080
12-31 16:03:47.386 31621 31674 I PPSSPP  : AndroidVulkanContext::InitFromRenderThread: desiredwidth=0 desiredheight=0
12-31 16:03:47.387 31621 31674 I PPSSPP  : Creating Vulkan surface for window
12-31 16:03:47.388 31621 31674 W PPSSPP  : Not registering debug report callback - extension not enabled!
12-31 16:03:47.391 31621 31674 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:03:47.392 31621 31674 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:03:47.393 31621 31674 I PPSSPP  : swapchain_format: 37 (/3)
12-31 16:03:47.393 31621 31674 I PPSSPP  : gfx_queue_: 0xd0d90b00
12-31 16:03:47.393 31621 31665 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
12-31 16:03:47.394 31621 31674 I PPSSPP  : surfCapabilities_.currentExtent: 1920x1080
12-31 16:03:47.394 31621 31674 I PPSSPP  : surfCapabilities_.minImageExtent: 1x1
12-31 16:03:47.394 31621 31674 I PPSSPP  : surfCapabilities_.maxImageExtent: 4096x4096
12-31 16:03:47.394 31621 31674 I PPSSPP  : swapChainExtent: 1920x1080
12-31 16:03:47.394 31621 31674 I PPSSPP  : Supported present mode: 1 (MAILBOX)
12-31 16:03:47.394 31621 31674 I PPSSPP  : Supported present mode: 2 (FIFO)
12-31 16:03:47.394 31621 31674 I PPSSPP  : Supported present mode: 1000111000 (SHARED_DEMAND_REFRESH_KHR)
12-31 16:03:47.394 31621 31674 I PPSSPP  : Supported present mode: 1000111001 (SHARED_CONTINUOUS_REFRESH_KHR)
12-31 16:03:47.394 31621 31674 I PPSSPP  : Chosen present mode: 2 (FIFO)
12-31 16:03:47.394 31621 31674 I PPSSPP  : numSwapChainImages: 3
12-31 16:03:47.395 31621 31674 I PPSSPP  : Supported transforms: IDENTITY ROTATE_90 ROTATE_180 ROTATE_270 INHERIT 
12-31 16:03:47.395 31621 31674 I PPSSPP  : Current transform: IDENTITY 
12-31 16:03:47.395 31621 31674 I PPSSPP  : Chosen pretransform transform: IDENTITY 
12-31 16:03:47.762 31621 31674 I PPSSPP  : Created swapchain: 1920x1080
12-31 16:03:47.765 31621 31674 I PPSSPP  : VulkanQueueRunner::CreateDeviceObjects
12-31 16:03:48.581 31621 31674 I PPSSPP  : Starting Vulkan submission thread (threadInitFrame_ = 0)
12-31 16:03:48.581 31621 31674 I PPSSPP  : AndroidVulkanContext::Init completed, successfully
12-31 16:03:48.581 31621 31674 I PPSSPP  : NativeInitGraphics
12-31 16:03:48.718 31621 31674 I PPSSPP  : Initializing TextDrawerAndroid with DPI scale 0.750000
12-31 16:03:48.719 31621 31674 I PPSSPP  : NativeInitGraphics completed
12-31 16:03:48.719 31621 31674 I PPSSPP  : Creating /storage/emulated/0/PSP
12-31 16:03:48.720 31621 31674 I PPSSPP  : [COMMON] CreateEmptyFile: /storage/emulated/0/PSP/PPSSPP_STATE/.nomedia
12-31 16:03:48.720 31621 31674 I PPSSPP  : [COMMON] CreateEmptyFile: /storage/emulated/0/PSP/SAVEDATA/.nomedia
12-31 16:03:48.720 31621 31674 I PPSSPP  : [COMMON] CreateEmptyFile: /storage/emulated/0/PSP/SYSTEM/.nomedia
12-31 16:03:48.720 31621 31674 I PPSSPP  : [COMMON] CreateEmptyFile: /storage/emulated/0/PSP/TEXTURES/.nomedia
12-31 16:03:48.720 31621 31674 I PPSSPP  : Reloading config after storage permission grant.
12-31 16:03:48.721 31621 31674 I PPSSPP  : [LOADER] Loading config: /storage/emulated/0/PSP/SYSTEM/ppsspp.ini
12-31 16:03:48.731 31621 31674 I PPSSPP  : Longest display side: 1920 pixels. Choosing scale 2
12-31 16:03:48.753 31621 31674 I PPSSPP  : Default pad map
12-31 16:03:49.157 31621 31676 I PPSSPP  : Running first frame (0)
12-31 16:03:49.157 31621 31674 I PPSSPP  : frameCommand 'ask_permission' 'storage'
12-31 16:03:49.159 31621 31621 I PPSSPP  : STORAGE PERMISSION: GRANTED
12-31 16:03:49.159 31621 31674 I PPSSPP  : Creating /storage/emulated/0/PSP
12-31 16:03:49.160 31621 31674 I PPSSPP  : Reloading config after storage permission grant.
12-31 16:03:49.164 31621 31674 I PPSSPP  : Longest display side: 1920 pixels. Choosing scale 2
12-31 16:03:49.184 31621 31674 I PPSSPP  : Default pad map
12-31 16:03:51.826 31621 31674 I PPSSPP  : frameCommand 'event' 'mainscreen'
12-31 16:03:54.302 31621 31621 I PPSSPPNativeActivity: Input player A registered: desc = c8367eb316564d5973128a62fa2ceb2b560b86bc
12-31 16:03:54.307 31621 31621 I InputDeviceState: Registering input device with 0 axes: TPV_MutilRC
12-31 16:03:54.309 31621 31621 I InputDeviceState: Vendor ID:0 productId: 0
12-31 16:04:00.706 31621 31621 I PPSSPPNativeActivity: Input player B registered: desc = 8b916c10023821893aa954564193638aecd9f842
12-31 16:04:00.706 31621 31621 I InputDeviceState: Registering input device with 0 axes: TPV_SMTRC
12-31 16:04:00.706 31621 31621 I InputDeviceState: Vendor ID:0 productId: 0
12-31 16:09:05.251 31621 31621 I PPSSPPNativeActivity: onPause
12-31 16:09:05.260 31621 31621 I PPSSPP  : NativeApp.pause() - pausing audio
12-31 16:09:05.260 31621 31621 I PPSSPP  : Calling OpenSLWrap_Shutdown_T...
12-31 16:09:05.260 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - stopping playback
12-31 16:09:05.260 31621 31621 D         : PlayerBase::stop() from IPlayer
12-31 16:09:05.260 31621 31621 D AudioTrack: stop() called with 15259648 frames delivered
12-31 16:09:05.266 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting player object
12-31 16:09:05.315 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting mix object
12-31 16:09:05.315 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting engine object
12-31 16:09:05.315 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - finished
12-31 16:09:05.315 31621 31621 I PPSSPP  : Returned from OpenSLWrap_Shutdown_T ...
12-31 16:09:05.316 31621 31621 I PPSSPPNativeActivity: Joining render thread...
12-31 16:09:05.329 31621 31621 I PPSSPPNativeActivity: exitEGLRenderLoop
12-31 16:09:05.345 31621 31674 I PPSSPP  : Leaving EGL/Vulkan render loop.
12-31 16:09:05.346 31621 31674 I PPSSPP  : NativeShutdownGraphics
12-31 16:09:05.347 31621 31674 I PPSSPP  : NativeShutdownGraphics done
12-31 16:09:05.347 31621 31674 I PPSSPP  : Shutting down graphics context from render thread...
12-31 16:09:05.347 31621 31674 I PPSSPP  : AndroidVulkanContext::Shutdown
12-31 16:09:05.839 31621 31674 I PPSSPP  : Vulkan submission thread joined. Frame=0
12-31 16:09:05.842 31621 31674 I PPSSPP  : VulkanRenderManager destructor
12-31 16:09:05.842 31621 31674 I PPSSPP  : Vulkan submission thread was already stopped.
12-31 16:09:05.847 31621 31674 I PPSSPP  : VulkanQueueRunner::DestroyDeviceObjects
12-31 16:09:05.882 31621 31674 I PPSSPP  : VulkanContext::DestroyObjects (including swapchain)
12-31 16:09:05.887 31621 31674 I PPSSPP  : Done with ShutdownFromRenderThread
12-31 16:09:05.888 31621 31674 W PPSSPP  : Render loop function exited.
12-31 16:09:05.889 31621 31674 I PPSSPPNativeActivity: Left the render loop: Surface(name=null)/@0x5f8da11
12-31 16:09:05.927 31621 31621 I PPSSPPNativeActivity: joining render loop thread...
12-31 16:09:05.927 31621 31621 W PPSSPPNativeActivity: Joined render loop thread.
12-31 16:09:05.927 31621 31621 I PPSSPPNativeActivity: Joined render thread
12-31 16:09:05.927 31621 31621 I PPSSPPNativeActivity: onPause completed
12-31 16:09:05.937 31621 31621 I PPSSPPNativeActivity: onStop - do nothing special
12-31 16:09:13.876 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:09:13.876 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:09:13.876 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:09:13.876 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:09:13.876 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:09:13.876 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:09:13.876 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:09:13.876 31621 31621 I PPSSPP  : g_Config.screenRotation = 5
12-31 16:09:13.876 31621 31621 I PPSSPPNativeActivity: Setting requested rotation: 5 ('5') (onResume)
12-31 16:09:13.887 31621 31621 I PPSSPPNativeActivity: onResume
12-31 16:09:13.887 31621 31621 E SensorManager: sensor or listener is null
12-31 16:09:13.889 31621 31621 W AudioManager: Use of stream types is deprecated for operations other than volume control
12-31 16:09:13.889 31621 31621 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
12-31 16:09:13.894 31621 31621 I PPSSPP  : NativeApp.resume() - resuming audio
12-31 16:09:13.894 31621 31621 I PPSSPP  : Calling OpenSLWrap_Init_T...
12-31 16:09:13.894 31621 31621 I PPSSPP  : Returned from OpenSLWrap_Init_T
12-31 16:09:13.898 31621 31621 D         : PlayerBase::PlayerBase()
12-31 16:09:13.899 31621 31621 D         : TrackPlayerBase::TrackPlayerBase()
12-31 16:09:13.899 31621 31621 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-31 16:09:13.907 31621 31621 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1024
12-31 16:09:13.910 31621 31621 W PPSSPPNativeActivity: ensureRenderLoop: Starting thread
12-31 16:09:13.914 31621 32169 I PPSSPPNativeActivity: Starting the render loop: Surface(name=null)/@0x5f8da11
12-31 16:09:13.914 31621 32169 W PPSSPP  : runEGLRenderLoop. display_xres=1920 display_yres=1080
12-31 16:09:13.914 31621 32169 I PPSSPP  : AndroidVulkanContext::InitFromRenderThread: desiredwidth=0 desiredheight=0
12-31 16:09:13.914 31621 32169 I PPSSPP  : Creating Vulkan surface for window
12-31 16:09:13.915 31621 32169 W PPSSPP  : Not registering debug report callback - extension not enabled!
12-31 16:09:13.916 31621 32169 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:09:13.918 31621 32169 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:09:13.918 31621 32169 I PPSSPP  : swapchain_format: 37 (/3)
12-31 16:09:13.918 31621 32169 I PPSSPP  : gfx_queue_: 0xd0d90b00
12-31 16:09:13.923 31621 32169 I PPSSPP  : surfCapabilities_.currentExtent: 1920x1080
12-31 16:09:13.923 31621 32169 I PPSSPP  : surfCapabilities_.minImageExtent: 1x1
12-31 16:09:13.923 31621 32169 I PPSSPP  : surfCapabilities_.maxImageExtent: 4096x4096
12-31 16:09:13.923 31621 32169 I PPSSPP  : swapChainExtent: 1920x1080
12-31 16:09:13.923 31621 32169 I PPSSPP  : Supported present mode: 1 (MAILBOX)
12-31 16:09:13.923 31621 32169 I PPSSPP  : Supported present mode: 2 (FIFO)
12-31 16:09:13.923 31621 32169 I PPSSPP  : Supported present mode: 1000111000 (SHARED_DEMAND_REFRESH_KHR)
12-31 16:09:13.923 31621 32169 I PPSSPP  : Supported present mode: 1000111001 (SHARED_CONTINUOUS_REFRESH_KHR)
12-31 16:09:13.923 31621 32169 I PPSSPP  : Chosen present mode: 2 (FIFO)
12-31 16:09:13.923 31621 32169 I PPSSPP  : numSwapChainImages: 3
12-31 16:09:13.923 31621 32169 I PPSSPP  : Supported transforms: IDENTITY ROTATE_90 ROTATE_180 ROTATE_270 INHERIT 
12-31 16:09:13.923 31621 32169 I PPSSPP  : Current transform: IDENTITY 
12-31 16:09:13.923 31621 32169 I PPSSPP  : Chosen pretransform transform: IDENTITY 
12-31 16:09:14.006 31621 32169 I PPSSPP  : Created swapchain: 1920x1080
12-31 16:09:14.010 31621 32169 I PPSSPP  : VulkanQueueRunner::CreateDeviceObjects
12-31 16:09:14.037 31621 32169 I PPSSPP  : Starting Vulkan submission thread (threadInitFrame_ = 0)
12-31 16:09:14.038 31621 32169 I PPSSPP  : AndroidVulkanContext::Init completed, successfully
12-31 16:09:14.038 31621 32169 I PPSSPP  : NativeInitGraphics
12-31 16:09:14.208 31621 32169 I PPSSPP  : Initializing TextDrawerAndroid with DPI scale 0.750000
12-31 16:09:14.208 31621 32169 I PPSSPP  : NativeInitGraphics completed
12-31 16:09:14.267 31621 31645 D         : PlayerBase::pause() from IPlayer
12-31 16:09:14.338 31621 31621 I PPSSPPNativeActivity: onPause
12-31 16:09:14.339 31621 31621 I PPSSPP  : NativeApp.pause() - pausing audio
12-31 16:09:14.339 31621 31621 I PPSSPP  : Calling OpenSLWrap_Shutdown_T...
12-31 16:09:14.339 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - stopping playback
12-31 16:09:14.339 31621 31621 D         : PlayerBase::stop() from IPlayer
12-31 16:09:14.339 31621 31621 D AudioTrack: stop() called with 33792 frames delivered
12-31 16:09:14.349 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting player object
12-31 16:09:14.351 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting mix object
12-31 16:09:14.351 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting engine object
12-31 16:09:14.351 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - finished
12-31 16:09:14.351 31621 31621 I PPSSPP  : Returned from OpenSLWrap_Shutdown_T ...
12-31 16:09:14.352 31621 31621 I PPSSPPNativeActivity: Joining render thread...
12-31 16:09:14.352 31621 31621 I PPSSPPNativeActivity: exitEGLRenderLoop
12-31 16:09:14.552 31621 32169 I PPSSPP  : Leaving EGL/Vulkan render loop.
12-31 16:09:14.552 31621 32169 I PPSSPP  : NativeShutdownGraphics
12-31 16:09:14.552 31621 32178 I PPSSPP  : Running first frame (0)
12-31 16:09:14.576 31621 31621 W PPSSPPNativeActivity: Surface destroyed.
12-31 16:09:14.603 31621 32169 I PPSSPP  : NativeShutdownGraphics done
12-31 16:09:14.603 31621 32169 I PPSSPP  : Shutting down graphics context from render thread...
12-31 16:09:14.603 31621 32169 I PPSSPP  : AndroidVulkanContext::Shutdown
12-31 16:09:14.608 31621 32169 I PPSSPP  : Vulkan submission thread joined. Frame=1
12-31 16:09:14.608 31621 32169 I PPSSPP  : VulkanRenderManager destructor
12-31 16:09:14.608 31621 31665 W libEGL  : EGLNativeWindowType 0xd0d11008 disconnect failed
12-31 16:09:14.609 31621 32169 I PPSSPP  : Vulkan submission thread was already stopped.
12-31 16:09:14.609 31621 32169 I PPSSPP  : VulkanQueueRunner::DestroyDeviceObjects
12-31 16:09:14.612 31621 32169 I PPSSPP  : VulkanContext::DestroyObjects (including swapchain)
12-31 16:09:14.613 31621 31643 I g.ppsspp.ppssp: Background concurrent copying GC freed 1375(115KB) AllocSpace objects, 11(320KB) LOS objects, 49% free, 1754KB/3MB, paused 129us total 139.675ms
12-31 16:09:14.619 31621 31621 I PPSSPPNativeActivity: onStop - do nothing special
12-31 16:09:14.628 31621 32169 I PPSSPP  : Done with ShutdownFromRenderThread
12-31 16:09:14.628 31621 32169 W PPSSPP  : Render loop function exited.
12-31 16:09:14.631 31621 31621 I PPSSPPNativeActivity: joining render loop thread...
12-31 16:09:14.633 31621 32169 I PPSSPPNativeActivity: Left the render loop: Surface(name=null)/@0x5f8da11
12-31 16:09:14.633 31621 31621 W PPSSPPNativeActivity: Joined render loop thread.
12-31 16:09:14.633 31621 31621 I PPSSPPNativeActivity: Joined render thread
12-31 16:09:14.634 31621 31621 I PPSSPPNativeActivity: onPause completed
12-31 16:09:27.306 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:09:27.306 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:09:27.306 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:09:27.306 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:09:27.306 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:09:27.306 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:09:27.306 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:09:27.306 31621 31621 I PPSSPP  : g_Config.screenRotation = 5
12-31 16:09:27.306 31621 31621 I PPSSPPNativeActivity: Setting requested rotation: 5 ('5') (onResume)
12-31 16:09:27.308 31621 31621 I PPSSPPNativeActivity: onResume
12-31 16:09:27.308 31621 31621 E SensorManager: sensor or listener is null
12-31 16:09:27.308 31621 31621 W AudioManager: Use of stream types is deprecated for operations other than volume control
12-31 16:09:27.308 31621 31621 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
12-31 16:09:27.309 31621 31621 I PPSSPP  : NativeApp.resume() - resuming audio
12-31 16:09:27.309 31621 31621 I PPSSPP  : Calling OpenSLWrap_Init_T...
12-31 16:09:27.309 31621 31621 I PPSSPP  : Returned from OpenSLWrap_Init_T
12-31 16:09:27.310 31621 31621 D         : PlayerBase::PlayerBase()
12-31 16:09:27.311 31621 31621 D         : TrackPlayerBase::TrackPlayerBase()
12-31 16:09:27.311 31621 31621 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
12-31 16:09:27.316 31621 31621 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1024
12-31 16:09:27.320 31621 32371 E libOpenSLES: stop the treak when buffer queue empty
12-31 16:09:27.320 31621 31621 W PPSSPPNativeActivity: ensureRenderLoop - not starting thread, needs surface
12-31 16:09:27.350 31621 31665 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
12-31 16:09:27.355 31621 31621 I PPSSPPNativeActivity: Correct orientation detected, resetting orientation counter.
12-31 16:09:27.356 31621 31621 D PPSSPPNativeActivity: Surface created. pixelWidth=1920, pixelHeight=1080 holder: android.view.SurfaceView$3@c1c4a38 or: 6
12-31 16:09:27.356 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:09:27.356 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:09:27.356 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:09:27.356 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:09:27.356 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:09:27.356 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:09:27.356 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:09:27.356 31621 31621 D PPSSPPNativeActivity: Setting fixed size 0 x 0
12-31 16:09:27.356 31621 31621 V PPSSPPNativeActivity: surfaceChanged: isCreating:true holder: android.view.SurfaceView$3@c1c4a38
12-31 16:09:27.356 31621 31621 W PPSSPPNativeActivity: Surface changed. Resolution: 1920x1080 Format: 4
12-31 16:09:27.356 31621 31621 I PPSSPP  : NativeApp.backbufferResize(1920 x 1080)
12-31 16:09:27.356 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:09:27.357 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:09:27.357 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:09:27.357 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:09:27.357 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:09:27.357 31621 31621 I PPSSPP  : NativeApp::backbufferResize: Size didn't change.
12-31 16:09:27.358 31621 31621 I PPSSPP  : NativeApp.setDisplayParameters(1920 x 1080, dpi=320, refresh=60.00)
12-31 16:09:27.358 31621 31621 I PPSSPP  : RecalcDPI: display_xres=1920 display_yres=1080
12-31 16:09:27.358 31621 31621 I PPSSPP  : RecalcDPI: g_dpi=320.000000 g_dpi_scale_x=0.750000 g_dpi_scale_y=0.750000
12-31 16:09:27.358 31621 31621 I PPSSPP  : RecalcDPI: dp_xscale=0.750000 dp_yscale=0.750000
12-31 16:09:27.358 31621 31621 I PPSSPP  : RecalcDPI: dp_xres=1440 dp_yres=810
12-31 16:09:27.358 31621 31621 I PPSSPP  : RecalcDPI: pixel_xres=1920 pixel_yres=1080
12-31 16:09:27.358 31621 31621 I PPSSPP  : NativeResized ignored, not initialized
12-31 16:09:27.358 31621 31621 W PPSSPPNativeActivity: ensureRenderLoop: Starting thread
12-31 16:09:27.360 31621 32372 I PPSSPPNativeActivity: Starting the render loop: Surface(name=null)/@0x5f8da11
12-31 16:09:27.360 31621 32372 W PPSSPP  : runEGLRenderLoop. display_xres=1920 display_yres=1080
12-31 16:09:27.360 31621 32372 I PPSSPP  : AndroidVulkanContext::InitFromRenderThread: desiredwidth=0 desiredheight=0
12-31 16:09:27.360 31621 32372 I PPSSPP  : Creating Vulkan surface for window
12-31 16:09:27.361 31621 32372 W PPSSPP  : Not registering debug report callback - extension not enabled!
12-31 16:09:27.363 31621 32372 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:09:27.364 31621 32372 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
12-31 16:09:27.364 31621 32372 I PPSSPP  : swapchain_format: 37 (/3)
12-31 16:09:27.364 31621 32372 I PPSSPP  : gfx_queue_: 0xd0d90b00
12-31 16:09:27.365 31621 32372 I PPSSPP  : surfCapabilities_.currentExtent: 1920x1080
12-31 16:09:27.365 31621 32372 I PPSSPP  : surfCapabilities_.minImageExtent: 1x1
12-31 16:09:27.365 31621 32372 I PPSSPP  : surfCapabilities_.maxImageExtent: 4096x4096
12-31 16:09:27.365 31621 32372 I PPSSPP  : swapChainExtent: 1920x1080
12-31 16:09:27.365 31621 32372 I PPSSPP  : Supported present mode: 1 (MAILBOX)
12-31 16:09:27.365 31621 32372 I PPSSPP  : Supported present mode: 2 (FIFO)
12-31 16:09:27.365 31621 32372 I PPSSPP  : Supported present mode: 1000111000 (SHARED_DEMAND_REFRESH_KHR)
12-31 16:09:27.365 31621 32372 I PPSSPP  : Supported present mode: 1000111001 (SHARED_CONTINUOUS_REFRESH_KHR)
12-31 16:09:27.365 31621 32372 I PPSSPP  : Chosen present mode: 2 (FIFO)
12-31 16:09:27.365 31621 32372 I PPSSPP  : numSwapChainImages: 3
12-31 16:09:27.365 31621 32372 I PPSSPP  : Supported transforms: IDENTITY ROTATE_90 ROTATE_180 ROTATE_270 INHERIT 
12-31 16:09:27.365 31621 32372 I PPSSPP  : Current transform: IDENTITY 
12-31 16:09:27.365 31621 32372 I PPSSPP  : Chosen pretransform transform: IDENTITY 
12-31 16:09:27.430 31621 32372 I PPSSPP  : Created swapchain: 1920x1080
12-31 16:09:27.481 31621 32372 I PPSSPP  : VulkanQueueRunner::CreateDeviceObjects
12-31 16:09:27.514 31621 32372 I PPSSPP  : Starting Vulkan submission thread (threadInitFrame_ = 1)
12-31 16:09:27.515 31621 32372 I PPSSPP  : AndroidVulkanContext::Init completed, successfully
12-31 16:09:27.515 31621 32372 I PPSSPP  : NativeInitGraphics
12-31 16:09:27.585 31621 32372 I PPSSPP  : Initializing TextDrawerAndroid with DPI scale 0.750000
12-31 16:09:27.586 31621 32372 I PPSSPP  : NativeInitGraphics completed
12-31 16:09:27.879 31621 32373 I PPSSPP  : Running first frame (1)
12-31 16:09:35.161 31621 31621 I PPSSPP  : Screen toplevel: 1
12-31 16:09:35.161 31621 31621 I PPSSPPNativeActivity: IsAtTopLevel returned true.
12-31 16:09:35.473 31621 31621 I PPSSPP  : Screen toplevel: 1
12-31 16:09:35.473 31621 31621 I PPSSPPNativeActivity: IsAtTopLevel returned true.
12-31 16:09:35.488 31621 31621 I PPSSPPNativeActivity: onPause
12-31 16:09:35.489 31621 31621 I PPSSPP  : NativeApp.pause() - pausing audio
12-31 16:09:35.489 31621 31621 I PPSSPP  : Calling OpenSLWrap_Shutdown_T...
12-31 16:09:35.489 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - stopping playback
12-31 16:09:35.489 31621 31621 D         : PlayerBase::stop() from IPlayer
12-31 16:09:35.489 31621 31621 D AudioTrack: stop() called with 391168 frames delivered
12-31 16:09:35.489 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting player object
12-31 16:09:35.491 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting mix object
12-31 16:09:35.491 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - deleting engine object
12-31 16:09:35.491 31621 31621 I PPSSPP  : OpenSLWrap_Shutdown - finished
12-31 16:09:35.491 31621 31621 I PPSSPP  : Returned from OpenSLWrap_Shutdown_T ...
12-31 16:09:35.491 31621 31621 I PPSSPPNativeActivity: Joining render thread...
12-31 16:09:35.492 31621 31621 I PPSSPPNativeActivity: exitEGLRenderLoop
12-31 16:09:35.507 31621 32372 I PPSSPP  : Leaving EGL/Vulkan render loop.
12-31 16:09:35.507 31621 32372 I PPSSPP  : NativeShutdownGraphics
12-31 16:09:35.508 31621 32372 I PPSSPP  : NativeShutdownGraphics done
12-31 16:09:35.508 31621 32372 I PPSSPP  : Shutting down graphics context from render thread...
12-31 16:09:35.508 31621 32372 I PPSSPP  : AndroidVulkanContext::Shutdown
12-31 16:09:35.556 31621 32372 I PPSSPP  : Vulkan submission thread joined. Frame=1
12-31 16:09:35.556 31621 32372 I PPSSPP  : VulkanRenderManager destructor
12-31 16:09:35.556 31621 32372 I PPSSPP  : Vulkan submission thread was already stopped.
12-31 16:09:35.557 31621 32372 I PPSSPP  : VulkanQueueRunner::DestroyDeviceObjects
12-31 16:09:35.558 31621 32372 I PPSSPP  : VulkanContext::DestroyObjects (including swapchain)
12-31 16:09:35.559 31621 32372 I PPSSPP  : Done with ShutdownFromRenderThread
12-31 16:09:35.559 31621 32372 W PPSSPP  : Render loop function exited.
12-31 16:09:35.559 31621 32372 I PPSSPPNativeActivity: Left the render loop: Surface(name=null)/@0x5f8da11
12-31 16:09:35.562 31621 31621 I PPSSPPNativeActivity: joining render loop thread...
12-31 16:09:35.562 31621 31621 W PPSSPPNativeActivity: Joined render loop thread.
12-31 16:09:35.562 31621 31621 I PPSSPPNativeActivity: Joined render thread
12-31 16:09:35.562 31621 31621 I PPSSPPNativeActivity: onPause completed
12-31 16:09:36.159 31621 31621 W PPSSPPNativeActivity: Surface destroyed.
12-31 16:09:36.177 31621 31665 W libEGL  : EGLNativeWindowType 0xe4f19808 disconnect failed
12-31 16:09:36.202 31621 31621 I PPSSPPNativeActivity: onStop - do nothing special
12-31 16:09:36.204 31621 31621 I PPSSPP  : OpenSLWrap completely unloaded.
12-31 16:09:36.204 31621 31621 I PPSSPP  : NativeApp.shutdown() -- begin
12-31 16:09:36.204 31621 31621 I PPSSPP  : Not shutting down renderer - not initialized
12-31 16:09:36.248 31621 31621 I PPSSPP  : NativeShutdown called
12-31 16:09:36.248 31621 31621 I PPSSPP  : NativeApp.shutdown() -- end

So what I could observe is that the last log line when after starting PPSSPP, just shows 12-31 16:09:27.879 31621 32373 org.ppsspp.ppsspp I PPSSPP Running first frame (1)

Nothing happens, till I press the "back" button on my remote control, and in that moment you can actually see the PPSSPP UI for a few milliseconds, and its in that exact moment that this line is shown and whaver comes after:

12-31 16:09:35.161  31621   31621   org.ppsspp.ppsspp   I   PPSSPP  Screen toplevel: 1
12-31 16:09:35.161 31621    31621                   I   PPSSPPNativeActivity: IsAtTopLevel returned true.
...

Hope this can help debugging the issue.

unknownbrackets commented 4 years ago

Sounds to me like presenting isn't working for some reason. I seem to remember we do something hardcoded on Android there?

W libEGL : EGLNativeWindowType 0xe4f19808 disconnect failed also seems concerning - maybe that implies that the connect never worked either?

-[Unknown]

buzzy commented 4 years ago

Not sure why this would be so hard to track down? Just do a diff between 1.7.5 and 1.8.0 and see what was changed? Revert change by change and see when it starts working again. The devs should easily be able to rule most of it out. https://github.com/hrydgard/ppsspp/compare/74d87fa..e66f019

hrydgard commented 4 years ago

It's a lot of work for an underpowered and not that popular device that wouldn't be able to play many games well anyway.

buzzy commented 4 years ago

It's a lot of work for an underpowered and not that popular device that wouldn't be able to play many games well anyway.

Not sure what you are talking about? I run 1.7.5 and it runs pretty much all games perfectly on my Mi Box S! 30 FPS even with Anti-aliasing enabled.

hrydgard commented 4 years ago

Huh, really? The little mine worked it seemed very, very slow. I think I'll need to look into this more.

buzzy commented 4 years ago

Huh, really? The little mine worked it seemed very, very slow. I think I'll need to look into this more.

Here you have Final Fantasy Core Crisis. Constant 30 FPS as proof. https://photos.app.goo.gl/3JPeCbKkaM9nXKUp6

The Mi Box S is the best emulator device you can buy! Supports 4k resolution with built in ChromeCast ULTRA and can even emulate Nintendo 64 pretty well. All this for 40 USD. Can't go wrong.

hrydgard commented 4 years ago

Hey I believe you :)

unknownbrackets commented 4 years ago

@buzzy it'd be great if you could try narrowing it down a bit.

Don't worry, you don't have to test every version to figure this out. The trick is to go by halves. So if you want to find where it broke among 1000 git builds, start with build 500. If it doesn't work, go down by half - otherwise, go up by half. With 10 tries, you can find it among 1000 builds.

You can find all the builds here: https://buildbot.orphis.net/ppsspp/index.php?m=fulllist

The problem could've been introduced anywhere between v1.7-2-g5ea935f4b and v1.7.5-571-g1bedb97bc if v1.7.5 worked and v1.8.0 didn't (don't pay attention to whether it's v1.7.5-123 or v1.7.2-123 etc.) If you could try a few builds, it would narrow it down a lot (I don't personally even have this device to test, myself.)

-[Unknown]

buzzy commented 4 years ago

@buzzy it'd be great if you could try narrowing it down a bit.

Don't worry, you don't have to test every version to figure this out. The trick is to go by halves. So if you want to find where it broke among 1000 git builds, start with build 500. If it doesn't work, go down by half - otherwise, go up by half. With 10 tries, you can find it among 1000 builds.

You can find all the builds here: https://buildbot.orphis.net/ppsspp/index.php?m=fulllist

The problem could've been introduced anywhere between v1.7-2-g5ea935f4b and v1.7.5-571-g1bedb97bc if v1.7.5 worked and v1.8.0 didn't (don't pay attention to whether it's v1.7.5-123 or v1.7.2-123 etc.) If you could try a few builds, it would narrow it down a lot (I don't personally even have this device to test, myself.)

-[Unknown]

v1.7.5-277-gab407a4a2 - WORKS v1.7.5-283-g791d66dc3 - DOES NOT WORK

https://github.com/hrydgard/ppsspp/commit/791d66dc30b9646a84ae3051fedff47d7fe59982 https://github.com/hrydgard/ppsspp/commit/ab407a4a21c6384af78fd7e24d100a3629bcb0bd

https://github.com/hrydgard/ppsspp/compare/ab407a4...791d66d

Should be fairly easy to see what's wrong now.

unknownbrackets commented 4 years ago

That points to #11681, and the biggest change I see there is the relative order of viewport and scissor commands, maybe?

-[Unknown]

buzzy commented 4 years ago

That points to #11681, and the biggest change I see there is the relative order of viewport and scissor commands, maybe?

-[Unknown]

I can not verify that. I don't have access to the build-environment to make my own builds.

hrydgard commented 4 years ago

I'll dig mine out and experiment tomorrow or later next week.

buzzy commented 4 years ago

I'll dig mine out and experiment tomorrow or later next week.

Thanks! That might solve issues for a lot of people that are stuck on 1.7.5 even on other similar devices. Btw, I am not sure why you think the device is not popular? Even "Linus Tech Tips" reviewed it and told people it's one of the best buys ever. Even if you only use it as a Chromecast Ultra, it is CHEAPER than buying an actual Chromecast Ultra. And with the upcoming Google Stadia that requires a Chromecast Ultra, I recon it will be even more popular.

hrydgard commented 4 years ago

I would have expected to get more bug reports and emails about it, that's it :) I have no statistics.

buzzy commented 4 years ago

I would have expected to get more bug reports and emails about it, that's it :) I have no statistics.

Ah ok. I think most people just use ePSXe with the Mi Box as that's the one recommended by most articles. The biggest issue I have with the Mi Box is that it's not rootable and no PSX controller support. At least not my Mi Box S version.

rkkoszewski commented 4 years ago

I tried the v1.7.5-277-gab407a4a2 build on my Philips Android TV, and it works here too! No black screen, seems to be the same issue on Philips as with the Mi Box.

ghost commented 4 years ago

I got a black screen too on my device. It's a TV box as well. It's using AMLogic S905X2 and a Mali GPU.

buzzy commented 4 years ago

I got a black screen too on my device. It's a TV box as well. It's using AMLogic S905X2 and a Mali GPU.

Oh! That's a very common SoC. I bet a lot of people have been unable to use PPSSPP since version 1.7 because of this issue. If at least 3 different devices have the same problem, I bet there are a lot more.

ghost commented 4 years ago

Thing is PPSSPP worked for me around November/October. It stopped working recently.

joaopaulosilvasimoes commented 4 years ago

I bought the commercial version of the APP, to support the creator, but this problem that did not exist and with no expected solution makes me sad.

Em sex., 17 de jan. de 2020 às 15:59, MojoJojoDojo notifications@github.com escreveu:

Thing is PPSSPP worked for me around November/October. It stopped working recently.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/11922?email_source=notifications&email_token=ABGICECHCXW76AGFYKSC7MTQ6H525A5CNFSM4HATM4BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJIUWDQ#issuecomment-575752974, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGICEEIMBONLQUDJT6DB3DQ6H525ANCNFSM4HATM4BA .

hrydgard commented 4 years ago

@joaopaulosilvasimoes I will get it fixed. I just setup my Mi Box for development again, and confirmed that it's still broken (it actually starts up fine, but I get a black screen after starting games and going to the menus).

Tried reverting part of the above-mentioned commit but no dice. Next I'll see if I can still build the last working one and go bisect...

joaopaulosilvasimoes commented 4 years ago

Thanks Man, you are the best.

Em sáb, 18 de jan de 2020 12:37, Henrik Rydgård notifications@github.com escreveu:

@joaopaulosilvasimoes https://github.com/joaopaulosilvasimoes I will get it fixed. I just setup my Mi Box for development again, and confirmed that it's still broken (it actually starts up fine, but I get a black screen after starting games and going to the menus).

Tried reverting part of the above-mentioned commit but no dice. Next I'll see if I can still build the last working one and go bisect...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/11922?email_source=notifications&email_token=ABGICEBNFQJSRUYNKKBJ3MTQ6MO4NA5CNFSM4HATM4BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJ24RI#issuecomment-575909445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGICEGHB7HR3SA6XPQXL3DQ6MO4NANCNFSM4HATM4BA .

hrydgard commented 4 years ago

According to my bisection, https://github.com/hrydgard/ppsspp/commit/015c314fb18fe002b74a161a75c3e71e296117e8 is the culprit commit, which is close to the range specified above but slightly outside it?!?

Either way, the behavior I'm seeing (black screen after Back-ing out of a game) makes absolutely no sense to me as a consequence of commit. How can a bad display format cause the menu to first render, then not? Bizarre... Either way, I'm reverting it for now, which seems to fix the issue (though there are other minor GL problems too, it seems)

hrydgard commented 4 years ago

Please test a build with that new commit, once they're available on the buildbot.

unknownbrackets commented 4 years ago

Maybe it ends up choosing a config that composites alpha wrong or something?

-[Unknown]

hrydgard commented 4 years ago

Yeah I suppose if the menu never writes to alpha (or only writes 1) but games zero it, then you'd get that result. But is that really the case? Maybe...

rkkoszewski commented 4 years ago

@hrydgard So you're using a Mi Box? What build are you testing where you get that result? In my case when starting PPSSPP I directly get greeted with a black screen (I can't event select any games, nor back out of them as result). The only moment I can see the PPSSPP GUI show up for a second is when I back out of PPSSPP back to the Android TV UI. I thought that was the same issue on the Mi Box. Could this issue be still related to what you were able to repro?

hrydgard commented 4 years ago

Any build after the bad one had that result for me. Does not sound like exactly the same as your problem, but probably related.

If you can install APK directly, just try the latest from https://buildbot.orphis.net/ppsspp/ and let me know how that goes.

rkkoszewski commented 4 years ago

@hrydgard I just tested the latest update from the Play Store and also the latest build (ppsspp-v1.9.3-247-gb931cbb54-android.apk) and the screen is still black for me. The old ppsspp-v1.7.5-277-gab407a4a2-android.apk build works perfectly fine for me, I can see the menus, start a game and everything seems to be running pretty stable. Anything I can do to help? Should I open a separate bug for my black screen issue on the Philips Android TV?

ghost commented 4 years ago

My screen is no longer black after the fix got integrated. But I still have an issue with the PPSSPP UI getting "off the screen" in some places. It's not fitting 1:1 to my TV screen.

unknownbrackets commented 4 years ago

It sounds like this issue itself might be fixed.

Also sounds like there might be a separate issue with Phillips Android TVs? I'd suggest that should be a new issue, with as much detail as possible (including the last version it worked on, if ever, which might be different from this issue.)

As for off the screen, that could be related to the TV settings, but maybe we could also add a way to add padding around the UI for Android TV. I also think that belongs in a separate issue.

Should this one be marked fixed?

-[Unknown]

hrydgard commented 4 years ago

Yeah.. let's mark it fixed for now, since it's about the Xiaomi box.

I don't know if philips TVs are good widespread Android gaming platforms worth supporting or not..