Ticket #7712 (closed defect: worksforme)

Opened 8 years ago

Last modified 7 years ago

framebuffer color error

Reported by: ganquan Owned by:
Priority: critical Component: other
Version: VirtualBox 3.2.10 Keywords: framebuffer
Cc: Guest type: Linux
Host type: Windows


HOST OS: win xp

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.

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.

Change History

comment:1 Changed 8 years ago by frank

The information is not sufficient. Which graphics mode is selected by the guest and where is the VBox.log file for such a session?

comment:2 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

No response, closing.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use