|
[Sponsors] |
Black output screen but geometry present - Ubuntu 14.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2016, 08:27 |
Black output screen but geometry present - Ubuntu 14.04
|
#1 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
Hey all,
I recently installed Engrid and I got no problem with installation however when I import an STL file (from damper tutorial) or egc (from Heat exchanger) I get a black output screen. From the damper tutorial I get the surface cells present and can even see that check surface integrity tells me that the mesh is ok. I have also tried to import the mesh in paraview and see nothing when i go from engrid but when i open it seperately i see the stl images. The Output file in the tmp folder is shown in figure 2 and the terminal output is shown in figure 3. Any help would be greatly appreciated. |
|
March 26, 2016, 18:18 |
|
#3 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
Thanks for the reply.
I have installed engrid 1.4. Using the instructions available on https://github.com/enGits/engrid/wik...D-Installation for a Ubuntu system. |
|
March 27, 2016, 08:00 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Shivaang,
In a terminal/console window, from within the folder "engrid/src", please run the following commands: Code:
ldd engrid > log.ldd.engrid gzip < log.ldd.engrid > log.ldd.engrid.gz And few more questions, to help diagnose the problem:
Bruno |
|
March 27, 2016, 08:52 |
|
#5 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
Hey Bruno,
I have ran the commands that you mentioned and attached the output. My machine's operating system has inbuilt Ubuntu (so not a virtual machine) My drivers are installed- Checked this by glxgears command and also have checked that direct rendering is active. For paraview I installed it using the instructions provided on the Openfoam.org website: Code:
sudo apt-get download paraviewopenfoam44 --allow-unauthenticated sudo dpkg -i paraviewopenfoam44_0-1_amd64.deb sudo apt-get install qt4-dev-tools sudo dpkg -i paraviewopenfoam44_0-1_amd64.deb Regards, Shivaang Sachdeva |
|
March 27, 2016, 09:06 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Shivaang,
Mmm... from the log file that you attached, it indicates that it's linked to the Mesa OpenGL library: Code:
libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fd46514d000) Code:
ldd /opt/paraviewopenfoam44/lib/paraview-4.4/libvtkftgl-pv4.4.so > log.ldd.paraview gzip < log.ldd.paraview > log.ldd.paraview.gz For example, I got the following: Code:
libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x00007f64249c7000) Best regards, Bruno |
|
March 27, 2016, 09:51 |
|
#7 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
Hey Bruno,
The paraview seems to be linked to the same place from the file generated (shown in attached). In the engrid linking file that i created, I got the following code, could this be the problem? Code:
libengrid.so.1 => not found libng.so.1 => not found Shivaang |
|
March 27, 2016, 10:14 |
|
#8 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Shivaang,
OK, at least both are using the same OpenGL library. I've compared with a build I made within a VM that has Ubuntu 14.04 and this was different: Code:
libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x00007fd45c2b2000) Quote:
Code:
export LD_LIBRARY_PATH=./libengrid:./netgen_svn:$LD_LIBRARY_PATH The weird part is that I have the very vague idea that I've seen this happen in the past, but I can't remember what keywords I should be looking for... The only thing that I can remember right now is that you can try the following: Quote:
The other thing you might want to try is the following two commands: Code:
wmUNSET engrid The wmUNSET command is an alias for unloading the OpenFOAM shell environment, so hopefully this will unload any potentially conflicting environment variables!?. Best regards, Bruno |
|||
March 27, 2016, 11:01 |
|
#9 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
Hey Bruno,
I have followed the instructions however it doesn't resolve the error. The command to fix the visibility of the library did work on the bright side. The other codes did run however the stl file is still not visible. I am not sure but whenever I export a geometry it is called "Operation 0" and when i perform the surface integrity it says that the operation is deleted "deleting Operation 0x1da8250". Could this be relevant? Would it be advisable to download some other graphics card software? Regards, Shivaang Sachdeva |
|
March 27, 2016, 11:11 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
That's only an information for the developers. It's a debug-related message, stating that the operation is complete and the respective object that did the operation has been deleted (or at least it should have). Quote:
If you're using an Intel graphics unit (possibly one that is embedded within the CPU), you might be using one that has a faulty OpenGL implementation I was looking for threads about Intel cards and this one popped up: http://www.cfd-online.com/Forums/ope...14-04-a-3.html - do you have the package "libglu1-mesa-dev" installed in Ubuntu? edit: The other possible solution is to disable the 3D accelerated desktop feature that Ubuntu usually has turned on by default. Last edited by wyldckat; March 27, 2016 at 11:16. Reason: see "edit:" |
||
March 30, 2016, 09:04 |
|
#11 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
Dear Bruno,
Thanks for the assistance and sorry for the late reply. I actually was having some difficulty with the installation of new drivers (unsuccessful), my OpenGL version was mesa10.1.3. I am currently updating my system to ubuntu 15.10 and hopefully that will be able to resolve the issue. I searched for the libglu1-mesa-dev and saw that it was present and working, so it was not the issue. As for d accelerated I tried turning it off but it was not able to resolve the issue. I will try installing it with Ubuntu 15.10 and hopefully the issue will be resolved. Thanks for the help and I will post if it resolved the problem. Regards, Shivaang |
|
March 30, 2016, 15:53 |
|
#12 |
New Member
Shivaang Sachdeva
Join Date: Mar 2016
Posts: 7
Rep Power: 10 |
The issue has been resolved by updating to Ubtuntu 15.10. I am not sure whether that is the ideal way to resolve the issue. But I would like to say thank you for the assistance.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Fehler OpenFOAM Ubuntu 14.04 | Roeroe19 | OpenFOAM Installation | 2 | January 11, 2015 14:55 |
RNG diverged during the analysis the flow over a multi element airfoil, why? | s.m | OpenFOAM Running, Solving & CFD | 0 | August 5, 2013 09:39 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
Simulation of Flow through Complex 3D Geometry | EmersonKB | CFX | 5 | July 2, 2009 09:17 |
vitual _ real | deneb | FLUENT | 3 | January 22, 2007 05:31 |