From f1dfaa5afc1b56f82a6557df69a67a451830ba0c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 29 Oct 2017 12:50:49 +0000 Subject: [PATCH 1/3] config/graphic: add vc4 to "all" graphics drivers --- config/graphic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/graphic b/config/graphic index ac7caf9b15..d3f13fea57 100644 --- a/config/graphic +++ b/config/graphic @@ -12,7 +12,7 @@ fi get_graphicdrivers() { if [ "$GRAPHIC_DRIVERS" = "all" ]; then - GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio" + GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4" fi for drv in $GRAPHIC_DRIVERS; do From aace273fb111e4e9aa22a819d46cf95d8b9d9af4 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 29 Oct 2017 12:54:22 +0000 Subject: [PATCH 2/3] config/graphic: remove swrast when using the virtual GPU drivers The respective driver is already selected and build. --- config/graphic | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/graphic b/config/graphic index d3f13fea57..10c924a677 100644 --- a/config/graphic +++ b/config/graphic @@ -71,13 +71,11 @@ get_graphicdrivers() { fi if [ "$drv" = "vmware" ]; then - DRI_DRIVERS="$DRI_DRIVERS,swrast" GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga" XORG_DRIVERS="$XORG_DRIVERS vmware" fi if [ "$drv" = "virtio" ]; then - DRI_DRIVERS="$DRI_DRIVERS,swrast" GALLIUM_DRIVERS="$GALLIUM_DRIVERS,virgl" fi From 3c3261fd1b058610e431c2c6297812ffe974f88b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 29 Oct 2017 12:59:41 +0000 Subject: [PATCH 3/3] config/graphic: enable COMPOSITE for vmwgfx Just like all the other open-source xorg drivers, vmwgfx makes use of the composite extension. --- config/graphic | 1 + 1 file changed, 1 insertion(+) diff --git a/config/graphic b/config/graphic index 10c924a677..b510c3982c 100644 --- a/config/graphic +++ b/config/graphic @@ -73,6 +73,7 @@ get_graphicdrivers() { if [ "$drv" = "vmware" ]; then GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga" XORG_DRIVERS="$XORG_DRIVERS vmware" + COMPOSITE_SUPPORT="yes" fi if [ "$drv" = "virtio" ]; then