<div dir="ltr">OK so the specific failure point appears to be OSMesa with llvmpipe. For some reason we are getting a 3.0 context instead of 3.2. I am not sure how to request a 3.2 context from OS mesa. We are just doing a OSMesaCreateContext(GL_RGBA,0) Is there an argument or build option to get 3.2?<div><br></div><div><h2>OSMesa+llvmpipe</h2><table style="font-size:12.8px"><thead><tr><th>Name</th><th>Value</th></tr></thead><tbody><tr><td>glGetString(GL_VENDOR)</td><td>VMware, Inc.</td></tr><tr><td>glGetString(GL_VERSION)</td><td>3.0 <span class="">Mesa</span> 11.0.4</td></tr><tr><td>glGetString(GL_RENDERER)</td><td>Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)<br><br><br><br><br></td></tr></tbody></table></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 6:30 AM, Olivier Galibert <span dir="ltr"><<a href="mailto:galibert@pobox.com" target="_blank">galibert@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">llvmpipe/softpipe support all of 3.3 with one exception which it<br>
fakes: MSAA. You may be detecting that?<br>
<br>
OG.<br>
<br>
<br>
On Wed, Dec 9, 2015 at 2:11 AM, Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>> wrote:<br>
> On 12/04/2015 07:10 AM, Ken Martin wrote:<br>
>><br>
>> Thanks! Seems the system in question was using llvmpipe which passes<br>
>> ~95% of our tests when we tell it be a 3.2 context using the environment<br>
>> variables. For some reason I was thinking llvmpipe was full 3.2 Core.<br>
><br>
><br>
> llvmpipe does support OpenGL 3.2 core profile (3.3 actually).<br>
><br>
> For your users who are having trouble, seeing the output of glxinfo might<br>
> yield a clue.<br>
><br>
> -Brian<br>
><br>
>> I<br>
>> tried playing with softpipe to see if that had better results but it had<br>
>> significantly more failures. I think the Intel SWR is at the 99% or so<br>
>> mark now on our tests so that may be a good bet for our pure software<br>
>> rendering.<br>
>><br>
>> Thanks Again!<br>
>> Ken<br>
>><br>
>><br>
>> On Thu, Nov 26, 2015 at 6:41 AM, Albert Freeman<br>
>> <<a href="mailto:albertwdfreeman@gmail.com">albertwdfreeman@gmail.com</a> <mailto:<a href="mailto:albertwdfreeman@gmail.com">albertwdfreeman@gmail.com</a>>> wrote:<br>
>><br>
>> On 26 November 2015 at 11:37, Albert Freeman<br>
>> <<a href="mailto:albertwdfreeman@gmail.com">albertwdfreeman@gmail.com</a> <mailto:<a href="mailto:albertwdfreeman@gmail.com">albertwdfreeman@gmail.com</a>>> wrote:<br>
>> > On 25 November 2015 at 22:45, Ken Martin <<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a><br>
>> <mailto:<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>>> wrote:<br>
>> >><br>
>> >> Noob question incoming... I have an application that requests a<br>
>> 3.2 core<br>
>> >> context from Mesa. I tell folks to make sure they have mesa<br>
>> version 10.6.5<br>
>> >> or later which I thought supported OpenGL 3.2. Usually this<br>
>> works but now<br>
>> >> and then I get users who's Mesa (including version 11) fails to<br>
>> provide a<br>
>> >> 3.2 Core context. I tell them to set<br>
>> >><br>
>> >> MESA_GL_VERSION_OVERRIDE=3.2<br>
>> >><br>
>> >> and<br>
>> >><br>
>> >> MESA_GLSL_VERSION_OVERRIDE=150 (or something like that)<br>
>> >><br>
>> >> and it generally works. But I'm not sure why the original<br>
>> request for 3.2<br>
>> >> Core is failing on some systems (drivers?). Looking at<br>
>> >><br>
>> >> <a href="http://mesamatrix.net/" rel="noreferrer" target="_blank">http://mesamatrix.net/</a><br>
>><br>
>> <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mesamatrix.net_&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=DgUiZLZLE5l5BuSC2NBUMBQS2DGA9QhpHNlB-VsdiFA&s=265u7-eKXnTubRJ-iofPSBX-H-LKHhoyVG6X43hKuqs&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__mesamatrix.net_&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=DgUiZLZLE5l5BuSC2NBUMBQS2DGA9QhpHNlB-VsdiFA&s=265u7-eKXnTubRJ-iofPSBX-H-LKHhoyVG6X43hKuqs&e=</a>><br>
>> >><br>
>> >> leads me to think that all drivers with a recent mesa should be<br>
>> fine with<br>
>> >> 3.2 Core but obviously I am missing something. Do I need to be<br>
>> telling them<br>
>> >> to use a specific driver? Is there a list of drivers that do not<br>
>> support 3.2<br>
>> >> I should tell them to avoid? Anything else come to mind?<br>
>> >><br>
>> >> I just want to try to provide a bit more help to folks to get<br>
>> them up and<br>
>> >> running with Mesa and even better get our code to handle it<br>
>> automatically if<br>
>> >> we could.<br>
>> >><br>
>> >> Any pointers appreciated. The application is vtk.<br>
>> >><br>
>> >> Thanks<br>
>> >> Ken<br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Ken Martin PhD<br>
>> >> Chairman & CFO<br>
>> >> Kitware Inc.<br>
>> >> 28 Corporate Drive<br>
>> >> Clifton Park NY 12065<br>
>> >> <a href="tel:518%20371%203971" value="+15183713971">518 371 3971</a> <tel:518%20371%203971><br>
>> >><br>
>> >> This communication, including all attachments, contains<br>
>> confidential and<br>
>> >> legally privileged information, and it is intended only for the<br>
>> use of the<br>
>> >> addressee. Access to this email by anyone else is unauthorized.<br>
>> If you are<br>
>> >> not the intended recipient, any disclosure, copying,<br>
>> distribution or any<br>
>> >> action taken in reliance on it is prohibited and may be<br>
>> unlawful. If you<br>
>> >> received this communication in error please notify us<br>
>> immediately and<br>
>> >> destroy the original message. Thank you.<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> mesa-users mailing list<br>
>> >> <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>
>> >> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-users" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-users</a><br>
>><br>
>> <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=DgUiZLZLE5l5BuSC2NBUMBQS2DGA9QhpHNlB-VsdiFA&s=GUHRuxZw-TCs8qGxwpn4d6zy7Et2yH5D2dq7lVdtxR8&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=DgUiZLZLE5l5BuSC2NBUMBQS2DGA9QhpHNlB-VsdiFA&s=GUHRuxZw-TCs8qGxwpn4d6zy7Et2yH5D2dq7lVdtxR8&e=</a>><br>
>> >><br>
>> > Not all mesa drivers support gl 3.2, e.g. the r300 gallium driver<br>
>> in<br>
>> > the git mesa supports only glsl 1.20:<br>
>> > case PIPE_CAP_GLSL_FEATURE_LEVEL:<br>
>> > return 120;<br>
>> ><br>
>> > That website is based on gl3.txt. It does not list all drivers mesa<br>
>> > supports (as gl3.txt dosen't). They are both only meant to be a<br>
>> rough<br>
>> > guide. The svga driver apparently supports gl 3.3 and it isn't even<br>
>> > mentioned in gl3.txt. So I think some of the vtk users have<br>
>> really old<br>
>> > gpus that don't support gl 3.2. Some gl versions already have<br>
>> software<br>
>> > emulated components for gl features not supported by the hardware<br>
>> on<br>
>> > older gpus and some older gpus simply don't have support.<br>
>> As those environment variables you use simply fake the gl version to<br>
>> the application. If the application then uses say a gl 3.2 feature<br>
>> that isn't supported by that driver, the behavior is undefined (e.g.<br>
>> application can crash).<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Ken Martin PhD<br>
>> Chairman & CFO<br>
>> Kitware Inc.<br>
>> 28 Corporate Drive<br>
>> Clifton Park NY 12065<br>
>> 518 371 3971<br>
>><br>
>> This communication, including all attachments, contains confidential and<br>
>> legally privileged information, and it is intended only for the use of<br>
>> the addressee. Access to this email by anyone else is unauthorized. If<br>
>> you are not the intended recipient, any disclosure, copying,<br>
>> distribution or any action taken in reliance on it is prohibited and may<br>
>> be unlawful. If you received this communication in error please notify<br>
>> us immediately and destroy the original message. Thank you.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> mesa-users mailing list<br>
>> <a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>
>><br>
>> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=DgUiZLZLE5l5BuSC2NBUMBQS2DGA9QhpHNlB-VsdiFA&s=GUHRuxZw-TCs8qGxwpn4d6zy7Et2yH5D2dq7lVdtxR8&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=DgUiZLZLE5l5BuSC2NBUMBQS2DGA9QhpHNlB-VsdiFA&s=GUHRuxZw-TCs8qGxwpn4d6zy7Et2yH5D2dq7lVdtxR8&e=</a><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="http://lists.freedesktop.org/mailman/listinfo/mesa-users" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>