From e26c208cc7f032df5a8df9000175aa58bff08e7e Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 17 Oct 2023 19:01:08 +0200 Subject: [PATCH] feat: OpenGL module --- run/gpu.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/run/gpu.sh b/run/gpu.sh index 9e63474..b72f48b 100644 --- a/run/gpu.sh +++ b/run/gpu.sh @@ -28,3 +28,15 @@ if ! apt-mark showinstall | grep -q "xserver-xorg-video-intel"; then apt-get -qq --no-install-recommends -y install xserver-xorg-video-intel > /dev/null fi + +if ! apt-mark showinstall | grep -q "qemu-system-modules-opengl"; then + + info "Installing OpenGL module..." + + export DEBCONF_NOWARNINGS="yes" + export DEBIAN_FRONTEND="noninteractive" + + apt-get -qq update + apt-get -qq --no-install-recommends -y install qemu-system-modules-opengl > /dev/null + +fi