X server settings
From Charm-Tau Detector
(Difference between revisions)
A.M.Suharev (Talk | contribs) (Created page with "To allow GL applications run from a remote server via X protocol, one might need to add the following to the local X server configuration: Section "ServerFlags" Optio...") |
A.M.Suharev (Talk | contribs) |
||
Line 7: | Line 7: | ||
On the modern Linux systems the appropriate place for these lines would be some file in the /etc/X11/xorg.conf.d/ directory, for instance, /etc/X11/xorg.conf.d/glxsettings.conf. | On the modern Linux systems the appropriate place for these lines would be some file in the /etc/X11/xorg.conf.d/ directory, for instance, /etc/X11/xorg.conf.d/glxsettings.conf. | ||
− | The receipt seems to help for proprietary NVidia drivers. | + | The receipt seems to help sometimes for proprietary NVidia drivers. |
+ | |||
+ | Another workaround is to use x2go. Run a terminal at remote server using x2goclient. Then, set a variable: | ||
+ | |||
+ | export LIBGL_ALWAYS_INDIRECT=1 | ||
+ | |||
+ | Run your GL application from the terminal. | ||
[[Category:Known issues]] | [[Category:Known issues]] | ||
[[Category:Sacred knowledge]] | [[Category:Sacred knowledge]] | ||
[[Category:Software]] | [[Category:Software]] |
Revision as of 13:34, 10 September 2018
To allow GL applications run from a remote server via X protocol, one might need to add the following to the local X server configuration:
Section "ServerFlags" Option "IndirectGLX" "on" EndSection
On the modern Linux systems the appropriate place for these lines would be some file in the /etc/X11/xorg.conf.d/ directory, for instance, /etc/X11/xorg.conf.d/glxsettings.conf.
The receipt seems to help sometimes for proprietary NVidia drivers.
Another workaround is to use x2go. Run a terminal at remote server using x2goclient. Then, set a variable:
export LIBGL_ALWAYS_INDIRECT=1
Run your GL application from the terminal.