View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004007||ThirdParty||Bug||public||2023-08-17 03:46||2023-09-07 06:55|
|Summary||0004007: ParaFoam Mesa warning + poor rendering|
|Description||The OF11 version of paraview reports a Mesa warning and the window is poorly rendered (see attached screenshot).|
The window functions and the buttons are clickable, if you can guess where the icons are. The blacked out sections move when hovering over different parts of the window.
Command line output is:
Created temporary 'pitzDailySteady.OpenFOAM'
Mesa warning: Window 27262985 has no colormap!
Mesa warning: Window 27262988 has no colormap!
I/O : uncollated
Mesa warning: Window 27262998 has no colormap!
|Steps To Reproduce||1. Install OpenFOAM 11 in a clean Ubuntu 23.04 environment using the package process https://openfoam.org/download/11-ubuntu/ |
2. Run the pitzDailySteady tutorial
3. Open the tutorial with paraFoam
|Additional Information||Installing the default Ubuntu paraview package with `sudo apt install paraview` and opening the same openfoam case with an empty case.foam file renders fine and all native paraview functions work.|
I suspect this is a compilation problem where the dependencies don't match the Ubuntu 23.04 system, however I haven't had the time to recompile from source and identify a solution.
|Tags||No tags attached.|
Are you trying to run paraFoam with Mesa (rendering with CPU) or OpenGL provided with GPU driver?
I got the same Mesa warnings and found out paraFoam used Mesa instead of OpenGL provided by the GPU driver. I fixed this by modifying $FOAM_ETC/config.sh/paraview . I changed
This makes the paraFoam to use OpenGL provided by the GPU driver. Hope this helps. Don't know about the bad rendering with Mesa but I wouldn't be surprised if it didn't always work that well especially if you have less powerful CPU.