<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">After investigation, I realized that even if OpenGL context is created for pixmap rendering, printing from loch on my Linux machine actually does not work.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">So I have rearranged the code and disabled rendering to pixmap on Linux completely. It seems to work using just screen OpenGL buffer for tiled rendering (for big images).<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">If anybody is interested in testing, your feedback is welcome.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">S.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 7 Dec 2019 at 00:15, Olly Betts <<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Dec 06, 2019 at 05:03:15PM +0100, Stacho Mudrak wrote:<br>
> If it is lxR2P.c what fails (it is off-screen rendering to pixmap - for<br>
> large renderings) then it should be quite easy to disable it. Could you<br>
> please somebody try to comment out following line (lxGLC.cxx:1938)?<br>
> <br>
> this->m_OSC->m_r2p = R2PCreate(w, h);<br>
> <br>
> then recompile loch and try whether it can start?<br>
<br>
Yes. I've applied slightly more nuanced version of that (which tries<br>
to create the context, but on failure doesn't exit) and uploaded a<br>
new debian package to unstable. This obviously isn't a perfect fix,<br>
but it beats loch being unusable, and if it was working for anyone<br>
before it should still with off-screen rendering.<br>
<br>
I've attached the patch I applied.<br>
<br>
Cheers,<br>
Olly<br>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>