summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-30 20:24:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-31 15:49:01 +0100
commit8067255dc9185e85b110254ffbea4d9682d3aa2d (patch)
tree33fc2f53d732c90ce714be592755e1f51dd52c06 /test
parentdbf5751b5bc69e2515018a73540d1fb6dddc4502 (diff)
tools: Add intel-virtual-output to extend the local desktop with remote outputs
Based on the original implementation (hybrid-screenclone) by Tomáš Janoušek, and Bumblebee integration by Kevin Puetz. intel-virtual-output utilizes local VirtualHeads to present a contiguous desktop to the local display manager, but maps the drawing on those outputs to the remote display, and provides bidirectional RandR proxy so that you can resize the remote display and configure it within your desktop. The remote display should also send hotplug events back to the local desktop, for reconfiguration on the fly. Ideally the remote display is a discrete GPU on the same host so that we can use local Shared Memory transport and avoid sending data over the wire (though it will work in that setup). Ideally you would have userptr support to provide zero-copy rendering between the GPUs, or have dma-buf (in which case you would be using PRIME). For remote rendering, no compression is done so this fares worse than VNC. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
-rw-r--r--test/virtual.conf36
2 files changed, 37 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index f51967bd..893fa7d9 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -44,5 +44,5 @@ vsync.avi: mkvsync.sh
clean-vsync-avi:
rm -rf vsync.avi .build.tmp
-EXTRA_DIST = README mkvsync.sh tearing.mp4
+EXTRA_DIST = README mkvsync.sh tearing.mp4 virtual.conf
clean-local: clean-vsync-avi
diff --git a/test/virtual.conf b/test/virtual.conf
new file mode 100644
index 00000000..f9d037f2
--- /dev/null
+++ b/test/virtual.conf
@@ -0,0 +1,36 @@
+Section "Device"
+ Identifier "Device0"
+ Driver "intel"
+ Option "ZaphodHeads" "LVDS1"
+ Option "VirtualHeads" "1"
+ BusID "PCI:0:2:0"
+ Screen 0
+EndSection
+
+Section "Device"
+ Identifier "Device1"
+ Driver "intel"
+ Option "ZaphodHeads" "HDMI1"
+ BusID "PCI:0:2:0"
+ Screen 1
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Device0"
+EndSection
+
+Section "Screen"
+ Identifier "Screen1"
+ Device "Device1"
+EndSection
+
+Section "ServerFlags"
+ Option "AutoAddGPU" "False"
+EndSection
+
+Section "ServerLayout"
+ Identifier "ServerLayout0"
+ Screen 0 "Screen0" 0 0
+ Screen 1 "Screen1" 0 0
+EndSection