Re: X11 BadValue errors on Solaris 10..
[email protected] Wed, 28 Sep 2005 22:56:18 +0200 (CEST)
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <Pine.LNX.4.63.0509282246440.8685@thorbardin.lasthome.solace.krynn> |
After enabling (i.e: uncommenting) these lines in video_output_x11.c:
--- /usr/local/src/ogle-0.9.2-cvs/mpeg2_video/video_output_x11.c 2005-09-28 22:39:55.630585000 +0200
+++ /usr/local/src/ogle-0.9.2-cvs/mpeg2_video/video_output_x11.c.orig 2005-09-28 22:12:36.628053000 +0200
@@ -2210,7 +2210,7 @@
set_videoarea(&window, scale.image_width, scale.image_height);
-
+ /*
fprintf(stderr, "dwin->win: %d, mygc: %d, dwin->ximage: %d, 0, 0,\n",
dwin->win, mygc, dwin->ximage);
@@ -2223,7 +2223,7 @@
window.video_area.width,
window.video_area.height,
window.video_area.height);
-
+ */
/*
DNOTE("window.video_area. x:%d, y: %d, w:%d, h:%d\n",
window.video_area.x,
I now get this:
raistlin@ergoth:[/export/home/raistlin ]ogle --debug -u cli
Build: SunOS 5.10 Generic_118822-11 sun4u sparc Wed Sep 28 22:25:19 CEST
2005 mlib solaris Runtime: SunOS 5.10 Generic_118822-11 sun4u sparc
[....]
Debug[ogle_vout]: set_sync_point()
Note[ogle_vout]: using default config for ':0.0'
Note[ogle_vout]: Using 'X11' as source for geometry
Note[ogle_vout]: Using 'X11' as source for resolution
Note[ogle_vout]: Display w: 541, h: 338, hp: 1920, vp: 1200
Note[ogle_vout]: Display sar: 648960/649200 = 0.999630
Note[ogle_vout]: Found 8 matching visuals, using visual id: 26
Using mediaLib for colorspace convertion
Debug[ogle_vout]: resize: 1023, 576
dwin->win: 12582914, mygc: 713136, dwin->ximage: 713256, 0, 0,
x: 2147483496 7fffff68, y: 0 0, w: 1023 3ff, h: 576 240
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
Debug[ogle_ctrl]: child: 24929 exited with 1 (/usr/local/lib/ogle/ogle_vout)
[....]
notice the line that says "x: 2147483496 7fffff68, y: 0 0".
Obviously, something here is wrong with the values of 'x' and it
happens without XSHM too since I get this when I use OGLE_USE_XSHM=0:
Note[ogle_vout]: Found 8 matching visuals, using visual id: 26
Using mediaLib for colorspace convertion
Debug[ogle_vout]: resize: 1023, 576
dwin->win: 13107202, mygc: 713136, dwin->ximage: 713256, 0, 0,
x: 2147483496 7fffff68, y: 0 0, w: 1023 3ff, h: 576 240
Debug[ogle_nav]: play_PGC: state.pgcN (1)
Debug[ogle_nav]: play_PG: state.pgN (1)
Debug[ogle_nav]: play_Cell: state.cellN (1)
Debug[ogle_vout]: resize: 1023, 576
Debug[ogle_nav]: sending audio demuxstream 0
But, then it doesn't crash when XSHM is disabled...
Any ideas?
--
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
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