You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the title, models can't be animated when running OMEdit inside a Docker container. In particular, the problem seems to be linked to Qt. The model compiles just fine and is correctly simulated, but visual artefacts appear in the UI and the following messages are output to the console when the animation should start.
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setRenderHint: Painter must be active to set rendering hints
Error: OpenGL version test failed, requires valid graphics context.
QPainter::end: Painter not active, aborted
qt.qpa.backingstore: composeAndFlush: QOpenGLContext creation failed
Not even an empty animation window can be open from the Plotting section (even though in this case no warnings are output).
I've checked both version 1.20.0 and the newest version 1.21.0 on a MacbookPro (running MacOS Ventura on a silicon processor). The error can be fully reproduced, e.g., trying to run the RobotR3 model within the Modelica standard library.
The text was updated successfully, but these errors were encountered:
As per the title, models can't be animated when running OMEdit inside a Docker container. In particular, the problem seems to be linked to Qt. The model compiles just fine and is correctly simulated, but visual artefacts appear in the UI and the following messages are output to the console when the animation should start.
Not even an empty animation window can be open from the Plotting section (even though in this case no warnings are output).
I've checked both version 1.20.0 and the newest version 1.21.0 on a MacbookPro (running MacOS Ventura on a silicon processor). The error can be fully reproduced, e.g., trying to run the RobotR3 model within the Modelica standard library.
The text was updated successfully, but these errors were encountered: