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

    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.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...