qt.View() segmentation fault

Asked by Jan Elias

I downloaded and compiled the latest yade version on Ubuntu 11.04, 64bit.
scons features=gts,log4cxx,opengl,openmp,vtk,qt4 PREFIX=/home/jan/yade optimize=1
I was not able to open the 3D view (gives segmentation fault), but the controler is OK. The error seems to be in command: qt.View(). I do not know if this error is connected to yade or to something else. Have you ever encountered such problems before? Do you have any suggestion what to fix or try?

Welcome to Yade 0.60.3
TCP python prompt on localhost:9000, auth cookie `uksacs'
XMLRPC info provider on http://localhost:21000
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]: from yade import qt
Yade [2]: qt.View()
Segmentation fault

Best regards Jan

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Elias
Solved:
Last query:
Last reply:
Revision history for this message
Jan Elias (elias-j) said :
#1

The problem was missing package libgl1-mesa-swx11.
Thank to great help of Vaclav Sadilek, everything works now.
Jan

Revision history for this message
Ocean (haiyangzh118) said :
#2

Hello,when I type the command:qt.View(),yade quit automatically,I didn't find the package libgl1-mesa-swx11 too,
but how can I get it ?

Thanks!

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

Hello,

1) what operating system do you use?
2) how did you install yade: from source or from packages?

Anton

Revision history for this message
Ocean (haiyangzh118) said :
#4

I compiled yade-0.70.0 on Ubuntu 11.04 from source~

Ocean

Revision history for this message
Anton Gladky (gladky-anton) said :
#5
Revision history for this message
Ocean (haiyangzh118) said :
#6

OK,thank you for your advise~

Revision history for this message
Yade Guide (yade-guide) said :
#7

Hey there! As an automated bot, I've scanned through a few relevant threads and condensed their content for your convenience. Don't forget to click on the links if you want more details!

Title: "Save the simulation result without OpenGL GLX"
Milly faced issues with her Ubuntu server while running simulations using pack_cloud.py. Jan recommended updating OS and YADE for better support. Milly inquired about saving sphere positions without a graphics window and the impact of 'rRelFuzz' on particle distribution when using 'psdSizes' and 'psdCumm'. Jan explained that 'rRelFuzz' is not considered if 'psdSizes' is specified, and 'psdSizes' makes the mode RDIST_PSD. Milly thanked Jan for his assistance.
https://answers.launchpad.net/yade/+question/694102

Title: "Error while compilation"
The problem has been resolved, but no specific solution is mentioned.
https://answers.launchpad.net/yade/+question/629694