cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
311 stars 157 forks source link

OpenGL context creation failed #1097

Closed sasuke79 closed 2 years ago

sasuke79 commented 3 years ago

I have a user running phy on one of my servers using ssh x11 forwarding. I noticed in the past that this was an issue that others ran into. This is the error he is getting:

$ phy  template-gui params.py 

10:49:02.951 [W] model:656            Skipping spike waveforms that do not exist, they will be extracted on the fly from the raw data as needed.
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context

10:49:27.804 [W] gui:671              Could not create view TemplateFeatureView.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 

Aborted (core dumped)

Is running via ssh still a problem and likely causing this issue? If not, what is?

Mike

rossant commented 2 years ago

Running phy via ssh is unfortunately not supported at the moment