Skip to content

Commit

Permalink
Merge pull request #187 from ZLLentz/maint_remove_glx_var
Browse files Browse the repository at this point in the history
MAINT: remove glx env var, no longer needed and causing issues
  • Loading branch information
ZLLentz authored Jul 8, 2024
2 parents 8e2077a + ac7cfd8 commit 1b21455
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
11 changes: 1 addition & 10 deletions scripts/dev_conda
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
usage()
{
cat << EOF
usage: source $0
usage: source $0
Source this to activate the latest version a pcds conda environment.
EOF
Expand Down Expand Up @@ -55,13 +55,4 @@ source "${TOKEN_DIR}/typhos.sh"
# The same was done with PyDM and this fixes Designer and friends.
if [ -n "${SSH_CONNECTION}" ]; then
export QT_QUICK_BACKEND="software"
# Check for errors in the opengl rendering
# Manually fall back to mesa library if we know there is a problem
if [ -x "$(command -v glxinfo)" ] && [ -z "${__GLX_VENDOR_LIBRARY_NAME}" ]; then
# Expecting either a segfault or exit code 1 if there is a problem
if ! { glxinfo -B; } > /dev/null 2>&1; then
export __GLX_VENDOR_LIBRARY_NAME="mesa"
fi
fi
fi

9 changes: 0 additions & 9 deletions scripts/pcds_conda
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,4 @@ source "${TOKEN_DIR}/typhos.sh"
# The same was done with PyDM and this fixes Designer and friends.
if [ -n "${SSH_CONNECTION}" ]; then
export QT_QUICK_BACKEND="software"
# Check for errors in the opengl rendering
# Manually fall back to mesa library if we know there is a problem
if [ -x "$(command -v glxinfo)" ] && [ -z "${__GLX_VENDOR_LIBRARY_NAME}" ]; then
# Expecting either a segfault or exit code 1 if there is a problem
if ! { glxinfo -B; } > /dev/null 2>&1; then
export __GLX_VENDOR_LIBRARY_NAME="mesa"
fi
fi
fi

0 comments on commit 1b21455

Please sign in to comment.