* vga color
@ 2007-10-08 8:06 Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F46-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Zhao, Yunfeng @ 2007-10-08 8:06 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
Against latest commits I found that the colors on the windows guest
become weird.
For example, blue color has changed to red.
Is there any change on vga of qemu?
Thanks
Yunfeng
[-- Attachment #2: vga.JPG --]
[-- Type: image/jpeg, Size: 59611 bytes --]
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #4: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <10EA09EFD8728347A513008B6B0DA77A02125F46-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: vga color [not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F46-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-08 8:14 ` Avi Kivity [not found] ` <4709E6FA.4030100-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Avi Kivity @ 2007-10-08 8:14 UTC (permalink / raw) To: Zhao, Yunfeng; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Zhao, Yunfeng wrote: > Against latest commits I found that the colors on the windows guest > become weird. > For example, blue color has changed to red. > Is there any change on vga of qemu? > > Yes, I merged qemu-cvs and got some surprises. This doesn't appear on all machines. Can you post the output of 'xdpyinfo' on the affected machine? -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <4709E6FA.4030100-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: vga color [not found] ` <4709E6FA.4030100-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-10-08 8:40 ` Zhao, Yunfeng [not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F47-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Zhao, Yunfeng @ 2007-10-08 8:40 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 828 bytes --] All our machines for KVM testing have the problem. I attached the output of "xdpyinfo" on one of them. Thanks Yunfeng >-----Original Message----- >From: Avi Kivity [mailto:avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org] >Sent: 2007年10月8日 16:15 >To: Zhao, Yunfeng >Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >Subject: Re: [kvm-devel] vga color > >Zhao, Yunfeng wrote: >> Against latest commits I found that the colors on the windows guest >> become weird. >> For example, blue color has changed to red. >> Is there any change on vga of qemu? >> >> > >Yes, I merged qemu-cvs and got some surprises. > >This doesn't appear on all machines. Can you post the output of >'xdpyinfo' on the affected machine? > >-- >Any sufficiently difficult bug is indistinguishable from a feature. [-- Attachment #2: Untitled.txt --] [-- Type: text/plain, Size: 2389 bytes --] From: root [root@vt-px5.tsp.org] Sent: 2007Äê10ÔÂ8ÈÕÐÇÆÚÒ» 16:27 name of display: localhost:1.0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 70101000 X.Org version: 7.1.1 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 2 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x3000021, revert to Parent number of extensions: 21 BIG-REQUESTS DAMAGE DEC-XTRAP DOUBLE-BUFFER Extended-Visual-Information MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD RECORD SECURITY SHAPE SYNC TOG-CUP VNC-EXTENSION X-Resource XC-APPGROUP XC-MISC XFIXES XFree86-Bigfont XTEST XVideo default screen number: 0 number of screens: 1 screen #0: dimensions: 1024x768 pixels (260x195 millimeters) resolution: 100x100 dots per inch depths (2): 1, 16 root window id: 0x25 depth of root window: 16 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 64 preallocated pixels: black 0, white 65535 options: backing-store YES, save-unders YES largest cursor: 1024x768 current input event mask: 0xfa2033 KeyPressMask KeyReleaseMask EnterWindowMask LeaveWindowMask ButtonMotionMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask PropertyChangeMask ColormapChangeMask number of visuals: 2 default visual id: 0x21 visual: visual id: 0x21 class: TrueColor depth: 16 planes available colormap entries: 64 per subfield red, green, blue masks: 0xf800, 0x7e0, 0x1f significant bits in color specification: 8 bits visual: visual id: 0x22 class: DirectColor depth: 16 planes available colormap entries: 64 per subfield red, green, blue masks: 0x3f, 0x7c0, 0xf800 significant bits in color specification: 8 bits [-- Attachment #3: Type: text/plain, Size: 314 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #4: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A02125F47-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: vga color [not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F47-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-08 9:52 ` Avi Kivity [not found] ` <4709FDEB.3000302-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Avi Kivity @ 2007-10-08 9:52 UTC (permalink / raw) To: Zhao, Yunfeng; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 242 bytes --] Zhao, Yunfeng wrote: > All our machines for KVM testing have the problem. > I attached the output of "xdpyinfo" on one of them. > > Please try the attached patch. -- Any sufficiently difficult bug is indistinguishable from a feature. [-- Attachment #2: bgr.patch --] [-- Type: text/x-patch, Size: 465 bytes --] diff --git a/qemu/sdl.c b/qemu/sdl.c index 02500c9..3f3b719 100644 --- a/qemu/sdl.c +++ b/qemu/sdl.c @@ -87,7 +87,7 @@ static void sdl_resize(DisplayState *ds, int w, int h) ds->data = screen->pixels; ds->linesize = screen->pitch; ds->depth = screen->format->BitsPerPixel; - if (screen->format->Bshift > screen->format->Rshift) { + if (ds->depth == 32 && screen->format->Rshift == 0) { ds->bgr = 1; } else { ds->bgr = 0; [-- Attachment #3: Type: text/plain, Size: 314 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #4: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply related [flat|nested] 6+ messages in thread
[parent not found: <4709FDEB.3000302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: vga color [not found] ` <4709FDEB.3000302-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-10-08 12:04 ` Zhao, Yunfeng [not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F4B-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Zhao, Yunfeng @ 2007-10-08 12:04 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 598 bytes --] It works.:) The issue disappeared after applied the patch. Thanks Yunfeng >-----Original Message----- >From: Avi Kivity [mailto:avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org] >Sent: 2007年10月8日 17:53 >To: Zhao, Yunfeng >Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >Subject: Re: [kvm-devel] vga color > >Zhao, Yunfeng wrote: >> All our machines for KVM testing have the problem. >> I attached the output of "xdpyinfo" on one of them. >> >> > >Please try the attached patch. > > >-- >Any sufficiently difficult bug is indistinguishable from a feature. [-- Attachment #2: Type: text/plain, Size: 314 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <10EA09EFD8728347A513008B6B0DA77A02125F4B-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: vga color [not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F4B-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-10-08 12:29 ` Avi Kivity 0 siblings, 0 replies; 6+ messages in thread From: Avi Kivity @ 2007-10-08 12:29 UTC (permalink / raw) To: Zhao, Yunfeng; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 198 bytes --] Zhao, Yunfeng wrote: > It works.:) > The issue disappeared after applied the patch. > Thanks, I applied and pushed it. -- Any sufficiently difficult bug is indistinguishable from a feature. [-- Attachment #2: Type: text/plain, Size: 314 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-10-08 12:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 8:06 vga color Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F46-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-08 8:14 ` Avi Kivity
[not found] ` <4709E6FA.4030100-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-08 8:40 ` Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F47-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-08 9:52 ` Avi Kivity
[not found] ` <4709FDEB.3000302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-08 12:04 ` Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F4B-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-08 12:29 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox