Opened 7 years ago
Closed 7 years ago
#1508 closed defect (worksforme)
device vr true: openvr.OpenVRError: b'VRInitError_Init_HmdNotFound'
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | VR | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.17134 ChimeraX Version: 0.7 (2018-08-07) Description (Describe the actions that caused this problem to occur here) Log: Startup Messages --- note | available bundle cache has not been initialized yet UCSF ChimeraX version: 0.7 (2018-08-07) OpenGL version: 3.3.0 NVIDIA 398.35 OpenGL renderer: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation How to cite UCSF ChimeraX meeting 169.230.21.70 meeting 169.230.21.39 Socket error Connection timed out QIODevice::read (QTcpSocket): device not open meeting 169.230.21.39 vr on device vr true Traceback (most recent call last): File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\cmd_line\tool.py", line 205, in execute cmd.run(cmd_text) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\core\commands\cli.py", line 2582, in run _used_aliases=used_aliases, log=log)) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\core\commands\cli.py", line 3065, in __call__ return self.cmd.run(text, _used_aliases=_used_aliases, log=log) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\core\commands\cli.py", line 2561, in run result = ci.function(session, **kw_args) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\vive\vr.py", line 68, in vr start_vr(session, multishadow_allowed, simplify_graphics) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\vive\vr.py", line 149, in start_vr mv.camera = SteamVRCamera(session) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\chimerax\vive\vr.py", line 226, in __init__ self.vr_system = vrs = openvr.init(openvr.VRApplication_Scene) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\openvr\\__init__.py", line 5286, in init initInternal2(applicationType, pStartupInfo) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\openvr\\__init__.py", line 5390, in initInternal2 _checkInitError(error.value) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\openvr\\__init__.py", line 5272, in _checkInitError raise OpenVRError("%s (error number %d)" %(getVRInitErrorAsSymbol(error), error)) openvr.OpenVRError: b'VRInitError_Init_HmdNotFound' (error number 108) openvr.OpenVRError: b'VRInitError_Init_HmdNotFound' (error number 108) File "C:\Program Files\ChimeraX-0.7\bin\lib\site- packages\openvr\\__init__.py", line 5272, in _checkInitError raise OpenVRError("%s (error number %d)" %(getVRInitErrorAsSymbol(error), error)) See log for complete Python traceback. If you wish to report this error, send mail to chimerax-bugs@cgl.ucsf.edu and describe what you were doing and include a copy of the contents of the log. Don't include any data you wish to remain private since a publicly viewable bug report will be created. OpenGL version: 3.3.0 NVIDIA 398.35 OpenGL renderer: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation
Change History (5)
comment:1 by , 7 years ago
Component: | Unassigned → VR |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → device vr true: openvr.OpenVRError: b'VRInitError_Init_HmdNotFound' |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Reporter: | changed from | to
---|
Hi Wilian,
Last Friday you got an error that because the headset was not found when you used "vr on". Eric reports you said it was because the "controller" was not on. That doesn't make sense. Do you mean the link box (the box that the 3 Vive connectors plug in to) was off?
I think I may make a better error message (instead of the code traceback) that suggests what to look for. But I need to know exactly what the problem was.
Tom
follow-up: 4 comment:4 by , 7 years ago
Hi Tom, Yes, you are right, the link box was off! I had forgotten to turn it on but as soon as I did it, then it worked. Thank you! Wilian ________________________________ From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> Sent: Monday, December 10, 2018 5:48:31 PM Cc: goddard@cgl.ucsf.edu; Cortopassi Coelho, Wilian Subject: Re: [ChimeraX] #1508: device vr true: openvr.OpenVRError: b'VRInitError_Init_HmdNotFound' #1508: device vr true: openvr.OpenVRError: b'VRInitError_Init_HmdNotFound' ------------------------------------------+---------------------- Reporter: wilian.cortopassi@… | Owner: goddard Type: defect | Status: assigned Priority: normal | Milestone: Component: VR | Version: Resolution: | Keywords: Blocked By: | Blocking: Notify when closed: | Platform: all Project: ChimeraX | ------------------------------------------+---------------------- Changes (by goddard): * reporter: chimerax-bug-report@… => wilian.cortopassi@… Comment: Hi Wilian, Last Friday you got an error that because the headset was not found when you used "vr on". Eric reports you said it was because the "controller" was not on. That doesn't make sense. Do you mean the link box (the box that the 3 Vive connectors plug in to) was off? I think I may make a better error message (instead of the code traceback) that suggests what to look for. But I need to know exactly what the problem was. Tom -- Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/1508#comment:3> ChimeraX <http://www.rbvi.ucsf.edu/chimerax/> ChimeraX Issue Tracker
comment:5 by , 7 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Hi Wilian,
I see you were using ChimeraX 0.7 from August for this 3-person VR session. That is a very bad idea to use that very old ChimeraX. It probably explains why you were not able to sync volume data. The error message when the headset is not detected is also much better in more recent ChimeraX versions. And of course dozens of VR problems have been fixed. So be careful to not use old ChimeraX for VR.
Tom
Wilian commented that it was a "dumb error": he hadn't turned on a controller