From: Simon P. T. <sim...@ip...> - 2001-11-07 08:36:28
|
Thanks for your helpful reply. "Alan W. Irwin" <ir...@be...> writes: > 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? I'm using version 5.0.4 and have no problems on my SuSE i686 system with KDE 2.2.1. However on my Sun, unless I set the default colour depth to 24 bits KDE is only rendered in 8 bits. > 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.) It doesn't demand it, but it looks a lot better with it :-) > 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.) 32-bit colour isn't supported by my Xsun X server. I should point out that if I leave the default colour depth as 8 bits then plrender works fine. It is only if I change it to 24 bits (and thereby persuade KDE to render everything in 24 bit colour) that plrender has problems. Interestingly, all other applications seem to work just fine. I guess I have to choose between having a nice 24-bit colour window manager and having to view postscript output produced with plrender, or having an 8 bit window manager and being able to render plplot meta files directly to the screen (which is a lot faster.) -- 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 ----------------------------------------------------------------------- > 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 |