Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] xserver-xf86-config: Loading glx module
@ 2015-01-06 12:51 Sujith H
  0 siblings, 0 replies; 8+ messages in thread
From: Sujith H @ 2015-01-06 12:51 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sujith H

From: Sujith H <Sujith_Haridasan@mentor.com>

This module was required to get opengl working with
Qt5 version 5.4 ( when tested with qemuarm and qemux86).
After adding this change to the xorg.conf and restarting
xserver qtquick and qtdeclarative examples of Qt5 started
working appropriately.

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Sujith H <sujith.h@gmail.com>
---
 meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
index 549c7c8..391ebae 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -17,4 +17,9 @@ do_install () {
 		install -d ${D}/${sysconfdir}/X11
 		install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
 	fi
+        cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF
+Section "Module"
+    Load           "glx"
+EndSection
+EOF
 }
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] xserver-xf86-config: Loading glx module
@ 2015-01-06 10:54 Sujith H
  2015-01-06 11:30 ` Burton, Ross
  0 siblings, 1 reply; 8+ messages in thread
From: Sujith H @ 2015-01-06 10:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sujith H

From: Sujith H <Sujith_Haridasan@mentor.com>

This module was required to get opengl working with
Qt5 version 5.4 ( when tested with qemuarm and qemux86).
After adding this change to the xorg.conf and restarting
xserver qtquick and qtdeclarative examples of Qt5 started
working appropriately.

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Sujith H <sujith.h@gmail.com>
---
 meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
index 549c7c8..bcd9d8a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -17,4 +17,11 @@ do_install () {
 		install -d ${D}/${sysconfdir}/X11
 		install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
 	fi
+        if ${@bb.utils.contains('DISTRO_FEATURES','x11','true','false',d)}; then
+                cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF
+Section "Module"
+    Load           "glx"
+EndSection
+EOF
+        fi
 }
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] xserver-xf86-config: Loading glx module
@ 2015-01-06 10:02 Sujith H
  0 siblings, 0 replies; 8+ messages in thread
From: Sujith H @ 2015-01-06 10:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sujith H

From: Sujith H <Sujith_Haridasan@mentor.com>

This module was required to get opengl working with
Qt5 version 5.4 ( when tested with qemuarm and qemux86).
After adding this change to the xorg.conf and restarting
xserver qtquick and qtdeclarative examples of Qt5 started
working appropriately.

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
Signed-off-by: Sujith H <sujith.h@gmail.com>
---
 meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
index 549c7c8..bcd9d8a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -17,4 +17,11 @@ do_install () {
 		install -d ${D}/${sysconfdir}/X11
 		install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
 	fi
+        if ${@bb.utils.contains('DISTRO_FEATURES','x11','true','false',d)}; then
+                cat >> ${D}/${sysconfdir}/X11/xorg.conf << EOF
+Section "Module"
+    Load           "glx"
+EndSection
+EOF
+        fi
 }
-- 
1.8.4



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

end of thread, other threads:[~2015-01-06 14:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 12:51 [PATCH] xserver-xf86-config: Loading glx module Sujith H
  -- strict thread matches above, loose matches on Subject: below --
2015-01-06 10:54 Sujith H
2015-01-06 11:30 ` Burton, Ross
2015-01-06 12:51   ` sujith h
2015-01-06 13:08     ` Burton, Ross
2015-01-06 13:11       ` sujith h
2015-01-06 14:14         ` sujith h
2015-01-06 10:02 Sujith H

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