Skip to contentSkip to conversation

Enable xserver-xorg for all qemumachines

PATCH Superseded Khem Raj 4 participants 17 messages May 3, 2012 – May 24, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover Enable xserver-xorg for all qemumachines

Currently we use kdrive for all qemu machines except x86 and x86_64 this patchset enables it for other qemu machines too

I did not delete the kdrive recipes intentionally since I saw that there were some images which were using kdrive as xserver

I have successfully sato image in qemumips qemuarm and qemuppc

The following changes since commit 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457:

eglibc-package: remove /var (2012-05-01 12:36:18 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/qemu-xserver-xorg
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/qemu-xserver-xorg

Khem Raj (3):
qemumachines: Enable xserver-xorg as default xserver
xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machines qemux86-64,qemux86: Override XSERVER variable

 meta/conf/machine/include/qemu.inc                 |    9 ++-
 meta/conf/machine/qemux86-64.conf                  |    2 +-
 meta/conf/machine/qemux86.conf                     |    2 +-
 .../xserver-xf86-config/qemuarm/xorg.conf          |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemumips/xorg.conf         |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemumips64/xorg.conf       |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemuppc/xorg.conf          |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemush4/xorg.conf          |   69 ++++++++++++++++++++
 .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
 9 files changed, 356 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
Signature · 1 line
1.7.5.4
author
#1 lore raw

PATCH 1/3 qemumachines: Enable xserver-xorg as default xserver

---
 meta/conf/machine/include/qemu.inc |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
meta/conf/machine/include/qemu.inc +8 -1
index 421a149..e384879 100644
@@ -1,7 +1,14 @@
 PCMCIA_MANAGER = "pcmciautils"
-PREFERRED_PROVIDER_virtual/xserver ?= "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
 PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
 
+XSERVER ?= "xserver-xorg \
+            mesa-dri-driver-swrast \
+            xf86-input-evdev \
+            xf86-input-mouse \
+            xf86-video-fbdev \
+            xf86-input-keyboard"
+
 MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen"
 
 IMAGE_FSTYPES += "tar.bz2 ext3"
Signature · 1 line
1.7.5.4
author
#2 lore raw

PATCH 2/3 xserver-xf86-config: Add xorg.conf for arm, mips, ppc, sh qemu machines

---
 .../xserver-xf86-config/qemuarm/xorg.conf          |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemumips/xorg.conf         |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemumips64/xorg.conf       |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemuppc/xorg.conf          |   69 ++++++++++++++++++++
 .../xserver-xf86-config/qemush4/xorg.conf          |   69 ++++++++++++++++++++
 .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
 6 files changed, 346 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
 create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf new file +69 -0
new file mode 100644
index 0000000..629ae21
@@ -0,0 +1,69 @@
+
+Section "Files"
+EndSection
+
+Section "InputDevice"
+    Identifier    "Generic Keyboard"
+    Driver        "evdev"
+    Option        "CoreKeyboard"
+    Option        "Device"      "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
+    Option        "XkbRules"    "xorg"
+    Option        "XkbModel"    "evdev"
+    Option        "XkbLayout"    "us"
+EndSection
+
+Section "InputDevice"
+    Identifier    "Configured Mouse"
+    Driver        "mouse"
+    Option        "CorePointer"
+    Option        "Device"        "/dev/input/mice"
+    Option        "Protocol"        "ImPS/2"
+    Option        "ZAxisMapping"        "4 5"
+    Option        "Emulate3Buttons"    "true"
+EndSection
+
+Section "InputDevice"
+    Identifier    "Qemu Tablet"
+    Driver        "evdev"
+    Option        "CorePointer"
+    Option        "Device"        "/dev/input/touchscreen0"
+    Option        "USB"           "on"
+EndSection
+
+Section "Device"
+    Identifier    "Graphics Controller"
+    Driver        "fbdev"
+EndSection
+
+Section "Monitor"
+    Identifier    "Generic Monitor"
+    Option        "DPMS"
+    # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
+    Modeline "1024x600_60.00"   49.00  1024 1072 1168 1312  600 603 613 624 -hsync +vsync
+    # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
+    ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
+    # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
+    ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
+    # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
+    ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
+    # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
+    ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
+EndSection
+
+Section "Screen"
+    Identifier    "Default Screen"
+    Device        "Graphics Controller"
+    Monitor        "Generic Monitor"
+    SubSection "Display"
+        Modes     "640x480"
+    EndSubSection
+EndSection
+
+Section "ServerLayout"
+    Identifier    "Default Layout"
+    Screen        "Default Screen"
+    InputDevice    "Generic Keyboard"
+    # InputDevice    "Configured Mouse"
+    InputDevice    "QEMU Tablet"
+    Option         "AllowEmptyInput" "no"
+EndSection
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf new file +69 -0

69 lines not on this page · raw message

meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf new file +69 -0

69 lines not on this page · raw message

meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf new file +69 -0

69 lines not on this page · raw message

meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf new file +69 -0

69 lines not on this page · raw message

meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb +1 -1
index 970b4bd..3c29f8b 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.x.org"
 SECTION = "x11/base"
 LICENSE = "MIT-X"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r10"
+PR = "r11"
 
 SRC_URI = "file://xorg.conf"
 
Signature · 1 line
1.7.5.4
author
#3 lore raw

PATCH 3/3 qemux86-64, qemux86: Override XSERVER variable

In reply to Khem Raj

Now qemu.inc sets a weak definition which is
not what we want for x86_64 and x86

---
 meta/conf/machine/qemux86-64.conf |    2 +-
 meta/conf/machine/qemux86.conf    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/conf/machine/qemux86-64.conf +1 -1
index 129fe9f..b381627 100644
@@ -15,7 +15,7 @@ KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
 
 # We bypass swrast but we need it to be present for X to load correctly
-XSERVER ?= "xserver-xorg \
+XSERVER = "xserver-xorg \
            mesa-dri-driver-swrast \
            xf86-input-vmmouse \
            xf86-input-keyboard \
meta/conf/machine/qemux86.conf +1 -1
index 246d5a0..5b25b2f 100644
@@ -15,7 +15,7 @@ KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
 
 # We bypass swrast but we need it to be present for X to load correctly
-XSERVER ?= "xserver-xorg \
+XSERVER = "xserver-xorg \
            mesa-dri-driver-swrast \
            xf86-input-vmmouse \
            xf86-input-keyboard \
Signature · 1 line
1.7.5.4
#4 lore raw

Re: [PATCH 3/3] qemux86-64, qemux86: Override XSERVER variable

Quoted 8 lines · Khem Raj

Now qemu.inc sets a weak definition which is
not what we want for x86_64 and x86

---
 meta/conf/machine/qemux86-64.conf |    2 +-
 meta/conf/machine/qemux86.conf    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

We probably want to keep the weak setting but do it by fixing the ordering so this happens before the include of qemu.inc...

Cheers,

Richard

Quoted 26 lines
meta/conf/machine/qemux86-64.conf +1 -1
index 129fe9f..b381627 100644
@@ -15,7 +15,7 @@ KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
 
 # We bypass swrast but we need it to be present for X to load correctly
-XSERVER ?= "xserver-xorg \
+XSERVER = "xserver-xorg \
            mesa-dri-driver-swrast \
            xf86-input-vmmouse \
            xf86-input-keyboard \
meta/conf/machine/qemux86.conf +1 -1
index 246d5a0..5b25b2f 100644
@@ -15,7 +15,7 @@ KERNEL_IMAGETYPE = "bzImage"
 SERIAL_CONSOLE = "115200 ttyS0"
 
 # We bypass swrast but we need it to be present for X to load correctly
-XSERVER ?= "xserver-xorg \
+XSERVER = "xserver-xorg \
            mesa-dri-driver-swrast \
            xf86-input-vmmouse \
            xf86-input-keyboard \
author
#5 lore raw

Re: [PATCH 3/3] qemux86-64, qemux86: Override XSERVER variable

Quoted 4 lines · Richard Purdie

We probably want to keep the weak setting but do it by fixing the ordering so this happens before the include of qemu.inc...

Thanks. I have revised the patch

Quoted 4 lines

Cheers,

Richard

#6 lore raw

Re: [PATCH 3/3] qemux86-64, qemux86: Override XSERVER variable

Quoted 8 lines · Khem Raj
Quoted 4 lines · Richard Purdie

We probably want to keep the weak setting but do it by fixing the ordering so this happens before the include of qemu.inc...

Thanks. I have revised the patch

??= may be of use here (though I haven't looked at the files in particular, it seems appropriate)

Signature · 1 line
Christopher Larson
author
#7 lore raw

Re: [PATCH 3/3] qemux86-64, qemux86: Override XSERVER variable

Quoted 2 lines · Chris Larson

??= may be of use here (though I haven't looked at the files in particular, it seems appropriate)

I tried that and it started to build kdrive for qemuarm

author
#8 lore raw

Re: [PATCH 3/3] qemux86-64, qemux86: Override XSERVER variable

Quoted 5 lines · Khem Raj
Quoted 2 lines · Chris Larson

??= may be of use here (though I haven't looked at the files in particular, it seems appropriate)

I tried that and it started to build kdrive for qemuarm

I have now made it to use ??= which simplified the patches I have updated the pull request

http://git.openembedded.org/openembedded-core-contrib kraj/qemu-xserver-xorg

Please consider.

#9 lore raw
In reply to Khem Raj
Quoted 8 lines · Khem Raj

Currently we use kdrive for all qemu machines except x86 and x86_64 this patchset enables it for other qemu machines too

I did not delete the kdrive recipes intentionally since I saw that there were some images which were using kdrive as xserver

I have successfully sato image in qemumips qemuarm and qemuppc

Khem,

Not sure what I am doing differently, but I am not getting the xserver to start on at least ppc and mips (two that I tried just now).

Are you build a Yocto sato image or oe-core sato image?

I get the following on a ppc:

Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: No such file or directory
xinit: server error

Sau!

Quoted 29 lines

The following changes since commit 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457:

   eglibc-package: remove /var (2012-05-01 12:36:18 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/qemu-xserver-xorg
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/qemu-xserver-xorg

Khem Raj (3):
qemumachines: Enable xserver-xorg as default xserver
xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machines qemux86-64,qemux86: Override XSERVER variable

  meta/conf/machine/include/qemu.inc                 |    9 ++-
  meta/conf/machine/qemux86-64.conf                  |    2 +-
  meta/conf/machine/qemux86.conf                     |    2 +-
  .../xserver-xf86-config/qemuarm/xorg.conf          |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemumips/xorg.conf         |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemumips64/xorg.conf       |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemuppc/xorg.conf          |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemush4/xorg.conf          |   69 ++++++++++++++++++++
  .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
  9 files changed, 356 insertions(+), 4 deletions(-)

create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf

author
#10 lore raw
Quoted 8 lines · Saul Wold
Quoted 1 line

Khem,

Not sure what I am doing differently, but I am not getting the xserver to start on at least ppc and mips (two that I tried just now).

Are you build a Yocto sato image or oe-core sato image?

Quoted 8 lines

I get the following on a ppc:

Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: No such file or directory
xinit: server error

hmmm I have booted core-image-sato but I have bare OE-Core Do you have

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/qemu-xserver-xorg&id=8a60dabb7902b7be42d06cb735e96248e2e67dba

is some layer on top changing it in some way ?

author
#11 lore raw
Quoted 18 lines · Khem Raj
Quoted 8 lines · Saul Wold
Quoted 1 line

Khem,

Not sure what I am doing differently, but I am not getting the xserver to start on at least ppc and mips (two that I tried just now).

Are you build a Yocto sato image or oe-core sato image?

Quoted 8 lines

I get the following on a ppc:

Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: No such file or directory
xinit: server error

Quoted 7 lines

hmmm I have booted core-image-sato but I have bare OE-Core Do you have

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/qemu-xserver-xorg&id=8a60dabb7902b7be42d06cb735e96248e2e67dba

is some layer on top changing it in some way ?

hmmm another think I have is this patch
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=955dee621361e01627ebfde152f25873070cf301

which deletes kdrive recipes. I did not propose it for inclusion yet but I wonder if there is any mix and match happening when these recipes are not deleted.
You can cherry-pick it and see if that helps.

#12 lore raw
Quoted 27 lines · Khem Raj
Quoted 18 lines · Khem Raj
Quoted 8 lines · Saul Wold
Quoted 1 line

Khem,

Not sure what I am doing differently, but I am not getting the xserver to start on at least ppc and mips (two that I tried just now).

Are you build a Yocto sato image or oe-core sato image?

Quoted 8 lines

I get the following on a ppc:

Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: No such file or directory
xinit: server error

Quoted 7 lines

hmmm I have booted core-image-sato but I have bare OE-Core Do you have

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/qemu-xserver-xorg&id=8a60dabb7902b7be42d06cb735e96248e2e67dba

is some layer on top changing it in some way ?

Quoted 8 lines

hmmm another think I have is this patch
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=955dee621361e01627ebfde152f25873070cf301

which deletes kdrive recipes. I did not propose it for inclusion yet but I wonder if there is any mix and match happening when these recipes are not deleted.
You can cherry-pick it and see if that helps.

So I found that task-core-x11.bb also sets XSERVER

XSERVER ?= "xserver-kdrive-fbdev"

And this was being picked up it seems when I did the build.

I commented that line out and it worked correctly.

That seems wrong, since I thought the ??= should not allow the ?= to override, or do I have it backwards?

Sau!

Quoted 1 line
author
#13 lore raw
Quoted 45 lines · Saul Wold
Quoted 33 lines · Khem Raj
Quoted 21 lines · Khem Raj
Quoted 10 lines · Saul Wold
Quoted 2 lines

Khem,

Not sure what I am doing differently, but I am not getting the xserver to
start on at least ppc and mips (two that I tried just now).

Are you build a Yocto sato image or oe-core sato image?

Quoted 8 lines

I get the following on a ppc:

Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: No such file or directory
xinit: server error

Quoted 8 lines

hmmm I have booted core-image-sato but I have bare OE-Core Do you have

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/qemu-xserver-xorg&id=8a60dabb7902b7be42d06cb735e96248e2e67dba

is some layer on top changing it in some way ?

Quoted 9 lines

hmmm another think I have is this patch

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc&id=955dee621361e01627ebfde152f25873070cf301

which deletes kdrive recipes. I did not propose it for inclusion yet but I wonder if there is any mix and match happening when these recipes are not deleted.
You can cherry-pick it and see if that helps.

So I found that task-core-x11.bb also sets XSERVER

Quoted 8 lines

XSERVER ?= "xserver-kdrive-fbdev"

And this was being picked up it seems when I did the build.

I commented that line out and it worked correctly.

That seems wrong, since I thought the ??= should not allow the ?= to override, or do I have it backwards?

I think that was the real problem why my ??= was not working thanks for finding it out. I have gone ahead and posted a v2 of this patch series which should now
work out better.

Quoted 8 lines

Sau!

Quoted 1 line
#14 lore raw
In reply to Khem Raj
Quoted 8 lines · Khem Raj

Currently we use kdrive for all qemu machines except x86 and x86_64 this patchset enables it for other qemu machines too

I did not delete the kdrive recipes intentionally since I saw that there were some images which were using kdrive as xserver

I have successfully sato image in qemumips qemuarm and qemuppc

Khem,

Not sure if you saw this error:

ERROR: Multiple .bb files are due to be built which each provide virtual/libgl (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb).
This usually means one provides something the other doesn't and should.

I think this might be related to your change, I need to confirm it still.

Builds are completeing but the error exists on all non-x86* qemu machines

Thanks

Sau!

Quoted 29 lines

The following changes since commit 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457:

   eglibc-package: remove /var (2012-05-01 12:36:18 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/qemu-xserver-xorg
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/qemu-xserver-xorg

Khem Raj (3):
qemumachines: Enable xserver-xorg as default xserver
xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machines qemux86-64,qemux86: Override XSERVER variable

  meta/conf/machine/include/qemu.inc                 |    9 ++-
  meta/conf/machine/qemux86-64.conf                  |    2 +-
  meta/conf/machine/qemux86.conf                     |    2 +-
  .../xserver-xf86-config/qemuarm/xorg.conf          |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemumips/xorg.conf         |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemumips64/xorg.conf       |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemuppc/xorg.conf          |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemush4/xorg.conf          |   69 ++++++++++++++++++++
  .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
  9 files changed, 356 insertions(+), 4 deletions(-)

create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf

author
#15 lore raw
Quoted 11 lines · Saul Wold

ERROR: Multiple .bb files are due to be built which each provide
virtual/libgl (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb). This usually means one provides something the other doesn't and should.

I think this might be related to your change, I need to confirm it still.

Builds are completeing but the error exists on all non-x86* qemu machines

interesting I do not see this error on bare oe-core. Do you have some layer which could be doing something to virtual/libgl provide

#16 lore raw
In reply to Khem Raj
Quoted 31 lines · Khem Raj

Currently we use kdrive for all qemu machines except x86 and x86_64 this patchset enables it for other qemu machines too

I did not delete the kdrive recipes intentionally since I saw that there were some images which were using kdrive as xserver

I have successfully sato image in qemumips qemuarm and qemuppc

The following changes since commit 35b5fb2dd2131d4c7dc6635c14c6e08ea6926457:

   eglibc-package: remove /var (2012-05-01 12:36:18 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/qemu-xserver-xorg
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/qemu-xserver-xorg

Khem Raj (3):
qemumachines: Enable xserver-xorg as default xserver
xserver-xf86-config: Add xorg.conf for arm,mips,ppc,sh qemu machines qemux86-64,qemux86: Override XSERVER variable

  meta/conf/machine/include/qemu.inc                 |    9 ++-
  meta/conf/machine/qemux86-64.conf                  |    2 +-
  meta/conf/machine/qemux86.conf                     |    2 +-
  .../xserver-xf86-config/qemuarm/xorg.conf          |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemumips/xorg.conf         |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemumips64/xorg.conf       |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemuppc/xorg.conf          |   69 ++++++++++++++++++++
  .../xserver-xf86-config/qemush4/xorg.conf          |   69 ++++++++++++++++++++
  .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
  9 files changed, 356 insertions(+), 4 deletions(-)
Quoted 6 lines

create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf

Khem,

Finally merged this into OE-Core, next step will be to look at updating the xserver! This is something I think that we will be looking into.

Thanks for this contribution

Sau!