Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 3.97 KB

Client-OpenGL.md

File metadata and controls

62 lines (46 loc) · 3.97 KB

OpenGL

The native client can use OpenGL for better window rendering performance.

This is in no way related to the OpenGL capabilities of the server.

Configuration

This feature normally enabled by default if all the required components are installed correctly, which should be the case with the official packages. This acceleration is not currently supported with Wayland clients.

During startup, the client will probe the operating system's OpenGL capabilities to ensure that this acceleration can be enabled safely.
This check may take a few seconds to complete. It can be skipped using the opengl=yes option, alternatively acceleration can be disabled completely with opengl=no.

The client will only actually enable this acceleration for some windows as OpenGL acceleration provides no real benefit for very small windows, ephemeral windows or windows that do not receive many screen updates.

Benefits

The window's pixels are kept in GPU buffers and so re-painting the window can be done quickly and efficiently.

Some screen updates, in particular for some of the video codecs, can also be processed directly on the GPU - at least partially.

GPUs and drivers

Due to some known bugs and incompatibilities, some drivers are disabled by default. (see gl driver list)

Basic information about the OpenGL driver in use can be found in the "Features" pane of the "Session Info" dialog or the client's command line output.
For more details, run xpra opengl. On MS Windows, there is an OpenGL_check.exe shortcut.

Intel Driver Issues

Why is the Intel opengl driver greylisted?

Because it doesn't work very well. See:

OpenGL Reference Links