#16151 closed defect (fixed)

Acer 27" SpatialLabs View Pro Stereoscopic 3D Monitor openxr error

Reported by: RKrishnan@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: VR Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

started OpenXR rendering Acer Salaino XR Driver
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.

'NoneType' object has no attribute 'origin'

Traceback (most recent call last):
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\core\updateloop.py", line 84, in draw_new_frame
view.draw(check_for_changes = False)
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\graphics\view.py", line 188, in draw
self._draw_scene(camera, drawings)
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\graphics\view.py", line 231, in _draw_scene
camera.set_render_target(vnum, r)
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\vive\xr.py", line 941, in set_render_target
self._start_rendering()
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\vive\xr.py", line 799, in _start_rendering
self._update_camera_position()
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\vive\xr.py", line 803, in _update_camera_position
H = self._xr.headset_pose() # head to room coordinates.
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\ChimeraX 1.9.dev202410202351\bin\Lib\site-packages\chimerax\vive\openxr.py", line 730, in headset_pose
shift = 0.5 * (e1.origin() - e0.origin())
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'origin'


CONFIDENTIALITY NOTICE

This email, including any attachments, may contain confidential or legally privileged information that is intended only for the individual or entity to whom it is addressed. If you are not the intended recipient, please be advised that any dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please reply to the sender so that BioCryst Pharmaceuticals, Inc. can take corrective measures and then permanently delete this email and any attachment, including any printed copies. Thank you.

Change History (3)

comment:1 by Eric Pettersen, 12 months ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: the sreen went it full scrren mode and completely blacked out. had to restart chimerax. using today's build.the screen went it full screen mode and completely blacked out. had to restart chimerax. using today's build.

Reported by Krishnan Raman

comment:2 by Tom Goddard, 12 months ago

Summary: the screen went it full screen mode and completely blacked out. had to restart chimerax. using today's build.Acer 27" SpatialLabs View Pro Stereoscopic 3D Monitor openxr error

Thanks for the report. This error is because the Acer stereo display OpenXR driver is not giving the viewing position and the ChimeraX OpenXR code has never been tested in that situation since VR headsets always give the viewing position. I'll see if I can fix this error and let you know when to try a new daily build.

I suspect the trouble is if the Acer display eye tracking is not tracking your eyes then it report no viewing position. If ChimeraX could handle that without an error, then it may work once eye tracking engages.

comment:3 by Tom Goddard, 12 months ago

Resolution: fixed
Status: assignedclosed

I put in a fix for this error. Give the ChimeraX daily build dated Oct 21, 2024 or newer a try and let's see where the next problem is. I don't have one of these Acer stereo displays with eye tracking so it is impossible for me to predict how it uses OpenXR, but perhaps we can get ChimeraX to work with it.

Note: See TracTickets for help on using tickets.