Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
VirtualGL - бұл Unix және Linux OpenGL қолданбаларынан 3D-рендеринг командаларын арнайы сервердегі 3D-жеделдетуші аппараттық жабдыққа қайта бағыттайтын және рендерингті шығысты желіде басқа жерде орналасқан (сынық) клиентке жібереді. Сервер жағында VirtualGL қайта бағыттауды басқаратын кітапханадан және осы кітапхананы пайдалану үшін қосымшаларға нұсқау беретін орама бағдарламадан тұрады. Клиенттер серверге қашықтан X11 қосылымын немесе VNC сервері сияқты X11 прокси-серверін қолдана отырып қосыла алады. X11 қосылымы жағдайында рендерингті графикалық шығысты X11 ағынынан бөлек алу үшін кейбір клиенттік VirtualGL бағдарламалық жасақтамасы қажет. VNC қосылымы жағдайында VNC клиентіден басқа клиент жағындағы арнайы бағдарламалық қамтамасыз ету қажет емес.
VirtualGL is an open source software package that redirects the 3D rendering commands from Unix and Linux OpenGL applications to 3D accelerator hardware in a dedicated server and sends the rendered output to a (thin) client located elsewhere on the network. On the server side, VirtualGL consists of a library that handles the redirection and a wrapper program that instructs applications to use this library. Clients can connect to the server either using a remote X11 connection or using an X11 proxy such as a VNC server. In case of an X11 connection some client side VirtualGL software is also needed to receive the rendered graphics output separately from the X11 stream. In case of a VNC connection no specific client side software is needed other than the VNC client itself.
Мәселе
OpenGL қолданбаларының өнімділігін графикалық процестерді әдетте GPU-да болатын арнайы аппараттық жеделдетушілерде көрсету арқылы айтарлықтай жақсартуға болады. GPU-лар өте кең тараған, сондықтан қолданбалар оларға қолайлы өнімділік үшін арқа сүйеуде. Бірақ VNC және Unix және Linux үшін басқа жұқа клиенттік орталарда сервер жағында мұндай аппараттық құралдарға қолжетімділік жоқ. Сондықтан олар OpenGL қолданбаларын мүлдем қолдамайды немесе клиентте немесе сервердегі бағдарламалық жасақтамада көрсету сияқты баяу әдістерге жүгінеді. 3D-қосымшаларды аппараттық жеделдету арқылы қашықтан көрсету дәстүрлі түрде "тұйық рендерингті" пайдалануды талап етеді. Бейнелі рендеринг X терезесі жүйесіне ("X11" немесе "X") OpenGL командаларын X11 протоколы ағынының ішінде капсулалау және оларды қолданбадан X дисплейіне жіберу үшін GLX кеңейтуін қолданады. Дәстүрлі түрде, қосымша қашықта орналасқан қосымша серверінде, ал X дисплейі пайдаланушының жұмыс үстеліне жүреді. Бұл сценарийде барлық OpenGL командалары пайдаланушының үстел машинасымен орындалады, сондықтан машинада жылдам 3D графикалық үдетуші болуы керек. Бұл осы әдісті қолдана отырып, 3D қосымшаны қашықтан көрсете алатын машинаның түрін шектейді. Жанама рендеринг егер желі жеткілікті жылдам болса (мысалы, Gigabit Ethernet), егер қолданба рендерингті объектінің геометриясын динамикалық түрде өзгертпесе, егер қолданба дисплей тізімдерін қолданса және егер қолданба текстуралық карталауды көп қолданбаса, жақсы жұмыс істей алады. Алайда көптеген OpenGL қолданбалары бұл критерийлерге сәйкес келмейді. Мәселелерді одан әрі күрделілендіру үшін кейбір OpenGL кеңейтулері жанама рендеринг ортасында жұмыс істемейді. Бұл кеңейтулердің кейбіреулері 3D графикалық жабдыққа тікелей қол жеткізуді талап етеді, сондықтан оларды ешқашан жанама түрде жұмыс істеуге болмайды. Басқа жағдайларда пайдаланушының X дисплейі қажетті OpenGL кеңейтуін нақты қолдамайды немесе кеңейту пайдаланушының үстел машинасында жоқ белгілі бір аппараттық конфигурацияға сүйенуі мүмкін. Қолданба серверінде OpenGL рендерингін орындау жанама рендерингпен енгізілген мәселелерді болдырмайды, өйткені қолданба енді 3D рендеринг аппараттарына жылдам және тікелей жолға ие. Егер 3D рендеринг қолданба серверінде болса, онда клиентке тек алынған 2D бейнелер жіберілуі керек. Суреттерді құру үшін пайдаланылған 3D деректердің көлеміне қарамастан, суреттерді бірдей кадр жылдамдығында жеткізуге болады, сондықтан қолданба серверінде 3D рендерингті орындау 3D орындау проблемасын 2D орындау проблемасына айналдырады. Бұл проблема 12 мегапиксельдік бейне деректерін интерактивті кадр жылдамдығында желі арқылы қалай тарату керектігіне айналады, бірақ тауарлық технологиялар (HDTV, атап айтқанда) бұл мәселені шешіп жатыр.
The performance of OpenGL applications can be greatly improved by rendering the graphics on dedicated hardware accelerators that are typically present in a GPU. GPUs have become so commonplace that applications have come to rely on them for acceptable performance. But VNC and other thin client environments for Unix and Linux do not have access to such hardware on the server side. Therefore they either do not support OpenGL applications at all or resort to slower methods such as rendering on the client or in software on the server. Remotely displaying 3D applications with hardware acceleration has traditionally required the use of "indirect rendering." Indirect rendering uses the GLX extension to the X Window System ("X11" or "X") to encapsulate the OpenGL commands inside of the X11 protocol stream and ship them from an application to an X display. Traditionally, the application runs on a remotely located application server, and the X display runs on the user's desktop. In this scenario, all of the OpenGL commands are executed by the user's desktop machine, so that machine must have a fast 3D graphics accelerator. This limits the type of machine that can remotely display a 3D application using this method. Indirect rendering can perform well if the network is sufficiently fast (Gigabit Ethernet, for instance), if the application does not dynamically modify the geometry of the object being rendered, if the application uses display lists, and if the application does not use a great deal of texture mapping. Many OpenGL applications, however, do not meet these criteria. To further complicate matters, some OpenGL extensions do not work in an indirect rendering environment. Some of these extensions require the ability to directly access the 3D graphics hardware and thus can never be made to work indirectly. In other cases, the user's X display may not provide explicit support for a needed OpenGL extension, or the extension may rely on a specific hardware configuration that is not present on the user's desktop machine. Performing OpenGL rendering on the application server circumvents the issues introduced by indirect rendering, since the application now has a fast and direct path to the 3D rendering hardware. If the 3D rendering occurs on the application server, then only the resulting 2D images must be sent to the client. Images can be delivered at the same frame rate regardless of how big the 3D data was that was used to generate them, so performing 3D rendering on the application server effectively converts the 3D performance problem into a 2D performance problem. The problem then becomes how to stream 1 2 megapixels of image data over a network at interactive frame rates, but commodity technologies (HDTV, to name one) already address this problem.
TurboVNC және TigerVNC
TurboVNC және TigerVNC - бұл TightVNC-нің бұтақтары, олар Tight және JPEG кодтамасын жеделдетеді, ішінара libjpeg turbo, libjpeg-дің SIMD жеделдетілген нұсқасын пайдаланады. Екі жобада да VNC серверлері мен клиент бағдарламалары бар. TurboVNC-ді VirtualGL-мен бірдей команда жасады. 100 мегабит Ethernet желілерінде ол 50 мегапикселден астам / секундты жоғалмайтын бейне сапасымен көрсете алады. TurboVNC қосымша оңтайландыруларды қамтиды, бұл 5 мегабиттік кең жолақты байланыста 1012 мегапиксел / секунд көрсетуге мүмкіндік береді, бірақ көрініс сапасы едәуір төмен, бірақ пайдалы. TurboVNC сонымен қатар TightVNC-ді клиенттік жағынан қос буферлеуді және 3D қосымшаларға бағытталған басқа да мүмкіндіктерді, мысалы, белсенділіксіз кезеңдерде экран кескінінің жоғалмайтын көшірмесін жіберу мүмкіндігін қамтиды. TurboVNC және VirtualGL Texas Advanced Computing Center at University of Texas at Austin арқылы TeraGrid пайдаланушыларына Stampede Visualization Cluster 3D рендерингтік мүмкіндіктеріне қашықтан қол жеткізуге мүмкіндік береді. TigerVNC - бұл TightVNC-нің жақында жасалған бұрылысы, ол көбінесе TurboVNC-ге ұқсас өнімділікті қамтамасыз етеді, бірақ жобаның мақсаттары мен ерекшеліктері әртүрлі.
TurboVNC and TigerVNC are offshoots of TightVNC that accelerate the Tight and JPEG encoding, in part by using libjpeg turbo, a SIMD accelerated version of libjpeg. Both projects provide VNC servers as well as client applications. TurboVNC was developed by the same team as VirtualGL. On 100 Megabit Ethernet networks it can display more than 50 Megapixels/second with perceptually lossless image quality. TurboVNC includes further optimizations that allow it to display 10–12 Megapixels/second over a 5 Megabit broadband link, with noticeably less but usable image quality. TurboVNC also extends TightVNC to include client side double buffering and other features targeted at 3D applications, such as the ability to send a lossless copy of the screen image during periods of inactivity. TurboVNC and VirtualGL are used by the Texas Advanced Computing Center at University of Texas at Austin to allow users of TeraGrid to remotely access the 3D rendering capabilities of the Stampede Visualization Cluster. TigerVNC is a more recent fork of TightVNC that provides similar performance to TurboVNC in most cases but has different project goals and features.
VGL Transport компаниясы
VGL Transport қолданғанда, VirtualGL процесте рендерингтелген 3D бейнелерді TurboVNC қолданатын бірдей оңтайландырылған JPEG кодегін пайдалана отырып, сығымдайды. VirtualGL кейіннен ықшамдалған суреттерді арнайы TCP сокеті арқылы клиенттік машинада жұмыс істейтін VirtualGL Клиент қосымшасына жібереді. VirtualGL клиенті кескіндерді ықшамдаудан және пиксельдерді тиісті X терезесіне салудан жауапты. Бұл арада, қолданбаның дисплейінің OpenGL емес элементтері стандартты қашықтан X11 протоколын қолдана отырып, желі арқылы жіберіледі және клиент машинасында ұсынылады. Бұл тәсіл клиенттік машинада X дисплейін қажет етеді, ал 2D рендерингті орындау үшін қашықтан X11 протоколына сүйену көптеген қолданбалар VGL Transport-ті жоғары кеуделік желілерінде пайдаланғанда нашар жұмыс істейді дегенді білдіреді. Сонымен қатар, VGL Transport өздігінен ынтымақтастықты (бір сеансқа бірнеше клиент) қолдамайды, өйткені суреттер пайдаланушылардың машиналарына тартылмай, керісінше, түртіледі. Бірақ VGL Transport пайдалануы толыққанды бірқалыпты қолданба тәжірибесін қамтамасыз етеді, бұл ретте әрбір қолданба терезесі бір үстел терезесіне сәйкес келеді. VGL Transport сонымен қатар сервердің CPU жүктемесін азайтады, өйткені 2D рендеринг клиентте пайда болады, ал VGL Transport төрт бұрышты буферленген стерео сияқты озық OpenGL мүмкіндіктерін пайдалануға мүмкіндік береді. VirtualGL-ді әзірлеушілер VGL Transport-тың негізгі пайдаланушыларын 802.11g сымсыз немесе жылдам Ethernet қосылымы бар қолданба серверіне арналған ноутбук пайдаланушылары деп санайды.
When using the VGL Transport, VirtualGL compresses the rendered 3D images in process using the same optimized JPEG codec that TurboVNC uses. VirtualGL then sends the compressed images over a dedicated TCP socket to a VirtualGL Client application running on the client machine. The VirtualGL Client is responsible for decompressing the images and drawing the pixels into the appropriate X window. Meanwhile, the non OpenGL elements of the application's display are sent over the network using the standard remote X11 protocol and rendered on the client machine. This approach requires that an X display be present on the client machine, and the reliance upon the remote X11 protocol for performing 2D rendering means that many applications will perform poorly when using the VGL Transport on high latency networks. Additionally, the VGL Transport does not inherently support collaboration (multiple clients per session), since the images are being pushed to the users' machines rather than being pulled. But the use of the VGL Transport does provide a completely seamless application experience, whereby every application window corresponds to a single desktop window. The VGL Transport also reduces the server CPU load, since the 2D rendering is occurring on the client, and the VGL Transport allows advanced OpenGL features, such as quad buffered stereo, to be used. The developers of VirtualGL envision the primary users of the VGL Transport to be laptop users with an 802.11g wireless or a fast Ethernet connection to the application server.
VirtualGL-ті пайдаланатын коммерциялық өнімдер
VirtualGL және TurboVNC Sun Microsystems компаниясының Sun Visualization System өнімінің негізгі компоненттері болды, ол 2009 жылдың сәуірінде тоқтатылды. Екі ашық бастапқы кодты пакеттер VirtualGL-ді Sun Ray жұқа клиенттеріне сығылған суреттерді жіберуге мүмкіндік беретін жабық бастапқы кодты плагинмен және Sun Grid Engine-мен біріктірілген VirtualGL-ді қамтамасыз ететін басқа жабық бастапқы кодты пакетпен біріктірілді, бұл қашықтан 3D жұмыстарға ресурстарды басқару мен жоспарлауды қамтамасыз етеді. Бұл пакеттердің жиынтығы "Sun Shared Visualization" деп аталды және тегін жүктеуге болады. Күнді қолдау үшін төлейді. v4 саны. NoMachine-дің x. x-і пайдаланушыларға NoMachine үстел сессияларында 3D қолданбаларды орындауға мүмкіндік беру үшін VirtualGL-ді қолдайды. HP-дің масштабталатын визуализациялық массивінің v2.1 бағдарламалық жасақтамасына VirtualGL және TurboVNC-мен интеграцияланатын компоненттер кіреді, бұл 3D жұмыстардың визуализациялық кластерде жоспарлануына және қашықтан көрсетілуіне мүмкіндік береді. ThinLinc v3.0.0 VirtualGL-мен бірлесіп жұмыс істеуге арналған. EnginFrame Views 2010 нұсқасы қашықтан протоколдың бір нұсқасы ретінде VirtualGL-ді қолдайды. OpenText-тің Exceed onDemand және Exceed Freedom өнімдері VirtualGL-ден кодты сервер жағындағы рендерингті іске асыру үшін пайдаланады.
VirtualGL and TurboVNC were core components of the Sun Visualization System product from Sun Microsystems, which was discontinued in April 2009. The two open source packages were combined with a closed source plugin that allowed VirtualGL to send compressed images to Sun Ray thin clients and another closed source package that integrated VirtualGL with Sun Grid Engine, providing resource management and scheduling for remote 3D jobs. The combination of these packages, dubbed "Sun Shared Visualization", was available as a free download. Sun charged for support. v4. x. x of NoMachine supports VirtualGL to allow users to run 3D applications in NoMachine desktop sessions. v2.1 of the Scalable Visualization Array software from HP includes components that integrate with VirtualGL and TurboVNC, allowing 3D jobs to be scheduled on and remotely displayed from a visualization cluster. v3.0.0 of ThinLinc is designed to work in conjunction with VirtualGL. v2010 of EnginFrame Views supports VirtualGL as one of the remote protocol options. The Exceed onDemand and Exceed Freedom products from OpenText use code from VirtualGL to implement server side rendering.