mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-26 01:13:08 +01:00
Merge branch 'feature/KASM-2184_Multi_GPUs' into 'develop'
KASM-2184 multi-gpu support Closes KASM-2184 See merge request kasm-technologies/internal/workspaces-core-images!33
This commit is contained in:
commit
7e357ea120
@ -5,9 +5,9 @@ echo -e "\n------------------ Xfce4 window manager startup------------------"
|
||||
|
||||
if [ "${START_XFCE4}" == "1" ] ;
|
||||
then
|
||||
if [ -f /usr/bin/vglrun ] && [ -d /dev/dri ] && [ -O /dev/dri/card0 ] && [ -O /dev/dri/renderD128 ] ; then
|
||||
if [ -f /usr/bin/vglrun ] && [ ! -z "${KASM_EGL_CARD}" ] && [ ! -z "${KASM_RENDERD}" ] && [ -O "${KASM_RENDERD}" ] && [ -O "${KASM_EGL_CARD}" ] ; then
|
||||
echo "Starting XFCE with VirtualGL"
|
||||
DISPLAY=:1 /usr/bin/vglrun -d /dev/dri/card0 /usr/bin/startxfce4 --replace &
|
||||
DISPLAY=:1 /usr/bin/vglrun -d "${KASM_EGL_CARD}" /usr/bin/startxfce4 --replace &
|
||||
else
|
||||
echo "Starting XFCE"
|
||||
/usr/bin/startxfce4 --replace &
|
||||
|
Loading…
Reference in New Issue
Block a user