CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] CPU instead of GPU renderer in openFOAM included ParaView (https://www.cfd-online.com/Forums/paraview/222681-cpu-instead-gpu-renderer-openfoam-included-paraview.html)

superkelle December 4, 2019 08:11

CPU instead of GPU renderer in openFOAM included ParaView
 
2 Attachment(s)
Hi I have noticed some strange behavior of my ParaView installation, and I'm interested if someone has had the same issue:



I installed openFOAM7 including ParaView 5.6 from https://openfoam.org/news/v7-patch/ on my Ubuntu19.04 system. If I load a file and just view on different angles at it, for example a simple block mesh, my CPU usage is nearly at 100% on all cores and my CPU cooler gets really loud. My AMD RX570 graphics card is doing nearly nothing at this point. ( I used htop and radeontop to monitor that)

I was very curiouse about that so I installed openFOAM also in the WSL on my Windows Partition. I use xming to display ParaView out of the WSL and with the same files I did not have the same issue like on Ubuntu.

Then I installed an seperate ParaView 5.7 from https://www.paraview.org/download/ under Ubuntu19.04, by extracting it to "/opt/paraview57", renaming the "paraview" file in "opt/paraview57/bin" to "paraview57" and finaly exporting "/opt/bin/" to PATH via editing the "~/.bashrc" (I'm no LINUX pro and don't know if that's the best way but to install something, it works somehow)

And with this installation paraview57 did use more GPU resources instead CPU resources and the CPU cooler was quiet.
Now I saw that in ParaView under "Help/About" there were different entrys at "OpenGL Version" and OpenGL Renderer" in

5.6 (includes in OF) OpenGL Version: 3.3 (Core Profile) Mesa 18.3.4 and OpenGL Rendere:llvmpipe (LLVM 8.0, 128 bits)

5.7 (seperate installation) OpenGL Version: 4.5 (Core Profile) Mesa 19.0.8 and OpenGL Renderer: Radeon RX 570 Series



I would like to use the included 5.6 version since several scripts like paraFoam use that included 5.6 version and I get some warnings and errors with the 5.7 version (Fontconfig error and Fontconfig warning).



So my questions are: Does anybody have a similar problem and maybe a solution to that? Is there maybe a possibility to change the renderer in the 5.6 version?



Best regards

Saulhr January 10, 2020 13:24

same problem
 
I have the same problem, too. I join the request to know if the NVIDIA card can be used for rendering when using ParaView on Ubuntu.

superkelle January 26, 2020 05:51

Quote:

Originally Posted by Saulhr (Post 754333)
I have the same problem, too. I join the request to know if the NVIDIA card can be used for rendering when using ParaView on Ubuntu.

I can just highly recommend you to use a standalone version of paraview. Here is a link for propper installation. you have to adapt it to the newer version name, but that isn't difficult. Or just use apt, but you wont get the newest version there.

https://sztr.wordpress.com/2017/01/2...-ubuntu-16-04/


All times are GMT -4. The time now is 03:41.