s6261 vmd optix streaming interactive ray tracing from
play

S6261 VMD+OptiX: Streaming Interactive Ray Tracing from Remote GPU - PowerPoint PPT Presentation

S6261 VMD+OptiX: Streaming Interactive Ray Tracing from Remote GPU Clusters to Your VR Headset John E. Stone Theoretical and Computational Biophysics Group Beckman Institute for Advanced Science and Technology University of Illinois at


  1. S6261 — VMD+OptiX: Streaming Interactive Ray Tracing from Remote GPU Clusters to Your VR Headset John E. Stone Theoretical and Computational Biophysics Group Beckman Institute for Advanced Science and Technology University of Illinois at Urbana-Champaign http://www.ks.uiuc.edu/ S6261, GPU Technology Conference 10:30-10:55, Room LL20C, San Jose Convention Center, San Jose, CA, Wednesday April 6 th , 2016 NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  2. VMD – “Visual Molecular Dynamics” • Visualization and analysis of: – molecular dynamics simulations – particle systems and whole cells – cryoEM densities, volumetric data – quantum chemistry calculations – sequence information • User extensible w/ scripting and plugins Whole Cell Simulation MD Simulations • http://www.ks.uiuc.edu/Research/vmd/ CryoEM, Cellular Tomography Sequence Data Quantum Chemistry NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  3. Goal: A Computational Microscope Study the molecular machines in living cells Ribosome: target for antibiotics Poliovirus NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  4. Immersive Viz. w/ VMD • VMD began as a CAVE app (1993) • Use of immersive viz by molecular scientists limited due to cost, complexity, lack of local availability, convenience • Commoditization of HMDs excellent opportunity to overcome cost/availability • This leaves many challenges still to solve: – Incorporate support for remote visualization – UIs, multi-user collaboration/interaction – Rendering perf for large molecular systems – VMD running in a CAVE w/ VR Juggler Accomodating limitations idiosynchracies of commercial HMDs NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  5. Goal: Intuitive interactive viz. in crowded molecular complexes Results from 64 M atom, 1 μs sim! Close-up view of chloride ions permeating through HIV-1 capsid hexameric centers

  6. Lighting Comparison Two lights, no Two lights, Ambient occlusion shadows hard shadows, + two lights, 1 shadow ray per light 144 AO rays/hit NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  7. Computational Biology’s Insatiable Demand for Processing Power 10 8 HIV capsid 10 7 Number of atoms Ribosome 10 6 STMV ATP Synthase 10 5 ApoA1 Lysozyme 10 4 1986 1990 1994 1998 2002 2006 2010 2014 NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  8. HMD Ray Tracing Challenges • HMDs require high frame rates (90Hz or more) and minimum latency between IMU sensor reads and presentation on the display • Multi-GPU workstations fast enough to direct-drive HMDs at required frame rates for simple scenes with direct lighting, hard shadows • Advanced RT effects such as AO lighting, depth of field require much larger sample counts , impractical for direct-driving HMDs • Remote viz. required for many HPC problems due to large data • Remote viz. latencies too high for direct-drive of HMD • Our two-phase approach: moderate-FPS remote RT combined with local high-FPS view-dependent HMD reprojection w/ OpenGL NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  9. VMD Molec VMD Molecular ular Str Struc uctu ture e Da Data ta and and Gl Glob obal al Sta State te Sce Scene ne Gr Graph ph Graphica Gr ical l User In Us r Inte terf rface Rep epresen esenta tation tions Sub Subsy system stem Tcl/Python Scripting DrawMolecule Mouse + Windows Non-Molecular Geometry VR Input “Tools” Di Display play S Subsy ubsystem tem Windowed OpenGL GPU VMDDisplayList OpenGL Pbuffer GPU OpenGLDisplayDevice Tachyon CPU RT DisplayDevice FileRenderer TachyonL-OptiX GPU RT Batch + Interactive NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  10. VMD Tac VMD T achy hyon onL-Opt OptiX iX Inte Interac activ tive e RT T w/ w/ OptiX Op tiX 3.8 3.8 Pr Prog ogres essiv sive e AP API Scene Sce ne Gr Graph ph RT Pr T Prog ogress essiv ive Sub e Subfr frame ame rtContextLaunchProgressive2D() Check for User Interface Inputs, Update OptiX Variables TrBvh rBvh rtBu BufferGetPr Progressi ssiveUpdateReady() y() RT Acce T Acceler leration tion Str Struc uctu ture e rtContextStopProgressive() Draw Output Framebuffer NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  11. VMD T VMD Tac achy hyon onL-Opt OptiX: iX: Mult Multi-GPU GPU on on NVID NVIDIA V IA VCA CA Clus Cluste ter VMD Scene VMD Scen Sc Scene Da Data ta R Repli licate ted, , Ima Image ge Spa Space ce + Samp + Sample le Spa Space ce Par arallel allel Dec Decomp ompositi osition on on onto to GPU GPUs VCA 0: 8 K6000 GPUs VCA N: 8 K6000 GPUs NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  12. VMD 1.9.3 + OptiX 3.8 + CUDA 7.0 ~1.5x Performance Increase • OptiX GPU-native “ Trbvh ” acceleration structure builder yields substantial perf increase vs. CPU builders running on Opteron 6276 CPUs • New optimizations in VMD TachyonL-OptiX RT engine: – CUDA C++ Template specialization of RT kernels • Combinatorial expansion of ray-gen and shading kernels at compile-time: stereo on/off, AO on/off, depth-of- field on/off, reflections on/off, etc… • Optimal kernels selected from expansions at runtime – Streamlined OptiX context and state management – Optimization of GPU-specific RT intersection routines, memory layout VMD/OptiX GPU Ray Tracing NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, of chromatophore w/ lipids. U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  13. A) Monoscopic circular projection. B) Left eye stereo circular projection. Eye at center of projection (COP). Eye offset from COP by half of interocular distance. Polar Axis Zero Eye Sep Decreasing Eye Sep C) Stereo eye separation smoothly decreased to zero at zenith and Full Eye Separation nadir points on the polar axis to prevent incorrect stereo when HMD Decreasing Eye Sep sees the poles. Zero Eye Sep

  14. Stereoscopic Panorama Ray Tracing w/ OptiX • Render 360° images and movies for VR headsets such as Oculus Rift, Google Cardboard • Ray trace panoramic stereo spheremaps or cubemaps for very high-frame-rate display via OpenGL texturing onto simple geometry • Stereo requires spherical camera projections poorly suited to rasterization • Benefits from OptiX multi-GPU rendering and load balancing, remote visualization NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  15. Progressive HMD Display Loop Ray Tracing Engine HMD loop runs in main Omnistereo Ray tracing loop runs VMD application thread Image Stream continuously in new thread at max OpenGL draw rate Decodes H.264 video View-dependent Camera stream from remote stereo reprojection for + Scene VCA GPU cluster current HMD head pose HMD distortion correction VMD 15Mbps Internet Link HMD Remote VCA GPU Cluster Ray tracing runs continuously, streams H.264 video to VMD client

  16. Remote Omnidirectional Stereoscopic RT Performance @ 3072x1536 w/ 2-subframes Scene Per-subframe samples RT update rate (FPS) AA : AO (AO per-hit) STMV shadows 1:0 22.2 2:0 18.1 4:0 10.3 STMV 1:1 18.2 Shadows+AO 1:2 16.1 1:4 12.4 STMV 1:1 16.1 Shadows+AO+DoF 2:1 11.1 2:2 8.5 HIV-1 1:0 20.1 Shadows 2:0 18.1 4:0 10.2 HIV-1 1:1 17.4 Shadows+AO 1:2 12.2 1:4 8.1

  17. HMD View-Dependent Reprojection with OpenGL • Texture map panoramic image onto reprojection geometry that matches the original RT image formation surface • HMD sees standard perspective frustum view of the textured surface • Commodity HMD optics require software lens distortion and chromatic aberration correction prior to display, implemented with multi-pass FBO rendering • Low-latency, high-frame-rate redraw as HMD head pose changes (150Hz or more) NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  18. VMD can support a variety of HMD lens designs, e.g. http://research.microsoft.com/en-us/um/redmond/projects/lensfactory/oculus/ NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  19. NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

  20. NIH BTRC for Macromolecular Modeling and Bioinformatics Beckman Institute, U. Illinois at Urbana-Champaign http://www.ks.uiuc.edu/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend