* [PATCH 0/3] Add xf86-video-fbdev and xf86-video-cirrus to qemux86 and qemux86-64 (revised)
@ 2014-08-11 22:03 Max Eliaser
2014-08-11 22:03 ` [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver Max Eliaser
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Max Eliaser @ 2014-08-11 22:03 UTC (permalink / raw)
To: openembedded-core
Hello list,
This series adds additional x.org drivers to the qemux86 and qemux86-64
machines. Now, instead of just including the "vmware" driver, GUI images for
these machines will also include "cirrus" and "fbdev" drivers. Rationale: now
that the runqemu script allows users to select which VGA adapter they want
qemu to emulate, the qemu images should be able to start X servers with any
adapter without requiring a rebuild of the image.
Note that the drivers have only been added to the qemux86 and qemux86-64
machines. If someone is interested in trying them on the other qemu machines,
they shouldn't be hard to add.
xf86-video-cirrus did not previously have a recipe, so a new one is also added
as part of this series.
REVISED: corrected the DEPENDS issue pointed out by Richard Purdie in the
bitbake recipe for xf86-video-cirrus.
Regards,
-Max Eliaser
The following changes since commit 86afd7eb7c679eb065706137f28f44248f3fbc5a:
ghostscript: Remove bogus gsfonts reference from DESCRIPTION (2014-08-06 11:14:40 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib meliaser/qemu-x-drivers
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=meliaser/qemu-x-drivers
Max Eliaser (3):
xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic
X.Org driver
qemux86: support X11 when QEMU is emulating a different GPU than
vmware
qemux86-64: support X11 when QEMU is emulating a different GPU than
vmware
meta/conf/machine/qemux86-64.conf | 2 ++
meta/conf/machine/qemux86.conf | 2 ++
.../recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb | 13 +++++++++++++
.../xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf | 5 -----
.../xorg-xserver/xserver-xf86-config/qemux86/xorg.conf | 5 -----
5 files changed, 17 insertions(+), 10 deletions(-)
create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb
--
1.8.3.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver
2014-08-11 22:03 [PATCH 0/3] Add xf86-video-fbdev and xf86-video-cirrus to qemux86 and qemux86-64 (revised) Max Eliaser
@ 2014-08-11 22:03 ` Max Eliaser
2014-08-15 14:45 ` Burton, Ross
2014-08-11 22:03 ` [PATCH 2/3] qemux86: support X11 when QEMU is emulating a different GPU than vmware Max Eliaser
2014-08-11 22:03 ` [PATCH 3/3] qemux86-64: " Max Eliaser
2 siblings, 1 reply; 5+ messages in thread
From: Max Eliaser @ 2014-08-11 22:03 UTC (permalink / raw)
To: openembedded-core
This driver allows X.Org to use the Cirrus Logic family of VGA adapters. Since
QEMU can emulate a Cirrus VGA adapter, this driver will be of use for images
that are expected to run under QEMU, if QEMU's other VGA adapters are
unavailable.
Signed-off-by: Max Eliaser <max.eliaser@intel.com>
---
.../recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb b/meta/recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb
new file mode 100644
index 0000000..d420b5d
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-cirrus_1.5.2.bb
@@ -0,0 +1,13 @@
+require xorg-driver-video.inc
+
+SUMMARY = "X.Org X server -- cirrus display driver"
+DESCRIPTION = "cirrus is an Xorg driver for Cirrus Logic VGA adapters. These \
+devices are not so common in the wild anymore, but QEMU can emulate one, so \
+the driver is still useful."
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6ddc7ca860dc5fd014e7f160ea699295"
+
+SRC_URI[md5sum] = "91fd6b677d62027cd3001debb587a6a6"
+SRC_URI[sha256sum] = "3361e1a65d9b84c464752fd612bdf6087622c6dd204121715366a170e5c3ccd7"
+
+DEPENDS += "virtual/libx11"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] qemux86: support X11 when QEMU is emulating a different GPU than vmware
2014-08-11 22:03 [PATCH 0/3] Add xf86-video-fbdev and xf86-video-cirrus to qemux86 and qemux86-64 (revised) Max Eliaser
2014-08-11 22:03 ` [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver Max Eliaser
@ 2014-08-11 22:03 ` Max Eliaser
2014-08-11 22:03 ` [PATCH 3/3] qemux86-64: " Max Eliaser
2 siblings, 0 replies; 5+ messages in thread
From: Max Eliaser @ 2014-08-11 22:03 UTC (permalink / raw)
To: openembedded-core
QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware,
and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86 image,
the image can be made to launch an X server on when cirrus and std are chosen,
in addition to just vmware. (The build of QEMU in OE-Core appears to have QXL
disabled, meaning a driver for it is unnecessary.)
The runqemu script now allows the choice of emulated VGA adapter to be
specified manually, so it's important that qemux86 supports any configuration
the user might choose without requiring the image to be rebuilt.
In addition to adding the two extra drivers to the qemux86 image, a section
specifying the driver to use is deleted from the image's xorg.conf, allowing
the X server to automatically select the most appropriate driver. Testing
shows that it does always pick the correct one.
Signed-off-by: Max Eliaser <max.eliaser@intel.com>
---
meta/conf/machine/qemux86.conf | 2 ++
.../xorg-xserver/xserver-xf86-config/qemux86/xorg.conf | 5 -----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index ebc27db..3562276 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -19,6 +19,8 @@ XSERVER = "xserver-xorg \
xf86-input-vmmouse \
xf86-input-keyboard \
xf86-input-evdev \
+ xf86-video-cirrus \
+ xf86-video-fbdev \
xf86-video-vmware"
MACHINE_FEATURES += "x86"
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
index 10a6d9a..bbda9ea 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
@@ -30,11 +30,6 @@ Section "InputDevice"
Option "USB" "on"
EndSection
-Section "Device"
- Identifier "Graphics Controller"
- Driver "vmware"
-EndSection
-
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] qemux86-64: support X11 when QEMU is emulating a different GPU than vmware
2014-08-11 22:03 [PATCH 0/3] Add xf86-video-fbdev and xf86-video-cirrus to qemux86 and qemux86-64 (revised) Max Eliaser
2014-08-11 22:03 ` [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver Max Eliaser
2014-08-11 22:03 ` [PATCH 2/3] qemux86: support X11 when QEMU is emulating a different GPU than vmware Max Eliaser
@ 2014-08-11 22:03 ` Max Eliaser
2 siblings, 0 replies; 5+ messages in thread
From: Max Eliaser @ 2014-08-11 22:03 UTC (permalink / raw)
To: openembedded-core
QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware,
and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86-64 image,
the image can be made to launch an X server on when cirrus and std are chosen,
in addition to just vmware. (The build of QEMU in OE-Core appears to have QXL
disabled, meaning a driver for it is unnecessary.)
The runqemu script now allows the choice of emulated VGA adapter to be
specified manually, so it's important that qemux86-64 supports any
configuration the user might choose without requiring the image to be rebuilt.
In addition to adding the two extra drivers to the qemux86-64 image, a section
specifying the driver to use is deleted from the image's xorg.conf, allowing
the X server to automatically select the most appropriate driver. Testing
shows that it does always pick the correct one.
Signed-off-by: Max Eliaser <max.eliaser@intel.com>
---
meta/conf/machine/qemux86-64.conf | 2 ++
.../xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf | 5 -----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
index 642a2d9..837f9f4 100644
--- a/meta/conf/machine/qemux86-64.conf
+++ b/meta/conf/machine/qemux86-64.conf
@@ -20,6 +20,8 @@ XSERVER = "xserver-xorg \
xf86-input-vmmouse \
xf86-input-keyboard \
xf86-input-evdev \
+ xf86-video-cirrus \
+ xf86-video-fbdev \
xf86-video-vmware"
MACHINE_FEATURES += "x86"
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
index 10a6d9a..bbda9ea 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
@@ -30,11 +30,6 @@ Section "InputDevice"
Option "USB" "on"
EndSection
-Section "Device"
- Identifier "Graphics Controller"
- Driver "vmware"
-EndSection
-
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
--
1.8.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver
2014-08-11 22:03 ` [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver Max Eliaser
@ 2014-08-15 14:45 ` Burton, Ross
0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2014-08-15 14:45 UTC (permalink / raw)
To: Max Eliaser; +Cc: OE-core
On 11 August 2014 23:03, Max Eliaser <max.eliaser@intel.com> wrote:
> +DEPENDS += "virtual/libx11"
From looking at the configure.ac you don't need this, but you are
missing a dependency on libpciaccess.
Ross
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-15 14:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 22:03 [PATCH 0/3] Add xf86-video-fbdev and xf86-video-cirrus to qemux86 and qemux86-64 (revised) Max Eliaser
2014-08-11 22:03 ` [PATCH 1/3] xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver Max Eliaser
2014-08-15 14:45 ` Burton, Ross
2014-08-11 22:03 ` [PATCH 2/3] qemux86: support X11 when QEMU is emulating a different GPU than vmware Max Eliaser
2014-08-11 22:03 ` [PATCH 3/3] qemux86-64: " Max Eliaser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox