From: Sebastian K. <se...@he...> - 2003-04-15 06:50:44
|
Hi folks, i'm new to plplot but it seems like a great product. On most of the machines i work with it works great, but two have problems with the xwin driver. When i call plinit() it creates a window, immediately destroys it, then hangs. One machine is running Debian Woody (XF86 4.1.0, glibc 2.2.5) and the other's running a Sarge/Sid hybrid (XF 4.2.1, glibc 2.3.1). The Gnome driver works fine on both. I'm using the plplot .debs from sourceforge: 5.2.0.cvs.20030403-1. Here's the output from "./x07c -verbose -debug -dev xwin": plLoadDriver: Device not loaded! plLoadDriver: tag=xw, drvidx=15 plGetDrvDir: Trying to read env var PLPLOT_DRV_DIR plGetDrvDir: Will use drivers dir: /usr/lib/plplot5.2.0.cvs.20030403/data/../driversd plLoadDriver: Trying to load xwin on /usr/lib/plplot5.2.0.cvs.20030403/data/../driversd/xwin XVisual class == TrueColor xwd->rw_cmap = 0 Downgrading to r/o cmap. Attempting to allocate r/o colors in cmap0. i=1, r=1, pixel=16711680 i=2, r=1, pixel=16776960 i=3, r=1, pixel=65280 i=4, r=1, pixel=8388564 i=5, r=1, pixel=16761035 i=6, r=1, pixel=16113331 i=7, r=1, pixel=12500670 i=8, r=1, pixel=10824234 i=9, r=1, pixel=255 i=10, r=1, pixel=9055202 i=11, r=1, pixel=65535 i=12, r=1, pixel=4251856 i=13, r=1, pixel=16711935 i=14, r=1, pixel=16416882 i=15, r=1, pixel=16777215 Allocated 16 colors in cmap0. CreatePixmap: creating pixmap: width = 1200, height = 900, depth = 24 fnt: 1 <hangs here> When i run the same app on this same machine, but displaying over the net to another box, it works. Here's that output: plLoadDriver: Device not loaded! plLoadDriver: tag=xw, drvidx=15 plGetDrvDir: Trying to read env var PLPLOT_DRV_DIR plGetDrvDir: Will use drivers dir: /usr/lib/plplot5.2.0.cvs.20030403/data/../driversd plLoadDriver: Trying to load xwin on /usr/lib/plplot5.2.0.cvs.20030403/data/../driversd/xwin XVisual class == TrueColor xwd->rw_cmap = 0 Downgrading to r/o cmap. Attempting to allocate r/o colors in cmap0. i=1, r=1, pixel=16711680 i=2, r=1, pixel=16776960 i=3, r=1, pixel=65280 i=4, r=1, pixel=8388564 i=5, r=1, pixel=16761035 i=6, r=1, pixel=16113331 i=7, r=1, pixel=12500670 i=8, r=1, pixel=10824234 i=9, r=1, pixel=255 i=10, r=1, pixel=9055202 i=11, r=1, pixel=65535 i=12, r=1, pixel=4251856 i=13, r=1, pixel=16711935 i=14, r=1, pixel=16416882 i=15, r=1, pixel=16777215 Allocated 16 colors in cmap0. CreatePixmap: creating pixmap: width = 768, height = 576, depth = 24 fnt: 1 <^C, normal termination> Hm, those are identical except for the image size, so it's probably not very useful. What more information can i provide for you? An ltrace or strace perhaps? -- Sebastian |