Academia.eduAcademia.edu

Outline

Demo

2014, Proceedings of the 12th annual international conference on Mobile systems, applications, and services

https://doi.org/10.1145/2742647.2742657

Abstract

This paper presents Kahawai 1 , a system that provides high-quality gaming on mobile devices, such as tablets and smartphones, by offloading a portion of the GPU computation to server-side infrastructure. In contrast with previous thin-client approaches that require a server-side GPU to render the entire content, Kahawai uses collaborative rendering to combine the output of a mobile GPU and a server-side GPU into the displayed output. Compared to a thin client, collaborative rendering requires significantly less network bandwidth between the mobile device and the server to achieve the same visual quality and, unlike a thin client, collaborative rendering supports disconnected operation, allowing a user to play offline -albeit with reduced visual quality. Kahawai implements two separate techniques for collaborative rendering: (1) a mobile device can render each frame with reduced detail while a server sends a stream of per-frame differences to transform each frame into a high detail version, or (2) a mobile device can render a subset of the frames while a server provides the missing frames. Both techniques are compatible with the hardwareaccelerated H.264 video decoders found on most modern mobile devices. We implemented a Kahawai prototype and integrated it with the idTech 4 open-source game engine, an advanced engine used by many commercial games. In our evaluation, we show that Kahawai can deliver gameplay at an acceptable frame rate, and achieve high visual quality using as little as one-sixth of the bandwidth of the conventional thin-client approach. Furthermore, a 50person user study with our prototype shows that Kahawai can deliver the same gaming experience as a thin client under excellent network conditions.

References (39)

  1. H. Alain and D. Ziou. Image quality metrics: PSNR vs. SSIM. In Proc. of ICPR, 2010.
  2. P. A. Alsberg and J. D. Day. A Principle for Resilient Sharing of Distributed Resources. In Proc. of ICSE, 1976.
  3. R. K. Balan, D. Gergle, M. Satyanarayanan, and J. Herbsleb. Simplifying Cyber Foraging for Mobile Devices. In Proc. of MobiSys, 2007.
  4. H. Bao. Real-time Graphics Rendering Engine. Most, pages 1-6, 2011.
  5. Capcom. Street Fighter IV, 2004. http://www.streetfighter.com/us/usfiv.
  6. L. Cheng, A. Bhushan, R. Pajarola, and M. El Zarki. Real-time 3D Graphics Streaming using MPEG-4. In BroadWISE, July 2004.
  7. B. Chun, S. Ihm, P. Maniatis, M. Naik, and A. Patti. CloneCloud: Elastic Execution between Mobile Device and Cloud. In Proc. of EuroSys, 2011.
  8. E. Cuervo. Enhancing Mobile Devices through Code Offload. PhD thesis, Duke University, 2012.
  9. E. Cuervo, A. Balasubramanian, D.-k. Cho, A. Wolman, S. Saroiu, R. Chandra, and P. Bahl. MAUI: Making Smartphones Last Longer with Code Offload. In Proc. of MobiSys, 2010.
  10. E. Cuervo, A. Wolman, L. Cox, S. Saroiu, M. Musuvathi, and A. Razeen. Demo: Kahawai: High-Quality Mobile Gaming Using GPU. MobiSys, 2014.
  11. G. W. Dunlap, S. T. King, S. Cinar, M. A. Basrai, and P. M. Chen. ReVirt: Enabling Intrusion Analysis through Virtual-Machine Logging and Replay. In Proc. of OSDI, 2002.
  12. Epic Games. Unreal game engine. http://unrealengine.com/.
  13. Ffmpeg. http://ffmpeg.org/.
  14. J. Flinn and Z. M. Mao. Can deterministic replay be an enabling tool for mobile computing? In Proc. of HotMobile, 2011.
  15. Flurry. http://blog.flurry.com/, Jan 2012.
  16. J. Gregory. Game Engine Architecture, Second Edition. A K Peters, 2014.
  17. S. Hecht. Intermittent stimulation by light. The Journal of general physiology, 1935:965-977, 1936.
  18. J. Huang, F. Qian, A. Gerber, Z. M. Mao, S. Sen, and O. Spatscheck. A Close Examination of Performance and Power Characteristics of 4G LTE Networks. In Proc. of MobiSys, 2012.
  19. G. Hunt and D. Brubacher. Detours: Binary Interception of Win32 Functions. In Proc. of the 3rd USENIX Windows NT Symposium, July 1999.
  20. IDSoftware. Doom 3 source, 2011. https://github.com/TTimo/doom3.gpl.
  21. Intel QuickSync. http://www.intel.com/content/ www/us/en/architecture-and-technology/ quick-sync-video/quick-sync-video- general.html.
  22. ITU-T Recommendation J.247. Objective Perceptual Multimedia Video Quality Measurement in the Presence of a Full Reference. ITU-T, Aug. 2008.
  23. Z. Kotevski and P. Mitrevski. Experimental Comparison of PSNR and SSIM Metrics for Video Quality Estimation. In ICT Innovations 2009, pages 357-366. Springer, 2010.
  24. A. Lai and J. Nieh. Limits of Wide-Area Thin-Client Computing. In Proc. of SIGMETRICS, 2002.
  25. R. Leadbetter. Console Gaming: The Lag Factor, Sept. 2009. http://www.eurogamer.net.
  26. R. Leadbetter. OnLive Latency: The Reckoning, July 2010. http://www.eurogamer.net/articles /digitalfoundry-onlive-lag-analysis.
  27. K. Lee, D. Chu, E. Cuervo, Y. Degtyarev, S. Grizan, J. Kopf, A. Wolman, and J. Flinn. Outatime: Using Speculation to Enable Low-Latency Continuous Interaction for Mobile Cloud Gaming. In Proc. of MobiSys, 2015.
  28. M. Levoy. Polygon-assisted JPEG and MPEG compression of synthetic images. Proc. of SIGGRAPH, 1995.
  29. Y. Mann and D. Cohen-Or. Selective Pixel Transmission for Navigating in Remote Virtual Environments. Computer Graphics Forum, 16(3), Sept. 1997.
  30. Microsoft. DirectX Developer Center, 2012. http://msdn.microsoft.com/en-us/directx.
  31. D. Narayanan and M. Satyanarayanan. Predictive Resource Management for Wearable Computing. In Proc. of MobiSys, 2003.
  32. B. Noble, M. Satyanarayanan, D. Narayanan, J. E. Tilton, J. Flinn, and K. R. Walker. Agile Application-Aware Adaptation for Mobility. In Proc. of SOSP, 1997.
  33. OpenGL. OpenGL -The Industry Standard for High Performance Graphics. http://www.opengl.org/.
  34. I. Richardson. The H.264 Advanced Video Compression Standard. John Wiley & Sons, 2010.
  35. N. Tolia, D. G. Andersen, and M. Satyanarayanan. Quantifying Interactive User Experience on Thin Clients. IEEE Computer, 39(3), Mar. 2006.
  36. Unity. Unity 3D Engine 5. http://unity3d.com/5.
  37. VirtualGL. http://www.virtualgl.org/.
  38. Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli. Image Quality Assessment: From Error Visibility to Structural Similarity. IEEE Transactions on Image Processing, 13(4):600-612, 2004.
  39. M. West. Measuring Responsiveness in Video Games, July 2008. http://www.gamasutra.com.