Chris Mayo
Chris Mayo
Updated to quote $SYSTEMD_LIBS to ensure test works.
Is pkg-config installed? With this patch configure output should be similar to: ``` checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libsystemd-daemon... no checking...
Ah, memcpy was in my original `-O2` backtrace but with values optimised out, I missed it wasn't in the `-O0` above. With `-Og`: ``` #0 0x00007ffff5576895 in () at /usr/lib64/libc.so.6...
Yes with the above: ``` QGLView: GLAD: Loaded OpenGL 4.6 VertexArray: 309 : glBindBuffer(GL_ARRAY_BUFFER, 3) VertexArray: 311 : glBufferData(GL_ARRAY_BUFFER, 1478400, 0, GL_STATIC_DRAW) VBORenderer: add_shader_attributes bad points size = 3 Segmentation...
With children.scad the command-line is working fine with dd2da9e2908e881af6cb1fe90306fe6004081cb6 + https://github.com/openscad/openscad/pull/5005 on Qt 6. Then moved on to 2eb528b2702f8e46c6100b79ada5c4526b43d904 + #5008 on Qt 6. No segfaults. A lot of "Warning:...
email mangled that patch a bit! Anyway I think I understood and did: ```diff --- a/src/gui/MainWindow.cc +++ b/src/gui/MainWindow.cc @@ -1395,15 +1395,6 @@ void MainWindow::compileCSG() this->background_products); #endif } -#endif -#ifdef USE_LEGACY_RENDERERS...
With the updated #5008 in the Console: ``` Renderer: Renderer() start Renderer: setColorScheme ERROR: OpenGL error: invalid operation (0x0502) in openscad-2eb528b2702f8e46c6100b79ada5c4526b43d904/src/glview/Renderer.cc:84 glLinkProgram(edgeshader_prog) Renderer: Renderer() end Renderer: Renderer() start Renderer: setColorScheme...
Yes: ``` Renderer: setColorScheme system-gl: OpenGL error: invalid operation (0x0502) in openscad-2eb528b2702f8e46c6100b79ada5c4526b43d904/src/glview/Renderer.cc:65 Renderer::setupShader() ```
I can't find what is causing the initial OpenGL error. It seems to be before rendering, including `Renderer::Renderer()`. There doesn't need to be a model loaded. I can trigger it...
`QGLView::initializeGL()`, `QGLView::paintGL()` and `QGLView::resizeGL()` are all fine (I added some logging to the last two to make sure they were being executed). It isn't Mesa driver-specific anyway as I have...