<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linux-kvm.org/index.php?action=history&amp;feed=atom&amp;title=HOWTO_VMGL</id>
	<title>HOWTO VMGL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linux-kvm.org/index.php?action=history&amp;feed=atom&amp;title=HOWTO_VMGL"/>
	<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;action=history"/>
	<updated>2026-04-30T16:30:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;diff=173344&amp;oldid=prev</id>
		<title>Bsd: added categories</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;diff=173344&amp;oldid=prev"/>
		<updated>2015-05-31T14:18:30Z</updated>

		<summary type="html">&lt;p&gt;added categories&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:18, 31 May 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Currently, the QEMU/KVM standard SDL viewer does not work with VMGL.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Currently, the QEMU/KVM standard SDL viewer does not work with VMGL.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Docs]][[Category:Devices]][[Category:HowTo]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kvmwiki-kvmwiki_:diff::1.12:old-3467:rev-173344 --&gt;
&lt;/table&gt;</summary>
		<author><name>Bsd</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;diff=3467&amp;oldid=prev</id>
		<title>Pim: vmgl homepage moved</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;diff=3467&amp;oldid=prev"/>
		<updated>2011-01-12T09:39:59Z</updated>

		<summary type="html">&lt;p&gt;vmgl homepage moved&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:39, 12 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Most of these steps are covered in the README file in the vmgl tar ball&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Most of these steps are covered in the README file in the vmgl tar ball&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Download VMGL from [http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/del&gt;.cs.toronto.edu/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;~andreslc/xen-gl/ &lt;/del&gt;here]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Download VMGL from [http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sysweb&lt;/ins&gt;.cs.toronto.edu/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;vmgl &lt;/ins&gt;here]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;install libXaw, libXext, libjpeg, libXmu devel files for your distro. &amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; compile problems from missing libraries do not stop the Makefile and so keep an eye of out for them as the compile flies by.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;install libXaw, libXext, libjpeg, libXmu devel files for your distro. &amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; compile problems from missing libraries do not stop the Makefile and so keep an eye of out for them as the compile flies by.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kvmwiki-kvmwiki_:diff::1.12:old-1829:rev-3467 --&gt;
&lt;/table&gt;</summary>
		<author><name>Pim</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;diff=1829&amp;oldid=prev</id>
		<title>WikiSysop at 13:08, 4 February 2009</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=HOWTO_VMGL&amp;diff=1829&amp;oldid=prev"/>
		<updated>2009-02-04T13:08:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= VMGL =&lt;br /&gt;
Most of these steps are covered in the README file in the vmgl tar ball&lt;br /&gt;
&lt;br /&gt;
Download VMGL from [http://www.cs.toronto.edu/~andreslc/xen-gl/ here]&lt;br /&gt;
&lt;br /&gt;
install libXaw, libXext, libjpeg, libXmu devel files for your distro. &amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; compile problems from missing libraries do not stop the Makefile and so keep an eye of out for them as the compile flies by.&lt;br /&gt;
&lt;br /&gt;
On 64-bit, I had to download and patch tightvnc with the patches provided in &amp;#039;&amp;#039;extra/patches/Xvnc.patch&amp;#039;&amp;#039; and &amp;#039;&amp;#039;extra/patches/vncviewer.patch&amp;#039;&amp;#039; as the provided code would not compile.  Everything went smoothly on 32-bit (Ubuntu).&lt;br /&gt;
&lt;br /&gt;
The vmglext module for Xorg is not compiled, but comes as a 32-bit binary in the download.  This will not work for 64-bit unless you patch Xorg.&lt;br /&gt;
&lt;br /&gt;
On the host, run &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;make install-host&amp;#039;&amp;#039;&amp;#039;, on the guest run &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;make install-guest&amp;#039;&amp;#039;&amp;#039;.  Requires sudo to install (if in a system path) and to change ldconfig to look for VMGL loadable modules.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning: Usermode network stack cripples performance, use Tap for now.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Using VNC ==&lt;br /&gt;
add&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
     Load &amp;quot;vmglext&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
to your &amp;#039;&amp;#039;/etc/X11/xorg.conf&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Once you start kvm with the -vnc option, point your &amp;#039;&amp;#039;patched&amp;#039;&amp;#039; vncviewer to the appropriate display.&lt;br /&gt;
&lt;br /&gt;
When you start vncviewer you will see something in the output like this: &amp;#039;&amp;#039;Set GLSTUB var in guest to point to port 7001&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t see the above message (or vncviewer fails to start) you are probably using an unpatched vncviewer.&lt;br /&gt;
&lt;br /&gt;
In the guest then run: &amp;#039;&amp;#039;export GLSTUB=&amp;lt;host ip&amp;gt;:7001&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
As a test, running glxinfo and glxgears should work.  The output of glxinfo should refer to the fact that it is using VMGL. If you seen an error like this &amp;#039;&amp;#039;CR Error(3458): Need to know glStub environment variable&amp;#039;&amp;#039;, then you haven&amp;#039;t set your GLSTUB environment variable properly.&lt;br /&gt;
&lt;br /&gt;
== Using X forwarding ==&lt;br /&gt;
Login in to the guest from the host with ssh using either the -X or -Y options to allow X forwarding. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;On the guest:&amp;#039;&amp;#039;&amp;#039; run the &amp;#039;&amp;#039;stub-daemon&amp;#039;&amp;#039; program and then look in the file &amp;#039;&amp;#039;~/.stub-daemon&amp;#039;&amp;#039; to find out what to set your GLSTUB environment variable to. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;On the host:&amp;#039;&amp;#039;&amp;#039; Set the GLSTUB variable appropriately and then run glxinfo or glxgears to test. See the VNC section above if you encounter errors.&lt;br /&gt;
&lt;br /&gt;
== Using SDL ==&lt;br /&gt;
&lt;br /&gt;
Currently, the QEMU/KVM standard SDL viewer does not work with VMGL.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>