OpenViBE forum

The OpenViBE community
It is currently Fri Dec 15, 2017 9:37 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: OpenVibe Rendering Fails
PostPosted: Sat Aug 20, 2016 2:59 am 
Offline

Joined: Tue Feb 23, 2016 11:51 pm
Posts: 3
I installed openvibe v. 1.2.2 on my macbook running windows 7 (dual boot). Anything graphics related fails including the simple 3d viewer. I get the error:

[ ERROR ] <Ogre3D::Exception> Failed to initialize Ogre : OGRE EXCEPTION(-2005270524:RenderingAPIException): Failed to create Direct3D11 object in D3D11RenderSystem::D3D11RenderSystem at E:\Work\Source\OGRE\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp (line 3692)


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 07, 2016 7:51 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 601
Location: INRIA Rennes, FRANCE
Hi, the first question is, do you have DirectX 11 installed on the computer?


Cheers,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 07, 2016 7:36 pm 
Offline

Joined: Tue Feb 23, 2016 11:51 pm
Posts: 3
Yes.

1) I assumed that Direct X was installed on Windows 7 by default.
2) I installed Direct X 9 and 11 (I think) at some point following various links and references.

However, I still have this issue. In the past, I think I forced openvibe to use opengl through some config file.


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 08, 2016 7:28 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 601
Location: INRIA Rennes, FRANCE
You'll find the Ogre related config files in %AppData%/openvibe/ as well as others under the install directorys share/openvibe/kernel/. These should be specified to use opengl if your system has some issue with dx. The AppData ogre configs are mostly used by demos and can be deleted (then it will ask you the rendering system again), whereas the configs in share/ might affect boxes as well. Unfortunately I don't know if it'll still attempt to use dx on something on Windows if you have chosen opengl.


Cheers,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 08, 2016 5:56 pm 
Offline

Joined: Tue Feb 23, 2016 11:51 pm
Posts: 3
So, I moved the config files under %appdata% and openvibe designer would not start with the openvibe.conf file there so I replaced it. Then I continued to get the original error. I then changed "Kernel_3DVisualisationEnabled = true" to "Kernel_3DVisualisationEnabled = false". This removed the error about init the system but naturally resulted in being unable to create a 3D context. Then is seems that the 3D system reference ogre.conf in %appdata%. Doesn't seem to have an effect whether this config file exists or not. I have attached the log files to provide better context.


Attachments:
File comment: log file from openvibe designer log with same error.
openvibe-designer.log [3.4 KiB]
Downloaded 91 times
File comment: log file when starting openvibe designer with 3DVis set to true and no ogre.conf
designer-ogre.log [2.45 KiB]
Downloaded 90 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 15, 2016 11:24 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 601
Location: INRIA Rennes, FRANCE
One thing that could be tested is if can run other ogre demos, apps on your system. These can be found by google. If they dont work either, its likely a problem between ogre and your os and computer configuration. Unfortunately this kind of problem is very hard to correct without being able to reproduce it. The only sure way is to build a debug build and try to see where it fails inside ogre. We have noticed that similar problems may happen on virtual machines - usually our 'solution' to this is just to avoid using the 3d stuff on such platforms.

Cheers,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.