Comments (9)
Okay, it's on my to-do list.
from flutter-pi.
Great, if theres anything i can help you with, just let me know. I had a look on the code, but just didn't even know where to start looking.
from flutter-pi.
@dbeulen
That's not your fault at all, the whole I/O "subsystem" is a complete mess right now. I tried integrating it all into one function that "does it all" (on_evdev_input
) but that wasn't a good choice after all.
from flutter-pi.
Can we have a option to disable multitouch until you fixed the bug to prevent unwanted inputs?
from flutter-pi.
Can we have a option to disable multitouch until you fixed the bug to prevent unwanted inputs?
I just now uploaded the fix/touchscreen-input
branch (which is based on the feature/video_player_plugin
branch) that fixes touchscreen input. I still have to fix orientation on that branch, that's why it isn't merged into master yet. (The touchscreen fix involved basically completely rewriting flutter-pi.c
)
You can also use dbeulen's fork which removed multi-touch support, but supports orientation.
from flutter-pi.
We didnt do a very clean job of removing multitouch, but it works for now....
from flutter-pi.
So in first place, thanks both for your work!
@ardera I tried to compile the fix/touchscreen-input
branch but always run into the same error.
pi@raspberrypi:~/sdks/flutter-pi $ make
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd' found
Package libinput was not found in the pkg-config search path.
Perhaps you should add the directory containing `libinput.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libinput' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
cc -c -I./include -DBUILD_TEXT_INPUT_PLUGIN -DBUILD_GPIOD_PLUGIN -DBUILD_SPIDEV_PLUGIN -DBUILD_TEST_PLUGIN -DBUILD_OMXPLAYER_VIDEO_PLAYER_PLUGIN -O0 -ggdb src/flutter-pi.c -o out/obj/flutter-pi.o
In file included from src/flutter-pi.c:25:
/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory
#include <drm.h>
^~~~~~~
compilation terminated.
make: *** [Makefile:41: out/obj/flutter-pi.o] Error 1
I never had such problems with the master branch but I am running on the lite version so maybe that's just me missing some packages.
from flutter-pi.
I never had such problems with the master branch but I am running on the lite version so maybe that's just me missing some packages.
Exactly, you need to have the following additional packages installed: libsystemd-dev
, libudev-dev
, libinput-dev
The drm.h: No such file or directory
error is weird. If it still ocurrs after installing the packages you can try invoking make
with the --always-make
flag.
The dependency on libudev
is another reason why I haven't merged into master yet, udev sadly is not present on all embedded linux devices.
from flutter-pi.
Exactly, you need to have the following additional packages installed: libsystemd-dev, libudev-dev, libinput-dev
I tried this but haven't put "-dev" behind the requested package name. Just because I'm interested - when does a library get this "-dev" sign?
But with these packages building worked fine until I wanted to start my app. The main project I'm working on just crashed right after starting it:
[flutter-pi] WARNING: could not make stdin raw
flutter: Observatory listening on http://127.0.0.1:38329/x58Rzlh9VMc=/
[flutter-pi] Error handling platform message. plugin_registry_on_platform_message: Invalid argument
on_get_transformation
create_backing_store
present_layers_callback
on_get_transformation
create_backing_store
present_layers_callback
collect_window_surface_backing_store
destroying window surface backing store FBO
on_get_transformation
create_backing_store
present_layers_callback
on_get_transformation
create_backing_store
present_layers_callback
collect_window_surface_backing_store
destroying window surface backing store FBO
on_get_transformation
create_backing_store
present_layers_callback
on_get_transformation
create_backing_store
present_layers_callback
collect_window_surface_backing_store
destroying window surface backing store FBO
on_get_transformation
create_backing_store
present_layers_callback
on_get_transformation
create_backing_store
present_layers_callback
collect_window_surface_backing_store
destroying window surface backing store FBO
on_get_transformation
create_backing_store
present_layers_callback
Segmentation fault
Output of the default Flutter app was this:
[flutter-pi] WARNING: could not make stdin raw
flutter: Observatory listening on http://127.0.0.1:35811/T2GiZOLlQJk=/
[flutter-pi] Error handling platform message. plugin_registry_on_platform_message: Invalid argument
on_get_transformation
create_backing_store
present_layers_callback
on_get_transformation
create_backing_store
present_layers_callback
collect_window_surface_backing_store
destroying window surface backing store FBO
So this has probably something to do with orientation which you said is not implemented yet.
from flutter-pi.
Related Issues (20)
- screen ratio not respected. HOT 2
- MissingPluginException - method setSourceBytes (audioplayers) HOT 2
- error: static assignment failed: Expressionevaluation to false HOT 2
- No output on Odroid M1S when using Vu5S MIPI-DSI display HOT 14
- error: Couldn't create GBM surface for rendering - Rasberry pi 5 with 7 inch DSI official display HOT 6
- Missing Depens in Readme ? HOT 2
- Different resolution in flutter-pi than that of the OS (DSI panel) HOT 4
- Installing on iMX6ULL HOT 6
- Audioplayers MissingPluginException HOT 1
- Orange Pi Zero 3 configuration HOT 3
- Does flutter-pi work on Orange Pi 3 LTS? HOT 1
- Error installing flutterpi_tool HOT 1
- Member not found: 'windows_arm64' HOT 1
- MissingPluginException No implementation found for method openFile HOT 1
- Mouse Only Moves on Half the Screen with flutter-pi Rotated 90 Degrees
- RK3566 board get black screen with a cursor
- New Snapp CLI Update: Easy Raspberry Pi Setup from scratch, and Custom Device Integration HOT 2
- Flutter-pi and nanodlp image display conflict problem. HOT 1
- How can I install the precompile flutter-pi package on Raspberry Pi? HOT 1
- Memory leak on NXP IMX8x HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-pi.