<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Thank you Brian for the clarification, I have looked at your past project and will go this way</div> <br> <div id="bloop_sign_1474878470420775936" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Philippe</div></div> <br><p class="airmail_on">On 23 September 2016 at 18:07:39, Brian Paul (<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>On 09/23/2016 08:08 AM, Phaedra Narayna wrote:
<br>> Hi,
<br>>
<br>> I have a OSMesa bug when trying to create a virtual window that is more
<br>> than 16384 pixel in height , see below :
<br>>
<br>> *Command:*
<br>> #headless_shell --screenshot --window-size="1920x16385"
<br>> --hide-scrollbars --no-sandbox <a href="http://linuxfr.org">http://linuxfr.org</a>
<br>> *Error Msg:*
<br>> [0920/154515:ERROR:gl_context_osmesa.cc(72)] OSMesaMakeCurrent failed.
<br>> [0920/154515:ERROR:gles2_cmd_decoder.cc(4992)] GLES2DecoderImpl: Context
<br>> lost because context no longer current after resize callback.
<br>> [0920/154515:ERROR:gles2_cmd_decoder.cc(5108)] Error: 5 for Command
<br>> kResizeCHROMIUM
<br>> [0920/154515:ERROR:gl_context_osmesa.cc(72)] OSMesaMakeCurrent failed.
<br>>
<br>> I am using OSMesa on Archlinux :
<br>> <a href="https://www.archlinux.org/packages/extra/i686/mesa/">https://www.archlinux.org/packages/extra/i686/mesa/</a> , mesa 12.0.3-1 as
<br>> this time of writing.
<br>>
<br>> I have checked with the HeadLess Chromium project as per this thread:
<br>> <a href="https://groups.google.com/a/chromium.org/forum/#!topic/headless-dev/t0ixeHXCzK0">https://groups.google.com/a/chromium.org/forum/#!topic/headless-dev/t0ixeHXCzK0</a>
<br>>
<br>> I have checked with the Skia project as per this thread :
<br>> <a href="https://bugs.chromium.org/p/skia/issues/detail?id=580&can=2&start=0&num=100&q=label%3AHotlist-Fixit&colspec=ID%20Type%20Status%20Priority%20M%20Area%20Owner%20Summary&groupby=&sort=">https://bugs.chromium.org/p/skia/issues/detail?id=580&can=2&start=0&num=100&q=label%3AHotlist-Fixit&colspec=ID%20Type%20Status%20Priority%20M%20Area%20Owner%20Summary&groupby=&sort=</a>
<br>>
<br>>
<br>> Any idea on how to solve this problem?
<br>
<br>There's always a limit on max surface/rendering size because of
<br>rasterization and interpolation limitations.
<br>
<br>I don't know which driver you're using, but if you query the
<br>GL_MAX_FRAMEBUFFER_WIDTH and GL_MAX_FRAMEBUFFER_HEIGHT you can find the
<br>limits.
<br>
<br>If you need to render a larger image, you'll probably have to break up
<br>the image into tiles which are rendered individually. Here's an old
<br>project of mine that might help: <a href="http://www.mesa3d.org/brianp/TR.html">http://www.mesa3d.org/brianp/TR.html</a>
<br>
<br>-Brian
<br>
<br></div></div></span></blockquote></body></html>