xpra icon
Bug tracker and wiki

Changes between Initial Version and Version 1 of Usage/OpenGL


Ignore:
Timestamp:
06/26/15 04:22:12 (5 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Usage/OpenGL

    v1 v1  
     1{{{#!div class="box"
     2[[Image(http://xpra.org/icons/opengl.png)]]
     3= OpenGL Applications =
     4
     5You can run [https://www.opengl.org/ OpenGL] applications in an xpra session in a number of ways:
     6* by running the xpra session directly on a "real" X11 server using an accelerated display driver - this is hard to setup and undocumented: you need to use the {{{xvfb}}} switch to start an accelerated X11 server
     7* by [/wiki/ShadowServer shadowing] an existing accelerated X11 server (sub-optimal)
     8* by using [http://www.virtualgl.org/ VirtualGL]
     9
     10[[BR]]
     11
     12This is not related at all to the [/wiki/ClientRendering/OpenGL OpenGL client rendering]: you can connect with any client you want, accelerated or not.
     13
     14{{{#!div class="box"
     15== VirtualGL setup ==
     16
     17Usually, you can just {{{vglrun}}} your application and things will "just work".
     18That is the case for simple application like {{{glxgears}}} / {{{glxspheres}}}.
     19
     20Other applications may require more complicated workarounds, see the extensive [http://svn.code.sf.net/p/virtualgl/code/tags/2.4.1/doc/index.html VirtualGL documentation] for details.
     21
     22Caveat: for some unknown reason, you may need to use {{{/etc/ld.so.preload}}} instead of {{{LD_PRELOAD}}} to make some suid applications work.
     23}}}