CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   [Critical] ParaView 3.12.0 breaks monitor signal in Ubuntu 11.04 (http://www.cfd-online.com/Forums/openfoam-paraview/98701-critical-paraview-3-12-0-breaks-monitor-signal-ubuntu-11-04-a.html)

v_mil March 16, 2012 12:24

[Solved][Critical] ParaView 3.12.0 breaks monitor signal in Ubuntu 11.04
 
Dear members!
I install ParaView 3.12.0 with OpenFoam installation.
After running ParaView and working with visualization the screen lamp suddenly switches off :mad:. Highlighting by external light source shows no picture on the screen. HDD LED blinks as at normal work. This display state is equivalent to power saving mode. Pressing CTRL-ALT-F1, typing user name and password blindly causing excessive HDD LED blinking but shutdown command does not work (misspelled by blind typing - ?). Only Ctrl-Alt-Del helps to restart.
This situation reproduced twice.
What happen? Please help me.
OS: Ubuntu 11.04 Natty x64 Updated 2011/03/16
PC: Acer Extensa 5620Z
Processor: Intel Pentium Dual-Core processor T2370 (1.73GHz, 533 MHz FSB, 1 MB L2 cache)
Monitor: WXGA Aser CrystalBright(TM) LCD
Video: Mobile Intel GMA X3100
2GB DDR2
160GB LED
DVD-Super Multi DL
802.11 b/g WLAN - disabled in blacklist.conf
Bluetooth 2.0 + EDR - Switched off.
Sound Card Intel HDAudio - disabled in blacklist.conf
Soft Modem on Intel HDA Bus - I don't know is it work.
Sound Card - in USB Speakers Logitech S-150

wyldckat March 16, 2012 18:02

Greetings Viktor and welcome to the forum!

My guess is that you installed this version: http://www.openfoam.org/download/ubuntu.php

There might have been a serious issue with the OpenGL library being used the wrong way by ParaView, leading to a severe graphics card crash. This is possibly due to either one of at least two reasons:
  • The drivers installed for the graphics card/chip aren't fully operational for your version of Ubuntu. I'm not familiar with Intel drivers, so I don't know how you can install the latest version.
  • The ParaView build provided with the Debian packages for OpenFOAM might not be able to work with all OpenGL drivers. I remember seeing something on their site, related to their USB live sticks with OpenFOAM for training sessions... ah, here it is: http://www.openfoam.com/training/boo...quirements.php
    Quote:

    To help ensure the bootable sticks operate effectively, it is useful to know the make and model of graphics card in the computers, so we can check driver compatibility ahead of the course.

My advice is to uninstall this Deb packages version of OpenFOAM and build it from source, along with building ParaView from source as well: http://www.openfoam.org/download/source.php

Good luck!
Bruno

v_mil March 18, 2012 04:12

Dear Bruno!
Thank You for reply.

I re-install OpenFOAM and ParaView from source with the same result:

~/OpenFOAM/user-2.1.0/run/tutorials/incompressible/icoFoam/cavity$ paraFoam
Application asked to unregister timer 0x6e00000c which is not registered in this thread. Fix application.

The application starts and switches off a display after 3...5 minutes.

Hardware info:

~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
0f:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
0f:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
0f:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
0f:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
~$

wyldckat March 18, 2012 04:56

Hi Viktor,

Mmm... looks to me that the graphics card drivers aren't fully up-to-date.

Are you 100% certain that you are using the OpenFOAM+ParaView version built from source? Does the following command return the path related to your home folder?
Code:

which paraview
If you are using Ubuntu 11.04, then you can try and use ParaView 3.8.1 from Ubuntu's repositories. First you'll have to disable the version you built of ParaView:
Code:

mv $ParaView_DIR ${ParaView_DIR}_disable
This should rename the folder where the custom ParaView was installed.

Then install the version from Ubuntu's repositories:
Code:

sudo apt-get install paraview
Then on the case you are testing, run:
Code:

touch case.foam
paraview

And open the file "case.foam". If the problem still occurs, then you'll have to search for the more up-to-date drivers for your graphics card and Ubuntu!
In case ParaView 3.8.1 is unable to open the case, then convert the case to VTK format, by running:
Code:

foamToVTK
Then open the files in the newly created "VTK" folder.

Good luck!
Bruno

v_mil March 18, 2012 12:05

Solution
 
Many thanks to Bruno :D This is a problem with old INTEL driver.
This problem is solved by installing Xorg-Edgers packets from UBUNTU repository:

ppa:xorg-edgers/ppa

Read carefully description:

https://launchpad.net/~xorg-edgers/+archive/ppa

I. Adding PPA repository
a) using Ubuntu Software Center
To add PPA open Applications->Ubuntu Software Center, select Edit->Software Sources Select second tab "Other Software", press "Add" and paste Apt line:

ppa:xorg-edgers/ppa

Press "Add Source"

b) or by Terminal ( a process from https://launchpad.net/~xorg-edgers/+archive/ppa ):

deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu natty main
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu natty main

(Replace natty with your version if it is not Natty)

II Updating a system
In terminal type:

sudo apt-get update
sudo apt-get upgrade

III It is recommended to reboot.

After these three steps my graphics start flying and ParaView works.
Many thanks to Bruno!

wyldckat March 18, 2012 14:39

Hi Viktor,

You're very welcome and thank you for the detailed solution!
The link to your post is going into this blog post of mine: Related issues to ParaView with OpenFOAM - Fixes and solutions

Best regards,
Bruno


All times are GMT -4. The time now is 00:52.