WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-20-2015, 04:55 AM
mstan mstan is offline
Member
 
Join Date: Mar 2015
Posts: 4
Blank screen on external monitor when running a Vizard script with Oculus DK2

We are experiencing a very strange issue, when we are using an Oculus DK2 to display a virtual environment in Vizard 5. A standard HP Z24i monitor is also connected to the PC.

Normally, as soon as we start our vizard script, the virtual environment is displayed in the Oculus, and in parallel, it is also shown in a window on the HP monitor. Sometimes this works fine.
But sometimes, in about 50% of the cases when we start the script, it works differently: As soon as we start the script, the monitor is automatically „turned off“ (displays just a black screen, only the oculus displays correctly).
We have no idea, what could explain why it sometimes works normally and sometimes not. This effect is absolutely not related to any settings or changes in the script or the system.

For example:
I start the script -> display works. I stop the script. I start the script again -> display gets black. I stop the script. I start the script again -> display gets black. I stop the script. I start the script again -> display works.

We do nothing else in between the steps described above - no changes in the script, settings, hardware etc., we do not even touch the Oculus… It seems just totally random whether the display works or not.

Also, in the cases when the display gets black as soon as we run the script, the script seems to have some other issues: Some functions in the script do not work normally, sometimes key presses are not „recognized“ and sometimes one has to press Escape multiple times to stop the script. We do not have an explanation for this.

More technical info:
The PC works with Windows 7 Enterprise 64bit, its a Intel Core i7-2600 CPU @3.4GHz, 8GB Ram. The Graphic Card is an AMD Radeon HD 6570 (1024 MB DDR3).

We hope that someone has an explanation and a potential solution.
Reply With Quote
  #2  
Old 08-21-2015, 10:10 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Does this happen when you use the oculusExample.py (File > Quick Open > type: oculusExample) included with Vizard. Are you running in direct HMD or extended mode? Which version of the oculus runtime are you using? This could be related to graphics drivers. You might try updating or rolling back the driver version to see if that helps.
Reply With Quote
  #3  
Old 08-26-2015, 10:03 AM
mstan mstan is offline
Member
 
Join Date: Mar 2015
Posts: 4
Hey again, sorry for the delay, I couldn't test your suggestions until today.

- The same problem occurs when I run the vizard example
- I run the HMD in extended mode
- The oculus runtime is version 0.4.4 Rev1
- Just for your information: The same problem occurs also when I use a different monitor...

I haven't changed the driver yet, and I would rather want to avoid that, but if nothing else can solve the problem, then I would try it as a last attempt.

Do you have any further ideas/suggestions?

Best,
Matthias
Reply With Quote
  #4  
Old 08-27-2015, 09:24 AM
mstan mstan is offline
Member
 
Join Date: Mar 2015
Posts: 4
I just updated both the graphic card drivers and the oculus runtime to the latest version. Still the same effect, no changes.

Can anyone help?
Reply With Quote
  #5  
Old 09-03-2015, 06:58 AM
willpower2727 willpower2727 is offline
Member
 
Join Date: Feb 2015
Posts: 39
I may not be the best person to try and help you with this, since I use DK2 with Vizard 4, but I've noticed similar (but different) oddities in how the displays work with monitors. What I do, and you might want to give it a try, is to extend the desktop to the HMD, as if it were a monitor to Windows (do this from the Windows control panel). In this usage, I don't think it matters whether the Oculusconfigutility is set to extend or direct to HMD. Then I use a vizcore.cfg file to automatically display the vizard window on the second monitor, in this case, it's the hmd. In my script, this is how I setup the DK2:

Code:
import viz
import oculus
view = viz.addView
hmd = oculus.Rift()
hmd.getSensor()

#do not use this command!
#viz.link(hmd.getSensor(),viz.MainView)
Basically I ignore Vizard's built-in tools for setting-up/connecting the HMD. All I do is create the second view, and then display the vizard window fullscreen on the second monitor, which in this case is the HMD. So it's a little red-neck, but I avoid several display issues. And it sill looks the same.

Now, I have not tried to duplicate the vizard window on the HMD and the monitor at the same time.

I hope this helps, if not oh well. Let me know if you have any questions, or if it works or not.
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
oculus DK2 in vizard 5 green951 Vizard 1 06-18-2015 09:12 AM
Oculus DK1 and DK2 in Vizard 5 Jeff Vizard 3 10-02-2014 12:00 PM
Vizard exits full screen after 30 seconds derek Vizard 3 08-21-2014 01:02 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 12:13 PM
running multiple vizard scripts from python exhale Vizard 1 05-09-2005 06:35 AM


All times are GMT -7. The time now is 08:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC