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

[General] XLib: extension "XInputExtension" missing on display

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By dkxls

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2014, 16:43
Default XLib: extension "XInputExtension" missing on display
  #1
New Member
 
NY
Join Date: Jun 2014
Posts: 1
Rep Power: 0
blwells45 is on a distinguished road
I am a server administrator trying to get Paraview to work for a modeling scientist. What we have is a virtualized Ubuntu 12.04 LTS server with 3.14.1-1ubuntu1.1 version of paraview installed.

If I start paraview from the console session, it works fine. However, if I start it from a VNC session, I am getting XLib: extension "XInputExtension" missing on display

My xstartup config is as follows:

Code:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
#unset DBUS_SESSION_BUS_ADDRESS
#exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#export XKL_XMODMAP_DISABLE=1
#/etc/X11/Xsession
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &i
I'm not sure what other information you might need to help me out.

Thanks,
Brian

Last edited by wyldckat; June 28, 2014 at 16:15. Reason: Added [CODE][/CODE]
blwells45 is offline   Reply With Quote

Old   June 28, 2014, 16:24
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
Greetings Brian and welcome to the forum!

I've moved this thread from the OpenFOAM installation forum, as there was no clear indication to it being related to OpenFOAM.

As for the issue you're getting, it looks familiar to me, although I've never gotten it myself. So after searching a bit about this, there seems to be at least two possible solutions:
  1. Inside a console/terminal window in the VNC window, run:
    Code:
    export LIBGL_ALWAYS_INDIRECT=y
    paraview
  2. If the above didn't work, try installing the package "libgl-dev":
    Code:
    sudo apt-get install libgl-dev
    (edit: the previous package and link no longer were applicable.)
Please do let us know if either one (or both) of the above solves the problem.

Best regards,
Bruno

Last edited by wyldckat; October 26, 2014 at 13:52. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   October 21, 2014, 21:14
Default Same issue. Tried solution. Not working.
  #3
New Member
 
Jeremy
Join Date: Oct 2014
Posts: 6
Rep Power: 12
jemz is on a distinguished road
Hi Bruno,

I think I am experiencing the same problem. I tried both your solutions but they didnt work. Here is the error msg:

JeremyVM@JeremyVM:~/OpenFOAM/JeremyVM-2.3.0/run/tutorials/incompressible/icoFoam/cavity$ paraFoam
created temporary 'cavity.OpenFOAM'
Xlib: extension "XInputExtension" missing on display ":11.0".
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0

I am only trying to run the tutorial as outlined in openFOAM's cavity tutorial.

Please advise.

Regards,
Jeremy
jemz is offline   Reply With Quote

Old   October 24, 2014, 11:17
Default Problem to connect to server - xrdp
  #4
New Member
 
Join Date: Oct 2014
Posts: 3
Rep Power: 12
Jake87 is on a distinguished road
Hi...i'm new here.
I installed openFoam 2.3.0 on a server with Ubuntu 14.04.
At the server itself paraFoam ist working right but when i start it with remote on my windows computer i get the following error:
Xlib: extension "XInputExtension" missing on display ":10.0".
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0

I tried a lot but have no idea what else i can do. i updated mesa driver and some more. i guess it's a problem of xrdp.
Is there someone who had the same problem and could tell me what to do?
Thanks
Jake
Jake87 is offline   Reply With Quote

Old   October 24, 2014, 13:15
Default
  #5
Senior Member
 
dkxls's Avatar
 
Armin
Join Date: Feb 2011
Location: Helsinki, Finland
Posts: 156
Rep Power: 19
dkxls will become famous soon enough
Not quite sure what's going on there (I'm not an X-server expert ).
But one thing to check would be that X-forwarding is supported. On a linux client it would be something like "ssh server -X", no idea how that would be set up on windows.

In any case, X-forwarding is actually a bad idea [1] and I would recommend you to use paraview's own client-server connection.
The setup is very simple, run pvserver on the server and paraview on the client, then just connect to the server in the GUI, details see here [1,2].

