Skip to content

The app flickers continuously on the rpi4 #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
baldax95 opened this issue Sep 8, 2021 · 4 comments
Closed

The app flickers continuously on the rpi4 #197

baldax95 opened this issue Sep 8, 2021 · 4 comments

Comments

@baldax95
Copy link

baldax95 commented Sep 8, 2021

Hi,

as said in the title the app running with flutter-pi flickers continuously on the rpi4.

I have 2 strange things:

  • on the rpi3 the app doesn't flicker! (same configuration and same environment, except for the os which is 32 bit, but on the rpi4 it flickers also with the 32 bit os)
  • if I append drm.debug=0x1ff to /boot/cmdline.txt, I really don't know why, but app flicker is dramatically reduced (almost non-existent).

The only problem to the drm.debug=0x1ff workaround is that with that the cpu works much much harder.
1 of the 4 core is almost always at 100% and also the other work much more.

Look forward to hering from you, thanks in advance.

@ardera
Copy link
Owner

ardera commented Sep 13, 2021

as said in the title the app running with flutter-pi flickers continuously on the rpi4.

what kind of flickering? What app are you running? Does the flickering ocurr only in that specific app or other apps (like the gallery app, or the blank flutter create) too? Do you maybe have a video of that flickering?

The only problem to the drm.debug=0x1ff workaround is that with that the cpu works much much harder.
1 of the 4 core is almost always at 100% and also the other work much more.

yeah and besides that, it'll also fill up your disk space pretty quickly

@baldax95
Copy link
Author

baldax95 commented Oct 4, 2021

I just tested with flutter gallery app, and it doesn't flicker with such application.

In my app, it flickers (bottom half of the screen), and especially when i use the touchscreen.

I attach a video

app_flickering_cutted.mp4

@ardera
Copy link
Owner

ardera commented Oct 5, 2021

can you try with the full-KMS driver? that fixed some flickering in the past (though that flickering looked a bit different)

  • change dtoverlay=vc4-fkms-v3d to dtoverlay=vc4-kms-v3d in /boot/config.txt

other than that, it could also be a flutter / skia or graphics driver issue

@baldax95
Copy link
Author

baldax95 commented Oct 5, 2021

It works!! No more flickering!!

Thank you so much!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants