|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
mAx
Join Date: Mar 2009
Posts: 3
Rep Power: 16 ![]() |
hello,
I have installed OpenFOAM all is ok. I use VNC for remoting my linux cluster But when I run the cavity tutorial, I have a problem as I start paraFoam. I got the following message: Xlib: extension "GLX" missing on display ":4.0" the 4.0 gave me the intuition that the problem comes from VNC. So I started parafoam direct from linux (no VNC) and I don't have the error emssage anymore. The question is: what should be done for remoting paramfoam from VNC? (FoamX works perfectly from VNC) regards mAx |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Mike Long
Join Date: Mar 2009
Location: Norman, OK, USA
Posts: 12
Rep Power: 16 ![]() |
When you use VNC, you are actually viewing your remote X session.. i.e. the X client and server are both on your cluster node..
When you start parafoam from an ssh/rsh session (with X11 forwarding) the X client is your local machine, so it has all of the available X extensions like GLX... VNC effectively bypasses your local X client, defeating the purpose of X.. ![]() to fix it, you either need to configure X with GLX on your remote node, or always use your local machine as the X client (log into your cluster with 'ssh -X {cluster-name}' .. or ssh -Y if your local machine has hardware accelerated graphics) This is getting to be a pretty long reply, but I've been through this a lot and I know that it can be frustrating.. If you're running under Linux and you have direct rendering enabled on your local machine, you'll see much better performance in paraview (or any OpenGL application for that matter) if you run the application directly on your local machine instead of piping the X connection from the cluster.. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Os N
Join Date: Mar 2009
Posts: 2
Rep Power: 0 ![]() |
That is your VNC's issue.
There is no problem with SUSE Linux's vncserver. Or rebuild your vncserver with "#define BuildGlxExt YES". (Of course its performance is not better than direct X session, but it is acceptable for me and I usually use OpenFOAM with vnc.) |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
mAx
Join Date: Mar 2009
Posts: 3
Rep Power: 16 ![]() |
hi, thanx for your reply.
I am using SUSE Linxu Enterprise Server 9. Tell in which file should I insert the #define BouilGlxExt Yes" line? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 727
Rep Power: 20 ![]() |
I strongly recommend that you try freenx instead of the base VNC server/client. It is simply better for remote desktops.
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Mike Long
Join Date: Mar 2009
Location: Norman, OK, USA
Posts: 12
Rep Power: 16 ![]() |
I'm not familiar with freenx... does it support hardware accelerated OpenGL over a network connection? From my (very possibly flawed) understanding of X11, the only way to get direct graphics hardware access is to run the application (paraview) on the local machine using direct rendering in X...
when I'm logged into our cluster head node via ssh: [cfd_user@cluster-head ~]$ glxinfo|grep direct direct rendering: No on my local workstation: [cfd_user@local ~]$ glxinfo|grep direct direct rendering: Yes If your local machine does not support direct rendering, then it doesn't make much of a difference, but on my workstation (P4 3.2ghz, Nvidia QuadroFX 3500) glxgears gives me about 500 fps with direct rendering off and about 14000 fps with direct rendering on... that's the difference between smooth interaction and a slide show in paraview! I guess if you don't have direct access to your data on a local workstation then running paraview over ssh or a remote desktop is your only option. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Mike Long
Join Date: Mar 2009
Location: Norman, OK, USA
Posts: 12
Rep Power: 16 ![]() |
Actually.. now that I think about it, using a remote desktop viewer is probably the only real option since running paraview via ssh over a slow network would not work too well.
I think I was confused a little by the original question. I'm going to have to give freenx a try for when I'm working from home. |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Ramiro Brito Willmersdorf
Join Date: Mar 2009
Location: Recife, Pernambuco, Brasil
Posts: 16
Rep Power: 16 ![]() |
Actually, I think there is a much better way.
I think paraview works like Visit; they are distribute programs, a renderer that runs on your local workstation connects, using some kind of protocol, to (a) remote data server(s) (they are parallel programs so your data can reside on several remote computers). This uses tcp connections on other ports than the ssh one, so you'll have some firewall/tunneling magic to do, depending on you network. The graphics run at full speed since the renderer window has full access to the your workstation graphics hardware. I don't know how well this would work over a slow connection, but I'm using it (with Visit, however) from a windows (bleargh!) laptop into a linux server over a pretty lossy wireless connection on my home network and it's much better than any other alternative I tried (all the ones mentioned above.) |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Mike Long
Join Date: Mar 2009
Location: Norman, OK, USA
Posts: 12
Rep Power: 16 ![]() |
I'm sure you're right about that... I'm still coming up to speed on paraview, but I know that it is designed to do just what you say, allowing you to visualize huge data sets on distributed hardware. Eventually I'd like to get that going on our cluster, but it's pretty far down on my to do list at the moment.
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 727
Rep Power: 20 ![]() |
Check out Paraview 3 beta, its pretty impressive and the client-server thing is better supported via the GUI.
|
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Dayananda
Join Date: Mar 2009
Location: Bangalore, karnataka, India
Posts: 1
Rep Power: 0 ![]() |
To use VNC, I think you must need a program sharing utility like Citrix server etc ..
Thanks, - Dayananda |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Unable to launch parafoam & | boonhow | ParaView | 5 | March 23, 2022 08:09 |
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] | u2berggeist | OpenFOAM Installation | 2 | July 2, 2018 17:03 |
[OpenFOAM] How to use paraFoam on a cluster | andreas | ParaView | 1 | March 6, 2013 17:11 |
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY | raketenmaid | ParaView | 4 | February 5, 2013 05:20 |
ParaFoam, blockMesh etc in vnc | SimonH. | OpenFOAM | 1 | March 6, 2011 11:27 |