From: "Stéphane Ancelot" <sancelot@numalliance.com>
Cc: Sumitabh Ghosh via Xenomai <xenomai@xenomai.org>
Subject: Re: Qt application on Xenomai
Date: Mon, 4 Mar 2019 08:55:57 +0100 [thread overview]
Message-ID: <f2711dc9-497a-2aac-391d-c30a02c306b0@numalliance.com> (raw)
In-Reply-To: <CA+WNq=Vo0p6CAWp_V5JzWK47JGJZVDvj0j1Os8AdF9FStvBncw@mail.gmail.com>
Hi,
I will share some points from my viewpoint :
The Xenomai impact will depend on the processor architecture selected
(uniprocessor or multiprocessor).
In uniprocessor context, while your rt application will consume cpu
time, meanwhile the other scheduled application will be waiting for
their time slice.
And thus GUI application is interrupted and may be slow in some cases
(that really depends on the impact of the RT process). In multiprocessor
context, this becomes no more a problem.
Performance is then dependant on the cpu architecture (x86/x64/arm...)
and their graphics chip device.
Depending on the graphics chip, the performance needed to drive a 19inch
size display is not the same as driving a 7inch size display.
There are two kinds of Qt applications these days : Native Qt and QML
applications.
* Qt is native and can use 2D OpenGL or display framebuffer,
* QML is no more than a javascript application layer running in a
javascript web engine , in this case you will be performance mainly
impacted by the QML architecture.
If your GUI application fits only few buttons in a display, then, that's
not a problem.
Regards.
Stéphane ANCELOT
Le 02/03/2019 à 06:57, Sumitabh Ghosh via Xenomai a écrit :
> Hi Henning,
>
> Thanks for your confirmation. Just to understand your set up further, does
> the POSIX layer used by QT is of the Xenomai skin ? Is This the way Qt is
> leveraging the rt features ?
>
> I guess the rendering of graphics is handled through non rt Linux
> framebuffer /opengl apis.
>
> Let me know if my above understanding is correct.
>
> Thanks,
> Sumit
>
>
>
>
> On Fri, Mar 1, 2019, 18:02 Henning Schild <henning.schild@siemens.com>
> wrote:
>
>> Hi,
>>
>> i am not sure i fully understand the question. In case you are worried
>> about combining Xenomai and Qt, i can assure you that it is possible.
>> We do have big c++/Qt applications running both rt and non-rt on
>> xenomai.
>>
>> regards,
>> Henning
>>
>> Am Fri, 1 Mar 2019 14:10:42 +0530
>> schrieb Sumitabh Ghosh via Xenomai <xenomai@xenomai.org>:
>>
>>> Hi,
>>>
>>> I have a generic question not specific to any platform. If I want to
>>> run a small graphics application on Xenomai 3.x what would be the
>>> correct approach. e.g. Qt application framework which needs POSIX
>>> apis and a linux frame buffer to be able to render 2D applications.
>>>
>>> Kindly provide me some pointers.
>>>
>>> Thanks in advance.
>>>
>>> Cheers!
>>> Sumit
>>
next prev parent reply other threads:[~2019-03-04 7:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-01 8:40 Qt application on Xenomai Sumitabh Ghosh
2019-03-01 12:32 ` Henning Schild
2019-03-02 5:57 ` Sumitabh Ghosh
2019-03-04 7:55 ` Stéphane Ancelot [this message]
2019-03-04 8:38 ` C Smith
2019-04-03 12:10 demon.han
2019-04-04 0:39 ` Alec Ari
2019-04-04 1:50 demon.han
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=f2711dc9-497a-2aac-391d-c30a02c306b0@numalliance.com \
--to=sancelot@numalliance.com \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.