Go to advanced search

by ardera
Wed Sep 18, 2019 9:59 am
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 16
Views: 9832

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

For quick test, could you share the out/flutter-rpi binary file, thanks! Yep, file is located here: https://github.com/ardera/flutter-pi/releases/download/v0.0.1-alpha/flutter-pi I also attached the file to a Release on the github repo. When you want to run it, please switch the Pi into fake-KMS mo...
by ardera
Thu Sep 12, 2019 1:24 pm
Forum: Official Foundation Display
Topic: Official Touchscreen 25Hz report rate instead of 60Hz
Replies: 0
Views: 1579

Official Touchscreen 25Hz report rate instead of 60Hz

Hello, as the title says, I'm making some measurements and I'm only getting a input event report rate of about 25Hz. So I only get about 25 touchscreen input events per second, which is absolutely insufficient for responsive touch applications. I measured by directly reading from /dev/input/event0. ...
by ardera
Mon Sep 09, 2019 4:18 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 16
Views: 9832

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I FINALLY got it working. (with hardware acceleration) Some other guy on reddit told me flutter has general problems with older graphics chips and graphics drivers. Both the broadcom driver and the VideoCore 4 are probably about 10 years old. So I decided I'd try using the open-source graphics drive...
by ardera
Wed Jul 10, 2019 8:03 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 16
Views: 9832

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I don't have a working "flutter binary" either. I use my own embedder I can share my libflutter_engine.so with you but im 200% positive we got the exact same one, and even if we don't, the engine is not responsible for fetching touchscreen input. Are you really sure you tried not only with TSLIB_TSD...
by ardera
Tue Jul 09, 2019 8:19 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 16
Views: 9832

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I assume you built the flutter engine & flutter engine embedder using https://medium.com/flutter/flutter-on-raspberry-pi-mostly-from-scratch-2824c5e7dcb1 and https://github.com/jwinarske/flutter_embedded/ . I say that because that's definitely not the only way to get flutter running on Pi. Flutter o...
by ardera
Fri Jun 07, 2019 8:04 pm
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 16
Views: 9832

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

I still don't think it's memory related. You can get the amount of free gpu ram usage with vcgencmd get_mem malloc + vcgencmd get_mem reloc (Which is the amount of free-mem in the VideoCore malloc heap + VideoCore reloc heap) For me, there were always 10MB (of 12MB total) malloc heap and ~190 (of ~2...
by ardera
Fri Jun 07, 2019 9:08 am
Forum: Other programming languages
Topic: Running Flutter, Google’s Portable UI Toolkit, on a rpi
Replies: 16
Views: 9832

Re: Running Flutter, Google’s Portable UI Toolkit, on a rpi

Got it working too, including mouse support (but not mouse cursor support!). Code for the embedder is here: https://github.com/ardera/flutter-pi And I, too, got the same weird texture problem; could be that it's because I didn't implement the make_resource_current callback, but that should be option...
by ardera
Sat Jul 21, 2018 12:34 pm
Forum: Bare metal, Assembly language
Topic: struct changes values on return
Replies: 5
Views: 1326

struct changes values on return

So I have the following code, which is part of a procedure with the args dcpu_t* self and uint8_t val. char* logstr = calloc(65, sizeof(char)); // allocate a 65-char string snprintf(logstr, 64, "arg=r%u", self->ref_reg[val].value); // same as printf but outputs to the string dcpu_log(self, logstr); ...
by ardera
Wed Jul 18, 2018 12:44 pm
Forum: Bare metal, Assembly language
Topic: Understanding the mailbox property interface
Replies: 25
Views: 5119

Re: Understanding the mailbox property interface

Yep, now I understand. Thanks!
by ardera
Wed Jul 18, 2018 10:14 am
Forum: Bare metal, Assembly language
Topic: Understanding the mailbox property interface
Replies: 25
Views: 5119

Understanding the mailbox property interface

Hello, I am really confused about this documentation: https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface For example: it says "concatenated tags" in there. That does mean the complete tags are placed in that buffer, not the pointers to them, doesn't it? (cause using pointers it'...

Go to advanced search