GB2506727A - Server-rendering of graphics for remote client - Google Patents

Server-rendering of graphics for remote client Download PDF

Info

Publication number
GB2506727A
GB2506727A GB1312957.2A GB201312957A GB2506727A GB 2506727 A GB2506727 A GB 2506727A GB 201312957 A GB201312957 A GB 201312957A GB 2506727 A GB2506727 A GB 2506727A
Authority
GB
United Kingdom
Prior art keywords
data
client
rendering
image
auxiliary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
GB1312957.2A
Other versions
GB201312957D0 (en
Inventor
Dawid Stanislaw Pjak
David Patrick Luebke
Scott Saulters
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nvidia Corp
Original Assignee
Nvidia Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/727,216 external-priority patent/US9576340B2/en
Application filed by Nvidia Corp filed Critical Nvidia Corp
Publication of GB201312957D0 publication Critical patent/GB201312957D0/en
Publication of GB2506727A publication Critical patent/GB2506727A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/16Indexing scheme for image data processing or generation, in general involving adaptation to the client's capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/52Parallel processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Generation (AREA)

Abstract

A method for transmitting rendered 3d images to a remote client device 550 comprises rendering 720 server rendering elements to generate reference image data 580 and rendering 722 client rendering elements to generate a client auxiliary image data 582. Either the reference image and the client auxiliary image, or the reference image and auxiliary data are compressed 730 to generate compressed client data which is transmitted 740 over a network 570 to the client device 550. Whether the reference image is compressed with the client auxiliary image or the auxiliary data is dependent upon the relative amount of data representing the client auxiliary image and auxiliary data. A server system with a rendering subsystem to perform the method is also claimed. The method allows auxiliary rendering information to be separated from rendering information used to describe the reference image. The client device may alter the auxiliary data and generate a new image based upon the reference image and rendered scene information from the auxiliary data without creating additional network bandwidth or server workload.

Description

RENDER-ASSISTED COMPRESSION FOR REMOTE GRAPHICS
CROSS-REFERENCE TO RELATED APPLICATIONS
(0001] This application claims benefit of United States provisional patent application serial number 61/677,430. fIled July 30, 2012, which is hereby Incorporated herein by reference.
BACKGROUND OF ThE INVENTION
Field of the Invention
(0002] The present invention generally relates to computer graphics and, more specifically, to render-assisted compression for remote graphics.
Description of the Related Art
[0003] Remote rendering is a technique for rendering graphics images on a server and transmitting the images to a client device via an intervening data network. Multiple servers may operate from a controlled machine room environment to provide highly reliable service to many different client devices.
Each server may be a relatively high-end computing platform with high-performance CPUs and OPUs, last access to large arrays of on-line storage, and high-speed local networking to other servers that may be, for example, participants in a distributed application. Each server is typically configured to provide significantly more processing, storage, and intemetworking capacity than a typical client device, white each client device is configured to provide networking connectivity, certain graphics functions, and a display system. A client device may be portable or mobile and provide a highly convenient user experience.
(0004] In one conventional remote rendering technique, a server renders both a high-quality Image and a low-quality image for each frame, and transmits a difference image for the frame. A client device renders just the km-quality image and uses the difference image to reconstruct a high-quality image. In certain scenarios and for certain specific frames, this technique requires less network bandwidth than simply transmitting a conventionally compressed high-quality image. In some scenarios, the client device requires more power to perform image reconstruction on a certain frame than conventional image decompression requires for the same frame. One significant disadvantage of this technique is
I
that ittie advantage is gained, if any, relative to converdonaUy compressing and transmitting each frame.
[0005] Other techniques involve image warping and spatial and temporal up sampling of transmitted data. However, these techniques conventionaily require expilcit applicaUoniev& control of processing, ilmiting general appilcability, [0006] As the foregoing iflustrates, what is needed in the art is an efficient technique for remote rendering.
SUMMARY OF ThE INVENTION
ooon in accordance wfth a first aspect of the present invention, a method for transmitting rendered images to a remote client device comprises rendering one or more server rendering elements to generate a reference image, rendering one or more cilent rendering elements to generate a cUent auxiliary image, compressing the reference image and the chent auxiliary image or the reference image and auxiliary data to generate compressed cUent data, and transmitting the compressed chent data to the remote client device for display.
[000a Each server rendering element may comprise one or more graphics operations configured to be executed on a server machine.
[0009] Each cUent rendering element may comprise one or more graphics operations configured to be execute.d on the server machine and the remote client device.
[0010] The auxiliary data may comprise graphics instructions for performing at least one rendering pass on the reference image.
[00111 The method may further comprise comparing an amount of data associated with the cUent auxiliary image to an amount of data associated with the auxhary aata, [0012] The reference image and the cilent auxihary imEge may he compressed to generate the compressed cUent data if the amount of data associated with the client auxiliary image is less than the amount of data associated with the auxiliary data.
po13 The reference image and the auxary data may be compressed to generata Ue compressed client data if the amount of data associated with the auxffiay data is less than the amount of data associated wfth the chent auxiliay image.
L0014] Compressing the auxiltary data may comprise applying a rendeN assisted prediction function t.o the auxiliary data.
ooi Compressing the reference image may comprise entropy encoding at east a portion of the reference image.
ooie in accordance with a second aspect of the present invention, a server system comprises: a rendering subsystem configured to: render one or more server rendering elements to generate a reference image; render one or more client rendering elements to generate a client auxiliary image; compress the reference image and the cent auxiliary image or the reference image and auxihary data to generate compressed client data; and transmit the compressed client data to the remote client device for display.
W0173 Other embodiments of the present invention include, without limtaton, a computer-readable storage medium including instructions that, when executed by a processing unit, cause the processing unit to perform the techniques described herein as w& as a computing device that includes a processing unit configured to perform the techniques described herein.
GOi8 One advantage of the disclosed technique is that it improves compression rates in. a remote rendering system. A second advantaqe is that the technique may be implemented to be backwards compatible with existing video compression techniques.A third advantage is that client-side rendering of certain frames or certain portions of frames reduces server workloads, and enables greater server scalability.
BRIEF DESCRIPTION OF ThE DRAWINGS
(00191 So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodlments some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
(00201 Figure 1 is a block diagram illustrating a computer system configured to implement one or more aspects of the present invention; (0021] Figure 2 is a block diagram of a parallel processing subsystem for the computer system of Figure 1, according to one embodiment of the present invention; [0022] FIgure 3 15 a block diagram of a portion of a streaming multiprocessor within the general processing cluster of FIgure 2, according to one embodiment of the present invention; (0023] Figure 4 is a conceptual diagram of a graphics processing pipeline that one or more of the PPUs of Figure 2 can be configured to implement, according to one embodiment of the present invention; (0024] Figure 5 illustrates a remote rendering system, according to one embodiment of the present invention; (002$] Figure 6 illustrates an image compression subsystem configured to perform render-assisted prediction, according to one embodiment of the present invention; [0028] Figure 7 is a flow diagram of method steps for performing render-assisted compression, according to one embodiment ol the present invention; and [0027] Figure 8 is a flow diagram of method steps for perfomiing render-assisted decompression, according to one embodiment of the present invention.
DETALED DESCRlPTON in the foowing descglption, numerous specific detas are set forth to provide a more thorough understanding of the present invention, However, it wiH be apparent to one at' skW in the art that the present invention may be practiced without one or more of these specific details, System Overview O29] Figure 1 is a bbck diagram ifiustrating a computer system 100 configured to implement one or more aspects of the present invention, Computer system 100 includes a central processing unt (CPU) 102 and a system memory 104 communicating via an interconnection path that may include a memory bridge 105, Memory bridge 105, which may be, eg., a Northbridge chip, is connected via a bus or other communkation path lOG (eg. a HyperTranspori link) to an i/O (input/output) bridge 107. 1/0 bridge 107, which may be, e.g., a Southbridge chip.
receives user input from one or more user input devices 10$ (e.g., keyboard, mouse) and forwards the input to CPU 102 via communication path 10$ and memory bridge 105, A paraUei processing subsystem 112 is coupled to memory bridge 105 via a bus or second communication path 113 (ag., a Peripheral Component interconnect (PCI) Express, Accelerated Graphics Port, or HyperTransport nk). In one embodiment parael processing subsystem 112 is a graphics subsystem that delivers pixels to a display device 110 that may be any conventionsi cathode ray tube, liquid crystal display, ightemitting diode display, or the like. A system disk 114 is also connected to I/O bridge 107 and may be configured to store content and applications and data for use by CPU 102 and parallel processing' subsystem 112. System disk 114 provides nonvo1atile storage for appcations and data and may include fixed or removable hard disk drives, flash memory devices, and CDROM (compact disc readonlymemory), DVD..
ROM (digital versatile discROM), Biuray, HD-DVD (high definition DVD), or other magnetic, opticaL or solid state storage devices.
OO3O] A switch 115 provides connections between I/O bridge 107 and other components such as a network adapter 118 and various addin cards 120 and 121. Other components (not explicifly shown), induding universal serial bus (USB) or other port connections, compact disc (CD) drives, digital versatile disc (OVO) drives, film reccrthng devices, and the ke, may also be connected to UC bridge 107. The various communication paths shown in Figure 1 induding the specificafly named communication paths 106 and 113 may he implemented using any suitable protocols, such as PCI Express. AGP (Accelerated Graphics Port).
HyperTransport, or any other bus or point4o-point communicabon protocol(s), and connections between different devices may use different protocols as is known in the art.
in one embodiment, the paraD& processing subsystem 11$ incorporates cwcuitry optimized for graphics and video processing, including. for example, video output circuitry, and constitutes a graphics processing unit (CPU). In another embodiment, the parallel processing subsystem 112 incorporates circuitry optimized for general purpose processing, while nreserving the underlying computational architecture, described in greater detail herein, In yet another embodiment, the parallel processing subsystem 112 may be integrated with one or more other system elements in a single subsystem, such as joining the memory bridge 105, CPU 102, and UO bridge 107 to form a system on chJp (SoC), it wifli be appreciated that the system shown herein is illustrative and that variations and modifications are possible. The connection topoloqy, including the number and arrangement of bridges, the number of CPUs 102, and the number of parallel processing subsystems 112, may be modified as desired. For instance, in some embodiments, system memory 104 is connected to CPU 102 directly rather than through a bridge, and other devices communicate with system memory 104 via memory bridge 105 and CPU 162. in other alternative topobgies, parallel processing subsystem 112 is connected to I/O bridge 107 or directly to CPU 102, rather than to memory bridge 105. in still other embodiments, I/O bridge 107 and memory bridge 105 might be integrated into a single chip instead of existing as one or more discrete devices. Large embodiments may include two or more CPUs 102 and two or more parallel processing subsystems 112. The particular components shown herein are optional: for instance, any number of addin cards or peripheral devices might be supported. n some embodiments, switch 118 is eliminated, and network adapter 118 and addin cards 120,12.1 connect directly to /0 bridge 107.
Figure 2 ifiustrates a paraUe processing subsystem 112, according to one emhothment of the present invention. As shown, para& processing subsystem 112 includes one or more paraei processing unfts (PPUs) 202, each of which is coupled to a local parafl& processing (PP) memory 204, In generaL a paraei processng subsystem includes a number U of PPUs, where U »= I (Herein, multiple instances of ike objects are denoted with reference numbers identifying the object and parenthetical numbers identifying the instance where needed.) PPUs 202 and para& processing memories 204 may he implemented using one or more integrated circuit devices, such as programmable processors, appcation specific integrated circuits (ASlCs), or memory devices, or in any other technicaUy feasible fashion.
OO34i Referring again to Figure 1 as weU as Figure 2, in some embodments, some or aU oF PPUs 20$ in parallel processing subsystem 112 are graphics processors with rendering pipeUnes that can be configured to perform various operations related to generating pixel data from graphics data supped by CPU 102 and/or system memory 104 via memory bridge 105 and the second communication path 113, interacting with local paraflel processing memory 204 (which can he used as graphics memory including, e.g., a conventional frame buffer) to store and update XCi data, delivering pixel data to display device 110.
and the like. In some embodiments, parael processing subsystem 112 may include one or more PPUs 202 that operate as graphics processors and one or more other PPUs 202 that are used for generaLpurpose computations. The PPUs 202 may be identical or different, and each PPU 202 may have one or more dedicated parael processing memory device(s) or no dedicated paraUci processing memory device(s). One or more PPUs 202 in paraflel processing subsystem 112 may output data to display device 110 or each PPU 202. in paraflel processing subsystem 112 may output data to one or more display devices 110.
L0035] In operation, CPU 102 is the master processor of computer system 100, controfling and coordinating operations of other system components. In particular, CPU 102 issues commands that control the operation of PPUs 202. In some embodiments, CPU 102 writes a stream of commands for each PPU 202 to a data structure (not explicftly shown in either Figure 1 or Figure 2) that may he located in system memory 104, parallel processing memory 204, or another storage location accessible to both CPU 102 and PPU 202. A pointer to each data structure 5 written to a pushbuffer to initiate processing of the stream of commands in the data structure. The PPU.202 reads command streams from one or m.ore pushbuftèrs and then executes commands asynchronously relative to the operation of CPU 102. Execution priorities may be specified for each pushbuffer by an appcation program via the device driver 103 to control scheduUng of the different pushhuffers.
ooac Referring back now to Figure 2 as wail as Figure 1 each PPU 202 nciudes an /0 (input/output) unit 205 that communicates with the rest of computer system 100 via communication path 113, which connects to memory bridge 105 (or, in one alternative embodiment, directiy t.o CPU 102.), The connection of PPU $02 to the rest of computer system 100 may also be varied. in some embodiments, paraUei processing subsystem 112 is implemented as an add-in card that can be inserted into an expansion slot of computer system 100. In other embodiments, a PPU 202 can he integrated on a single chip with a bus bridge, such as memory bridge 105 or/C bridge 107. in still other embodiments, sonic or a elements of PPU 202 may be integrated on a single chip1 with CPU 102.
OO37 in one embodiment, communication path 113 is a PCI Express link, in which dedicated lanes are aUocated to each PPU 202, as is known in the art.
Other communication paths may also be used. An 1/0 unit 205 generates packets (or other signals) tar transmission on communication path 113 and also receives all incoming packets (or other signals) from communication path.. 113, directing the incon' ing packets to appropriate components of PPU 202, For example, commands related to processing tasks may be dire"ted to a host interface 206, whe commands related to memory operations (e.g.. reading from or writing to paraflel processing' memory 204) may be directed to a memory crossbar unit 210.
Host interface 20$ reads each pushbuffer and outputs the command stream stored in the pushbufferto a front end 212.
Each PPU 202 advantageously implements a highly parallel processing architecture, As shown in detail, PPU 202(0) includes a processing cluster array 230 that includes a number C of general processing clusters (OPOs) 20$, where C »= 1. Each GPC 208 is capable of executing a larce number (e.g., hundreds or thousands) of threads concurrently, where each thread is an instance of a program. In various applications, different GPCs 208 may be aHocated for processing different types of programs or for performing different types of computations. The allocation of GPCs 208 may vary dependent on the workload arising breach type of program or computation.
(0039) GPCs 208 receive processing tasks to be executed from a work distribution unit within a task/work unit 207. The work distribution unit receives pointers to processing tasks that are encoded as task metadata (TMD) and stored in memory. The pointers to TMDs are included in the command stream that is stored as a pushbuffer and received by the front end unit 212 from the host interface 206. Processing tasks that may be encoded as TMDs include indices of data to be processed, as well as state parameters and commands defining how the data is to be processed (e.g., what program is to be executed). The task/work unit 207 receIves tasks from the front end 212 and ensures that GPCs 208 are configured to a valid state before the processing specified by each one of the TMDs is initiated. A priority may be specified for each TMD that is used to schedule execution of the processing task. Processing tasks can also be received from the processing duster array 230. OptIonally, the TMD can include a parameter that controls whether the TMD is added to the head or the tail for a list of processing tasks (or list of pointers to the processing tasks), thereby providing another level of control over priority.
(0040) Memory interface 214 includes a number D of partition units 215 that are each directly coupled to a portion of parallel processing memory 204, where D 1.
As shown, the number of partition units 215 generally equals the number of dynamic random access memory (DRAM) 220. In other embodiments, the number of partition units 215 may not equal the number of memory devices.
Persons of ordinary skill in the art will appreciate that DRAM 220 may be replaced with other suitable storage devices and can be of generally conventional design.
A detailed description is therefore omitted. Render targets, such as frame buffers or texture maps may be stored across DRAMs 220, allowing partition units 215 to write portions of each render target in parallel to efficiently use the available bandwidth of parallel processing memory 204.
L00411 Any one of GPCs 208 may process data to be rthen to any of the DRAMs 220 within paraHe processing memory 204, Crossbar unit 210 is configured to route the output of each GPC 208 to the input of any parfition unit 215 or to another GPC 208 for further processing. GPCs 208 communicate with memory interface 214 through crossbar unit 210 to read from or write to various externai memory devices, n one embodiment, crossbar unit 210 has a connecUon to memory interface 214 to communicate with i/O unit 205, as we as a connection to loca paraflel processing memory 204., thereby enabng the processing cores within the different GPCs 208 to communicate with system memory 104 or other memory that is not ocal to PPU 202. in the embodiment shown in F]gure 2, crossbar urL 210 is directly connected with i/O unit 205, Crossbar unit 210 may use virtual channeis to separate traffic streams between the GPCs 208 and partition units 215.
OO42 Again, GPCs 208 can be programmed to execute proces&ng tasks relating to a wide variety of appcations, including but not hmited to, linear and nonlinear data transforms, filtering of video and/or audio data, modeUng operations (e.. g., applying aws of physics to determine position, veiocitv and other attributes of obects), image rendering operations (eg., tesseation shader, vedex shader, geometry shader, and/or pixel shader programs), and so on. PPUs 202. may transfer data from system memory 104 and/or local parael processing memories 204 into internal (onchip) memory, process the data., and writ.e result data back to system memory 104 and/or local paraflel processing memories 204, where such data can be accessed by other system components. including CPU 102 or another parallel processing subsystem 112.
OO43] A PPU 202 may be provided with any amount of local paraflel processing memory 20$, including no local memory, and may use local memory and system memory in any combination. For instance, a PPU 202 can be a graphics processor in a unified memory' architecture (UMA) embodiment. In such embodiments, iittle or no dedicated graphics (parallel processing) memory wouki be provided, and PPU 202 would use system memory exdusively or almost exclusively. In UMA embodiments, a PPU 202 may be integrated into a bridge chip or processor chip or provided as a discrete chip with a highspeed ink (e.g., PC Express) connecting the PPU 202 to system memory via a'' bridge chip or other communication means.
O44I As noted above, any number of PPUs 202 can be induded in a paraflel processing subsystem 112. For instance, multiple PPUs 202 can be provided on a single add-in card, or multiple addin cards can be connected to communication path 113, or one or more of PPUs 202 can be integrated into a bridge chip. PPUs 202 in a muW-PPU system may be identical to or different from one-another. For instance, different PPUs 202 might have different numbers of processing core.s, different amounts of local parailel processing memory. and so on. Where multiple PPUs 202 are present, those PRUs may be operated in paraUel to process data at a higher throughput than is possible with a single PPU 202. Systems incorporating one or more PPUs 2-02 may be implemented in a variety of configurations and form factors, including desktop, laptop, or handheld personal computers. servers, workstations, game consoles, embedded systems, and the like.
OO4S] Multiple processing tasks may be executed concurrently on the c;rcs 203 and a processing task may generate one or more "child processing tasks dunng execufion. The task/work unt 207 receves the tasks and ynamcally schedules the processing tasks and child processing tasks for execution by the GPCs 208.
Figure 3 is a biock diagram of a streaming multiprocessor (SM-) 310 within a GPC 208 of Figure 2, according to one embodiment of the present invention, Each GPC 208 may be configured to execute a large number of threads in pare ilel, where the term "thread" refers to an instance of a particular program executing on a particular set of input data. ln some embodiments, single-instructior,muftiple-data (SiMD) instruction issue techniques are used to support parallel execution of a large number of threads without providing multiple independent instruction units. in other emboaiments. singleHnstruction, multiple-thread (SIMT) techniques are used to support parallel execution of a large number of generally synchronized threads, using a common instruction unit configured to issue instructions to a set of processing engines within each one of the GPCs 208.. Unlike a SIMD execution, regime, where all processing engines typically execute identical instructions, SiMT execution allows different threads to 1 1 more readily foow divergent execution paths through a given thread program.
Persons of ordinary skifi in the art w understand that a SiMD processing regime represents a functional subset of a SIMI processing regime.
[004fl Operauon of (3PC 208 is advantageously ccntroed via a pipeline manager (not shown) that distdbutes processing tasks to one or more streaming multiprocessors (SMs) 310, where each SM 310 configured to process one or more thread groups. Each SM 310 includes an instruction LI cache 370 that is configured to receive instructions and constants from memory via an Li.5 cache (not shown.) within the GPC 208. A warp scheduler and instruction unit 312 receives instructions and constants from the instruction LI cache 370 and controls local register file 308 and SM 310 functional units according to the instructions and constants. The SM $10 functional units include N exec (execution or processing) units 302 and F loadstore units (LSU) 303. The SM functional units may be pipehned, aflowing a new instruction to be issued before a previous instruction has finished, as is known in the art. Any combination of functional execution units may be provided, in one embodiment, the functional units support a variety of operations including integer and floating point arithmetic (e.g., addition and mulupkcation). comparison operations, Boolean operations (AND, OR, XOR), biPshifting, and computation of various algebraic functions (e.g., planar interpolation, trigonometric, exponential, and logarithmic functions. etc.); and the same functional unit hardware can be leveraged to perform different operations.
ooa The series of' instructions transmitted to a particular GPC 20$ constitutes a t.hread. as previously defined herein, and the collection of a certain number of concurrently executing' threads across the parallel processing engines (not shown) ithin an SM 310 is referred to herein as a warp" or thread group: As used herein, a zthread group refers to a group of threads concurrently executing the same program on different input data, with one thread of the group being assigned to a different processing engine within an SM 310. A thread group may include fewer threads than the number of processing engines within the. SM $10: in which case sonic processing engines wiU be idle during cycles when that thread group is being processed. A thread group may also indude more threads than the number of processing engines within the SM 310, in which case processing will take place over consecutive clock cycles. Since each SM 310 can i n support up to (3 thread groups concurrently, it follows that a system that, in a (3PC 208 that includes M streaming multiprocessors 310, up to G*M thread groups can be executing in GPC 208 at any given time.
(00493 Additionally, a plurally of related thread groups may be active (In different phases of execution) at the same time within an SM 310. This collection of thread groups is referred to herein as a "cooperative thread array" ("eTA") or "thread array? The size of a particular CTA is equal to mk, where k is the number of concurrently executing threads in a thread group and is typically an Integer multiple of the number of parallel processing engines within the SM 310, and m is the number of thread groups simultaneously active within the SM 310. The size of a CIA is generally determined by the programmer and the amount of hardware resources, such as memory or registers, available to the CIA.
In embodinents of the present invention: it is desirable to use PPU 202 or other processor(s) of a computing system to execute general-purpose computations using thread arrays. Each thread in the thread array is assigned a unique thread identifier ("thread ID") that is accessible to the thread during the thread's execution. The thread ID, which can be defined as a one-dimensional or multidimensional numerical value controls various aspects of the thread's processing behavior. For instance, a thread ID may be used to determine which portion of the input data set a thread Is to process and/or to determine which portion of an output data set a thread is to produce or write.
(0051] A sequence of per-thread Instructions may include at least one instruction that defines a cooperative behavior between the representative thread and one or more other threads of the thread array. For example, the sequence of per-thread instructions might include an instruction to suspend execution of operations for the representative thread at a particular point in the sequence until such time as one or more of the other threads reach that particular point, an instruction for the representative thread to store data in a shared memory to which one or more of the other threads have access, an instruction for the representative thread to atomically read and update data stored in a shared memory to which one or more of the other threads have access based on their thread IDs, or the like.
The CIA program can also include an instruction to compute an address in the shared memory from which data is to be read, with the address being a funeflon of thread D. By defining suitable fund ons and providing synchronization techniques, data can be wrttten to a given location in shared memory by one thread of a CTA and read from that bcation by a different thread of the same CTA in a predictable manner. Consequently, any desired pattern of data sharing among threads can be supported, and any thread in a CTA can share data with any other thread in the same CTA, The extent. if any, of data sharing among threads cia CTh is determined by the CIA program; thus, it is to be understood that in a parhoular apphcation that uses CTAs, the threads of a CTA might or might not actuay share data with each other, depending on the CTA program, and the terms "CTK and Thread array are used synonymously herein tOO52 SM 310 provides oachip (internS) data storage wfth different levels of accessibility. Special registers (not shown) are readable but not writeable by LSU 303 and are used to store parameters defining each thread's position." In one embodiment, special registers indude one register per thread (or per exec unit 302 within SM 310) that stores a thread ID: each thread U) register is accessible only by a respective one of the exeo unit 302. Special registers may also include additional registers, readable by aH threads that execute the same processing task represented by a TMD 322 (or by all LSUs 303) that store a CTA identifier, the CTA dimensions, the dimensions of a grid to which the CTA belongs (or queue position if the TMD 322 encodes a queue task instead of a grid task), and an identifier of the TMO 322 to which the CTA is assigned.
If the TMO 322 is a grid TMD, execution of the TMD 322 causes a fixed number of CTAs to be launched and executed to process the fixed amount of data stored in the queue 525. The number of CTAs is specified as the product of the grid width, height, and depth. The fixed amount of dat.a may he stored in the IMO 322 or the TMD 322 may store a pointer to the data that will he processed by the C1TAs, The TMD 322 also stores a starting address of the program that is executed by the CTAs.
ft the TMD 322 is a queue TMD, then a queue feature of the TMD 322 is USOd; meaning that the amount of data to be processed is not necessarily fixed, Queue entries store data for processing by the CTAs assigned to the TMD 322.
The queue entries may also represent a child task that is generated by another TMO 322 during execution of a thread, thereby providing nested paraflelism.
Typicaily, execution of the thread, or CTA that includes the thread, is suspended until execution of the child task completes. The queue may be stored in the TMD 322 or separat&y from the TMD 322, in which case the TMD 322 stores a queue pointer to the queue, Advantageou&y, data generated by the child task may be written to the queue while the TMD 322 representing the child task is executing.
The queue may he implemented as a circular queue so that the total amount of data is not limited to the size of the queue.
tO5] CTAs that b&ong to a grid have implicit grid width, height, and depth parameters indicating the posftion of the respective CTA within the grid. Special registers are written during initialization in response to commands received via front end 212 from device driver 103 and do not change during execution of a processing task. The front end 212 schedules each processing task for execution..
Each CTA is associated with a specific TMD 322 for concurrent execution of one or more tasks. Additionally, a single GPC 208 may execute multiple tasks concurrently.
EOO5] A parameter memory (not shown) stores runtime parameters (constants) that can be read but not written by any thread' within the same CTA (or any LSU 303). In one embodiment, device driver 103 provkies parameters to the parameter memory before directing SM 310 to begin execution of a task that uses these parameters. Any thread within any CIA (or any exec unit 302 within SM 310) can access global memory through a memory interface 214, Porilons of global memory may be stored in the LI cache 320.
OO5fl Local register file 304 is used by each thread as scratch space; each reqisier is allocated for the exclusive use of one thread, and dat.a in any of local register file 304 is accessible only to the thread to which the register is allocated.
Local register the 304 can be implemented as a register file that is physically or logically divided into P lanes, each having some number of entries (where each entry miqht qtore e g a 32-hit word) One lane is aqsjoned to each of the N exe units 302 and P load-store units LSU 303, and corresponding entries in dfferent lanes can be populated with data for different threads executing the same program l V to facilitate SiMD execution-Different portions of the arias can be aocated to different ones of the C concurrent thread groups, so that a given entry in the local register ffle 304 is accessible only to a particular thread. In one embodiment, certain entries within the local register file 304 are reserved for storing thread identifiers, imolementing one of the special registers. Additionally, a uniform LI cache 375 stores uniform or constant values for each lane of the N exec units 302 and P load.store un.s LSU 303.
oo Shared memory 30$ is accessible to threads wfthki a single CIA; in other words, any location in shared memory 30$ is accessible to any thread within the same CIA (or to any processing engine within SM 310). Shared memory 306 can he implemented as a shared register file or shared on-chip cache memory with an interconnect that allows any processing engine to read from or write to any location in the shared memory. in other embodiments, shared state space might map onto a perCTA region of off.chip memory, and be cached in Li cache 320.
The parameter memory can be implemented as a designated section within the same shared register file or shared cache memory that implements shared memory 306, or as a separate shared rcgister file or onchip cache memory to which the LSUs 303 have read-only access. In one embodiment, the area that implements the parameter memory is also used to store the CIA ID and task ID, as well as CIA and grid dimensions or queue position, implementing portions of the special registers. Each LSU 303 in. SM 310 is coupled to a unified address mapping unit 352 that converts an address provided for load and store instructions that are specified in a unified memory space into an address in each distinct memory space. Consequently, an instruction may be used to access any of the local, shared, or global memory spaces by specifying an. address in the unified memory space.
(009j The Li cache 320 in each SM 310 can be used to cache private per-thread local data and also per-appiication global data. in some embodiments, the per-CIA shared data may be cached in the LI cache 320. The L.SlJs 303 are coupled to the shared memory 306 and the LI cache 320 via a memory and cache nteruonneut 380.
(0060] It will be appreciated that the core architecture described herein is musLratve and that variations and mothflcations are possible. Any number of processing units, eg., SMe 310, may be included within a CRC 208. Further, as shown in Figure 2, a PPtJ 202 may incude any number of GPCs 208 that are advantageously functionaUy similar to one another so that execution behavior does not depend on which CRC 208 rec&ves a particular processing task. Further.
each CRC 208 advantageously operates independenOy of other GPCs 208 using separate and distinct processing units, Li caches to execute tasks for one or more application programs.
(0061) Persons of ordinary skW in the art wifi understand that the architecture described in Figures 1-3 in no way limits the scope of the present invention and that the techniques taught herein may be implemented on any properly configured processing unit, including, without limitation, one or more CPUs, one or more multi-core CPUs. one or more pl:us 202, one or more GPCs 208, one or more graphics or special purpose processing units, or the ike, without departing the scope of the present invention.
[0082] Figure 4 is a conceptual diagram of a graphics processing pipeline 400, that one or more of the PPUs 202 of Figure 2 can be configured to implement, according to one embodiment of the present invention, For example, one of the SMs 310 may be configured to perform the functions of one or more of a vertex processing unit 415, a geometry processing unit 425, and a fragment processing unit 460. The functions of data assembler 410, primitive assembler 420, rasterizer 455, and color raster operations (CROP) unit 465 may also he performed by other processing engines within a GPC 208 and a corresponding partition unit 215.
Alternat&y. graphics processing pip&ine 400 may be implemented using dedicated processing units for one or more functions.
(0063] Data assembler 410 processing unit coects vertex data for high-order surfaces, primiUve, and the ike, and outputs the vertex data, including the vertex attributes, to vertex processing unit 415. Vertex processing unit 415 is a programmable execution unit that is configured to execute vertex shader programs, hghting and transforming vertex data as specified by the vertex shader programs. For example, vertex processing unit 415 may be programmed to transform the vertex data from an object-based coordinate representation (obiect space) to an alternatively based coorthnate system such as worki space or normafized device coordinates (NDC) space.. Vertex processing unit 415 may read data that is stored in LI cache 320, paraU& processing memory 204, or system memory 104 by data assembler 410 for use in processing the vertex data, 10064] Prim bye assembler 420 receives vertex attributes from vertex processing unit 4I5, reading stored vertex attributes, as needed, and constructs graphics primitives for processing by geometry processing unit 425. Graphics primitives include triangles, line segments, points, and the hke, Geometry processing unit 425 is a programmable execution unit that is eonfigured to execute geometry shader programs, transforming graphics primitives received from primitive assembler 420 as specifled by the geometry shader programs. For example, geometry processing unit 425 may be programmed to subdivide the graphics primitives into one or more. new graphics primitives and calculate parameters, such as plane equaton coefficients, that are used to rasterize the new graphics primitives.
in some embodiments, geometry processing unit 425 may also add or delete elements in the geometry stream. Geometry processing unit 425 outputs the parameters and vertices specifying new graphics primitives to a viewport scale, cuD, and cp unit 450. Geometry processing unit 425 may read data that is stored. in para Del processing memory 204 or system memory 104 for use in processing the go-ietry data, Viewport scale, cuD, and clip unit 450 performs clipping, cuffing, and viewport scaling and outputs processed graphics primitives to a rasterizer 455.
[006$] Rasterizer 455 scar, converts the new graphics primitives and outputs fragments and coverage data to fragment processing unit 460. Additionafly, rasterizer 455 may be configured to perform z cuffing and other zbased optimizations.
[0087] Fragment processing unit 460 is a programmable execution unit that is configured to execute fragment shader programs, transforming fragments received from rasterizer 455, as specified by the fragment shader programs. For example, fragment proce.ssing unit 460 may be programmed to perform operations such as perspective correction, texture mapping, shading, blending, and the like, to produce shaded fragments that are output to CROP unit 465. Fragment processing unit 460 may read data that is stored in paraDe! processing memory 204 or system memory 104 for use in processing the fragment data. Fragments may he shaded at pixel, sample, or other granularity, depending on the programmed sampUng rate.
[0N8], CROP umt 465 is a processing unft that performs raster operations, such as stencil, z test, blending, and the like, ard outputs pixel data as processed graphics data for storage in graphics memory. The processed graphics data may be stored in graphics memory, e.g., paraHel processing memory 204, and/or system memory 104, for display on display device 110 or for further processing by CPU 102 or paraDe! processing subsystem 112. ln certain embodiments, each pixel compdses multiple color samples. in such embodiments, CROP unit 465 is configured to compress z sample data, color sample data, or any combination thereof that is written to memory and decompress z sample data and color sample data that is read from memory. The goal of this compression technique is not to reduce the size of an image in memory, but rather to reduce processing associated with the image by representing aD sampes for a given pixel by one set of sample values that require processing. ln a typical scene, a majority of pixels comprise color samples of equai value and this compression technique enables improved processino performance. Multiple color samples are combined to generate an anikiliased pixel within a resulting image for display or further processing. When aD coior samples associated with a particular pixel are equal in value, one color sample is stored for the pixel and status information for the pixel is set to indicate that the samples are compressed. in one embodiment, samples associated with a pixel will have equal color when a corresponding fragment fully covers the pixel, Color samples for each pixel within the image may be combined to generate an antialiased pixel for display.
ServeNClient System for Remote Render Figure 5 illustrates a remote rendering system 500, according to one embodiment of the present invention A server 510 is coupled to at least one client 550 via network 570, which may comprise wired or wireless communication links for local area or wide area communication. A client appUcation 552 executing on cHant 550 is configured to communicate with a server application 512 executmg on server 510 to cooperatively render output images 556 for display on cHent 550.
Client apphcation 552 may receive user input 554, such as position input from a joystick, mouse, or touchpad, and character input, such as input from a keyboard.
CHent device 552 processes user input 554 to generate user controls 572, which are then transmitted to server application 512. Client appHcation 552 may opflonaHy transmit rendering requests 574 to server 510 to direct certain aspects of rendering. In one embodiment server 510 is implemented according to computer system 100 of flgure 1. Simarly, cflent 550 may he implemented according to computer system 100.
Server application 512 renders graphics scenes for display by cHant 550 as output images 556. Server apphcation 512 maintains a set of geometric objects that represent scene objects, as weU as related scene information, such as textures, programmable shaders, and the like, which may be transmitted to high quaflty (HO) render module 522 via application programming interface (API) 520.
HO render module 522 may store certain rendering information, such as depth, overlay objects such as lens flare effects, and the like as auxiliary data in a set of auxiliary buffers 524. Compression module 528 performs compression operations on auxiHary data 582 to generate compressed auxiliary data 578. AuxiUary data 582 includes depth information and other information required to complete a final image rendering. Compression module 525 performs compression operations on reference image data 580 and auxiliary data 582 to generate compressed image data 576. In one embodiment. compression module 526 determines which one of potentiaHy several compression techniques provide a highest compression rate on an incremental basis, such as on a frame or a macroblock basis. In one embodiment, compression module 525 may determine that transmitting a given fufly rendered macrohiock, comprising both reference image data and rendered auxiliary data 582 is more efficient than transmitting the niacroblock comprising only reference image data 580, with client 550 providing any remaining rendering passes. In such a case, compression module 526 may transmit the rnacroblock as a fuHy rendered macroblock, In other embodiments, client 550 always provides the remaining rendering passes.
[00711 Decompression module 568 operates on compressed auxiliary data 578 to generate auxifiary data 584. for storage within aux Wary buffer 564.
Decompression module 566 operates on compressed image data 576 and aux Wary buffer data 585 to generate local rendering information 586. In one embodiment auxiliary data 584 comprises an ordered stream of auxiliary data.
while auxiRary buffer data 585 may be accessed from auxWary buffer 564 in arbitrary order. Local rendering information 586 is transmitted to HO render module 562 for finai rendering into one or more output images 556 for display. In one embodiment, HO render module 522 is implemented wfthin a graphics processing unit. such as graphics processing pipeline 400 of Figure 4. Similarly, HO render module 562 is implemented in a potentiaHy different graphics processing unit comprising a different implementation of graphics processing pipeline 400. in one embodiment, cUent application 552 transmits cent auxiliary data 588 via AP1 560. Client auxifiary data 588 may be used to modify portions or presentation attributes of an output image.
[0072] in one embodiment, compressed image data 576 conforms semantically to a conventional video encoding framework, such as MPEG (H264/5). with an addition of novel prediction modes for macroblock coding, disclosed herein. In contrast to conventional prediction modes, which work only in imag&space, the disclosed predictor is aware of thre&dimensional (3D) rendered content and performs prediction and rendering based on 3D attributes. Examples of 3D prediction attributes include, without limitation, scene geometry, texture images.
rendering pass information, shader functionality, depth buffer infoniiation, and camera position. Each of these exemplary 3D attributes may be compressed efficiently and streamed in real4ime. Extraction and transmission of related intermediate rendering data to client $50 may be performed in API 520. for transparent operation with respect to server application 512. By operating within an H.2$4/5 framework, compressed image data 676 may be generated to be advantageously backwards compatible with conventional decompression modules, enabling deployment of diverse client devices coupled to server 510, Figure $ illustrates an image compression subsystem $00 configured to perform renderassisted prediction, according to one embodiment of the oresent invention. In one embodiment, compression subsystem 600 is implemented within compression module 52$ of Figure 5, and may he implemented within compression module 528. As shown, compression subsystem 600 may be Implemented to be structurally consistent with an H264/5 compression module, with the novel addition of a render-assisted prediction function 616.
joomj In one embodiment, Image compression subsystem 800 operates on an input image organized as macroblocks. A particular macroblock comprises a coding unit 660 that includes macroblock pixel data (MRGB) represented in red-green-blue color space, Color space conversion unit 664 converts the macroblock pixel data into an intensity-chroma (YUV) space representation (MVCbCr). A temporal prediction function 612, spatial prediction function 614 and render-assisted prediction function 618 each generated respective prediction data candidates (Pt, Ps, P3D). Residual macroblock data R represents difference Information between a current macroblock and a subsequent macroblock.
Frequency domain transform module 630 generates a frequency domain representation R' of macroblock data R. Quantization module 632 generates a quantized frequency domain representation Rq' of the frequency domain representation R' based on bandwidth and model controls. The quantized frequency domain representation is transmitted to a frame reconstruction function 650 for generating a local reference frames 652 used for subsequent compression steps, The quantized frequency domain representation is also transmitted to entropy coding module 640 for generating a compressed bit stream 642 included in compressed image data 576.
(DOTh] In one embodiment, optimal residual data selected among the prediction data candidates is performed, and P3D data is transmitted to entropy coding module 640 as Pdata for inclusion in compressed bit stream 642. Persons skilled in the art will recognize that certain 3D graphics data, such as geometric information and shader program code, are not appropriately compressed via transformation to frequency domain and quantizatlon and therefore require a bypass path to entropy coding module 640.
(OO76J In normal operation, HQ render module 522 generates a high-quality rendering of the frame to generate reference image data 580, which may be compressed by compression module 526. In the process, macroblocks comprising the scene are rendered. Furthermore, auxiliary data related to additional rendering passes for a given frame, or an alternative representation of the frame may be transmitted to auxiliary buffer 524. The auxiliary data may apply to all or a subset of the macroblocks. Rendering operations performed by client 550 are directed by the auxiliary data. The auxiliary data may be used by client 550 to perform, without limitation, depth-based image warping, spatiaWtemporal/spatio-temporal up-sampling, simplified scene rendering. Depth-based warping may be performed based on a predictor function that processes previous frame depth buffer information, previous frame color buffer information, current and previous camera transformation matrices, and current frame depth buffer information. Spatialltemporallspatio-temporal up-sampling may be performed using a predictor function that processes a low-resolution color buffer ad a high-resolution depth buffer, or a current low-resolution color buffer, current high-resolution depth buffer, a motion buffer, and current and previous camera transformation matrices. Simplified scene rendering may be performed based on a predictor function that processes full or simplified scene geometry, full or simplified textures, and simplified shading passes.
(0077] In certain common operating scenarios, data packets within network 570 may be delayed, corrupted, or lost altogether. Such transmission errors may be detected by clIent 550. While a packet re-try strategy may work for certain types of data, this type of strategy is poorly suited to latency sensitive applications such as real-time interactive rendering. To gracefully conceal certain common transmission errors that would otherwise degrade Image quality, client 550 may render one or more frames for display based on scene data that is locally available. In one example, depth information transmitted from server 510 to a local auxiliary buffer within client 550 may be used to perform forward warping operations to render one or more sequential frames for display. In doing so, frames that would otherwise be impacted by certain transmission errors may be rendered to a high degree of quality based on information that is local to client 550. In another example, geometry information within a local auxiliary buffer may be used to render the one or more sequential frames for display by client 550. In one embodiment, a wireless data network couples client 550 to server 510. In such an embodiment, data corruption and loss is a common occurrence, and client 550 should employ concealment strategies, such as forward warping.
oonj In one embodiment, API 520 intercepts and repurposes API rendering commands transparently with respect to the operation of server application 512.
Because render-assisted prediction function 616 operates within the framework of image compression subsystem 600, compression granularity is at the macroblock level. As such, only data related to selected macroblocics that need to be updated for a given frame needs to be transmitted to client 550. And cHent 550 need only render content or portions of content related to the selected macroblocks.
100791 Figure 7 is a flow diagram of method steps for performing render-assisted compression, according to one embodiment of the present invention.
Although the method steps are descrthed in conjunction with the systems of Figures I-C, persons of ordinary skill in the art will understand that any system configured to perform the method steps, in any order, is within the scope of the invention. In one embodiment, the method steps are performed by a server, such as server 510 of Figure5 [0080] As shown, a method 700 begins in step 710, where a rendering subsystem within the server receives scene data from a new scene via an API, such as API 520. The scene data represents a complete description of a given frame of image data. In one embodiment, the rendering subsystem comprises driver 103 and parallel processing subsystem 112 of Figure 1. The scene data may include, without limitation, geometric data, texture information, shader information, and information related to different rendering passes. In step 712. the rendering subsystem organizes the scene data to differentiation scene data related to server rendering elements and scene data related to client rendering elements. Each rendering element may comprise an arbitrary element of the scene data. This step is performed transparently within API 520.
(00813 In step 720, the rendering subsystem renders server rendering elements to generate reference image data 580. In step 722, the rendering subsystem renders client rendering elements, such as auxiliary data 582, to generate a client auxiliary image. The client auxibary image, when added to the reference image, comprises a complete rendered frame of a given scene. Client 550 may modify auxiliary data and render a new frame for the scene based on a locally rendered client auxiliary image and the reference image. Furthermore Client 550 may modif/ the reference image via warping operations, modify a client auxiliary image, regenerate a client auxiliary image based on warping operations, or any combination thereof in this way, client 550 may generate one or more additional frames for dispy without requiring additional network bandwidth or server In step 730, the rendering subsystem compresses the reference image data 580 and the client auxiary image or the reference image data 580 and auxffiary data 552 to generate compressed image data 570 and compressed auxifiary data 578, which coflectively comprise compressed client data, In one embodiment compressed bit stream 642 of Figure 6 comprises the compressed client data, A given macroblock associated with reference image data 580 may correspond to a coding unit 660. ln step 740, the rendering subsystem causes senier 510 to transmit the compressed client data to a client device, such as client 550. The method terminates in step 790.
Persons skilied in the art wili recognize that the above steps may be performed within a pkraiity of different context on a single server 510 to provide rendering services to a set of corresponding client devices.
O54 Figure 8 is a flow diagram of method steps for performing render assisted compression, accordinq to one embodiment of the present invention.
Although the method steps are described in coniunction with the systems of Figures i6, persons of ordinary skill in the art wili understand that any system configured to nerform the method steps, in any order, is within the scope of the invention, in one embodiment, the method steps are performed by a client device, such as client 650 of Hgure 5.
oos As shown, a method 800 begins in step 810, where a rendering subsystem wtmn the client device receives compressed client data comprising compressed image data and compressed auxiliary data from a server, such as server 510. In step $2.0. the rendering subsystem decompresses the compressed client data to generate reference image data and auxiliary data 584 or reference image data and client auxiliary image data. In one embodiment, local rendering information 586 comprises decompressed reference image data and local auxiliary data. The local auxHiary data may include an arbitrary combination of auxiliary data 584 and cent auxiary data. ln step 830, the rendering subsystem renders a highquahLy image frame for display as an output image based on the decompressed reference image data, the auxiliary data 584, and client auxiary data 588. The method terminates in step 890.
[0085] Appcation 552 may be configured to generate cUent auxiharj data 588 to provide temporal upsampUng, such as to generate intervening frames between fuUy rendered frames generated by server 510. For example, server 510 may be configured to fuy render only every other frame or output images 556, with cUent application 552 generating auxihary data, such as image warping to accommodate camera transforms r&ated to afternate frames, which can be rendered ocay based on a previous frame of decompressed reference image data. In another example, ens flare may be rendered ocaUy on cUent 550 as a semkransparent overlay on top decompressed reference image data.
[0081] In sum. a technique is disclosed for efficiently compressing frames of rendered 3D images in a remote rendering system. Scene data that defines a complete 3D image is separated at an API boundary into reference image data arid auxiliary data, The reference image data is rendered independently from the auxiliary data. The rendered image data and auxiliary data are compressed within a modified image compression framework, such as 11264/5. The modification to a conventional compression framework comprises a rendeNassisted prediction function responsive to 3D information. Auxiliary data is compressed by an entropy coding function to be semantically consistent with compressed reference image data. A client device decompresses reference image data and auxiliary data to render a high quality image. The client device may modify the auxiliary data and rerender a different high quality image based, in part on the reference image data.
The different high quahty image may comprise a subsequent frame in a video sequence.
One advantage ci the disclosed technique is that tt improves compression rates in a remote rendering system. A second advantage is that the technique maybe implemented to be backwards compatible with existing video compression techniques. A third advantage is that clientside rendering of certain frames or certain portions of frames reduces server workloads. and enables greater server scalability.
[OO89 Whe the foregoing is directed to embodiments of the present invenfion, other and further embothments of the invention may be devised without departing from the basic scope thereof. For example, aspects of the present invention may be impiemented in hardware or software or in a combination of hardware and software. One embodiment of the invention may be implemented as a program product for use with a computer system. The program(s) of the program product define functions of the embodiments (including the methods described herein) and can be contained on a variety of computerreadahle storage media. Iflustrative computerreadabe storage media indude, but are not Urnited to: Ci) non-writable storage media (e.g.. rea&ony memory devices within a computer such as CD-ROM disks readable by a CD-ROM drive, flash memory, ROM chips or any type of scUd-state non-volatUe semiconductor memory) on which information is permanently stored; and () writabie storage media (e.g.. floppy disks within a diskette drive or hard-disk drive or any type of solid-state random-access semiconductor memory) on which alterable inlormation is stored.
The invention has been described above with reference to specific embodiments. Persons of ordinary skIH n the art. however, w understand that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims.
The foregoing description and drawings are, accordingly, to he regarded in an Ulustrative rather than a restrictive sense.
[009fl Therefore, the scope of the present invention is determined by the Sims that follow. fl7

Claims (14)

  1. CLAIMS1. A method for transmitting rendered images to a remote client device, the method comprising: rendering one or more server rendering elements to generate a reference image; rendering one or more client rendering elements to generate a client auxiliary image; compressing the reference image and the chent auxiliary image or the reference image and auxiliary data to generate compressed client data; and transmitting the compressed client data to the remote client device for display.
  2. 2. The method of claIm 1, wherein each server rendering element comprises one or more graphics operations configured to be executed on a server machine.
  3. 3. The method of claim 2, wherein each client rendering element comprises one or more graphics operations configured to be executed on the server machine and the remote client device.
  4. 4. The method of any of claims I to 3, wherein the auxiliary data comprises graphics instructions for performing at least one rendering pass on the reference image.
  5. 5. The method of any of claIms 1 to 4, further comprising comparing an amount of data associated with the client auxiliary image to an amount of data associated with the auxiliary data.
  6. 6. The method of claIm 5, wherein the reference image and the client auxiliary image are compressed to generate the compressed client data if the amount of data associated with the client auxiliary image is less than the amount of data associated with the auxiliary data.
  7. 7. The method of claim 5, wherein the reference image and the auxiary data are compressed to generate the compressed cflent data if the amount of data associated with the auxfflarj data s less than the amount of data associated with the cent auxWary image.
  8. B. The method of any of claims Ito 7, wherein compressing the auxiUary data compdses applying a renderassisted prediction function to the auxUlary data.
  9. 9. The method of claim 9, wherein compressing the reference image comprises entropy encoding at east a portion of the reference image.
  10. 10, A server system comprising: a rendering subsystem configured to render one or more server rendering eements to generate a reference image; render one or more cent rendering elements to generate a client auxUiary image; compress the reference image and the client auxThary image or the reference image and auxfliary data to generate compressed client data; and transmit the compressed chent data to the remote client device for display.
  11. 11, A method for transmithng rendered images to a remote client device substantially as herein described with reference to, and as Ikistrated in, the accompanying drawings.
  12. 12. A server system substantiafly as herein described with reference to, and as illustrated in, the accompanying drawings.
  13. 13. A computeNreadabie storage medium including instructions that, when executed by a processing unit, cause the processing unit to perform the method as claimed fn any of claims 1 to 9 cr 11
  14. 14. A compuling device comprising a processing unit configured to perform the method as claimed in any of claims ito 9 or 11.
GB1312957.2A 2012-07-30 2013-07-19 Server-rendering of graphics for remote client Withdrawn GB2506727A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201261677430P 2012-07-30 2012-07-30
US13/727,216 US9576340B2 (en) 2012-07-30 2012-12-26 Render-assisted compression for remote graphics

Publications (2)

Publication Number Publication Date
GB201312957D0 GB201312957D0 (en) 2013-09-04
GB2506727A true GB2506727A (en) 2014-04-09

Family

ID=49118999

Family Applications (1)

Application Number Title Priority Date Filing Date
GB1312957.2A Withdrawn GB2506727A (en) 2012-07-30 2013-07-19 Server-rendering of graphics for remote client

Country Status (1)

Country Link
GB (1) GB2506727A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019040221A1 (en) * 2017-08-22 2019-02-28 Qualcomm Incorporated Rendering an image from computer graphics using two rendering computing devices
WO2019231525A1 (en) * 2018-05-30 2019-12-05 Sony Interactive Entertainment LLC Multi-server cloud virtual reality (vr) streaming

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116828215B (en) * 2023-08-30 2023-11-14 湖南马栏山视频先进技术研究院有限公司 Video rendering method and system for reducing local computing power load

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001082224A2 (en) * 2000-04-19 2001-11-01 Waminet, Inc. Distributed rendering
US20040221004A1 (en) * 2003-04-30 2004-11-04 Alexander Chalfin System, method, and computer program product for applying different transport mechanisms for user interface and image portions of a remotely rendered image
US7274368B1 (en) * 2000-07-31 2007-09-25 Silicon Graphics, Inc. System method and computer program product for remote graphics processing
US20090016641A1 (en) * 2007-06-19 2009-01-15 Gianluca Paladini Method and apparatus for efficient client-server visualization of multi-dimensional data
EP2098994A1 (en) * 2008-03-04 2009-09-09 Agfa HealthCare NV System for real-time volume rendering on thin clients via a render server
US20090284442A1 (en) * 2008-05-15 2009-11-19 International Business Machines Corporation Processing Computer Graphics Generated By A Remote Computer For Streaming To A Client Computer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001082224A2 (en) * 2000-04-19 2001-11-01 Waminet, Inc. Distributed rendering
US7274368B1 (en) * 2000-07-31 2007-09-25 Silicon Graphics, Inc. System method and computer program product for remote graphics processing
US20040221004A1 (en) * 2003-04-30 2004-11-04 Alexander Chalfin System, method, and computer program product for applying different transport mechanisms for user interface and image portions of a remotely rendered image
US20090016641A1 (en) * 2007-06-19 2009-01-15 Gianluca Paladini Method and apparatus for efficient client-server visualization of multi-dimensional data
EP2098994A1 (en) * 2008-03-04 2009-09-09 Agfa HealthCare NV System for real-time volume rendering on thin clients via a render server
US20090284442A1 (en) * 2008-05-15 2009-11-19 International Business Machines Corporation Processing Computer Graphics Generated By A Remote Computer For Streaming To A Client Computer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019040221A1 (en) * 2017-08-22 2019-02-28 Qualcomm Incorporated Rendering an image from computer graphics using two rendering computing devices
US10403032B2 (en) 2017-08-22 2019-09-03 Qualcomm Incorporated Rendering an image from computer graphics using two rendering computing devices
US11069128B2 (en) 2017-08-22 2021-07-20 Qualcomm Incorporated Rendering an image from computer graphics using two rendering computing devices
EP3673463B1 (en) * 2017-08-22 2023-11-08 Qualcomm Incorporated Rendering an image from computer graphics using two rendering computing devices
EP4292684A3 (en) * 2017-08-22 2024-02-21 QUALCOMM Incorporated Rendering an image from computer graphics using two rendering computing devices
WO2019231525A1 (en) * 2018-05-30 2019-12-05 Sony Interactive Entertainment LLC Multi-server cloud virtual reality (vr) streaming
US11232532B2 (en) 2018-05-30 2022-01-25 Sony Interactive Entertainment LLC Multi-server cloud virtual reality (VR) streaming

Also Published As

Publication number Publication date
GB201312957D0 (en) 2013-09-04

Similar Documents

Publication Publication Date Title
US9576340B2 (en) Render-assisted compression for remote graphics
US20220182592A1 (en) Adaptive resolution of point cloud and viewpoint prediction for video streaming in computing environments
CN107250996B (en) Method and apparatus for compaction of memory hierarchies
US9293109B2 (en) Technique for storing shared vertices
US9483270B2 (en) Distributed tiled caching
US10417817B2 (en) Supersampling for spatially distributed and disjoined large-scale data
US9348762B2 (en) Technique for accessing content-addressable memory
US9286647B2 (en) Pixel shader bypass for low power graphics rendering
US9418616B2 (en) Technique for storing shared vertices
US20140118364A1 (en) Distributed tiled caching
US11182207B2 (en) Pre-fetching task descriptors of dependent tasks
US9697006B2 (en) Technique for performing memory access operations via texture hardware
US9720842B2 (en) Adaptive multilevel binning to improve hierarchical caching
US9626216B2 (en) Graphics processing unit sharing between many applications
US11550632B2 (en) Facilitating efficient communication and data processing across clusters of computing machines in heterogeneous computing environment
US11663767B2 (en) Power efficient attribute handling for tessellation and geometry shaders
US9720858B2 (en) Technique for performing memory access operations via texture hardware
US10769818B2 (en) Smart compression/decompression schemes for efficiency and superior results
WO2017166272A1 (en) Method and apparatus of periodic snapshotting in graphics processing environment
WO2017164965A1 (en) System characterization and configuration distribution for facilitating improved performance at computing devices
GB2506727A (en) Server-rendering of graphics for remote client
US20170123977A1 (en) Organizing Memory to Optimize Memory Accesses of Compressed Data
US8947444B1 (en) Distributed vertex attribute fetch
US9111360B2 (en) Technique for improving the performance of a tessellation pipeline
US9406101B2 (en) Technique for improving the performance of a tessellation pipeline

Legal Events

Date Code Title Description
WAP Application withdrawn, taken to be withdrawn or refused ** after publication under section 16(1)