Bug 420641

Summary: Krita for Android: animation black canvas
Product: [Applications] krita Reporter: nnn1590
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: emmetoneill.pdx, eoinoneill1991, shzam
Priority: HI    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Android   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Recorded video

Description nnn1590 2020-04-26 22:14:11 UTC
Created attachment 127908 [details]
Recorded video

SUMMARY
When I try to play the animation, the canvas becomes black and it does not display properly.

STEPS TO REPRODUCE
1. Create new file
2. In animation docker, touch create brank flame button(?)
3. Draw something
4. In animation docker, touch start button

OBSERVED RESULT
The canvas is entirely displayed in black.

EXPECTED RESULT
The animation start playing

SOFTWARE/OS VERSIONS
OS: Android Q 10 (arm64-v8a, Google Pixel 4, build number QQ1D.200205.002)
Krita Version: 4.3.0-prealpha (git 7183b4a) and 5.0.0-prealpha (git d71b7fac86ea20dcbb087cb12d67a2fb6dc55156) both are arm64-v8a

ADDITIONAL INFORMATION
If disable Canvas Graphics Acceleration, it works fine.

I'm japanese. Sorry if my English is wrong.

A part of logcat:
04-27 05:58:15.173   619   645 E BufferQueueProducer: [SurfaceView - org.krita/org.krita.android.MainActivity#0] disconnect: not connected (req=2)
04-27 05:58:16.786 20103 20126 D krita   : Entering "KisAsyncAnimationRenderDialogBase::Result KisAsyncAnimationRenderDialogBase::regenerateRange()" numWorkers = 4 numThreadsPerWorker = 2
04-27 05:58:16.824 20103 20126 D krita   : Entering "KisAsyncAnimationRenderDialogBase::Result KisAsyncAnimationRenderDialogBase::regenerateRange()" Copying done in 43
04-27 05:58:17.319 20103 20126 D krita   : Entering "KisAsyncAnimationRenderDialogBase::Result KisAsyncAnimationRenderDialogBase::regenerateRange()" Full regeneration done in 537
04-27 05:58:17.390   619   645 E BufferQueueProducer: [SurfaceView - org.krita/org.krita.android.MainActivity#0] disconnect: not connected (req=2)
Comment 1 nnn1590 2020-04-26 22:19:50 UTC
Sorry for typo.
s/brank/blank/
Comment 2 nnn1590 2020-04-26 23:07:41 UTC
This issue seems to occur when Scaling Mode is Nearest Neighbor or Bilinear Filtering.
Comment 3 nnn1590 2020-04-27 08:14:51 UTC
Render Animation works fine
Comment 4 Eoin O'Neill 2020-08-13 04:15:48 UTC
I had sh_zam test the latest version of krita/4.3 and this doesn't seem to be a bug currently.

There *have* been some changes made to the OpenGL backend since the android beta hit android, so if you could please test the next version and report back, that would help greatly.
Comment 5 nnn1590 2020-08-27 18:05:47 UTC
I'm sorry to reply late.
The current check confirmed that the canvas did not turn black and could be played normally!

Thanks!

(I used a machine translation system, I hope the translation is correct.)