<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Hello,<br>
</span>
<div><br>
</div>
<div>I am running into an issue with xcb_image_put failing. The cookie being<br>
</div>
<div>returned has a sequence number of 0. After reading the following thread from<br>
</div>
<div>this mailing list I believe it's due to my maximum request size being too low:<br>
</div>
<div><br>
</div>
<div>https://lists.freedesktop.org/archives/xcb/2006-June/001687.html<br>
</div>
<div><br>
</div>
<div>The reason I suspect this is that the code in question is being used to set the<br>
</div>
<div>root pixmap (I.E. Set the wallpaper) and works on one machine where the display<br>
</div>
<div>(And thus the image) is 1920x1080, but fails on another machine with a<br>
</div>
<div>3440x1440 display.<br>
</div>
<div><br>
</div>
<div>As the documentation mentions, the request size is actually the number of 4<br>
</div>
<div>byte blocks. The image data size should be the pixel count multiplied by the<br>
</div>
<div>bytes per pixel (4 in my case), so it would make sense that the first case<br>
</div>
<div>would succeed and the second would fail:<br>
</div>
<div>- (1920*1080*4)/4 => 2073600 < <span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">
4194303</span>  OKAY<br>
</div>
<div>- (3440*1440*4)/4 => 4953600 > 4194303  ERROR<br>
</div>
<div><br>
</div>
<div>I verified via xdpyinfo that the BIG-REQUESTS extension is present and also<br>
</div>
<div>tried manually running xcb_big_requests_enable and<br>
</div>
<div>xcb_big_requests_enable_reply, which returned without an error.<br>
</div>
<div><br>
</div>
<div>Even still, the result of xcb_get_maximum_request_length is 4194303.<br>
</div>
<div><br>
</div>
<div>Is there something I need to do to manually increase the maximum request<br>
</div>
<div>length?<br>
</div>
<div><br>
</div>
<div>Thanks,<br>
</div>
<div>Paul Ewing</div>
</div>
</body>
</html>