OpenSolaris

Printable Version Enter a New Search
Bug ID 6550829
Synopsis 24 bit depth in xvfb causes graph labels to be incorrect.
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:xsun-server
Keywords 24 | XVFB | depth | rendering
Responsible Engineer Srirama Sharma
Reported Against
Duplicate Of
Introduced In
Commit to Fix s10u5_05
Fixed In s10u5_05
Release Fixed solaris_10u5(s10u5_05) , solaris_nevada(snv_80) (Bug ID:2156487)
Related Bugs 6612329
Submit Date 26-April-2007
Last Update Date 29-December-2007
Description
Customer has a java application that must connect to an Xserver to render the image.  When they use xfb in 24 bit depth the labels of the charts are black squares and not text. If they run in 8 bit depth teh lables are correct.  The problem does not happen when it is run on Solaris 9 vfb.  The problem also does not happen when attached to an Xserver that is using a framebuffer on both Solaris 9 and Solaris 10.

Instructions to reproduce:
Attached is the zip file ChartTest.tar.gz. Please extract it on Solaris
machine.

It will extract to:
$ ls -R
.:
ChartTest.jar  lib

./lib:
jai_codec.jar         log4j-1.2.6.jar       velocity.jar
jai_core.jar          pmstats-complete.jar
jcchart.jar           qtv.jar

Steps to run the test app:
1. Extract the ChartTest.tar.gz

2. export DISPLAY=<IP Address of localhost>:1.0

3. Start Xsun in 8-bit depth as: /usr/openwin/bin/Xsun :1 +nkeyboard
+nmouse -dev vfb screen 0 1280x1024x8 &

4. Run java -jar ChartTest.jar

5. Output file "output.png" will be created. This image shows text
correctly in the image. Rename it as output8.png. It should look similar
to the attached image output8.png.

6. Kill the Xsun process.

7. Start Xsun in 24-bit depth as: /usr/openwin/bin/Xsun :1 +nkeyboard
+nmouse -dev vfb screen 0 1280x1024x24 &

8. Run java -jar ChartTest.jar

9. Output file "output.png" will be created. This image shows black
rectangles in place of text in the image. Rename it as output24.png. It
should look similar to the attached image output24.png.

The files are attached but are also available on:
/net/cores/cores/dir31/65302086
Work Around
N/A
Comments
N/A