xpra icon
Bug tracker and wiki

Changes between Version 21 and Version 22 of Usage/OpenGL


Ignore:
Timestamp:
01/11/17 14:20:43 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Usage/OpenGL

    v21 v22  
    44
    55You can run [https://www.opengl.org/ OpenGL] applications in an xpra session in a number of ways:
    6 * by default the [/wiki/Xdummy] display server supports software opengl - but your proprietary drivers may interfere with this, and it will not use any GPU acceleration
    7 * by using [http://www.virtualgl.org/ VirtualGL], which allows GPU acceleration
    8 * 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 (modified xorg.conf), or use the {{{--use-display}}} switch to bind to an existing one
     6* by default the [/wiki/Xdummy] display server supports software opengl - but proprietary graphics drivers may interfere with this ([https://github.com/NVIDIA/libglvnd glvnd] should eventually solve this issue), and it will not use any GPU acceleration
     7* by using [http://www.virtualgl.org/ VirtualGL], which delegates OpenGL acceleration to a real GPU - see below
     8* by running the xpra session directly on a "real" X11 server using a standard accelerated display driver - this is hard to setup and undocumented: you need to use the {{{xvfb}}} switch to start an accelerated X11 server (modified xorg.conf), or use the {{{--use-display}}} switch to bind to an existing one
    99* by [/wiki/ShadowServer shadowing] an existing accelerated X11 server (sub-optimal, slow)
    1010
     
    1919
    2020Usually, you can just {{{vglrun}}} your application and things will "just work".
    21 That is the case for simple application like {{{glxgears}}} / {{{glxspheres}}}.
     21That is the case for simple applications like {{{glxgears}}} / {{{glxspheres}}}.
    2222
    23 In version 0.17, you can ensure that all client applications are launched using vglrun by using the {{{exec-wrapper}}} option in the global config file.
     23You can also ensure that all your client applications are launched using vglrun by using the {{{exec-wrapper}}} option in your [/wiki/Configuration configuration file].
    2424
    2525Note: applications launched in this way are tied to two displays: the one they run on which started by xpra and the one that provides the opengl acceleration, if either one of those displays is stopped then the application will crash.