<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.im
        {mso-style-name:im;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2031642000;
        mso-list-template-ids:400870944;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi Chuck,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for this information.  I suspect you are saving us a good amount of time with this guidance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">Rick<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> Chuck Atkins [mailto:chuck.atkins@kitware.com] <br>
<b>Sent:</b> Monday, December 11, 2017 9:11 AM<br>
<b>To:</b> Rick Irons <Rick.Irons@mathworks.com><br>
<b>Cc:</b> Brian Paul <brianp@vmware.com>; mesa-users@lists.freedesktop.org<br>
<b>Subject:</b> Re: [Mesa-users] Software rendering configuration on LINUX<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Rick,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">This comes up from time to time.  We need the same thing deploying ParaView render servers on CPU-only compute clusters without X, but I've found it difficult to really determine the right set of configuration
 parameters to use.  With the current Mesa release, 17.x, we've settled on the following ./configure parameters to produce a bare-bones-ish libOSMesa only containing the llvmpipe software driver.  Note that some of these parameters are already set by default
 but I find it helpful to be explicit since many of them are "auto-detect":<br>
<span style="font-family:"Courier New""><br>
 /configure                                      \<br>
--enable-opengl --disable-gles1 --disable-gles2  \<br>
--disable-va --disable-xvmc --disable-vdpau      \<br>
--disable-shared-glapi --disable-texture-float   \<br>
--enable-llvm --enable-llvm-shared-libs          \<br>
--with-gallium-drivers=swrast --with-platforms=  \<br>
--disable-dri --disable-dri3 --with-dri-drivers= \<br>
--disable-egl --disable-gbm --disable-glx        \<br>
--disable-osmesa --enable-gallium-osmesa</span><o:p></o:p></p>
</div>
<p class="MsoNormal">Some that may be of specific interest to you:<o:p></o:p></p>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="font-family:"Courier New"">--disable-texture-float</span><o:p></o:p></li></ul>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level2 lfo1">
<span style="font-family:"Arial",sans-serif">This is disabled by default but it's an important one to be explicit with if your developing commercial software to ship.  The OpenGL floating point textures implementation in Mesa is currently patent encumbered
 so enabling it is at your own risk.  FWIW though, the patent should expire sometime next year in the summer I believe when it should no longer be an issue.
</span><o:p></o:p></li></ul>
</ul>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="font-family:"Courier New"">--enable-llvm-shared-libs</span><o:p></o:p></li></ul>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level2 lfo1">
<span style="font-family:"Arial",sans-serif">If you change this to --disable-llvm-shared-libs then libLLVM will be linked statically into your resulting libOSMesa, which will make it pretty huge but will also drop the need for an extra dependency to be shipped. 
 So, it's a trade off.</span><o:p></o:p></li></ul>
</ul>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
<span style="font-family:"Courier New"">--disable-osmesa --enable-gallium-osmesa</span><o:p></o:p></li></ul>
<ul type="disc">
<ul type="circle">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level2 lfo1">
<span style="font-family:"Arial",sans-serif">No need to change these but it can be confusing.  The first option disables the "legacy" DRI-based OSMesa implementation while the second enables the newer implementation based on the gallium driver architecture
 and also supports newer OpenGL standards while the legacy one does not.</span><o:p></o:p></li></ul>
</ul>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">----------<br>
Chuck Atkins<br>
Staff R&D Engineer, Scientific Computing<br>
Kitware, Inc.<br>
(518) 881-1183<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Dec 5, 2017 at 11:57 AM, Rick Irons <<a href="mailto:Rick.Irons@mathworks.com" target="_blank">Rick.Irons@mathworks.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Hi Brian,<br>
<br>
Thanks for the info.<br>
<br>
Regards,<br>
Rick<br>
<br>
<span class="im">-----Original Message-----</span><br>
<span class="im">From: Brian Paul [mailto:<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>]</span><br>
<span class="im">Sent: Tuesday, December 5, 2017 11:55 AM</span><br>
<span class="im">To: Rick Irons <<a href="mailto:Rick.Irons@mathworks.com">Rick.Irons@mathworks.com</a>>;
<a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Subject: Re: [Mesa-users] Software rendering configuration on LINUX<br>
<br>
Hi Rick,<br>
<br>
 From the sounds of it, OSMesa is indeed what you want.  It works with llvmpipe so it can be reasonably fast.<br>
<br>
-Brian<br>
<br>
<br>
On 12/05/2017 07:32 AM, Rick Irons wrote:<br>
> Thanks Jeffrey for the info.<br>
><br>
> We are looking to render without a windowing system.  It seems that<br>
> using OSMesa is the only Mesa based option for such off screen<br>
> rendering.  Is this correct?<br>
><br>
> Thanks,<br>
><br>
> Rick<br>
><br>
> *From:* Jeffrey Collins [mailto:<a href="mailto:tildejac@outlook.com">tildejac@outlook.com</a>]<br>
> *Sent:* Monday, December 4, 2017 7:51 PM<br>
> *To:* Rick Irons <<a href="mailto:Rick.Irons@mathworks.com">Rick.Irons@mathworks.com</a>>;<br>
> <a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>
> *Subject:* Re: Software rendering configuration on LINUX<br>
><br>
> Isn't this what the Wayland interface is meant for?<br>
> <a href="https://en.wikipedia.org/wiki/Wayland_(display_server_protocol" target="_blank">
https://en.wikipedia.org/wiki/Wayland_(display_server_protocol</a><br>
> <<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org" target="_blank">https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org</a><br>
> _wiki_Wayland-5F-28display-5Fserver-5Fprotocol&d=DwMFAg&c=uilaK90D4TOV<br>
> oH58JNXRgQ&r=Ie7_encNUsqxbSRbqbNgofw0ITcfE8JKfaUjIQhncGA&m=CST2HkydTH1<br>
> XFl9qklsxi2sqHB7GggKHET8Fpl5vVU4&s=1pj_k6n3PJx12IhM9jQcKcZas3MScgGS8Ss<br>
> 6ojmUH80&e=>)<br>
><br>
> ----------------------------------------------------------------------<br>
> --<br>
><br>
> *From:*mesa-users <<a href="mailto:mesa-users-bounces@lists.freedesktop.org">mesa-users-bounces@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:mesa-users-bounces@lists.freedesktop.org">mesa-users-bounces@lists.freedesktop.org</a>>> on behalf of Rick<br>
> Irons <<a href="mailto:Rick.Irons@mathworks.com">Rick.Irons@mathworks.com</a> <mailto:<a href="mailto:Rick.Irons@mathworks.com">Rick.Irons@mathworks.com</a>>><br>
> *Sent:* Monday, December 4, 2017 2:23 PM<br>
> *To:* <a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a>><br>
> *Subject:* [Mesa-users] Software rendering configuration on LINUX<br>
><br>
> Hi,<br>
><br>
> Is a Mesa software rendering configuration that does not rely on X11<br>
> possible for LINUX?  I would like to use a version of Mesa for OpenGL<br>
> rendering on LINUX that does not rely on either graphics hardware and<br>
> or X11.  Is using OSMesa my only option?<br>
><br>
> Thanks,<br>
><br>
> Rick<br>
><br>
><br>
><br>
> _______________________________________________<br>
> mesa-users mailing list<br>
> <a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop</a><br>
> .org_mailman_listinfo_mesa-2Dusers&d=DwIGaQ&c=uilaK90D4TOVoH58JNXRgQ&r<br>
> =Ie7_encNUsqxbSRbqbNgofw0ITcfE8JKfaUjIQhncGA&m=CST2HkydTH1XFl9qklsxi2s<br>
> qHB7GggKHET8Fpl5vVU4&s=FP73VXIZ4X0mqLPR7dcV3niNT9m7TrqFRRYckPyxQDg&e=<br>
><br>
<br>
_______________________________________________<br>
mesa-users mailing list<br>
<a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-users" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-users</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>