[Buildroot] [PATCH 06/11 v5] package/nvidia-driver: add NVidia's OpenGL binary blob

Jérôme Pouiller jezz at sysmic.org
Tue Jan 20 14:00:54 UTC 2015


Hello Yann,

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. 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?

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


[...]
-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr


More information about the buildroot mailing list