CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Grey screen in paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By sail

Reply
 
LinkBack Thread Tools Display Modes
Old   June 13, 2012, 08:13
Default Grey screen in paraview
  #1
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
While trying to visualize some results, I bumped into this error:

X Error: GLXBadContextTag ...

After some searching, e.g. http://www.openfoam.org/mantisbt/view.php?id=21
I realized it was a matter of my OpenGL drivers.
I followed this procedure to update them

http://en.opensuse.org/SDB:ATI_drivers

and ever since I can not see the results in the main screen of the remote server.
The main window of the 3D view remains grey unless I try to rotate the geometry or something. In this case, the screen returns momentarily to the normal state.

My card is ATI radeon 5450, I am running OpenSUSE 11.4 32-bit.
My paraview versions are 3.12.0 64-bit in the remote server and 3.10.1 32-bit in my computer.
Downloading the case files to visualize them in my computer is out of the question (281Gb).
anon_a is offline   Reply With Quote

Old   June 13, 2012, 17:04
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings anon_a,

Mmm... usually upgrading drivers can be a double edge sword: the update might actually break things, due to another bug in the newer package...
So sometimes, downgrading or checking one version at a time might prove a better solution.

Also, you can try this option:
Code:
export LIBGL_ALWAYS_INDIRECT=y
Then run paraview or paraFoam from the command line.

I've tried to compile a list of other findings that people have made concerning ParaView and graphics card drivers and so on... here: Related issues to ParaView with OpenFOAM - Fixes and solutions

Best regards,
Bruno

Last edited by wyldckat; June 13, 2012 at 17:18. Reason: ooops, forgot to copy-paste the name ;)
wyldckat is offline   Reply With Quote

Old   June 15, 2012, 04:54
Default
  #3
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Hey Bruno, thanks for your answer!

I checked the material you suggested and indeed I found many common elements with my case (ATI graphics card, pre-update segmentation faults when I tried to change the color map, etc).


First, I changed directly to Vesa (I thought that this one should be working, no matter what). Everything looked horrible and I got the following error in paraview (I was redirected to the OpenSUSE login screen after that - kind of like a crash):

Code:
X Error: BadRequest (invalid request code or no such operation) 1
  Extension:    136 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x8c00221
libxcb: WARNING! Program tries to lock an already locked connection,
        which indicates a programming error.
        There will be no further warnings about this issue.
libxcb: WARNING! Program tries to unlock a connection without having acquired
        a lock first, which indicates a programming error.
        There will be no further warnings about this issue.
X Error: BadRequest (invalid request code or no such operation) 1
  Extension:    136 (Uknown extension)
  Minor opcode: 14 (Unknown request)
  Resource id:  0x8c00226
X Error: BadRequest (invalid request code or no such operation) 1
  Extension:    136 (Uknown extension)
  Minor opcode: 19 (Unknown request)
  Resource id:  0x8c00228
ERROR: In /gpfs01/common/home/pantaz01/OpenFOAM/ThirdParty-2.1.0/ParaView-3.12.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x128bd90): Could not find a decent visual

ERROR: In /gpfs01/common/home/pantaz01/OpenFOAM/ThirdParty-2.1.0/ParaView-3.12.0/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 404
vtkXOpenGLRenderWindow (0x128bd90): Could not find a decent visual

paraview: Fatal IO error: client killed
Then, I went back to the page I wrote above and tried drivers for other versions of SUSE. None of them worked (I didn't expect anything good coming from that). I also tried the manual build, without success. I don't really know where I can find old versions of the driver that might solve my problem.


In any case, I would be content if paraview works correctly in python script mode, so I can export some images. Do you think it would act in the same way? How can I try it? (never done this before)
anon_a is offline   Reply With Quote

Old   June 15, 2012, 05:17
Default
  #4
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Also, is it normal that it only happens for remote viewing of results?
paraview works PERFECTLY with my local version.
What about downgrading paraview in the remote server instead?
anon_a is offline   Reply With Quote

Old   June 16, 2012, 04:45
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi anon_a,
Quote:
Originally Posted by anon_a View Post
Also, is it normal that it only happens for remote viewing of results?
paraview works PERFECTLY with my local version.
What about downgrading paraview in the remote server instead?
At ParaView's wiki you should find more instructions on options for the remote server: http://paraview.org/Wiki/Setting_up_a_ParaView_Server

You can also choose another GPU card, in case the server has more than one.

If you are able to build the ParaView server version with OSMesa support, it will then use the CPU for generating the images, through the off-screen rendering option.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   June 16, 2012, 05:43
Default
  #6
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Thanks Bruno.
The odd thing is that I tried connecting through another computer with very similar hardware and software and everything worked just fine!
So it does not seem to be something on the side of the server (I guess).

I will check at some point the differences and post them.
anon_a is offline   Reply With Quote

Old   June 18, 2012, 15:27
Default
  #7
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 7
sail is on a distinguished road
i am not shure if this is somehow related but...

had the same issue under ubuntu 10.4 lts.

it proved out to be caused by a compiz issue: after disabling the graphic effects it disappeared.

sorry I'm on my windows machine right now. if neded i can provide step by step instructions on how to do it.
wyldckat likes this.
__________________
http://www.leadingedge.it/
Naval architecture and CFD consultancy
sail is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paraview split screen problem ziemowitzima OpenFOAM Paraview & paraFoam 1 March 16, 2011 15:07
Grey screen in paraview inginer OpenFOAM 10 May 31, 2010 11:38
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Screen resolution and ParaView wavytracy OpenFOAM Installation 2 June 9, 2009 16:31
Monitor Screen Resolution and ParaView kenhelland OpenFOAM Installation 1 December 7, 2008 14:07


All times are GMT -4. The time now is 12:57.