All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jeff Webb <jeff.webb@nta-inc.net>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] NVIDIA Drivers w/ Xenomai
Date: Wed, 23 Dec 2015 13:48:46 +0100	[thread overview]
Message-ID: <20151223124846.GC29038@hermes.click-hack.org> (raw)
In-Reply-To: <56798985.2090803@nta-inc.net>

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.

-- 
					    Gilles.
https://click-hack.org


  reply	other threads:[~2015-12-23 12:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  0:22 [Xenomai] NVIDIA Drivers w/ Xenomai Eric Huang
2015-12-22  2:43 ` Lennart Sorensen
2015-12-22  7:30   ` Gilles Chanteperdrix
2015-12-22 15:54     ` Lennart Sorensen
2015-12-22 17:33       ` Jeff Webb
2015-12-23 12:48         ` Gilles Chanteperdrix [this message]
2015-12-22  7:37 ` Gilles Chanteperdrix

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=20151223124846.GC29038@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jeff.webb@nta-inc.net \
    --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.