[Mesa-users] mesa driver with cad apps (solid edge, solidworks)

Brian Paul brianp at vmware.com
Wed Jan 13 09:27:28 PST 2016


The apitrace tool which I mentioned is pretty useful.  You can use it to 
capture an app's OpenGL calls and replay them.  You can even replay a 
trace made on Windows in Linux.  Doing that could help determine if the 
artifacts are on Windows only, or on Linux too, for example.

Other than that, it's a matter of debugging with visual studio or 
whatever tools you have.  Admittedly, it could be big task if one 
doesn't have experience with Mesa/gallium.

-Brian

On 01/13/2016 10:16 AM, Jared Conway wrote:
> Hi Brian, I think the info you've provided has been helpful.
>
> What would normal course of action be to do the graphics debugging with
> an open source? I'm not on the dev side here but rather on the
> applications side, so I'm interested in giving them info on how they can
> look into this further.
>
> Thanks.
>
>
> Jared Conway | Product Manager | 650.918.0324
> 318 South B St., #6 | San Mateo | CA | 94401
>
> www.fra.me
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fra.me_&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=y-lb5vSHf4IqDVcJ9HHfAf3GoFSkZzMwwecJ6XP8aSE&s=QAMk4AJvL2ngIdUtwetsBpsfsOG6OkLXQqHzr_fJ81Y&e=>
>
> Want setup a meeting? Find my availability here:
> https://calendly.com/jaredatframe
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__calendly.com_jaredatframe&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=y-lb5vSHf4IqDVcJ9HHfAf3GoFSkZzMwwecJ6XP8aSE&s=eyCtdN5TXEHH5EE9BIIat-XQi9bHF8OeORBRRZbO6B0&e=>
>
> On Wed, Jan 13, 2016 at 9:15 AM, Brian Paul <brianp at vmware.com
> <mailto:brianp at vmware.com>> wrote:
>
>
>     Yes, llvmpipe should provide much better performance than the MS
>     software driver.  But llvmpipe in a Windows guest isn't a
>     configuration that anyone really tests (including VMware), AFAIK.
>
>     Sounds like solidworks is testing the OpenGL driver in some way
>     during installation after all.  The only hope of diagnosing that
>     would probably be with 'apitrace' (on github).  But it might be
>     tricky to do.
>
>     As for the rendering artifacts, it would require some general
>     debugging effort to narrow it down.
>
>     I'm afraid I can't help much more than that.  I don't have any spare
>     time and the higher-ups would probably frown on me spending time on
>     a competing platform.
>
>     -Brian
>
>
>     On 01/13/2016 09:46 AM, Jared Conway wrote:
>
>         Hi Brian, thanks for the feedback.
>
>         We are using the mesa driver because our understanding was that
>         it would
>         provide better performance than a standard software opengl
>         driver for
>         the amazon t2 systems that we have the driver installed on.
>
>         Regarding the apps, the behaviors we have seen:
>         1. solidworks, stalls at around 75% during installation with this
>         driver. removing it, install goes through without issue. when
>         the driver
>         is installed, you are able to open a model but then the app will
>         crash
>         after several rotations of a model. without the driver, the app
>         works
>         fine, just slow.
>         2. solidedge, install is ok if i remember correctly. but with
>         the driver
>         installed, graphics window generally has artifacts that remain
>         and when
>         clicking tabs in the application, they do not highlight unless
>         the whole
>         app is moved around on the screen.
>
>         Let me know if that adds more clarity to the situation and if
>         you have
>         any suggestions. Thanks!
>
>
>
>         Jared Conway | Product Manager | 650.918.0324 <tel:650.918.0324>
>         318 South B St., #6 | San Mateo | CA | 94401
>
>         www.fra.me
>         <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fra.me&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=y-lb5vSHf4IqDVcJ9HHfAf3GoFSkZzMwwecJ6XP8aSE&s=Vk9eGL-dvVS5HLUTgTzaH3czT34SOd7llHe0JU9xUe8&e=>
>         <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fra.me_&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=8DSEOpBZFZvM0eSmwCfXt0Ax9lfUrJwg0GYlGcy0UME&s=54ZbZDeq2kG5t7jvle7VSF_Yo7pjj-8l5Scy7l4YRrI&e=>
>
>         Want setup a meeting? Find my availability here:
>         https://calendly.com/jaredatframe
>         <https://urldefense.proofpoint.com/v2/url?u=https-3A__calendly.com_jaredatframe&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=y-lb5vSHf4IqDVcJ9HHfAf3GoFSkZzMwwecJ6XP8aSE&s=eyCtdN5TXEHH5EE9BIIat-XQi9bHF8OeORBRRZbO6B0&e=>
>         <https://urldefense.proofpoint.com/v2/url?u=https-3A__calendly.com_jaredatframe&d=BQMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=8DSEOpBZFZvM0eSmwCfXt0Ax9lfUrJwg0GYlGcy0UME&s=OAgteBrYdTSjl7jl0gMm9a8yZHVDu_Ukzjv7efshrqE&e=>
>
>         On Wed, Jan 13, 2016 at 8:07 AM, Brian Paul <brianp at vmware.com
>         <mailto:brianp at vmware.com>
>         <mailto:brianp at vmware.com <mailto:brianp at vmware.com>>> wrote:
>
>
>              According to the screenshot, you're using the llvmpipe
>         driver on
>              Windows.  The Mesa version is 10.something (you'd have to
>         click on
>              the "See details..." link to get the specific version.)
>
>              The first question is, why are you using Mesa instead of a
>         regular
>              GPU driver?  What kind of GPU do you have?
>
>              Your original question/problem was:
>
>              "Has anyone used the mesa drivers with CAD apps like solid
>         edge or
>              solidworks? We have been using them and find that the apps
>         don't
>              install or have issues displaying graphics properly."
>
>              I guess I'd need more details.  When an app doesn't
>         install, what
>              exactly is the installer complaining about?  Some CAD apps
>         refuse to
>              run with "non-certified" OpenGL drivers.  But that's usually an
>              issue when the app is started, not at install time.
>
>              As for display problems, again, what exactly is the issue?
>         A few
>              months ago, I fixed a few issues related to drawing long
>              GL_LINE_LOOP primitives and Roland recently fixed some
>         issues with
>              glEdgeFlag in llvmpipe that fixes at least one CAD app
>         (Spazio3D).
>              I don't know of any other outstanding llvmpipe rendering
>         issues.  If
>              something is mis-rendered, perhaps you can file a Mesa bug
>         report
>              with as much detail as possible.
>
>              -Brian
>
>



More information about the mesa-users mailing list