* PREEMPT_RT on X/GTK+
@ 2009-11-28 5:31 Ardhan Madras
2009-11-28 13:23 ` Carsten Emde
0 siblings, 1 reply; 3+ messages in thread
From: Ardhan Madras @ 2009-11-28 5:31 UTC (permalink / raw)
To: linux-rt-users
Hi all,
Is there are special care when using PREEMPT_RT patch in X/GTK+ applications?, i need to build a realtime control application using RS-232 with X/GTK+ interfaces.
Thanks,
- Ardhan
_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PREEMPT_RT on X/GTK+
2009-11-28 5:31 PREEMPT_RT on X/GTK+ Ardhan Madras
@ 2009-11-28 13:23 ` Carsten Emde
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Emde @ 2009-11-28 13:23 UTC (permalink / raw)
To: Ardhan Madras; +Cc: RT-Users
Ardhan,
> Is there special care when using PREEMPT_RT patch in X/GTK+
> applications? [..]
In general, no other care than with any other RT application.
Do you wish the GUI to immediately and smoothly reflect important
states of your control application? In this case, you should
consider that the display only changes, if both the GTK+ application
and the X server react in time. For this purpose, it is sometimes
recommended to set the priority of the X server a little less
than that of the control application. Never assign the highest
priority of the system to the X server, since this may completely
block the server. A priority of < 49, however, is normally safe.
Carsten.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PREEMPT_RT on X/GTK+
@ 2009-11-29 6:41 Ardhan Madras
0 siblings, 0 replies; 3+ messages in thread
From: Ardhan Madras @ 2009-11-29 6:41 UTC (permalink / raw)
To: Carsten Emde
Hi Carsten,
The control application has custom keyboard device, basically it's a PS/2 keyboard that only has special key need for it's operation. My problem is in certain condition, the application respond to the keyboard's key pressing-event is unpredictable, sometime it was late to caught the event for about 0.5 - 1 second, the application does not consume a lot of CPU time, it just wait for the pressed key. I think this a normal X behaviour.
Ardhan
--- Carsten.Emde@osadl.org wrote:
From: Carsten Emde <Carsten.Emde@osadl.org>
To: Ardhan Madras <ajhwb@knac.com>
CC: RT-Users <linux-rt-users@vger.kernel.org>
Subject: Re: PREEMPT_RT on X/GTK+
Date: Sat, 28 Nov 2009 14:23:56 +0100
Ardhan,
> Is there special care when using PREEMPT_RT patch in X/GTK+
> applications? [..]
In general, no other care than with any other RT application.
Do you wish the GUI to immediately and smoothly reflect important
states of your control application? In this case, you should
consider that the display only changes, if both the GTK+ application
and the X server react in time. For this purpose, it is sometimes
recommended to set the priority of the X server a little less
than that of the control application. Never assign the highest
priority of the system to the X server, since this may completely
block the server. A priority of < 49, however, is normally safe.
Carsten.
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-29 6:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-28 5:31 PREEMPT_RT on X/GTK+ Ardhan Madras
2009-11-28 13:23 ` Carsten Emde
-- strict thread matches above, loose matches on Subject: below --
2009-11-29 6:41 Ardhan Madras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).