Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3992 closed defect (can't reproduce)

vr roomCamera: CompositorError_TextureUsesUnsupportedFormat

Reported by: chimerax-bug-report@… 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.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

Change History (2)

comment:1 by Eric Pettersen, 5 years ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionvr roomCamera: CompositorError_TextureUsesUnsupportedFormat

comment:2 by Tom Goddard, 5 years ago

Resolution: can't reproduce
Status: assignedclosed

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.

Last edited 5 years ago by Tom Goddard (previous) (diff)
Note: See TracTickets for help on using tickets.