[1] http://www.paraview.org/Wiki/ParaVie...ot_a_Good_Idea
[2] http://www.paraview.org/Wiki/Setting...araView_Server
wyldckat likes this.
dkxls is offline   Reply With Quote

Old   October 26, 2014, 12:10
Default
  #6
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 to all!

@Jake87: I moved your post and Armin's answer to this current thread, because it's on the same topic.

@Jake87 and @Jeremy: Can you please detail how you installed OpenFOAM and ParaView? I ask this because that should give us some ideas on how to reproduce this error.


edit: Can you please also try running this command:
Code:
LIBGL_DEBUG=verbose glxinfo
You might need to install first the package "mesa-utils". The utility glxinfo gives a lot of information about the available OpenGL functionalities available in your current display and "LIBGL_DEBUG=verbose" will request a verbose output of the procedures the utility takes to get things running.

Best regards,
Bruno

Last edited by wyldckat; October 26, 2014 at 13:33. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   October 27, 2014, 05:24
Default
  #7
New Member
 
Join Date: Oct 2014
Posts: 3
Rep Power: 12
Jake87 is on a distinguished road
@dkxls: i have a try if it works
@wyldckat: first i tried this one http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu
but didn't work at all.
Then i used a youtube tutorial: http://www.youtube.com/watch?v=LkLgwm64jGI. Now it starts but it crashes after a few seconds.
Jake87 is offline   Reply With Quote

Old   October 28, 2014, 21:44
Default
  #8
New Member
 
Jeremy
Join Date: Oct 2014
Posts: 6
Rep Power: 12
jemz is on a distinguished road
Hi everyone! I really appreciate the help offered in this community. Thanks!!

@wyldckat: Sorry for the delay in replying! I installed it following http://openfoamwiki.net/index.php/In...M-2.3.0/Ubuntu
Under the title "2.3 Ubuntu 14.04"

Also, if it helps, I am using xfce because xrdp doesn't work with Ubuntu 14.04.

While running LIBGL_DEBUG=verbose glxinfo, it asked to install mesa-utils (8.1.0-2), which I did.

I then tried LIBGL_DEBUG=verbose glxinfo again and this is what appeared in the terminal:

Code:
libGL: Can't open configuration file /home/JeremyVM/.drirc: No sych file or directory
libGL error: failed to load drivier: swrast
Also a separate window popped up which says:
Code:
Your system is providing 3D via software rendering rather than hardware rendering. This is a compatibility mode which should display 3D graphics properly but the performance may be very poor. If the problem you are reporting is related to graphics performance, your real question may be why X didn't use hardware acceleration for your system.
Please advise.

Regards,
Jeremy

Last edited by wyldckat; November 1, 2014 at 10:21. Reason: Added [CODE][/CODE]
jemz is offline   Reply With Quote

Old   October 28, 2014, 22:25
Default
  #9
New Member
 
Jeremy
Join Date: Oct 2014
Posts: 6
Rep Power: 12
jemz is on a distinguished road
Quote:
Originally Posted by jemz View Post
Hi Bruno,

I think I am experiencing the same problem. I tried both your solutions but they didnt work. Here is the error msg:

JeremyVM@JeremyVM:~/OpenFOAM/JeremyVM-2.3.0/run/tutorials/incompressible/icoFoam/cavity$ paraFoam
created temporary 'cavity.OpenFOAM'
Xlib: extension "XInputExtension" missing on display ":11.0".
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0

I am only trying to run the tutorial as outlined in openFOAM's cavity tutorial.

Please advise.

Regards,
Jeremy
It's funny, I upgraded libgl and mesa util and now I get

Xlib: extension "XInputExtension" missing on display ":12.0" (It was 11.0 in my previous post!)

Please advise.

Regards,
Jeremy
jemz is offline   Reply With Quote

Old   November 1, 2014, 10:28
Default
  #10
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 Jeremy,

Quote:
Originally Posted by jemz View Post
It's funny, I upgraded libgl and mesa util and now I get

