[OE-core] [PATCH] Xorg configuration change default resolution

Alex DAMIAN alexandru.damian at intel.com
Wed Mar 13 16:30:08 UTC 2013


From: Alexandru DAMIAN <alexandru.damian at intel.com>

This is a workaround for the starts-to-magenta problem
when starting Xorg-based images in QEMUX86 and X86_64.

The root cause is that the Qemu vmware vga driver
doesn't pick up a pixel depth change without a resolution
change.

So a resolution change from the console 640x480 is forced,
moving the Xorg screen to 800x600. Xrandr works correctly
afterwards, so a manual revert to 640x480 is possible.

Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 .../xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf            |    2 +-
 .../xorg-xserver/xserver-xf86-config/qemux86/xorg.conf               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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..67600d9 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
@@ -55,7 +55,7 @@ Section "Screen"
     Device        "Graphics Controller"
     Monitor        "Generic Monitor"
     SubSection "Display"
-        Modes     "640x480"
+        Modes     "800x600" "640x480"
     EndSubSection
 EndSection
 
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..67600d9 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
@@ -55,7 +55,7 @@ Section "Screen"
     Device        "Graphics Controller"
     Monitor        "Generic Monitor"
     SubSection "Display"
-        Modes     "640x480"
+        Modes     "800x600" "640x480"
     EndSubSection
 EndSection
 
-- 
1.7.10.4





More information about the Openembedded-core mailing list