Flowit-Game / Flowit

Minimalistic puzzle game
GNU General Public License v3.0
77 stars 7 forks source link

Switch to other app and switch back, get a blank screen #18

Closed linsui closed 1 year ago

linsui commented 2 years ago

If I switch to another app or home screen, then when I enter this app I'll get a blank screen. Could you please take a look? Thanks!

friendly-user-t commented 2 years ago

It happens as well, if the screen locks while playing (i.e. when thinking takes some time). If you unlock it again, a white screen appears which only disappears if you restart the app.

Tested on both Pixel 6 with latest Stock Android and Pixel 4a 5G running latest CalyxOS.

cweiske commented 2 years ago

Happens here on Wileyfox Swift with LineageOS 17.1 with Flowit 3.2 from f-droid. In #21 it happened on a Samsung Galaxy S20.

You can still click on the fields and sound effects can be heard, I just don't see anything anymore.


adb logcat when switching to the app (start app fresh, see main menu, open app switcher, tap app screen):

06-10 13:15:24.054   310  5398 D audio_hw_primary: start_output_stream: enter: stream(0xee3d1800)usecase(1: low-latency-playback) devices(0x2)
06-10 13:15:24.054   310  5398 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
06-10 13:15:24.054   310  5398 I msm8916_platform: platform_check_and_set_codec_backend_cfg: Usecase bitwidth 16, samplerate 48000, backend_idx 0
06-10 13:15:24.054   310  5398 I msm8916_platform: platform_check_codec_backend_cfg Codec selected backend: 0 current bit width: 16 and sample rate: 48000
06-10 13:15:24.054   310  5398 D msm8916_platform: platform_check_codec_backend_cfg: resetting sample_rate back to default, backend_idx: 0
06-10 13:15:24.054   310  5398 I msm8916_platform: platform_check_codec_backend_cfg Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
06-10 13:15:24.054   310  5398 D hardware_info: hw_info_append_hw_type : device_name = speaker
06-10 13:15:24.054   310  5398 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
06-10 13:15:24.054   310  5398 D audio_route: Apply path: speaker
06-10 13:15:24.059   310  5398 W audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg: App type could not be selected. Falling back to default
06-10 13:15:24.059   310  5398 I audio_hw_primary: select_devices Selected apptype: 69936
06-10 13:15:24.059   310  5398 I audio_hw_utils: audio_extn_utils_send_app_type_cfg app_type 69936, acdb_dev_id 15, sample_rate 48000
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path =  0
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_asm_topology
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_adm_topology
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_audtable
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_audvoltable
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_afe_cal
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
06-10 13:15:24.060   310  5398 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
06-10 13:15:24.060   310  5398 W audio_hw_utils: audio_extn_utils_send_audio_calibration: No audio calibration for usecase type = 0
06-10 13:15:24.060   310  5398 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
06-10 13:15:24.060   310  5398 D audio_route: Apply path: low-latency-playback
06-10 13:15:24.063   310  5398 D audio_hw_primary: select_devices: done
06-10 13:15:24.067   310  5398 D msm8916_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map12
06-10 13:15:24.067   310  5398 D msm8916_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
06-10 13:15:24.085   310  5398 D audio_hw_primary: start_output_stream: exit
06-10 13:15:24.119 23183 23203 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-10 13:15:24.134 23183 23206 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-10 13:15:24.144 23183 23206 D GLRenderer: loadTexture
06-10 13:15:24.468  2493  2493 D ImageWallpaper: wallpaper visibility changes to: false
06-10 13:15:24.488   335   335 E Layer   : [Surface(name=AppWindowToken{f735b50 token=Token{69d1d13 ActivityRecord{edf9002 u0 com.bytehamster.flowitgame/.Main t2793}}})/@0xdddb526 - animation-leash#0] No local sync point found
06-10 13:15:24.489   335   335 E Layer   : [Surface(name=AppWindowToken{edac851 token=Token{f340978 ActivityRecord{8688adb u0 com.android.launcher3/.lineage.LineageLauncher t2771}}})/@0xc00a198 - animation-leash#0] No local sync point found
06-10 13:15:24.594 23183 23206 D GLRenderer: setupViewport
06-10 13:15:24.610 23183 23206 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-10 13:15:24.611 23183 23206 D GLRenderer: setupViewport