From: Alan W. I. <ir...@be...> - 2001-11-06 17:11:40
|
I cannot confirm this error on my Debian woody i686 system with KDE-2.2.1 and XFree86-4.1.0. My system has a Matrox video card, and by default I use 24-bit colour. plrender works fine with no protocol errors whether or not you specify the -nopixmap option. I am using the latest cvs version of plplot, but I am fairly sure there should also be no problem in 5.0.4 because I don't remember any such bug fixes since 5.0.4. What version of plplot are you using? If you are using 5.0.4 (or later cvs) I suspect there should be no problem on the plplot side. In this case, you might simply have a 24-bit colour problem with your particular X server. If you are using XFree86, they have a pretty good track record of fixing bugs, and I would recommend getting the latest version. OTOH, if you are using some proprietary X server, you you may have to stick with 16-bit or something smaller. (I haven't tried it, but I would be quite surprised if KDE demanded you use 24-bit colour.) Another possibility is to try 32-bit colour (which I understand is really 24-bits + 8 unused bits, but 4 bytes is inherently less complicated for an X driver to use than a 3-byte format.) Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Tue, 6 Nov 2001, Simon Pinches TOK wrote: > Dear all, > > Since I've starting using KDE as my window manager on my SUN Ultra > Sparc running Solaris 8 it has been necessary to run my X server such > that it defaults to using 24 bit TrueColour. The downside of this is > that plrender now produces a whole slew of X protocol errors: > > plrender -dev xwin -nopixmap hagis.pl > > X protocol error: error=8 request=1 minor=0 > X protocol error: error=3 request=18 minor=0 > X protocol error: error=3 request=18 minor=0 > X protocol error: error=3 request=18 minor=0 > X protocol error: error=3 request=2 minor=0 > X protocol error: error=9 request=55 minor=0 > X protocol error: error=9 request=55 minor=0 > X protocol error: error=9 request=14 minor=0 > X protocol error: error=3 request=2 minor=0 > X protocol error: error=3 request=2 minor=0 > X protocol error: error=3 request=12 minor=0 > X protocol error: error=3 request=8 minor=0 > > Does anyone know how to cure these? > > Note also that if I don't include the -nopixmap option then I also get > the error message: > > Error in XCreatePixmap: BadDrawable (invalid Pixmap or Window parameter). > > Many thanks in advance for any help anyone can offer me, > -- > Simon Pinches > > ----------------------------------------------------------------------- > Dr. S. D. Pinches Max-Planck-Institut fuer Plasmaphysik > Tel: +49 89 3299-1329 Boltzmannstrasse 2 > Fax: +49 89 3299-2580 D-85748 Garching-bei-Muenchen > Email: Sim...@ip... Germany > ----------------------------------------------------------------------- > > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > |