From owner-freebsd-questions Fri Jan 30 09:35:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11214 for questions-outgoing; Fri, 30 Jan 1998 09:35:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from www.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA11145 for ; Fri, 30 Jan 1998 09:35:35 -0800 (PST) (envelope-from malte@webmore.com) Received: from niente (unverified [194.95.214.166]) by www.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Fri, 30 Jan 1998 18:32:38 +0100 Message-Id: <3.0.32.19980130182604.02f76bbc@cyclone.degnet.baynet.de> X-Sender: moos@cyclone.degnet.baynet.de X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 30 Jan 1998 18:26:04 -0100 To: jacques@wired.ctech.ac.za From: Malte Lance Subject: Re: How to fix a DISPLAY error Cc: rivers@dignus.com, questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" At 10:58 30.01.98 -0500, you wrote: >> >> Hi there guys ... >> >> I'm trying to export an app from a Solaris box >> to my FBSD box, but I get this error. >> >> X Error of failed request: BadValue (integer parameter out of range for >> operation) >> Major opcode of failed request: 53 (X_CreatePixmap) >> Value in failed request: 0x8 >> Serial number of failed request: 130 >> Current serial number in output stream: 133 >> >> Where can one fix this. It looks like some illegal code >> request to my VGA card. ??? Or does the app on the Solaris >> box need some tweekinhg? Yes, the app seems to need some mods. It is likely that this error results from a XCreatePixmap-call, which is a Xlib-function. It takes 5 parameters: Display, Drawable, int width, int height, int depth. Since the value of the failed request is 0x8 is would suspect that it is related to the depth-value in the XCreatePixmap-call. Then first of all i would check if you are running a monochrome-X-server on your FBSD-machine. If yes, this is most likely your problem. The easiest way to solve this problem is to use a X-Server that supports a depth of >1. It may be not trivial to patch your app. Best case would be to just change the depth in the XCreatePixmap-call. But as you already imagine, there could be many other Xlib-calls relying on a depth of 8. Good Luck. Malte Lance malte@webmore.com > This is a problem with the application on your Solaris box. It >has requested an illegal pixmap be created. (Probably a negative >parameter or something like that.) > > If it works well on your sun, you can try setting your X11 resolution >to something close to the Sun's (1152x900) and see if that keeps >the application from sending this bad X11 request. > > - Dave Rivers - >