CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Xlib: extension “NV-GLX” missing on display "Ip Address"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2013, 10:23
Default Xlib: extension “NV-GLX” missing on display "Ip Address"
  #1
New Member
 
Ivy
Join Date: Sep 2013
Location: Singapore
Posts: 16
Rep Power: 13
Ivy Zhou is on a distinguished road
Hi

I am using Mac system and access to another linux machine via "ssh".
When I create the mesh and then type "paraFoam", I can open the paraview, however, in the terminal it was written
"Xlib: extension “NV-GLX” missing on display "****" "

How should I solved the problem ?

Thanks very much. I am currently doing my bachelor thesis, which is driving me a bit crazy since I often get stuck
Any help would be really appreciated
Ivy Zhou is offline   Reply With Quote

Old   September 28, 2013, 13:53
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Ivy,

As I said on your other thread http://www.cfd-online.com/Forums/par...ux-system.html - I'll answer to this issue here.

Last year I helped someone with a similar issue on a Mac: http://engits.eu/vanilla/index.php?p...ard-engrid./p1
The answer is this:
Quote:
Originally Posted by preichl View Post
Setting the environment variable via the command below worked for me.

export LIBGL_ALWAYS_INDIRECT=y
Best regards,
Bruno
Ivy Zhou likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 30, 2013, 11:32
Default
  #3
New Member
 
Ivy
Join Date: Sep 2013
Location: Singapore
Posts: 16
Rep Power: 13
Ivy Zhou is on a distinguished road
Hi Bruno~~~

Thanks soooo much ))
I think it works Yeah~~

Best Regards!!
Ivy
Ivy Zhou is offline   Reply With Quote

Old   May 6, 2014, 04:07
Default I have similar problem using win7 mobaxterm to connect to redhat
  #4
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 19
Rep Power: 13
chery1986 is on a distinguished road
Hi Bruno

I have similar problem to remotely use paraview on RHEL from win7
Xlib: extension "NV-GLX" missing on display "localhost:10.0".

Do you have any idea to fix the problem?

Quote:
Originally Posted by wyldckat View Post
Hi Ivy,

As I said on your other thread http://www.cfd-online.com/Forums/par...ux-system.html - I'll answer to this issue here.

Last year I helped someone with a similar issue on a Mac: http://engits.eu/vanilla/index.php?p...ard-engrid./p1
The answer is this:

Best regards,
Bruno
chery1986 is offline   Reply With Quote

Old   May 6, 2014, 15:33
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Chen Yu,

Quote:
Originally Posted by chery1986 View Post
Do you have any idea to fix the problem?
Did you try to follow the instructions given in post #2? Namely the post you quoted?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 7, 2014, 06:12
Default
  #6
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 19
Rep Power: 13
chery1986 is on a distinguished road
I have tried
export LIBGL_ALWAYS_INDIRECT=y
in mobaXterm under win7, but doesn't help with this problem.

Quote:
Originally Posted by wyldckat View Post
Greetings Chen Yu,


Did you try to follow the instructions given in post #2? Namely the post you quoted?

Best regards,
Bruno
chery1986 is offline   Reply With Quote

Old   May 11, 2014, 16:35
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Chen Yu,

I had a look into mobaXterm and I don't trust it. It's not open-source and I have some trouble trusting "free" software nowadays.

The best I can do is ask you for details on how are you setting up the interface, namely:
  1. Are you logging in from Windows directly to a Linux machine in the same network?
    1. If not, are you logging in over the internet and/or are you using a 2 step logging in? For example: 1st you logging to a first Linux machine and then from that machine you logging to the other one.
  2. Are the NVidia drivers properly installed in the Linux machine?
  3. What settings are you using in mobaXterm? Are you certain that you turned on the X11 port tunnel?
  4. Are you able to open any other application windows through the connection created with mobaXterm?
  5. Which ParaView version are you using? It's possible that the version you're using does not support the option "LIBGL_ALWAYS_INDIRECT".
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 16, 2014, 05:22
Default
  #8
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 19
Rep Power: 13
chery1986 is on a distinguished road
Answering your question

1. Yes, the win7 machine and RedHat linux machine are in the same network
2. I think the driver is installed properly, the monitor connected to the linux machine also works well
3&4. X11 port is open, gedit and other Xwindows work fine.
5. My paraview version is 3.12.0 64bit, how can I make sure whether it supports "LIBGL_ALWAYS_INDIRECT"?

Thank you

Quote:
Originally Posted by wyldckat View Post
Hi Chen Yu,

I had a look into mobaXterm and I don't trust it. It's not open-source and I have some trouble trusting "free" software nowadays.

The best I can do is ask you for details on how are you setting up the interface, namely:
  1. Are you logging in from Windows directly to a Linux machine in the same network?
    1. If not, are you logging in over the internet and/or are you using a 2 step logging in? For example: 1st you logging to a first Linux machine and then from that machine you logging to the other one.
  2. Are the NVidia drivers properly installed in the Linux machine?
  3. What settings are you using in mobaXterm? Are you certain that you turned on the X11 port tunnel?
  4. Are you able to open any other application windows through the connection created with mobaXterm?
  5. Which ParaView version are you using? It's possible that the version you're using does not support the option "LIBGL_ALWAYS_INDIRECT".
Best regards,
Bruno
chery1986 is offline   Reply With Quote

Old   May 18, 2014, 15:15
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
If gedit works, and the graphics are correctly installed in the RHEL machine, then the problem might be with how the flag is being set. ParaView 3.12.0 should work just fine with this flag.

Try this instead:
Code:
export LIBGL_ALWAYS_INDIRECT=1
paraview
If it still gives the same error, this post at Unix.StackExchange seems to give a hint: http://unix.stackexchange.com/a/60822 - it seems that this flag is meant to be used with Mesa 3D in the Linux machine, instead of the drivers provided with the graphics card.

And after a quick search, it seems that this errata might be related to the problem you're having: https://rhn.redhat.com/errata/RHBA-2013-0344.html - try following the instructions given there to fix the problem on the RHEL machine.

wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] paraFoam error scybchenjun OpenFOAM Meshing & Mesh Conversion 0 May 12, 2016 00:25
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 sam.ho OpenFOAM Installation 35 April 5, 2014 16:31
[OpenFOAM] Xlib: extension "GLX" missing on display goldbeard ParaView 5 March 24, 2013 14:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 08:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46


All times are GMT -4. The time now is 17:21.