I've opened https://gitlab.com/kicad/code/kicad/-/issues/10375

I'll be adding more info to the issue as I do more testing.  Right now, the 
issue just reports on visual artifacts that make accelerated graphics unusable 
on my desktop machine.

I'll add info on the segfaults that I see in VMs asap.

This stuff will no doubt take time to resolve.  The artifacts may be even 
harder to address than the segfaults, because I don't see how to gather data on 
what is causing the flickering and pad color errors as described in the issue.  
I therefore respectfully recommend putting the dialog back in until the issues 
are resolved.

        Steve

On 1/11/22 09:03 AM, Seth Hillbrand wrote:
Hi Steve-

Please open an issue with the details of your machines that crash when trying 
to use accelerated graphics.  We thought that we had addressed all or almost 
all of these cases.

Our current plan is to shift our backend graphics away from the OpenGL/Cairo 
engines and use a third-party library like libbgfx.  This may remove any option 
for Cairo rendering in the future, so it'll be good to work out the kinks.

And for the peanut gallery: of course we check libraries and query features 
before using them.  The segfaults happen when libraries return values that they 
don't actually support.  Mesa/X11 is a big culprit here on Linux and older 
bulit-in intel drivers on Windows do the same.  The way we do better is to get 
detailed system reports when segfaults happen.  If folks just sit on these 
issues because fallback works for them, then we'll never fix them.

Seth

On Mon, Jan 10, 2022 at 8:55 PM Steven A. Falco <stevenfa...@gmail.com 
<mailto:stevenfa...@gmail.com>> wrote:

    In the past, when running eeschema or pcbnew for the first time, it would 
ask if I wanted to try accelerated graphics.  That no longer seems to be the 
case - I don't get that dialog.

    I don't know if the dialog was intentionally removed or if it is a bug, but 
I think it is an issue either way, because the default is now accelerated 
graphics, which results in segfaults on some machines that I have here.

    Today I was trying some experiments in a new VM, and I couldn't launch 
eeschema, either from the main app or standalone.  It would segfault before 
putting up its window.  Then I remembered that I had had that problem in the 
past when I was trying out accelerated graphics.  But in the past, I was able 
to select fallback graphics from that initial dialog.

    In this case, my only way to fix the situation was to copy the json config 
files from another machine that was already configured for fallback graphics.  
That worked.  KiCad was now usable in the VM.

    Most people won't have a set of suitable json files laying around to get 
past the segfault, or even know to try that.  Thus, I think the initial dialog 
needs to be there, or perhaps the default should be changed to fallback 
graphics.

             Steve

    _______________________________________________
    Mailing list: https://launchpad.net/~kicad-developers 
<https://launchpad.net/~kicad-developers>
    Post to     : kicad-developers@lists.launchpad.net 
<mailto:kicad-developers@lists.launchpad.net>
    Unsubscribe : https://launchpad.net/~kicad-developers 
<https://launchpad.net/~kicad-developers>
    More help   : https://help.launchpad.net/ListHelp 
<https://help.launchpad.net/ListHelp>



--
KiCad Services Corporation Logo
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬
Long Beach, CA
www.kipro-pcb.com <https://www.kipro-pcb.com/> i...@kipro-pcb.com 
<mailto:i...@kipro-pcb.com>



_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to