[Xenomai] NVIDIA Drivers w/ Xenomai

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Dec 23 13:48:46 CET 2015

On Tue, Dec 22, 2015 at 11:33:57AM -0600, Jeff Webb wrote:
> On 12/22/2015 09:54 AM, Lennart Sorensen wrote:
> > On Tue, Dec 22, 2015 at 08:30:37AM +0100, Gilles Chanteperdrix wrote:
> >> Last time I looked, NVIDIA drivers used some glue code to adapt to
> >> the particular kernel for which they were compiled. This glue made
> >> use of the standard macro local_irq_save/spin_lock_irqsave, etc...
> >> So, compiling the NVIDIA driver with an I-pipe kernel worked, and so
> >> did running Xenomai programs along side graphic applications. But
> >> that was a long time ago. In any case, running the latency test
> >> while your image processing program is running on the GPU should
> >> allow you to find whether the driver is generating large latencies.
> >
> > OK, maybe it isn't as bad as I was led to believe in the past then.
> >
> > I suppose one could hope there are no interrupt disable calls in the
> > nvidia binary blob directly.
> I have experienced some high worst-case latencies when using the
> NVIDIA drivers along side Xenomai real-time code in the past. The
> open source drivers seemed to be more well-behaved from a
> real-time point of view.

If you are talking about the "nouveau" drivers, unfortunately I am
afraid they will not satisfy the user needs: last time I tried
writing shaders for the nouveau drivers, the shaders were run on the
CPU, not the GPU.


More information about the Xenomai mailing list