Loading src/display.sh +9 −8 Original line number Diff line number Diff line Loading @@ -27,23 +27,24 @@ if [[ "$GPU" != [Yy1]* ]] || [[ "$ARCH" != "amd64" ]]; then return 0 fi DISPLAY_OPTS="$DISPLAY_OPTS -display egl-headless,rendernode=/dev/dri/renderD128" DISPLAY_OPTS="$DISPLAY_OPTS -device virtio-vga,id=video0,max_outputs=1,bus=pcie.0,addr=0x1" [ ! -d /dev/dri ] && mkdir -m 755 /dev/dri if [ ! -c /dev/dri/card0 ]; then mknod /dev/dri/card0 c 226 0 if mknod /dev/dri/card0 c 226 0; then chmod 666 /dev/dri/card0 fi if [ ! -c /dev/dri/renderD128 ]; then mknod /dev/dri/renderD128 c 226 128 fi chmod 666 /dev/dri/card0 if [ ! -c /dev/dri/renderD128 ]; then if mknod /dev/dri/renderD128 c 226 128; then chmod 666 /dev/dri/renderD128 fi fi addPackage "xserver-xorg-video-intel" "Intel GPU drivers" addPackage "qemu-system-modules-opengl" "OpenGL module" DISPLAY_OPTS="$DISPLAY_OPTS -display egl-headless,rendernode=/dev/dri/renderD128" DISPLAY_OPTS="$DISPLAY_OPTS -device virtio-vga,id=video0,max_outputs=1,bus=pcie.0,addr=0x1" return 0 Loading
src/display.sh +9 −8 Original line number Diff line number Diff line Loading @@ -27,23 +27,24 @@ if [[ "$GPU" != [Yy1]* ]] || [[ "$ARCH" != "amd64" ]]; then return 0 fi DISPLAY_OPTS="$DISPLAY_OPTS -display egl-headless,rendernode=/dev/dri/renderD128" DISPLAY_OPTS="$DISPLAY_OPTS -device virtio-vga,id=video0,max_outputs=1,bus=pcie.0,addr=0x1" [ ! -d /dev/dri ] && mkdir -m 755 /dev/dri if [ ! -c /dev/dri/card0 ]; then mknod /dev/dri/card0 c 226 0 if mknod /dev/dri/card0 c 226 0; then chmod 666 /dev/dri/card0 fi if [ ! -c /dev/dri/renderD128 ]; then mknod /dev/dri/renderD128 c 226 128 fi chmod 666 /dev/dri/card0 if [ ! -c /dev/dri/renderD128 ]; then if mknod /dev/dri/renderD128 c 226 128; then chmod 666 /dev/dri/renderD128 fi fi addPackage "xserver-xorg-video-intel" "Intel GPU drivers" addPackage "qemu-system-modules-opengl" "OpenGL module" DISPLAY_OPTS="$DISPLAY_OPTS -display egl-headless,rendernode=/dev/dri/renderD128" DISPLAY_OPTS="$DISPLAY_OPTS -device virtio-vga,id=video0,max_outputs=1,bus=pcie.0,addr=0x1" return 0