Re: X11 BadValue errors on Solaris 10..

[email protected] Sun, 2 Oct 2005 14:45:14 +0200 (CEST)
Newsgroups gmane.comp.video.ogle.devel
Message-ID <Pine.LNX.4.63.0510021420450.10415@thorbardin.lasthome.solace.krynn>
On Sat, 1 Oct 2005, Bj|rn Englund wrote:

> Here is a small testprogram for the xshm problem.
> http://www.dtek.chalmers.se/~dvd/dist/xwindow_boundary_test.tgz
>
> There are some instructions in the README file.
> Could you test this and report how it works?

I tried it and here are the results.

Here are the test platforms:

Platform 1: Linux RHEL3 IA-32 PIV 1.8GHz, NVidia Quadro 480FX, XFree86-4.3.0-81.EL
Platform 2: Solaris 9, SunBlade 150, XVR-600 graphics, XSun
Plarform 3: Solaris 10, SunBlade 2000, XVR-1000 graphics, XSun

All of the XImage and XFillRectangle work on all platforms.

First of all, the 'XShmPutImage' rectangles are 'Red' on Linux and 
'Blue'on both sparc platforms.

* Overlap all test (Press 's', '7'):
- test app dies on Platform 1, 2 and 3 with:
X Error of failed request:  BadValue (integer parameter out of range for operation)
   Major opcode of failed request:  149 (MIT-SHM)
   Minor opcode of failed request:  3 (X_ShmPutImage)
   Value in failed request:  0x12c
   Serial number of failed request:  19
   Current serial number in output stream:  19

* Draw rectangle in the middle (Press 's', '0'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): *WORKS*
- Platform 3 (s10): *WORKS*

* Overlap edge on left side (Press 's', '1'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): Dies
- Platform 3 (s10): Dies

* Overlap top (Press 's', '2'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): Dies
- Platform 3 (s10): Dies

* Overlap right side (Press 's', '3'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): *WORKS*
- Platform 3 (s10): *WORKS*

* Overlap bottom (Press 's', '4'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): *WORKS*
- Platform 3 (s10): *WORKS*

* Overlap left to right (Press 's', '5'):
- Platform 1 (RHEL): Dies
- Platform 2 (s9): Dies
- Platform 3 (s10): Dies

* Overlap to to bottom (Press 's', '6'):
- Platform 1 (RHEL): Dies
- Platform 2 (s9): Dies
- Platform 3 (s10): Dies

* Overlap edge on left side (Press 's', '8'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): Dies
- Platform 3 (s10): Dies

* Overlap edge on top-left corner (Press 's', '9'):
- Platform 1 (RHEL): *WORKS*
- Platform 2 (s9): Dies
- Platform 3 (s10): Dies


So it seems that XSun is a bit more restrictive than XFree's X server...

I'm trying to recompile ogle on the sb150 to see if it suffers from the 
same problem than under s10..

Thanks for reading,

-- 
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ [email protected]

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost