Skip to content

Commit

Permalink
vncserver: Set VGL_PROBEGLX=0
Browse files Browse the repository at this point in the history
Referring to

https://groups.google.com/g/virtualgl-users/c/Gy0Y0OmrEpU/m/RdG1PewaAgAJ

this is necessary to work around a segfault with Tecplot 360 in batch
mode.
  • Loading branch information
dcommander committed Apr 4, 2022
1 parent 4663be3 commit 473e569
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Hat Enterprise Linux (and derivative), Fedora, and SuSE releases.
algorithms on Windows. This eliminates visual artifacts when using fractional
display scaling factors such as 125%.

7. The `vncserver` script now sets the `VGL_PROBEGLX` environment variable to
`0`. This prevents VirtualGL from probing the TurboVNC X Server for
stereo-capable X visuals. (Such visuals will never exist in an X proxy such as
TurboVNC.) On systems that support libglvnd, probing for stereo-capable
visuals caused the Mesa GLX vendor library to be loaded into the 3D application
process, which led to interaction issues with certain commercial 3D
applications that provide their own Mesa back ends.


3.0 beta1
=========
Expand Down
1 change: 1 addition & 0 deletions unix/vncserver.in
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ if (-e "/tmp/.X11-unix/X$displayNumber") {
}
$ENV{VNCDESKTOP} = $desktopName;
$ENV{VGL_COMPRESS} = "0";
$ENV{VGL_PROBEGLX} = "0";

if (!$noxstartup) {
if ($opt{'-fg'}) {
Expand Down

0 comments on commit 473e569

Please sign in to comment.