|
[Sponsors] |
[OpenFOAM] Black Screen with Paraview 5.6.0 on Ubuntu 18.04 after OpenFOAM update |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 31, 2018, 14:46 |
Black Screen with Paraview 5.6.0 on Ubuntu 18.04 after OpenFOAM update
|
#1 |
New Member
Kurt
Join Date: Feb 2017
Posts: 10
Rep Power: 9 |
I just upgraded to the lastest openfoam version 6 distribution which includes an update to paraview 5.6.0 and when I run paraview I get a black screen. If I click around I can get some of the windows to show. Anyone else had this issue? Thanks
|
|
January 1, 2019, 10:33 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings ksmithgall,
Happy new year! Onto the problem: It's probable that it's because of the switch from legacy OpenGL mode to OpenGL2 3.3 and newer, which forcefully started with ParaView 5.5. In situations like yours, the trick now is to use the command line argument "--mesa", as instructed... what the... it's not instructed on the release page: https://openfoam.org/news/paraview-5-6/ Shoot... they implemented an automatic fallback method that isn't working, because your ParaView opens without crashing. A question, so that this can be reported to them at https://bugs.openfoam.org/ - What do the following commands give you? Code:
lspci | grep VGA glxinfo | grep OpenGL Code:
sudo apt install mesa-utils Code:
lspci | grep VGA glxinfo | grep OpenGL In the meantime, try to use the following command to workaround the problem: Code:
sudo sed -i -e 's=\(paraview "\)=#\1=' /opt/openfoam6/bin/paraFoam Best regards, Bruno
__________________
|
|
January 3, 2019, 07:37 |
|
#3 |
Member
Martin
Join Date: Aug 2018
Posts: 33
Rep Power: 8 |
||
January 4, 2019, 16:48 |
|
#4 |
New Member
Kurt
Join Date: Feb 2017
Posts: 10
Rep Power: 9 |
Hello wyldckat and happy new year to you!
Running Code:
lspci | grep VGA Code:
22:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41) 61:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1) Code:
glxinfo | grep OpenGL Code:
OpenGL vendor string: VMware, Inc. OpenGL renderer string: llvmpipe (LLVM 6.0, 128 bits) OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.5 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 18.0.5 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.0.5 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions: Code:
********************************************************** ParaView failed to open using available graphics hardware. Trying fallback to software rendering using MESA. ********************************************************** I/O : uncollated Thanks |
|
January 4, 2019, 19:19 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers @ksmithgall:
|
|
January 7, 2019, 08:01 |
|
#6 |
New Member
Join Date: Dec 2018
Posts: 2
Rep Power: 0 |
Hello and happy new year! I have the same problem; Up until 2019, I typed paraFoam and it loaded nicely. However, maybe because of the OpenGL switch @wyldckat mentioned, when I type ParaFoam or paraview on the console I only get a black window, nothing loads.
I followed the steps from @wyldckat and the command Code:
sudo sed -i -e 's=\(paraview "\)=#\1=' /opt/openfoam6/bin/paraFoam Code:
********************************************************** ParaView failed to open using available graphics hardware. Trying fallback to software rendering using MESA. ********************************************************** I/O : uncollated I run OpenFoam on a VirtualMachine that runs ubuntu 18.04 so I do not have a GPU to choose from, everything is virtual. Any help is appreciated! |
|
January 7, 2019, 18:47 |
|
#7 |
New Member
Kurt
Join Date: Feb 2017
Posts: 10
Rep Power: 9 |
@wyldckat
I finally have the issue resolved. Ultimately it was coming an incorrect installation of the nvidia driver in ubuntu (man that was a pain), not related to the paraview update with openfoam. Thanks for the help diagnosing it. Though through this process I think it showed that the MESA fallback software rendering isn't functioning as intended. @mariaard For a virtual machine you're going to be limited to software rendering. The only other option you have would be to remove the current version and install the version just prior to the update with paraview 5.6.0 http://dl.openfoam.org/ |
|
January 12, 2019, 09:35 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
January 18, 2019, 12:07 |
|
#9 | |
New Member
Join Date: Dec 2018
Posts: 2
Rep Power: 0 |
Quote:
Thank you, I did this last week and it worked. However, my issue is now solved by doing 2 things: 1. Update my host's graphic drivers 2. In the nvidia control panel, in the 3D settings, in the Global Settings, I set the OpenGL rendering GPU to my GeForce GTX and also in the Program Settings, I set for my virtualBox the setting of OpenGL rendering GPU to GeForce GTX. I do not know if one of these things was the problem, but for now, it works! Thank you for your answers! |
||
August 9, 2019, 15:08 |
|
#10 |
New Member
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10 |
Hi Bruno,
I have problem running paraFoam. First it doesn't work and I have to use "paraFoam -builtin". Second, when I run paraview, cell array is empty! While, as you know better, it should shows U, P, Alpha, etc... What's the problem? I use openFoam-7 and olaFlow. Regards Zahra |
|
August 23, 2019, 02:13 |
[Solved] The issue is with the Graphics Driver
|
#11 |
New Member
|
I was facing black screen error when I open ParaView 5.6.0 in Ubuntu 18.04. The issue is NOT WITH PARAVIEW at all. It's an issue with the graphics card. Basically what's happening is that paraview is loading correctly but is not getting rendered on the screen.
For me, it was resolved by updating the graphics driver. The procedure is as discussed below: I'm using a HP Z2 PC with NVIDIA Graphics card. Just needed to install the latest NVIDIA graphics driver and the paraview started working like a charm: 1. Open "Softwares and Updates" window from the Applications 2. Go to "Additional Drivers" tab. It will show a list of drivers 3. Choose the latest driver for NVIDIA and click on "Apply Changes". For me, it was nvidia-driver-430. 4. It will show a prompt for a secure boot password. Basically, this is an additional layer of security to allow proprietary software (such as this driver) to load everytime you logon. 5. After installation, reboot the system. It will take you to MOK Manager. 6. Click on "Change Secure Boot State" and then "Enroll key" and enter the secure boot password you've set while installing the driver. This step needs to be done only the first time you reboot after driver installation. 7. After the reboot, check the current driver: Settings> Details> About. The graphics information should now be updated. For more info on updating the graphics, check the page: https://www.linuxbabe.com/ubuntu/ins...r-ubuntu-18-04 |
|
August 25, 2019, 08:51 |
|
#12 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
Quote:
@sphani4391: Many thanks for sharing your solution! |
||
August 29, 2019, 12:52 |
|
#13 |
Member
Join Date: Sep 2018
Posts: 53
Rep Power: 8 |
Hello everyone, I'm having a somewhat similar issue with Paraview 5.6, bundled with OpenFOAM 6. Installation from the repository on Ubuntu 18.04 goes well and OpenFOAM works fine. Paraview however, starts up OK but is slow to respond. For example zooming in on an object or moving around happens with a little delay, almost as if the system is struggling to render a simple box on the screen. Rolling back to 5.4 fixes the problem, but that version has issues with GUI scaling on high def screens so it would be nice if I could use the newer version. I updated my graphics driver to nvidia-430 without effect.
Can anyone suggest a solution? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] OpenFoam v1812 - paraview black screen | user_ | ParaView | 0 | February 28, 2019 07:51 |
Black output screen but geometry present - Ubuntu 14.04 | shivaang | enGrid | 11 | March 30, 2016 15:53 |
[OpenFOAM.org] Problems with Paraview (OpenFOAM 2.4.0 from source code in Ubuntu 14.04) | Gerrit | OpenFOAM Installation | 4 | August 15, 2015 12:05 |
paraFoam / paraview black screen | gfilip | OpenFOAM | 6 | July 13, 2009 05:30 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |