﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
7712	framebuffer color error	ganquan		"HOST OS: win xp[[BR]]

GUEST OS:Debian testing

I write a program which has two threads. Thread A writes data to /dev/fb0, to paint the whole screen as red{255, 0, 0}, green{0, 255, 0}, blue{0, 0, 255}, white{255, 255, 255}, gray{110, 110, 110} every 1 second. After A paints screen complete, Thread B read from /dev/fb0 and save the whole screen data and use libgd to save the screenshot as a jpeg image every 1 second. The two threads work synchronized well.
Howerver,Thread A paints the screen well, all color is correct, Thread B gets some colors error. blue becomes black, white becomes yellow, gray becomes dark yellow. Red and green is correctly.[[BR]]

I recompile my program and run it on VMware workstation(HOST OS winxp and GUEST OS debian testing, everything is same as Virtulbox's HOST OS and GUEST OS), both thread A and thread B work correctly. No color error.

p.s. I set the GUEST OS ""vga = 0x0318"" at the end of line which locate kernel image. So /dev/fb0 should be 1024x768 24bits color mode."	defect	closed	other	VirtualBox 3.2.10	worksforme	framebuffer		Linux	Windows
