Hi there,
I hope that there is someone who either experienced a similar/the same problem or can help resolve it. I got a new Mac and run UTM with Ubuntu 20.04 as the guests. I installed the standard Yade package as per the instruction via 'sudo apt-get install yade' and it works just fine incl the GUI and the 3D viewer (I checked eg the its-random-pack.py script)
Installation:
Reading package lists... Done
Building dependency tree
Reading state information... Done
yade is already the newest version (2020.01a-6build2).
Execute:
yade gts-random-pack.py
Output:
Welcome to Yade 2020.01a
Using python version: 3.8.10 (default, Jul 29 2024, 17:02:10)
[GCC 9.4.0]
TCP python prompt on localhost:9000, auth cookie `adycus'
XMLRPC info provider on http://localhost:21000
Running script gts-random-pack.py
Packing saved to the database /tmp/gts-triax-packings.sqlite
Packing saved to the database /tmp/gts-triax-packings.sqlite
Found suitable packing in /tmp/gts-triax-packings.sqlite (radius=0.001±0,N=2000,dim=0.0158955×0.0343243×0.0280802,periodic,scale=1), created Wed Sep 4 09:40:01 2024
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]
No problem :)
However, when I compile using the source code (I got some user defined models that are not included in the standard package) I get the following output when trying to use the 3D viewer:
Execute:
yade-2024-08-30.git-41cf251 ./gts-random-pack.py
Output:
Welcome to Yade 2024-08-30.git-41cf251
Using python version: 3.8.10 (default, Jul 29 2024, 17:02:10)
[GCC 9.4.0]
TCP python prompt on localhost:9000, auth cookie `asyudc'
XMLRPC info provider on http://localhost:21000
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.
Running script ./gts-random-pack.py
Packing saved to the database /tmp/gts-triax-packings.sqlite
Packing saved to the database /tmp/gts-triax-packings.sqlite
Found suitable packing in /tmp/gts-triax-packings.sqlite (radius=0.001±0,N=2000,dim=0.0158955×0.0343243×0.0280802,periodic,scale=1), created Wed Sep 4 09:40:01 2024
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, -1, 1, 0, -1, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, 6, 1, 0, 6, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<int, 6, 1, 0, 6, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, 3, 1, 0, 3, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<int, 3, 1, 0, 3, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, 2, 1, 0, 2, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<int, 2, 1, 0, 2, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, 3, 3, 0, 3, 3> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, 6, 6, 0, 6, 6> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<double, -1, -1, 0, -1, -1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, 2, 1, 0, 2, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, 3, 1, 0, 3, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, 6, 1, 0, 6, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, -1, 1, 0, -1, 1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, 3, 3, 0, 3, 3> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, 6, 6, 0, 6, 6> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Matrix<std::complex<double>, -1, -1, 0, -1, -1> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::Quaternion<double, 0> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::AlignedBox<double, 3> already registered; second conversion method ignored.
<frozen importlib._bootstrap>:219: RuntimeWarning: to-Python converter for Eigen::AlignedBox<double, 2> already registered; second conversion method ignored.
[[ ^L clears screen, ^U kills line. F12 controller, F11 3D view (press "h" in 3D view for help), F10 both, F9 generator, F8 plot. ]]
In [1]: qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval -1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval -1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval -1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize 0, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval -1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Could not initialize GLX
Aborted (core dumped)
Not quite what I expected; is there a solution? Maybe its something simple and I am missing it.
Thanks,
Oliver