The following bug report has been submitted:
Platform: Windows-10-10.0.19041
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
(Describe the actions that caused this problem to occur here)
Log:
UCSF ChimeraX version: 1.0 (2020-06-04)
© 2016-2020 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
> open C:\Users\shing\Desktop\LeHCS_refine_47.pdb format pdb
Chain information for LeHCS_refine_47.pdb #1
---
Chain | Description
A | No description available
> vr true
started SteamVR rendering
> realsense true
RealSense camera model #2
> windowsize 960 540
> vr roomCamera true fieldOfView 69.4
color image type uint8 (540, 960, 3)
depth image type uint16 (540, 960) mean 2192.4228819444443 min 0 max 8168
color intrinsics [ 960x540 p[476.548 280.053] f[684.634 684.231] Inverse Brown
Conrady [0 0 0 0 0] ]
color fov [70.0682373046875, 43.06069564819336]
depth intrinsics [ 960x540 p[476.548 280.053] f[684.634 684.231] Inverse Brown
Conrady [0 0 0 0 0] ]
depth fov [70.0682373046875, 43.06069564819336]
extrinsics color to depth rotation: [1, 0, 0, 0, 1, 0, 0, 0, 1]
translation: [-0, -0, -0]
VR mode translate selected models
> select #100.3
1 model selected
> vr roomCamera savePosition true
An error occurred in drawing the scene. Redrawing graphics is now stopped to
avoid a continuous stream of error messages. To restart graphics use the
command "graphics restart" after changing the settings that caused the error.
Traceback (most recent call last):
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\updateloop.py", line 73, in draw_new_frame
view.draw(check_for_changes = False)
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py", line 166, in draw
self._draw_scene(camera, drawings)
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py", line 205, in _draw_scene
camera.set_render_target(vnum, r)
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\vive\vr.py", line 835, in set_render_target
self._submit_eye_image('left', left_fb.openvr_texture, render)
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\vive\vr.py", line 849, in _submit_eye_image
result = self._compositor.submit(eye, texture)
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\openvr\\__init__.py", line 4343, in submit
openvr.error_code.CompositorError.check_error_value(error)
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\openvr\error_code\\__init__.py", line 23, in check_error_value
raise error_class(error_value, message)
openvr.error_code.CompositorError_TextureUsesUnsupportedFormat
OpenGL version: 3.3.0 NVIDIA 451.48
OpenGL renderer: Quadro P1000/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: Dell Inc.
Model: Precision 7820 Tower
OS: Microsoft Windows 10 Pro for Workstations (Build 19042)
Memory: 33,990,959,104
MaxProcessMemory: 137,438,953,344
CPU: 16 Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz"
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8
Cool to see someone is trying VR with a RealSense camera I guess to make augmented reality videos.
The error message is one I have seen recently during a multiperson VR meeting (no room camera, no realsense camera), that happened when somehow the Oculus runtime app went belly up. It was not sufficient to shutdown ChimeraX and SteamVR, I had to restart the Oculus app, then all worked correctly. Too bad no reporter email, because I was lucky to figure this out.
The texture format for the VR eye images is fixed so I don't see any way that the error message makes sense. ChimeraX did not hand off a different texture format. More likely the Oculus runtime decided it wouldn't accept any texture formats.