mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-26 06:51:45 +02:00
KASM-1973 virtualgl with egl PoC
This commit is contained in:
parent
200c5f4ee9
commit
e78f1fc459
@ -5,8 +5,8 @@ echo -e "\n------------------ Xfce4 window manager startup------------------"
|
||||
|
||||
if [ "${START_XFCE4}" == "1" ] ;
|
||||
then
|
||||
if [ -f /usr/bin/vglrun ] && [ -d /dev/dri ]; then
|
||||
echo "Starting XFCE with VirtualGL"
|
||||
if [ -f /usr/bin/vglrun ] && [ -d /dev/dri ] && [ -O /dev/dri/card0 ] && [ -O /dev/dri/renderD128 ] ; then
|
||||
echo "Starting XFCE with VirtualGL"
|
||||
DISPLAY=:1 /usr/bin/vglrun -d /dev/dri/card0 /usr/bin/startxfce4 --replace &
|
||||
else
|
||||
echo "Starting XFCE"
|
||||
|
@ -20,12 +20,4 @@ if [ "$DISTRO" = "ubuntu" ]; then
|
||||
#update mesa to latest
|
||||
add-apt-repository ppa:kisak/kisak-mesa
|
||||
apt full-upgrade -y
|
||||
|
||||
#install virtualgl
|
||||
wget https://sourceforge.net/projects/virtualgl/files/2.6.90%20%283.0beta1%29/virtualgl_2.6.90_amd64.deb -P /tmp
|
||||
set +e
|
||||
dpkg -i /tmp/virtualgl_*amd64.deb
|
||||
set -e
|
||||
apt install -f -y
|
||||
rm /tmp/virtualgl_*amd64.deb
|
||||
fi
|
||||
|
@ -4,10 +4,10 @@ if [ "$DISTRO" = "ubuntu" ]; then
|
||||
apt full-upgrade -y
|
||||
|
||||
#install virtualgl
|
||||
wget https://sourceforge.net/projects/virtualgl/files/2.6.95%20%283.0rc1%29/virtualgl_2.6.95_amd64.deb -P /tmp
|
||||
#wget https://sourceforge.net/projects/virtualgl/files/2.6.95%20%283.0rc1%29/virtualgl_2.6.95_amd64.deb -P /tmp
|
||||
set +e
|
||||
dpkg -i /tmp/virtualgl_*amd64.deb
|
||||
dpkg -i $INST_SCRIPTS/virtualgl/virtualgl_*amd64.deb
|
||||
set -e
|
||||
apt install -f -y
|
||||
rm /tmp/virtualgl_*amd64.deb
|
||||
rm $INST_SCRIPTS/virtualgl/virtualgl_*amd64.deb
|
||||
fi
|
||||
|
BIN
src/ubuntu/install/virtualgl/virtualgl_3.0.80_amd64.deb
Normal file
BIN
src/ubuntu/install/virtualgl/virtualgl_3.0.80_amd64.deb
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user