All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 06/11 v5] package/nvidia-driver: add NVidia's OpenGL binary blob
Date: Wed, 21 Jan 2015 18:40:19 +0100	[thread overview]
Message-ID: <20150121174019.GE4375@free.fr> (raw)
In-Reply-To: <1543651.dEYKR9f3t7@aquila>

J?r^ome, All,

On 2015-01-20 15:00 +0100, J?r?me Pouiller spake thusly:
> On Monday 19 January 2015 21:40:36 Yann E. MORIN wrote:
> [...]
> > --- /dev/null
> > +++ b/package/nvidia-driver/Config.in
> > @@ -0,0 +1,51 @@
> > +comment "nvidia-driver needs an (e)glibc toolchain and a modular Xorg server"
> > +	depends on BR2_i386 || BR2_x86_64
> > +	depends on !BR2_TOOLCHAIN_USES_GLIBC \
> > +		|| !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
> > +
> > +config BR2_PACKAGE_NVIDIA_DRIVER
> > +	bool "nvidia-driver"
> > +	depends on BR2_i386 || BR2_x86_64
> > +	depends on BR2_TOOLCHAIN_USES_GLIBC
> > +	depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
> > +	select BR2_PACKAGE_OPENGL_REGISTRY
> > +	select BR2_PACKAGE_XLIB_LIBX11
> > +	select BR2_PACKAGE_XLIB_LIBXEXT
> > +	select BR2_PACKAGE_HAS_LIBGL
> > +	select BR2_PACKAGE_HAS_LIBEGL
> > +	select BR2_PACKAGE_HAS_LIBGLES
> > +	help
> > +	  The binary-only driver blob for NVidia cards.
> > +	  This is the userland part only.
> > +
> > +	  http://www.nvidia.com/
> > +
> > +if BR2_PACKAGE_NVIDIA_DRIVER
> > +
> > +config BR2_PACKAGE_PROVIDES_LIBGL
> > +	default "nvidia-driver"
> If I understand right, mesa3d cannot be selected in same time than 
> nvidia-driver.

Indeed no, since they both are providers for the GL stuff, and we can
have only one provider for each virtual package.

> Consequently, xorg-xserver will be built with 
> "--disable-dri --disable-glx". 
> It does not produce error when loading nvidia-driver? In add, I 
> suppose it is not possible to use OpenGL application if xserver
> is compiled --disable-glx, no?

This series is surely not exhaustive about GL dependencies. My test-case
was to build Kodi for my HTPC (NVidia GPU, as you may have guessed!),
and that series makes it at least build (I still need to extensively
run-test it, though), so it is very well possible that building X.org
for NVidia-based accelerated X is not working completely (but that would
be an new feature, not a breaking of existing features).

> I am currently trying to compile xorg-xserver with dri/glx but without
> using mesa3d (using opengl-registry and nvidia-driver instead).

I see you have submitted the patches already. Thanks for working on
that! :-) I'll have a look at them.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-01-21 17:40 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 20:40 [Buildroot] [PATCH 0/11 v5] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx) Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 01/11 v5] package/python-lxml: new package Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 02/11 v5] package/khrplatform-registry: " Yann E. MORIN
2015-01-21  9:06   ` Jérôme Pouiller
2015-01-21 17:32     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 03/11 v5] package/openkode-registry: " Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 04/11 v5] package/opengl-registry: " Yann E. MORIN
2015-01-20 13:51   ` Jérôme Pouiller
2015-01-21 17:34     ` Yann E. MORIN
2015-01-21 17:42       ` Jérôme Pouiller
2015-01-21 17:51         ` Yann E. MORIN
2015-01-20 17:12   ` Nicolas Serafini
2015-01-21 17:36     ` Yann E. MORIN
2015-01-22  7:12       ` Nicolas Serafini
2015-01-23 12:39         ` Yann E. MORIN
2015-01-23 13:24           ` Ben Ben
2015-01-21 22:40     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 05/11 v5] package/openmax-registry: " Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 06/11 v5] package/nvidia-driver: add NVidia's OpenGL binary blob Yann E. MORIN
2015-01-20 14:00   ` Jérôme Pouiller
2015-01-21 17:40     ` Yann E. MORIN [this message]
2015-01-19 20:40 ` [Buildroot] [PATCH 07/11 v5] package/nvidia-driver: build the kernel module Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 08/11 v5] package/nvidia-tegra23-binaries: new package Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 09/11 v5] package.nvidia-tegra23-binaries: add gstreamer plugins Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 10/11 v5] package/nvidia-tegra23-binaries: provides JPEG Yann E. MORIN
2015-01-20 17:05   ` Nicolas Serafini
2015-01-21 17:42     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 11/11 v5] package/nvidia-tegra23-codecs: new package Yann E. MORIN

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=20150121174019.GE4375@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.