Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] xserver-xorg: Enable glamor by default
@ 2017-01-12 23:33 Saul Wold
  2017-01-17 22:47 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2017-01-12 23:33 UTC (permalink / raw)
  To: openembedded-core, richard.purdie

To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 6a13380..0d3022f 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -121,8 +121,9 @@ EXTRA_OECONF += "--with-fop=no \
 "
 EXTRA_OECONF[vardepsexclude] = "MACHINE"
 
+OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
 PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
-                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \
                    ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \
                    ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \
 "
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] xserver-xorg: Enable glamor by default
  2017-01-12 23:33 [PATCH v2] xserver-xorg: Enable glamor by default Saul Wold
@ 2017-01-17 22:47 ` Burton, Ross
  2017-01-22 21:30   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2017-01-17 22:47 UTC (permalink / raw)
  To: Saul Wold; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

On 12 January 2017 at 23:33, Saul Wold <sgw@linux.intel.com> wrote:

> To enable glamor, we need to also enable both dri3 and xshmfence as
> dependencies.
>

Of course musl's lack of lazy loading bits xserver again:

[     8.655] (EE) Failed to load
/usr/lib/xorg/modules/drivers/modesetting_drv.so: Error relocating
/usr/lib/xorg/modules/drivers/modesetting_drv.so: glamor_set_screen_pixmap:
symbol not found

xserver-xf86-config has a config fragment that loads a set of modules on
startup if musl is enabled, I'm guessing glamoregl should be on that list?

Ross

[-- Attachment #2: Type: text/html, Size: 1091 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] xserver-xorg: Enable glamor by default
  2017-01-17 22:47 ` Burton, Ross
@ 2017-01-22 21:30   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2017-01-22 21:30 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Tue, Jan 17, 2017 at 2:47 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 12 January 2017 at 23:33, Saul Wold <sgw@linux.intel.com> wrote:
>>
>> To enable glamor, we need to also enable both dri3 and xshmfence as
>> dependencies.
>
>
> Of course musl's lack of lazy loading bits xserver again:
>
> [     8.655] (EE) Failed to load
> /usr/lib/xorg/modules/drivers/modesetting_drv.so: Error relocating
> /usr/lib/xorg/modules/drivers/modesetting_drv.so: glamor_set_screen_pixmap:
> symbol not found
>
> xserver-xf86-config has a config fragment that loads a set of modules on
> startup if musl is enabled, I'm guessing glamoregl should be on that list?
>

add it to preloaded modules in .conf file.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-22 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 23:33 [PATCH v2] xserver-xorg: Enable glamor by default Saul Wold
2017-01-17 22:47 ` Burton, Ross
2017-01-22 21:30   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox