Re: X11 BadValue errors on Solaris 10..

Bj|rn Englund <[email protected]> Sun, 25 Sep 2005 19:25:42 +0200
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Sun Sep 25 2005, [email protected] wrote:

> !!X Error of failed request:  BadValue (integer parameter out of range for 
> operation)
>   Major opcode of failed request:  131 (MIT-SHM)
>   Minor opcode of failed request:  3 (X_ShmPutImage)
>   Value in failed request:  0xffffff68
>   Serial number of failed request:  46
>   Current serial number in output stream:  46
> 
> Most importantly ogle -DOES- work if I run it on Solaris and display it on 
> Linux (RHEL3, i686 here), it even works through an ssh X11 tunnel (albeit 
> very slowly). It looks like a problem with the new X11 in Solaris 10 (It 
> was updated to X11R6.6.2).

Could be. Anyway, running with a remote display disables xshm.


> 
> How would I 'debug' the X11 calls made in ogle? I know ogle --debug-nav 
> works but is there something for the main ogle Video stuff?

ogle --debug-vout

check the ogle script for more --debug-... options

Otherwise you could add a fprintf(stderr ...
just before the XShmPutImage that fails and print the function parameters,
0xffffff68 seems a bit odd.

> 
> * OTHER STUFF:)
> As for ogle_gui-0.9.2-cvs it fails early in './configure':
> 

> Shouldn't it be '-L/usr/local/lib/ogle -ldvdcontrol' instead of 
> '-ldvdcontrol -L/usr/local/lib/ogle' ?

Probably, I haven't looked at ogle_gui for some time, will do that when
I have made ogle ready for release.
This should probably  be fixed in configure.in

/Bj|rn