rive-android icon indicating copy to clipboard operation
rive-android copied to clipboard

Rive File keeps blinking by useing Rive Render some devices.

Open blueparkyanadoocorp opened this issue 8 months ago • 15 comments

<-- Thanks for using Rive!

If something isn't working like you expected, please:

  • Make sure you've updated rive-android to the latest version: Yes, 10.0.3

Description

There has a problem by using rive renderer. Rive file keeps blinking like under the video. But this is happening on few devices, not all devices.

Provide a Repro

ComposeActivity.kt.zip

Expected behavior

Not blinking Rive File.

Video

rive_blinking.mp4.zip

Device & Versions (please complete the following information)

UnNormal Behavior Devices - Galaxy Note 10 / OS 12, Galaxy S10+ / OS 12

blueparkyanadoocorp avatar Apr 01 '25 04:04 blueparkyanadoocorp

We have noticed the same blinking issue, happening more on Pixel devices. We have since reverted to the Skia renderer.

Matthew-R-Rohr avatar Apr 03 '25 23:04 Matthew-R-Rohr

Hello Again.

Rive Developer was helped this issue. So I checked that unnormal behavior devices(Galaxy Note 10 / OS 12, Galaxy S10+ / OS 12) to be normal in version 10.0.5.

So I released my application and this bug is come again. I have to downgrade version 10.0.5 > 9.13.5 again.

Recently Unnormal Behavior Device is SM-S721N / OS 14.

Please check this bug again. Thank you.

@rive-engineering

blueparkyanadoocorp avatar Apr 17 '25 08:04 blueparkyanadoocorp

I am also facing the same issue tried 10.0.5 and 10.1.0 and issue is reproducible on both versions. Device is android 8.0 samsung galaxy s8

sherbaev avatar Apr 21 '25 06:04 sherbaev

I realized that SM-S721N / OS 14 is keep happened in version 9.13.5. So I downgrade version 9.13.5 > 9.10.1. Then this bug is solved.

So version 9.13.5 is already happended kind of this bug.

@rive-engineering

blueparkyanadoocorp avatar Apr 21 '25 06:04 blueparkyanadoocorp

@blueparkyanadoocorp are you saying that you enabled the Rive renderer on 9.13.5 and saw this issue? But on 9.10.1 with the Rive renderer also, the issue is not there?

csmartdalton avatar May 10 '25 04:05 csmartdalton

@blueparkyanadoocorp we have been compiling and running your ComposeActivity.kt sample on various devices, including Galaxy S8, Galaxy S9, and Galaxy A8, but no luck yet with a repro. Are you able to share a fully compilable Android project that shows the repro? I would LOVE to fix this but still just can't get a repro!

csmartdalton avatar May 10 '25 04:05 csmartdalton

Ok, great news! I managed to get a repro on Galaxy A8, from before 10.0.5:

https://github.com/user-attachments/assets/e036e206-5bb2-454b-8c42-7299fdf49f4c

I've also verified that this specific issue was fixed with https://github.com/rive-app/rive-runtime/commit/8d856edaf4ba8ec51b11f2b754987b1eb8fc54eb, which landed in 10.0.5:

https://github.com/user-attachments/assets/c3bda749-840f-4e35-8179-593ab65a6df1

@blueparkyanadoocorp can you describe the issue you're seeing after 10.0.5? Is it the same or something different?

csmartdalton avatar May 10 '25 19:05 csmartdalton

@csmartdalton Hello I mistaken that version 9.13.5 is problem with Skia Renderer. But I used version 9.13.5 with Rive Renderer.

So To summarize by Galaxy S24 FE(SM-S721N / OS 14)

rive version 9.13.5 + Skia Renderer -> O rive version 9.13.5 + Rive Renderer -> X(has blinking issue) rive version 10.1.4 + Rive Renderer -> X(has blinking issue)

Recently Rive version still has same issue. And this problem can be reproduced with the rive-android sample, and the bug has been confirmed by applying the same rive files Add to Compose Activity.

Thank you.

blueparkyanadoocorp avatar May 12 '25 02:05 blueparkyanadoocorp

Hi @blueparkyanadoocorp I've also confirmed that the issue appears to be resolved using the latest version of the runtime. Tested on a Galaxy S24 SM-921B/DS, which has an Exynos CPU, which is what had the issue.

Before the fix:

https://github.com/user-attachments/assets/1741fdd9-47d3-487c-b633-5f01f46e3190

After the fix:

https://github.com/user-attachments/assets/8ab4f854-bed6-4cdc-ab38-0bcd681b4774

