Skip to contentSkip to conversation

Xenomai -> PPC : Better but no cigar yet

Xenomai-help [email protected] 2 participants 2 messages Oct 14, 2005

lore
Share & tools
lore
#0 lore raw

Hi:

I compiled the adeos-patched kernel 2.6.10, and I recompiled and installed Xenomai from scratch.

After a clean boot, using CRTL+ALT+F1 I logged in a pure text terminal. In this terminal the latency tesk works correctely. If I came back to the graphics terminal with CRTL+ALT+F7 the behavior of the windows are erratic and very strange. If I stop the realtime task everythings go back to normal.

I think that the X11 driver shipped with mandriva 10.2 x PPC is a bit tweaked BUT IS NOT THE PROPRIETARY ATI with OpenGL acceleration.

The proprietary ATI driver works with ADEOS in hard-realtime, but I cannot use on a PPC machine because ATI don't release the code. I tried the r300 project without succces.

It is NOT the first time that an X11 video driver ruin the hard realtime
coherency: the RTAI mailing list is full of this examples (expecially in the past).

Philippe: at this point I think that it is not your fault.

Thanks again to everybody for the help.

Simone

#1 lore raw
Quoted 9 lines · [email protected] wrote:

Hi:

I compiled the adeos-patched kernel 2.6.10, and I recompiled and installed Xenomai from scratch.

After a clean boot, using CRTL+ALT+F1 I logged in a pure text terminal. In this terminal the latency tesk works correctely. If I came back to the graphics terminal with CRTL+ALT+F7 the behavior of the windows are erratic and very strange. If I stop the realtime task everythings go back to normal.

When I tell you to run without X, I mean do not run X. At all. Stop it. Kill it.

Quoted 6 lines

I think that the X11 driver shipped with mandriva 10.2 x PPC is a bit tweaked BUT IS NOT THE PROPRIETARY ATI with OpenGL acceleration.

The proprietary ATI driver works with ADEOS in hard-realtime, but I cannot use on a PPC machine because ATI don't release the code. I tried the r300 project without succces.

I tried Xenomai with proprietary code from nvidia; it runs fine except for huge latencies when switching consoles, changing mode or loading 3D
textures: but you have absolutely to recompile the "glue" part of the driver using the Adeos patched kernel. But I did not see any crashes. I was just try to make sure you were not trying to run the binary driver without recompiling it.

Quoted 4 lines

It is NOT the first time that an X11 video driver ruin the hard realtime
coherency: the RTAI mailing list is full of this examples (expecially in the past).

Yes, using X11 breaks hard real-time, but by causing huge latencies, there is no evidence so far that it creates random crashes and segmentation faults. Segmentation faults are rather usually due to a hole in the FPU switching code, they happen when running X simply because X applications use the FPU.

To check if this is the case, could you please try disabling FPU support ?

Signature · 1 line
					    Gilles Chanteperdrix.