<div dir="ltr">Offhand, looks like your bigger display is too big to use a single PutImage request even with BIG-REQUESTS enabled. Looks like xcb_image_put() doesn't break the request into pieces for you (maybe it should? pull requests welcome) so you'll have to put the image a piece at a time: break it into bands and use the y offset.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 18, 2019 at 2:29 PM paul ewing <<a href="mailto:pcewing@outlook.com">pcewing@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div 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><a href="https://lists.freedesktop.org/archives/xcb/2006-June/001687.html" target="_blank">https://lists.freedesktop.org/archives/xcb/2006-June/001687.html</a><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>
</div>

_______________________________________________<br>
Xcb mailing list<br>
<a href="mailto:Xcb@lists.freedesktop.org" target="_blank">Xcb@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/xcb" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/xcb</a></blockquote></div>