From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Raspberry Pi: recommendations for web kiosk
Date: Thu, 03 Jul 2014 18:34:15 +0200 [thread overview]
Message-ID: <53B58607.6050705@mind.be> (raw)
In-Reply-To: <CAAXf6LXiNMEjoN1Pv=2Qu73oJgc+jCsEizAFo1=WV+V57b27WQ@mail.gmail.com>
On 02/07/14 11:04, Thomas De Schampheleire wrote:
> Hi Eric,
>
> On Thu, Jun 26, 2014 at 7:01 PM, Eric Le Bihan
> <eric.le.bihan.dev@free.fr> wrote:
>> On Thu, Jun 26, 2014 at 03:15:25PM +0200, Thomas De Schampheleire wrote:
>>> Hi Eric,
>>>
>>> On Thu, Jun 26, 2014 at 2:42 PM, Eric Le Bihan
>>> <eric.le.bihan.dev@free.fr> wrote:
>>>> Hi!
>>>> On Wed, Jun 25, 2014 at 03:02:29PM +0200, Thomas De Schampheleire wrote:
>>>>> Hi,
>>>>>
>>>>> We currently use a Raspberry Pi as a simple web-wall. It cycles every
>>>>> two minutes between two (non-local) web pages, one of which contains a
>>>>> few iframes.
>>>>>
>>>>> While this can hardly be called a resource-intensive task, the
>>>>> Raspberry Pi by no means performs this fluently. The pages load
>>>>> relatively slow, and administration tasks on this pi also suffer from
>>>>> hickups.
>>>>>
>>>>> The pi currently contains a raspbian image (not done by me, I swear!
>>>>> :-) ) and uses chromium in kiosk mode to display the web pages.
>>>>>
>>>>> My basic question is: can I expect to get better performance by
>>>>> setting up a custom buildroot image, or is rpi so poor in performance,
>>>>> even for this mundane task?
>>>>> Which packages should I select to achieve this?
>>>>>
>>>>> Do I need an X.org or not really?
>>>>> If X.org is needed, does 'Kdrive / tinyX' work on rpi, or should I
>>>>> select modular x.org, and how do these compare.
>>>>> (as you notice, I have never set up embedded boards with graphical stuff).
>>>>>
>>>>> Which browser should/could I use? Preferably something that can run in
>>>>> fullscreen mode as this is a kiosk-like board.
>>>>>
>>>>> Is rpi-userland needed / recommended? How would I benefit from it?
>>>>>
>>>>> Any other recommendations/tips are welcome too, of course.
>>>> Just my two cents: how about using a custom application based on QtWebkit with
>>>> EGLFS [1]?
>>>>
>>>
>>> This is not a commercial product, but rather an internal information
>>> screen used on the workfloor. So writing custom applications, which I
>>> assume is quite some work, is not acceptable. I am hoping for a more
>>> or less out-of-the-box solution...
>> Well, thanks to QML and QtWebkit, that is pretty doable. I hacked a quick
>> example at https://github.com/elebihan/webkiosk, inspired by the Qt examples.
>>
>> AFAIK, running it with the '-platform eglfs' option should do the trick (not
>> tested, my RPi is out of order :-( )
>>
>
> Is this a QT4 or QT5 project?
> I enabled qt5 in buildroot, together with the qt5webkit and qt5quick1
> packages, and then ran qmake in your webkiosk project. However, 'qml'
> and 'quick' modules are not found.
> How is this supposed to work?
>
> Looking at the sources in qt5quick1, I don't see any reference to the
> installation of a 'quick' module, only of 'declarative'.
It's qt5declarative that you want. qt5quick1 is a compatibility library for the
"old" QtQuick from Qt4.
You can know which one you need by looking at the import:
import QtQuick 2.0 => qt5declarative
import QtQuick 1.0 => qt5quick1
The names of the libraries is unfortunately the reverse of the names of the
packages.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2014-07-03 16:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 13:02 [Buildroot] Raspberry Pi: recommendations for web kiosk Thomas De Schampheleire
2014-06-26 12:42 ` Eric Le Bihan
2014-06-26 13:15 ` Thomas De Schampheleire
2014-06-26 14:11 ` Maxime Hadjinlian
2014-06-26 17:01 ` Eric Le Bihan
2014-07-02 9:04 ` Thomas De Schampheleire
2014-07-03 16:34 ` Arnout Vandecappelle [this message]
2014-07-03 21:07 ` Eric Le Bihan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B58607.6050705@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox