[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] RT and X problem
> I have a RT-task connected to a hardware interrupt and when this task is
> running and I open a window in X, the X window server seems to stop (no
> mouse movements...) and after some seconds (5, 20... it depends) X
> continue to work normally (and gets a lot of events suddenly (mouse
> movements and clikcs that I have done while X was sleeping) ). Somebody
> have similar problems?
Hola Jose',
I'm using an Interrupt (irq-5) with rt-linux, Xfree86 and I'm not having
any problems at all with X. I'm using a 200mhz Pentium, 64mbram with the
top 4mb shared between linux and rt. My interrupts occur 10 times
per second in bursts of 64 pulses spaced 600us and
each one takes 200us to service. After every 64th interrupt, a rt linux
task runs for 600us and processes all the data collected by the previous
64 interrupts. The results are written to the shared ram where they are
picked up by several normal linux programs including several wish/blt
scripts. In rt, we do all scaled binary math, so the fp is not used in
rt.
The X programs and mouse are very responsive and there don't appear to be
any problems with undesirable interactions between rt tasks/interrupts and
normal linux operations.
-Wayne
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/