Jump to content

Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.


Recommended Posts

Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

I've just downloaded the latest version of Cura (V5 AppImage) onto my Ubuntu 22.04 laptop but in always gives the following message.

 

Quote

Could not probe OpenGL. This program requires OpenGL 2.0 or higher. Please check your video card drivers.

My graphics is Mesa Intel® Xe Graphics (TGL GT2) and I've upgraded to the latest drivers.

 

glxinfo | grep "OpenGL version" gives OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.1 - kisak-mesa PPA

 

I'm using Gnome 42.1 on Wayland.

 

Any ideas on what else I can try?

 

  • Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    Hey there, apparently it's a known issue (having to do with Wayland, so you need to launch Ubuntu in X, or have a way to package xwayland into the appimage, which isn't that easy). It's still an open issue on the repo:

     

    https://github.com/Ultimaker/Cura/issues/11856

  • Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.
    On 6/15/2022 at 10:21 AM, JurgenG said:

    Hey there, apparently it's a known issue (having to do with Wayland, so you need to launch Ubuntu in X, or have a way to package xwayland into the appimage, which isn't that easy). It's still an open issue on the repo:

     

    https://github.com/Ultimaker/Cura/issues/11856

    Many thanks. I've reverted to Cura 4.13.1 which seems to work fine (so far).

  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    I have the same issue, but I could fix it with prepending

    MESA_LOADER_DRIVER_OVERRIDE=i965 ./Ultimaker-Cura-5.1.0-linux.AppImage

     

    See

     

    • Like 1
    Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    Hey,

     

    We released two versions for Cura 5.1 to help linux users running into OpenGL issues. 
    You can download the Linux-Modern version on the Ultimaker website or on the github.
    https://ultimaker.com/software/ultimaker-cura


    If you want to learn a little bit of the history, workarounds or how we resolved it you can find it here in this gihub issue. https://github.com/Ultimaker/Cura/issues/11856

    Good luck! 

    • Like 1
    Link to post
    Share on other sites

    • 3 weeks later...
    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.
    On 8/17/2022 at 2:39 PM, MariMakes said:

    We released two versions for Cura 5.1 to help linux users running into OpenGL issues. 

    phantom@Phantom-DESKTOP:~/Downloads$ ./Ultimaker-Cura-5.1.0-linux.AppImage
    PyInstaller/loader/pyimod03_importers.py:495: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
    libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    libGL error: failed to load driver: radeonsi
    libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    libGL error: failed to load driver: radeonsi
    libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    libGL error: failed to load driver: swrast
    

     

  • Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    What version of ubuntu @WastelandPhantom?   I have ubuntu 20.04.4 and cura works for me but I get similar errors sometimes and I have to reboot ubuntu.  I don't know why.  I only reboot about once per month but it's still annoying.

     

    I'm pretty sure cura 5 will not work on older version of ubuntu (older than 20.X).  But Cura 4.X should be fine on somewhat older versions.

  • Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    The following error:

    Cyclic dependency detected between "file:///tmp/.mount_UltimaMDnw0q/share/cura/resources/qml/Actions.qml" and "file:///tmp/.mount_UltimaMDnw0q/share/cura/res
    ources/qml/Actions.qml"

     

    happens during the loading of the UI on a modern system also:

    Betriebssystem: Kubuntu 22.04
    KDE-Plasma-Version: 5.24.7
    KDE-Frameworks-Version: 5.92.0
    Qt-Version: 5.15.3
    Kernel-Version: 5.15.0-56-generic (64-bit)
    Grafik-Plattform: X11
    Prozessoren: 16 × AMD Ryzen 7 1700 Eight-Core Processor
    Speicher: 15,6 GiB Arbeitsspeicher
    Grafikprozessor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

     

  • Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    the prefix override works for me.

    MESA_LOADER_DRIVER_OVERRIDE=i965 cura

  • Link to post
    Share on other sites

    Posted · Ubuntu 22.04 Cura 5 - Could not probe OpenGL. This program requires OpenGL 2.0 or higher.

    these instructions worked for me (I just followed them up to step 2 since I already had the GPU drivers installed)

     

    <<

    To ensure your Ubuntu system supports OpenGL 2.0 or higher, you need to install appropriate graphics drivers and libraries. You can typically achieve this by updating your system, installing the necessary packages, and potentially installing drivers specific to your hardware (NVIDIA, AMD, or Intel). 

     
    Here's a breakdown of the process:
     
     
    1. Update and Upgrade Your System:
    • Update Package Lists: Open a terminal and run sudo apt update to refresh the package lists.
    • Upgrade Packages: Run sudo apt upgrade to install any available updates for your system. 
       
     
    2. Install Essential OpenGL Libraries:
    • Install Mesa Libraries:
      These are the core libraries for OpenGL implementation:
      • sudo apt install libgl1-mesa-dev libegl1-mesa-dev 
         
    • Install FreeGLUT (if needed):
      This library provides a windowing system for OpenGL applications:
      • sudo apt install freeglut3-dev 
         
    • Install GLEW (if needed):
      This library helps with OpenGL function loading:
      • sudo apt install libglew-dev 
         
     
    3. Identify and Install Graphics Drivers:
    • Check your GPU:
      Determine if you have an NVIDIA, AMD, or Intel graphics card. 
       
    • NVIDIA:
      • Install NVIDIA Drivers: You can install the latest NVIDIA drivers using the sudo ubuntu-drivers autoinstall command or by adding the NVIDIA PPA and upgrading. 
         
      • Add NVIDIA PPA (alternative):
        • sudo add-apt-repository ppa:graphics-drivers/ppa 
           
        • sudo apt update 
           
        • sudo apt upgrade 
           
        • sudo ubuntu-drivers autoinstall 
           
    • AMD:
      • Install AMD Drivers: You may need to install the AMD Catalyst drivers or use the open-source drivers (MoltenVK). 
         
      • Install MoltenVK (alternative):
        • sudo apt install mesa-utils 
           
        • sudo apt install libgl1-mesa-dri 
           
    • Intel:
      • Intel Drivers: Intel graphics typically use the open-source Mesa drivers, which should be installed by default. 
         
     
    4. Verify OpenGL Version:
    • Use glxinfo:
      Open a terminal and run glxinfo | grep "OpenGL version" to check the supported OpenGL version. 
       
    • Example Output:
      The output should show the OpenGL version supported by your system, such as "OpenGL version string: 4.6 (Core Profile)". 
       
     
    Troubleshooting:
    • Wayland Issues: If you encounter problems with OpenGL in Wayland, consider using Xorg instead (launch Ubuntu with Xorg). 
       
    • Driver Conflicts: If you have multiple drivers installed, try uninstalling or blacklisting conflicting drivers. 
       
    • Check GPU Support: Ensure your GPU hardware supports the desired OpenGL version. 

    >>

  • 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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...