On our side, we're not able to reproduce this issue anymore. If you're still encountering it can you please provide a full sample project reproducing the issue (maybe it's contingent on other factors).

HayesGordon avatar May 13 '25 16:05 HayesGordon

@HayesGordon Hi, I try to upload android sample made in zip. but this is too big so I can't upload it. So I upload sample project in my repository. (sample) But please note that is same with rive android sample.

And Please refer to the photo and video below. Thank you.

https://github.com/user-attachments/assets/86a8f477-fb69-425e-ab8b-53cac175b14b

Image

blueparkyanadoocorp avatar May 15 '25 01:05 blueparkyanadoocorp

I'm having the same issue with the Rive renderer on the Samsung S24+ SM-S926B/DS (Exynos edition) after upgrading to Android 15. There were noticeable FPS drops on Android 14, but now all Rive animations are completely broken (10.1.4, native android runtime).

I've noticed, that the issue persists even when viewing animations with rive renderer on the web (same device).

https://github.com/user-attachments/assets/b24997a1-9ec2-43f5-a0db-4e8efab6bd85

lemixd avatar May 22 '25 19:05 lemixd

I am receiving the same jarring on our Cars24 India Consumer App, only on a specific device: Samsung S24, Android 15. I have tried using the latest version of Rive and even using Canvas renderer on Android but does not seem to help with this issue. I am curious at this point, is this issue only related to this specific device or has anyone faced the same on any other devices too? This is a potential deal breaker for us so I am actively looking for solutions, is their a temp workaround I can try?

https://github.com/user-attachments/assets/5403640f-a323-491f-a32e-ae22ed391999

sarthak-cars24 avatar Jun 12 '25 05:06 sarthak-cars24

@sarthak-cars24 Until now I am using rive = "9.10.1" riveStartUp = "1.2.0" and Skia Renderer🥲

blueparkyanadoocorp avatar Jun 12 '25 05:06 blueparkyanadoocorp

Update on the issue, seems like its breaking on Samsung phones running Android 15 on Exynos. @blueparkyanadoocorp Can you confirm if you are facing any other issues on 9.10.1?

sarthak-cars24 avatar Jun 12 '25 11:06 sarthak-cars24

I have fallen back to use version 9.11.1 with Skia this increases app size by 2.61 MB and is not a long term solution, but does the job for now.

sarthak-cars24 avatar Jun 16 '25 15:06 sarthak-cars24

Hey, guys any update on the issue. This seems to be happening on Rive Renderer and mostly noticed on Samsung's Exynos based devices. Its rapidly becoming a problem for adoption. Would love to resolve this somehow as switching to Skia is triggering app size concerns.

sarthak-cars24 avatar Jul 04 '25 11:07 sarthak-cars24

Hi there 👋Thanks for reaching out to Rive Support. We’ve received your message, and someone from our team will respond shortly.🕘 Support HoursMonday–Friday, 9 AM to 8 PM ET📚 In the meantime, you might find answers in our Help Docs or Community.Talk soon,Rive Support📨 @.***🌐 rive.app | 💬 community.rive.app

rive-engineering avatar Jul 04 '25 11:07 rive-engineering

The latest version (10.2.1) of the Android runtime has a fix specifically for Exynos device issues. Please try it and let us know if you still have issues.

Tod-Rive avatar Jul 10 '25 21:07 Tod-Rive

The latest version (10.2.1) of the Android runtime has a fix specifically for Exynos device issues. Please try it and let us know if you still have issues.

Hello

I tried to latest version(10.2.1) then app is crashed. But logcat didn't showed to me any exception logs. So I don't know why app is crashed.

I tried to open my application a couple times after app was crashed and then app crash was dissapeared.

So I decied to maintain my rive version(9.10.1) until next version will release.

blueparkyanadoocorp avatar Jul 11 '25 06:07 blueparkyanadoocorp

The latest version (10.2.1) of the Android runtime has a fix specifically for Exynos device issues. Please try it and let us know if you still have issues.

The latest 10.2.1 version has fixed my graphics issues on exynos S24 android 15 but now the app crashes like mentioned.

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffffffff in tid 12286 (Profile Saver), pid 12270

kancic avatar Jul 11 '25 11:07 kancic

Is this happening on app start? Or later in running the app?

Tod-Rive avatar Jul 11 '25 16:07 Tod-Rive

Is this happening on app start? Or later in running the app?

Later. A couple of seconds need to past. Our app has a login feature and on login a rive animation is shown as a progress indicator and that now works great. After login the login activity is destroyed and home screen activity is shown that has a rive animation that acts as a button and it also runs great. If you stay idly on that screen, after a couple of seconds the app will crash with the previous mentioned error.

kancic avatar Jul 13 '25 12:07 kancic

We recently released https://github.com/rive-app/rive-android/releases/tag/10.3.1 which addresses an issue that was introduced in later versions, and likely the cause of the above mentioned crash.

I'm marking this issue as resolved (the rendering bug).

If you're experiencing other issues on the latest version, please open a new issue for us to track.

HayesGordon avatar Aug 01 '25 11:08 HayesGordon