From: Jakub Skrzypnik <jskrzypnik@novomatic-tech.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/6] package/x11r7/xserver_xorg-server: disable GLAMOR support with NVIDIA drivers
Date: Tue, 12 May 2020 15:28:58 +0200 [thread overview]
Message-ID: <20200512132859.15189-5-jskrzypnik@novomatic-tech.com> (raw)
In-Reply-To: <20200512132859.15189-1-jskrzypnik@novomatic-tech.com>
NVIDIA GLX extension doesn't support GLAMOR and won't let compile X11 server.
Even if there's libglvnd enabled and you have Mesa together with it, running
X11 with GLAMOR enabled will crash on loading NVIDIA's own GLX extension.
Signed-off-by: Jakub Skrzypnik <jskrzypnik@novomatic-tech.com>
---
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index 8ccc04224d..44f93a99ed 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -191,7 +191,11 @@ XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence
XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3
ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yyy)
XSERVER_XORG_SERVER_DEPENDENCIES += libepoxy
+ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_XORG),y)
+XSERVER_XORG_SERVER_CONF_OPTS += --disable-glamor
+else
XSERVER_XORG_SERVER_CONF_OPTS += --enable-glamor
+endif
else
XSERVER_XORG_SERVER_CONF_OPTS += --disable-glamor
endif
--
2.26.2
--
CONFIDENTIALITY NOTICE
------------------------------------
This
E-mail is
intended only to be read or used by the addressee.The
information
contained in this E-mail message may be confidential
information. If you
are not the intended recipient, any use,
interference with, distribution,
disclosure or copying of this material
is unauthorized and prohibited.
Confidentiality attached to this
communication is not waived or lost by
reason of the mistaken delivery
to you.
If you have received this message
in error, please delete
it and notify us by return E-mail or telephone
NOVOMATIC Technologies
Poland S.A. +48 12 258 00 50. Any E-mail attachment
may contain software
viruses which could damage your own computer system.
Whilst reasonable
precaution has been taken to minimize this risk, we
cannot accept
liability for any damage which you sustain as a result of
software
viruses. You should therefore carry out your own virus checks
before
opening any attachments.
------------------------------------
NOVOMATIC Technologies Poland S.A., Poland, Krakowska 368, 32-080 Zabierz?w
next prev parent reply other threads:[~2020-05-12 13:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-12 13:28 [Buildroot] [PATCH 1/6] package/libgl-headers: introduce as a new virtual package for providers of OpenGL-compatible headers Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 2/6] package/mesa3d-headers: make it a provider for libgl-headers Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 3/6] package/libglvnd: new package Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 4/6] package/mesa3d: make it aware of libglvnd and support it when present Jakub Skrzypnik
2020-05-12 13:28 ` Jakub Skrzypnik [this message]
2020-05-12 13:28 ` [Buildroot] [PATCH 6/6] package/nvidia-driver: update to 390.132, 435.21, 440.82 Jakub Skrzypnik
2020-05-12 15:58 ` [Buildroot] [PATCH 1/6] package/libgl-headers: introduce as a new virtual package for providers of OpenGL-compatible headers Yann E. MORIN
2020-05-17 20:39 ` [Buildroot] [PATCH v2 0/4] Initial GLVND support + NVIDIA drivers upgrade Jakub Skrzypnik
2020-05-17 20:40 ` [Buildroot] [PATCH v2 1/4] package/libglvnd: new package Jakub Skrzypnik
2020-05-17 20:40 ` [Buildroot] [PATCH v2 2/4] package/mesa3d: make it aware of libglvnd and support it when present Jakub Skrzypnik
2020-05-17 20:40 ` [Buildroot] [PATCH v2 3/4] package/x11r7/xserver_xorg-server: disable GLAMOR support with NVIDIA drivers Jakub Skrzypnik
2020-05-17 21:12 ` Yann E. MORIN
2020-05-17 20:40 ` [Buildroot] [PATCH v2 4/4] package/nvidia-driver: update to 390.132, 435.21, 440.82 Jakub Skrzypnik
[not found] <20200512131646.14821-1-jskrzypnik@novomatic-tech.com>
2020-05-12 13:16 ` [Buildroot] [PATCH 5/6] package/x11r7/xserver_xorg-server: disable GLAMOR support with NVIDIA drivers Jakub Skrzypnik
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=20200512132859.15189-5-jskrzypnik@novomatic-tech.com \
--to=jskrzypnik@novomatic-tech.com \
--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.