Jump to content
UltiMaker Community of 3D Printing Experts

Linux: Latest MESA update leaves Cura unusable, even after backing out update


grizewald

Recommended Posts

Posted (edited) · Linux: Latest MESA update leaves Cura unusable, even after backing out update

This isn't the first time this has happened but I've always been able to recover from it before...

 

I'm running LinuxMint 19.2 and this evening the updater prompted me to install a bunch of updates. One of them was the latest MESA update and knowing that these updates often break Cura, I made a fresh snapshot with Timeshift so that I could roll out the update if there was a problem.

 

Sure enough, after the update, Cura shows me a screen with no menus or toolbars. It looks like this:

 

cura.png

 

Here's the problem though. I rolled out the update, rebooted and restarted Cura and there's no difference! When this has happened before, backing out the offending MESA update restores Cura to sanity. This time, Cura seems to have updated some kind of internal setting and now it's permanently broken. 😞 I'm running the 64-bit AppImage and Cura 4.2.1.

 

Can anyone tell me what I need to do to make Cura work again? Preferably without losing all my printer and print profiles?

 

 

Edited by grizewald
  • Like 1
Link to post
Share on other sites

Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update
16 minutes ago, burtoogle said:

Hi @grizewald, a tale of woe, indeed. Can you please share the cura.log and stderr.log files? Thanks.

 

Sure. Here's cura.log.gz

and stderr.log.gz

 

Both compressed with gzip to save my bandwidth. I couldn't upload them to the forum due to the 511MB file size limit.

 

 

  • Link to post
    Share on other sites

    Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update
    3 minutes ago, ahoeben said:

    Looks familiar. Have you tried clearing the shadercache?

    In ~/.cache folder, there's a cache called: 'qtshadercache'.

     

    See https://github.com/Ultimaker/Cura/issues/5296

     

    Thank you, thank you, thank you!!

     

    Sanity is restored and 'rm -rf ~/.cache/qtshadercache/*' is recorded in my Cura notes for next time.

     

    • Like 1
    Link to post
    Share on other sites

    Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update

    Thanks for the logs. Looking at cura.log, the reported OpenGL version changed on the 14th of August (19.0.2 to 19.0.8) so it's not obvious what happened today and I can see that Aldo's suggestion worked for you. Happy days!

  • Link to post
    Share on other sites

    Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update
    3 minutes ago, burtoogle said:

    Thanks for the logs. Looking at cura.log, the reported OpenGL version changed on the 14th of August (19.0.2 to 19.0.8) so it's not obvious what happened today and I can see that Aldo's suggestion worked for you. Happy days!

     

    The update that caused the problem doesn't change the MESA version number. In the packaging, the old version (currently installed) is 19.0.8-0ubuntu0~18.04.1 and the update is 19.0.8-0ubuntu0~18.04.2.

     

    The change log lists nothing which should cause worry:

     

      * i965-revert-enabling-softpin.diff: Dropped, unnecessary by now and
        broke Ice Lake which needs softpin. (LP: #1815172)
      * rules: Force -DNDEBUG, meson < 0.47 is buggy and doesn't set it even
        if we have b_ndebug=true. (LP: #1841412)

     

    But then again, it wouldn't be the first time that a change log doesn't tell the whole story...

  • Link to post
    Share on other sites

    Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update

    Had the exact same problem just now with the Mesa update. I've taken to generating a system snapshot before every 'upgrade' in Mint 19.2. Someone isn't paying attention lately. A simple restore of the snapshot cures the problem.

  • Link to post
    Share on other sites

    Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update
    On 9/24/2019 at 4:13 PM, lali said:

    Had the exact same problem just now with the Mesa update. I've taken to generating a system snapshot before every 'upgrade' in Mint 19.2. Someone isn't paying attention lately. A simple restore of the snapshot cures the problem.

     

    That's odd. Restoring the snapshot didn't fix it for me this time around, which is logical if the update causes QT's cached shader data (which is in my home directory and excluded from the snapshot) to become invalid.

     

    I guess there's more than one thing that gets broken when MESA is updated.

     

  • Link to post
    Share on other sites

    Posted · Linux: Latest MESA update leaves Cura unusable, even after backing out update

    That's very good to know. I was feeling so smug.

     

    I've added ''rm -rf ~/.cache/qtshadercache/*" to my notes, also.

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 24 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    ×
    ×
    • Create New...