Jump to content

Cura failed to initialize graphics backed for OpenGL


Mel99

Recommended Posts

Posted · Cura failed to initialize graphics backed for OpenGL

Hello,

I just got my first 3d printer (Elegoo Neptune 4 max) and was happy to start slicing with the cura slicer but can't seem to get it to work.

When I download it to C:// and try to open it it gives me a pop up with "failed to initialize graphics backed for OpemGI", see attached pic.

My graphics card is an AMD Radeon RX 6800 and got the newest updates. It supposedly supports OpenGI till version 4.7 something. 

I also told the app to use said graphics card when opening (system-display-graphics-custom app).

I don't understand why it's not working. 

Can someone please help me ?

 

 

IMG_20240316_130834.jpg

  • Link to post
    Share on other sites

    Posted · Cura failed to initialize graphics backed for OpenGL

    If you could post the cura.log file from %APPDATA%\cura\5.6\ and if there's a stderr.log file in either that directory or just in %APPDATA%\cura\ that would really help. What you've said really isn't much to go by.

     

    57 minutes ago, Mel99 said:

    When I download it to C://

    Do you mean you installed it in C:\Program Files\UltiMaker Cura 5.6.0\ (or any other location, I guess) or are you trying to run it some way without having installed it?

     

    BTW: It's OpenGL (Open Graphics Library) not OpenGI, I'm going to change the title of the topic to make that more clear for anyone else who might want to come in and help.

  • Link to post
    Share on other sites

    • Slashee_the_Cow changed the title to Cura failed to initialize graphics backed for OpenGL
    Posted · Cura failed to initialize graphics backed for OpenGL
    16 minutes ago, Slashee_the_Cow said:

    If you could post the cura.log file from %APPDATA%\cura\5.6\ and if there's a stderr.log file in either that directory or just in %APPDATA%\cura\ that would really help. What you've said really isn't much to go by.

     

    Do you mean you installed it in C:\Program Files\UltiMaker Cura 5.6.0\ (or any other location, I guess) or are you trying to run it some way without having installed it?

     

    BTW: It's OpenGL (Open Graphics Library) not OpenGI, I'm going to change the title of the topic to make that more clear for anyone else who might want to come in and help.

    yes i installed it in C/:UltimakerCura.

    I think i found the log. It's big tho and Idk which part is important. Whole file, see attachement.

    cura.log

  • Link to post
    Share on other sites

    Posted · Cura failed to initialize graphics backed for OpenGL

    Thanks, those are the files I was looking for.

     

    Unfortunately, I'm not sure I can provide any answers based on them. I might have to call in @Dustin on this one.

    I only have two ideas here:

    • Try removing it from the apps specifically set to use a particular graphics card would be my main suggestion. Even if it runs on integrated graphics, on your CPU that's going to be more than good enough.
    • Try doing a clean reinstall but let it install itself in Program Files like it's set to by default. TBH I can't think of a good reason why that might make a difference, but there's a lot of things Cura does which don't seem to make sense.

    If those don't work I suggest you go and submit a bug report about it. Make sure to include the log files.

     

    Technical information follows (you don't necessarily have to read this):

    I can definitely see there's something wrong based on when it attempts to load OpenGL

    2024-03-16 13:03:35,985 - DEBUG - [MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [124]: Trying OpenGL context 4.1...
    2024-03-16 13:03:35,985 - DEBUG - [MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [191]: Trying OpenGL context 2.0...
    2024-03-16 13:03:35,985 - DEBUG - [MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [198]: We got at least OpenGL context 2.0: 2.0 No profile
    2024-03-16 13:03:35,985 - DEBUG - [MainThread] UM.Qt.QtApplication.initialize [192]: Detected most suitable OpenGL context version: 2.0 No profile

    With your card, if your drivers are up to date, it should be able to get an OpenGL 4.1 context, and definitely be able to get a 2.0 profile. But it keeps loading after that, including initialising the layer view (which is what uses OpenGL), but then it fails to create the welcome window to set up a new printer and quits:

    2024-03-16 13:03:40,029 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/PrintSetupSelector/ProfileWarningReset.qml:77: TypeError: Cannot read property 'name' of null
    2024-03-16 13:03:40,029 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/PrintSetupSelector/ProfileWarningReset.qml:77: TypeError: Cannot read property 'name' of null
    2024-03-16 13:03:40,030 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingSlider.qml:36:9: Unable to assign [undefined] to QString
    2024-03-16 13:03:40,030 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingComboBox.qml:70:9: Unable to assign [undefined] to QString
    2024-03-16 13:03:40,030 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingTextField.qml:56:9: Unable to assign [undefined] to QString
    2024-03-16 13:03:40,031 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingTextField.qml:56:9: Unable to assign [undefined] to QString
    2024-03-16 13:03:40,031 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingComboBox.qml:70: TypeError: Cannot read property 'id' of null
    2024-03-16 13:03:40,031 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingComboBox.qml:70: TypeError: Cannot read property 'id' of null
    2024-03-16 13:03:40,040 - DEBUG - [MainThread] UM.Controller.setActiveStage [180]: Setting active stage to PrepareStage
    2024-03-16 13:03:40,080 - DEBUG - [MainThread] cura.Machines.Models.NozzleModel._update [28]: Updating NozzleModel.
    2024-03-16 13:03:40,081 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml:278: TypeError: Cannot read property 'hasRemoteConnection' of null
    2024-03-16 13:03:40,111 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml:188: TypeError: Cannot read property 'isEnabled' of null
    2024-03-16 13:03:40,131 - DEBUG - [MainThread] UM.Controller.setActiveView [108]: Setting active view to SolidView
    2024-03-16 13:03:40,145 - DEBUG - [MainThread] ModelChecker.ModelChecker._createView [118]: Creating model checker view.
    2024-03-16 13:03:40,148 - DEBUG - [MainThread] ModelChecker.ModelChecker._createView [127]: Model checker view created.
    2024-03-16 13:03:40,149 - DEBUG - [MainThread] SliceInfoPlugin.SliceInfo._createDialog [76]: Creating dialog [MoreInfoWindow.qml]
    2024-03-16 13:03:40,189 - DEBUG - [MainThread] cura.CuraApplication.run [916]: Booting Cura took 4.595043659210205 seconds
    2024-03-16 13:03:40,190 - DEBUG - [JobQueueWorker [1]] cura.Machines.ContainerTree.run [174]: Started background loading of MachineNodes
    2024-03-16 13:03:40,190 - DEBUG - [JobQueueWorker [1]] cura.Machines.ContainerTree.run [185]: All MachineNode loading completed
    2024-03-16 13:03:40,192 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2024-03-16 13:03:40,193 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2024-03-16 13:03:40,193 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2024-03-16 13:03:40,194 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2024-03-16 13:03:40,195 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2024-03-16 13:03:40,195 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2024-03-16 13:03:40,526 - DEBUG - [MainThread] cura.Machines.Models.CustomQualityProfilesDropDownMenuModel._update [33]: Updating CustomQualityProfilesDropDownMenuModel.
    2024-03-16 13:03:40,526 - DEBUG - [MainThread] cura.Machines.Models.CustomQualityProfilesDropDownMenuModel._update [38]: No active GlobalStack, set CustomQualityProfilesDropDownMenuModel as empty.
    2024-03-16 13:03:50,552 - DEBUG - [MainThread] cura.AutoSave._onTimeout [64]: Autosaving preferences, instances and profiles took 0.013457298278808594 seconds
    2024-03-16 13:04:10,473 - DEBUG - [MainThread] cura.TaskManagement.OnExitCallbackManager.triggerNextCallback [56]: No more on-app-exit callbacks to process. Tell the app to exit.
    2024-03-16 13:04:10,474 - INFO - [MainThread] cura.CuraApplication.closeApplication [658]: Close application
    2024-03-16 13:04:10,474 - INFO - [MainThread] cura.CuraApplication._setLoadingHint [853]: Initializing Active Machine...
    2024-03-16 13:04:10,475 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingComboBox.qml:70: TypeError: Cannot read property 'id' of null
    2024-03-16 13:04:10,475 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Widgets/SingleSettingComboBox.qml:70: TypeError: Cannot read property 'id' of null
    2024-03-16 13:04:10,476 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2024-03-16 13:04:10,476 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2024-03-16 13:04:10,477 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [74]: Updating IntentSelectionModel.
    2024-03-16 13:04:10,477 - DEBUG - [MainThread] cura.Machines.Models.IntentSelectionModel._update [79]: No active GlobalStack, set quality profile model as empty.
    2024-03-16 13:04:10,478 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/PrintSetupSelector/ProfileWarningReset.qml:77: TypeError: Cannot read property 'name' of null
    2024-03-16 13:04:10,478 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/PrintSetupSelector/ProfileWarningReset.qml:77: TypeError: Cannot read property 'name' of null
    2024-03-16 13:04:10,479 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml:188: TypeError: Cannot read property 'isEnabled' of null
    2024-03-16 13:04:10,480 - DEBUG - [MainThread] cura.Machines.Models.NozzleModel._update [28]: Updating NozzleModel.
    2024-03-16 13:04:10,633 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///C:/UltiMaker Cura 5.6.0/share/cura/resources/qml/WelcomePages/AddLocalPrinterScrollView.qml:248:25: Unable to assign QString to QRegularExpression
    2024-03-16 13:04:10,639 - DEBUG - [MainThread] UM.Qt.QtApplication.windowClosed [508]: Shutting down cura
    2024-03-16 13:04:10,651 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [410]: Attempting to kill the engine process
    2024-03-16 13:04:10,651 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [416]: Killing engine process
    2024-03-16 13:04:10,653 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [419]: Engine process is killed. Received return code 1

     

  • Link to post
    Share on other sites

    Posted · Cura failed to initialize graphics backed for OpenGL

    Hello. I was having the same issue when launching Cura on my main PC (AMD 6900 XT GPU). What eventually worked was deleting the Cura folders from the APPDATA directory, restarting, then reinstalling Cura. I wasn't concerned about losing any content, so proceed at your own risk. You might want to back any data up just in case.

     

    Also, I had a cura folder in both the Local and Roaming folders in the APPDATA directory. Nothing in LocalLow though.

     

    Hope this helps.

  • 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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 20 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...