View Issue Details

IDProjectCategoryView StatusLast Update
0004007ThirdPartyBugpublic2023-09-07 06:55
Reporterrjones Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformGNU/linuxOSUbuntuOS Version23.04
Product Version11 
Summary0004007: ParaFoam Mesa warning + poor rendering
DescriptionThe 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 Reproduce1. 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 InformationInstalling 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.
TagsNo tags attached.

Activities

rjones

2023-08-17 03:46

reporter  

image.png (38,148 bytes)   
image.png (38,148 bytes)   

kimmo

2023-09-07 06:55

reporter   ~0013119

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

export ParaView_GL=mesa
to
export ParaView_GL=system

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.

Issue History

Date Modified Username Field Change
2023-08-17 03:46 rjones New Issue
2023-08-17 03:46 rjones File Added: image.png
2023-09-07 06:55 kimmo Note Added: 0013119