Xlib: extension "XInputExtension" missing on display ":12.0" (It was 11.0 in my previous post!)
The change in the number is because when the new VNC display was created, it had to allocate to another display number. Either the ":11" was still working or there is a file left from the previous session not having been closed properly before rebooting. Have a look into the files present in the folder "~/.vnc".

I got the same problem with the "failed to load driver: swrast" when testing this in a virtual machine.
The problem is that the VNC display does not have access to a decent graphics card (and respective drivers) and instead tries to load the "swrast" driver. But I haven't managed to figure out what's necessary to get this driver up and running. The solution that usually pops-up for this issue is to use VirtualGL along with TurboVNC, for getting a proper VNC with OpenGL display.

Honestly, dkxls' answer in post #5 seems the best solution for this issue, since that solution relies on having only a headless pvserver running on the remote machine and then having the local machine use ParaView to connect to the remote pvserver. This way the data is rendered locally and processed at the remote machine.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 17, 2015, 05:05
Default Paraview Server
  #11
New Member
 
Jeremy
Join Date: Oct 2014
Posts: 6
Rep Power: 12
jemz is on a distinguished road
Quote:
Originally Posted by dkxls View Post
Not quite sure what's going on there (I'm not an X-server expert ).
But one thing to check would be that X-forwarding is supported. On a linux client it would be something like "ssh server -X", no idea how that would be set up on windows.

In any case, X-forwarding is actually a bad idea [1] and I would recommend you to use paraview's own client-server connection.
The setup is very simple, run pvserver on the server and paraview on the client, then just connect to the server in the GUI, details see here [1,2].

[1] http://www.paraview.org/Wiki/ParaVie...ot_a_Good_Idea
[2] http://www.paraview.org/Wiki/Setting...araView_Server
Dear dkxls, I am running ubuntu 14.04 on a virtual machine hosted in an Microsoft Azure Server. I had a previous post regarding some graphics issue and I still haven't fixed that issue. (it seems ubuntu has some graphics issues) The question I have is, what is the paraview server all about? Is it about running backend servers to compile the graphics so that my VM does not have to?

Please advise.

Thank you very much.
jemz is offline   Reply With Quote

Old   May 16, 2015, 12:20
Default
  #12
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
Quote:
Originally Posted by jemz View Post
The question I have is, what is the paraview server all about? Is it about running backend servers to compile the graphics so that my VM does not have to?
Quick answer: pvserver was designed for assisting in the handling of very large datasets, including rendering. That is why this section exists in the wiki: http://www.paraview.org/Wiki/Setting...d_pvdataserver

In theory, in your case, you could use pvdataserver in the remote virtual machine and then use pvrenderserver in your local machine/workstation. The your local ParaView would connect to the two servers, namely the remote one and the local one. I've never done this, so I'm not sure how it will perform, but I think it's possible to skip the need of using pvrenderserver and simply use ParaView to only connect to the
pvdataserver.
wyldckat is offline   Reply With Quote

Old   July 13, 2017, 02:52
Default
  #13
New Member
 
Fengli Shen
Join Date: Dec 2016
Posts: 7
Rep Power: 10
qiang92 is on a distinguished road
Have anyone solved this problem? Or this is the problem of the ubuntu 14.04?
I tried every method advising above, and none works.
I have to use my windows paraview remotely to spot the paraview in the server.
qiang92 is offline   Reply With Quote

Old   March 15, 2020, 13:03
Default
  #14
New Member
 
Join Date: Mar 2020
Posts: 1
Rep Power: 0
undefspi is on a distinguished road
I have no idea why this works but found this to work all the same

cd /usr/lib/x86_64-linux-gnu/
cp libxcb.so.1 libxcb.so.1.bak
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1


Reference
https://stackoverflow.com/questions/...-1-atom-ubuntu
undefspi 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
[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
Problem with paraFoam ata OpenFOAM 14 November 30, 2009 05:23


All times are GMT -4. The time now is 23:06.