[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wrong colors with Xvfb on potato



Well, I want to run mozilla M18 on xvfb 3.3.6, to take screenshots of websites
automatically on our server.

Here is what I do (in pseudo code):

for bpp in 8 16 24; do
	Xvfb :1 -screen 0 800x600x$bpp [as root]
	export DISPLAY=":1.0"
	xdpyinfo >tmp/xdpyinfo-$bpp.txt
	civclient-gtk
	[I wait a bit]
	import -window root tmp/freeciv-$bpp.jpeg
	mozilla -chrome http://slashdot.org/
	[I wait a bit more]
	import -window root tmp/mozilla-$bpp.jpeg
done

xdpyinfo-*.txt, freeciv-*.jpeg and mozilla-*.jpeg are available in
http://www.if.insa-lyon.fr/eleves/jzago/tmp/xvfb/

As you can see, freeciv is fine in 8bbp and 24bbp, mozilla is also fine in
8bbp, but not in 24bbp. Note also that none are fine in 16bbp. I would like
mozilla to look fine in 24bbp.

Thank you for your time.

	Agt the Walker.

$ dpkg -l | grep "^ii  x"
ii  xbase-clients  3.3.6-11       miscellaneous X clients
ii  xboing         2.4-19         Blockout game for X
ii  xcontrib       3.3.3.1-0.1    XFree contributed clients.
ii  xfonts-100dpi  3.3.6-2        100 dpi fonts for X
ii  xfonts-75dpi   3.3.6-2        75 dpi fonts for X
ii  xfonts-base    3.3.6-2        standard fonts for X
ii  xfonts-pex     3.3.6-2        fonts for minimal PEX support in X
ii  xfonts-scalabl 3.3.6-2        scalable fonts for X
ii  xfree86-common 3.3.6-11       X Window System (XFree86) infrastructure
ii  xlib6g         3.3.6-11       shared libraries required by X clients
ii  xlib6g-dev     3.3.6-11       include files and libraries for X client dev
ii  xpm4g          3.4k-5         the X PixMap library
ii  xserver-common 3.3.6-11       files and utilities common to all X servers
ii  xvfb           3.3.6-11       virtual framebuffer X server

$ dpkg -l | grep mozilla
ii  mozilla        M18-3          An Open Source WWW browser for X and GTK+

$ dpkg -l | grep gtk
ii  freeciv-gtk    1.9.0-2.1      A free Civilization clone for Unix and X.
pi  libgtk1.2      1.2.8-helix2   The GIMP Toolkit set of widgets for X

$ uname -a
Linux ac30 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown



Reply to: