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

[OpenFOAM] failed to load vboxvideo

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2013, 03:24
Default failed to load vboxvideo
  #1
New Member
 
Augusto
Join Date: Oct 2013
Posts: 1
Rep Power: 0
gux290 is on a distinguished road
Hi everybody, I've just installed openfoam on the latest version of xubuntu using virtualBox (I have windows 7). I tried to run the "cavity" tutorial case and all seems to work well but when I launch paraFoam I can't visualize the results (except for the mesh) and I receive the following message in the terminal:

Opengl warning:Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
libGL error: failed to load driver: vboxvideo
libGL error: try again with LIBGL_DEBUG=verbose for more details.



I really have not experience with linux OSes so speak plainly please!
gux290 is offline   Reply With Quote

Old   October 6, 2013, 11:27
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Augusto and welcome to the forum!

My guess is that you didn't read carefully the section "Installing Guest Additions": http://www.openfoam.com/resources/windows.php#x4-13000

The official VirtualBox manual explains this here: http://www.virtualbox.org/manual/ch04.html

There is another set of instructions here as well: http://www.dedoimedo.com/computers/v...st-addons.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 31, 2015, 22:39
Default Opengl warning:Failed to connect to host.
  #3
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Hi, Bruno.

i am facing the same error with the Guest Additions-4.3.6 installed on virtual box-4.3.6. everything seems to be ok except this OpenGL error. and i can share the ClipBoard between the windows 8.1 and ubuntu 12.04. i think the VboxGuestAdditions have been correctly installed. so is there anything i am missing?

any help will be great appreciated.


Quote:
Originally Posted by wyldckat View Post
Greetings Augusto and welcome to the forum!

My guess is that you didn't read carefully the section "Installing Guest Additions": http://www.openfoam.com/resources/windows.php#x4-13000

The official VirtualBox manual explains this here: http://www.virtualbox.org/manual/ch04.html

There is another set of instructions here as well: http://www.dedoimedo.com/computers/v...st-addons.html

Best regards,
Bruno
cfdopenfoam is offline   Reply With Quote

Old   April 3, 2015, 12:15
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 cfdopenfoam View Post
so is there anything i am missing?
Quick question: can you please share the settings you're using in the set-up of your virtual machine? Namely the ones defined in VirtualBox.
wyldckat is offline   Reply With Quote

Old   April 3, 2015, 22:19
Default Opengl warning:Failed to connect to host.
  #5
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
greeting to Bruno.

i am really sorry that i am new to linux and i have no idea about the settings i should share. the vboxguestaddtions is installed in /opt/VBoxGuestAdditions-4.3.6/ and i find two applications in the /bin sub-directory, VBoxClient and VBoxControl. i 'sudo' the two but i still can not find the setting details.

may i know how i could share the settings and address the problem?

thanks a lot.


Quote:
Originally Posted by wyldckat View Post
Quick question: can you please share the settings you're using in the set-up of your virtual machine? Namely the ones defined in VirtualBox.
cfdopenfoam is offline   Reply With Quote

Old   April 4, 2015, 07:17
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 cfdopenfoam View Post
i am new to linux and i have no idea about the settings i should share.
I assume you have more experience in using Microsoft Windows, correct? Therefore, you should be able to understand how to get around the VirtualBox window interface, which is what I asking about . There's a manual for VirtualBox here: https://www.virtualbox.org/manual/ch01.html

As for the settings I'm referring to, here's an example:
  1. In the first attached image, is the presentation of the list of available virtual machines.
  2. If you select the virtual machine you need to configure and click on the big button that says "Settings", you can then configure the settings I was asking about.
  3. On the second image you can see the settings I want to see.
Attached Images
File Type: png Screenshot from 2015-04-04 12:13:55.png (91.0 KB, 6 views)
File Type: png Screenshot from 2015-04-04 12:14:32.png (63.2 KB, 10 views)
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 07:51
Default Opengl warning:Failed to connect to host.
  #7
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
On the second image you can see the settings I want to see.
Hi, Bruno. thank you very much for the helpful steps you offered. i guess i know what you mean. at first, i do not enable 3D acceleration. then i got the OpenGL error as i have posted. however, after i enable 3D acceletation, i got another error which seems to be more complicated. as follows:

Code:
created temporary 'cavity.OpenFOAM'
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bb3a10): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bc1db0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bc1db0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bc1db0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bc5230): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bc5230): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bc5230): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bcec00): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bd1e30): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x1bd5080): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
the viedo memory = 64M
the monitor count =1

any help?

Last edited by cfdopenfoam; April 4, 2015 at 07:55. Reason: sorry for lost information
cfdopenfoam is offline   Reply With Quote

Old   April 4, 2015, 07:56
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: I think you'll have to rebuild ParaView from source code.

But before that, try installing the ParaView version from Ubuntu's repository:
Code:
sudo apt-get install paraview
Then start a new terminal, run:
Code:
paraview
and create a new "Source -> Sphere". Check if this still gives you an error or not.
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 08:05
Default
  #9
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by wyldckat View Post

Code:
sudo apt-get install paraview
Code:
paraview
just after the 'paraview' was typed in, i got this error:

Code:
ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x2798bb0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27a6f50): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27a6f50): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27a6f50): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27aa3d0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27aa3d0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27aa3d0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27b3db0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27b6fe0): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum



ERROR: In /home/yk/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x27ba230): failed after RenderInternal 1 OpenGL errors detected
  0 : (1280) Invalid enum
any suggestion?
cfdopenfoam is offline   Reply With Quote

Old   April 4, 2015, 08:17
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
OK, then try:
Code:
wmUNSET
paraview
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 08:22
Default
  #11
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, then try:
Code:
wmUNSET
paraview
error as follows:

Code:
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
when i shut down paraview, i got this:

The crashed program seems to use third-party or local libraries:

/opt/VBoxGuestAdditions-4.3.6/lib/VBoxOGLpackspu.so
/opt/VBoxGuestAdditions-4.3.6/lib/VBoxOGLfeedbackspu.so
/opt/VBoxGuestAdditions-4.3.6/lib/VBoxOGLerrorspu.so
/opt/VBoxGuestAdditions-4.3.6/lib/VBoxOGLcrutil.so
/opt/VBoxGuestAdditions-4.3.6/lib/VBoxOGLpassthroughspu.so
/opt/VBoxGuestAdditions-4.3.6/lib/VBoxOGL.so

It is highly recommended to check if the problem persists without those first.

Do you want to continue the report process anyway?


btw, the wmUNSET clears the OpenFOAM shell environment. how could i get it recovered?
cfdopenfoam is offline   Reply With Quote

Old   April 4, 2015, 08:29
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Yeah, this is going to go nowhere OpenGL acceleration in VirtualBox is simply broken: https://forums.virtualbox.org/viewtopic.php?f=3&t=66626

If you also have problems without 3D acceleration turned on, then it's best that you do what many have done in the past:
  1. Run the cases inside the virtual machine.
  2. When the case is finished, copy the case to the real Windows machine.
  3. Create a empty file "case.foam" inside the case folder and then open that file in ParaView on Windows.
Either that, or uninstall VirtualBox and install VMPlayer. Full instructions available here: http://openfoamwiki.net/index.php/Ho..._VMware_Player
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 08:32
Default
  #13
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Yeah, this is going to go nowhere OpenGL acceleration in VirtualBox is simply broken: https://forums.virtualbox.org/viewtopic.php?f=3&t=66626

If you also have problems without 3D acceleration turned on, then it's best that you do what many have done in the past:
  1. Run the cases inside the virtual machine.
  2. When the case is finished, copy the case to the real Windows machine.
  3. Create a empty file "case.foam" inside the case folder and then open that file in ParaView on Windows.
Either that, or uninstall VirtualBox and install VMPlayer. Full instructions available here: http://openfoamwiki.net/index.php/Ho..._VMware_Player
thanks very much for your valued time and help. i will have a try.
btw, the wmUNSET clears the OpenFOAM shell environment. how could i get it back?

i think the wmSET will get back. thanks a lot.
cfdopenfoam is offline   Reply With Quote

Reply

Tags
3d acceleration, paraview, vbox


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
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 03:35
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 15:00
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 09:54
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 05:02.