Communication Versus Computation: a Survey of Cloud Gaming Approaches

Communication Versus Computation: a Survey of Cloud Gaming Approaches

COMMUNICATION VERSUS COMPUTATION: A SURVEY OF CLOUD GAMING APPROACHES Robert J. Grigg René Hexel School of International Game Architecture & Design Institute for Integrated and Intelligent Systems NHTV Breda University of Applied Sciences Grith University email: [email protected] email: [email protected] KEYWORDS WHAT IS A CLOUD GAMING PLATFORM? Cloud gaming, Cloud Game Engine Architecture A typical view of a cloud gaming system (see Figure 1) is one that renders the game scene on the cloud cluster ABSTRACT and then transmits the encoded scenes to an end-user device via the internet or similar broadband connection. There still remains many challenges in creating an eec- User input is taken from the end-user device and trans- tive and ecient cloud gaming operation able to handle mitted to the cloud gaming cluster so it can update the the new release games of today. There are also many ex- game state and render the next frame (see Figure 2). isting paths to creating a cloud gaming architecture. In This architecture means that game-code is stored and this paper some of the dierent approaches, that are be- executed on the server with the benet of being able to yond that of just remote rendering, are analysed giving deliver the game in a generic fashion suitable for a wider insight into the operational approach of each technology. selection of end-user devices. Currently there is a growing number of initiatives in cloud game architectures that vary in signicant ways. Although there are many varying technologies, with a lot of promises, the ultimate goal of a cloud game engine is something unique to what has been before. It really is about providing a modular and scalable approach but Console PC / iOS / Linux Cloud Game Service within a controllable and sandbox like environment. (Gaming as a Service – GaaS) Smart TV INTRODUCTION Mobile Figure 1: Cloud-Gaming Architectural Overview To date Cloud Gaming has experienced both success and failure in delivering cloud-based gameplay to gamers. These operations still face challenges in bandwidth us- In the cloud cluster an important dierentiating factor age, the eects of latency on gameplay experience and is whether the system is created generically so it can the costs involved when the numbers of users supported plug into as many game products as possible. Alterna- per server remains quite low. tively the cloud gaming platform can be built to leverage Most games have a real-time requirement with very low internal game engine information and functionality for latency to end-users, whom are quite sensitive to qual- better performance, but this ties the solution to a par- ity of the gaming experience. The game engines run- ticular game engine and therefore the need for porting ning these games tend to demand high amounts of re- the game product to that cloud gaming platform (Beer sources to render successfully at the expected Frame- 2013). Creating a generic game plug-in system, that Rates (FRs). allows a wide range of games to be plugged-in, can neg- Current game engines are plugged-in or ported to the atively impact performance due to the additional steps cloud which, although feasible, often introduces many required to capture game output as a black box process. ineciencies in an online networked environment that already has its own problems and challenges. The game CLOUD FRAMEWORKS engine integration approach also fails to leverage the mass amounts of computational power that may be Currently there exists a number of approaches that de- available in a cloud gaming cluster. liver game services from the cloud. The aim is to bring In this paper the various methods that underpin current benets a cloud platform gives other services, to games. cloud gaming architectures are analysed with the goal to This section will present core approaches used for de- bring an understanding of the various approaches and livering games from the cloud and discuss the associ- their inherent advantages and disadvantages. ated advantages and challenges of each approach. The Game Cloud Platform STREAMING MEMORY PAGES Game Engine The memory page level of an application is streamed by Input System Renderer Audio System sending memory pages as required by the user applica- tion. The approach uses a statistical method to help Send Input to Video / Audio Capture Application (MPEG-4/H.264/Custom) predict what pages are required next by the client ap- plication. The handling of the memory pages is done by Compute Motion Block Vectors a Virtual Machine (VM) layer on the client-side which Encode Motion Block Pixels communicates with the server to retrieve the previously virtualized memory page. This technique makes it possi- Lossless Data Compression ble to be cross-platform for end-user devices that have a (Huffman, etc..) VM available. This process was called Cloudpaging by Custom Protocols QoS uPnP UDP/TCP/RTP IPv4/IPv6 Numecent (Ahiska 2015) and brought to gaming by a spin-o company Approxy (Ahiska 2012) that was later Data Decompression reacquired by Numecent. Data Decoding Cloudpaging allows for the download of the les as they are required and even the subcomponents of a large Capture Input Image / Sound Reconstruction executable le transparently in the background. This means that, although the application does not start im- Game Client Window mediately the rst time, the application will start after downloading less than 10 percent with an example such Gaming Client as Adobe Photoshop starting after 6.5 percent. Cloud- Figure 2: A Traditional Video Streaming Architecture paging presents a way where the transferred Cloudpages may be proxied locally to allow for client devices, that share the local network, to make use of this if the same application is being used and even play oine if all rel- evant pages are available. This type of approach may suitability and successful application of each technology be more compatible with existing Content Delivery Net- may depend on the original application and whether it works (CDNs) used today. can handle user interaction and dynamic scenes. A lot Security is by encrypting the Cloudpages and ensuring of current work has leveraged remote rendering tech- the end-user does not have the whole application at any nologies of the past and a survey covering interactive point in time. This still sends all material to clients and remote rendering systems has been done (Shi and Hsu therefore could be argued that it would still be vulner- 2015). Cai et al. (2016) has completed a more broad able to piracy activities. Latency, conversely, is much study at dening cloud gaming, the ongoing research less of an issue as the application is running upon the and challenges. This paper focuses on highly interactive client device and slowed only by the VM layer it runs and dynamic scenes, that is the cloud gaming category within. of the model (see Figure 3), and explore the options and challenges in creating a cloud gaming platform. STREAMING OF FILES This approach works at the le level of an application User Interaction and focuses on downloading les as required by the Restricted Unrestricted client-side application. The transfer of les can be de- ned by the developer, dened by the levels of a game, anticipated statistically or via prediction methods on Virtual Environment Remote Visualisation Walkthrough what les are required and when. The aim for all these Static approaches is to minimise the size of the initial download before being able to play, as well as eectively stream in the background without negatively impacting the game Remote 3D Rendering (see Figure 4). Sometimes le streaming is done at the Cloud Gaming 3D Model Data (Video/Animation) block level of a le, avoiding the transmission of large Dynamic les when only a part is required, which can be especially useful when it comes to ecient patching. The streamed Figure 3: Categories of Remote Rendering Systems and game then runs natively, or within a thin layer to handle Applications (Shi and Hsu 2015) le requests, and therefore is not impacted by latency. Services such as AWOMO, InstantAction, and Triton are le streaming game services that are no longer in op- Game Cloud Platform Smart TVs only required that the developer's game be Game Packaging Game B..X compatible with a game controller (Newell 2003). (Offline) Game A Game File streaming solutions aim to run natively and per- GameAsset Per Asset Compression Game GameAssetFile form as though the gamer has installed them, once the (Offline) Core GameAsset GameAssetFile Game AssetFile AssetFile initial download requirement is met. Transfer at the le Files File File level can mean specialist compression approaches that Improves Minimum Download best suit the le-type, which can help maximise com- pression. Some le streaming solutions will run within Asset Statistics Database Asset Streamer a VM. The use of a VM may introduce a level of la- tency, but can enable playback of the game on dier- ent devices. Today there are a number of platforms in Asset Request Statistics Asset Streamer / Decompressor the cloud gaming space (see Table 1) that utilise asset streaming technologies and techniques in providing their Game A Game service. GameAsset Game GameAssetFile Core GameAsset GameAssetFile Game AssetFile AssetFile STREAMING OF GRAPHICS COMMANDS Files File File Minimum Download The streaming of graphics commands, which is also re- Gaming Client ferred to as Graphics Streaming, involves the intercept of graphics commands from OpenGL (Khronos Group Figure 4: Cloud Gaming File Streaming Architecture 1997), Vulkan (Khronos Group 2017) or DirectX (Mi- crosoft 2017) that are compressed and streamed to the client to be executed. The client is required to have eration today. InstantAction was focused on being able a graphics processor capable of quickly rendering the to deliver games directly within a web-browser in web- image, which may not be appropriate for a Smart-TV, sites such as Facebook (DiStream 2004; Walkden 2009).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us