https://linux-kvm.org/index.php?title=HOWTO_VMGL&feed=atom&action=historyHOWTO VMGL - Revision history2024-03-28T15:23:02ZRevision history for this page on the wikiMediaWiki 1.39.5https://linux-kvm.org/index.php?title=HOWTO_VMGL&diff=173344&oldid=prevBsd: added categories2015-05-31T14:18:30Z<p>added categories</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:18, 31 May 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l43">Line 43:</td>
<td colspan="2" class="diff-lineno">Line 43:</td></tr>
<tr><td class="diff-marker"></td><td style="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;"><br/></td><td class="diff-marker"></td><td style="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;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="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;"><div>Currently, the QEMU/KVM standard SDL viewer does not work with VMGL.</div></td><td class="diff-marker"></td><td style="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;"><div>Currently, the QEMU/KVM standard SDL viewer does not work with VMGL.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Docs]][[Category:Devices]][[Category:HowTo]]</ins></div></td></tr>
<!-- diff cache key kvmwiki-kvmwiki_:diff::1.12:old-3467:rev-173344 -->
</table>Bsdhttps://linux-kvm.org/index.php?title=HOWTO_VMGL&diff=3467&oldid=prevPim: vmgl homepage moved2011-01-12T09:39:59Z<p>vmgl homepage moved</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:39, 12 January 2011</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="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;"><div>Most of these steps are covered in the README file in the vmgl tar ball</div></td><td class="diff-marker"></td><td style="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;"><div>Most of these steps are covered in the README file in the vmgl tar ball</div></td></tr>
<tr><td class="diff-marker"></td><td style="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;"><br/></td><td class="diff-marker"></td><td style="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;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="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;"><div>Download VMGL from [http://<del style="font-weight: bold; text-decoration: none;">www</del>.cs.toronto.edu/<del style="font-weight: bold; text-decoration: none;">~andreslc/xen-gl/ </del>here]</div></td><td class="diff-marker" data-marker="+"></td><td style="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;"><div>Download VMGL from [http://<ins style="font-weight: bold; text-decoration: none;">sysweb</ins>.cs.toronto.edu/<ins style="font-weight: bold; text-decoration: none;">vmgl </ins>here]</div></td></tr>
<tr><td class="diff-marker"></td><td style="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;"><br/></td><td class="diff-marker"></td><td style="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;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="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;"><div>install libXaw, libXext, libjpeg, libXmu devel files for your distro. '''Warning:''' compile problems from missing libraries do not stop the Makefile and so keep an eye of out for them as the compile flies by.</div></td><td class="diff-marker"></td><td style="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;"><div>install libXaw, libXext, libjpeg, libXmu devel files for your distro. '''Warning:''' compile problems from missing libraries do not stop the Makefile and so keep an eye of out for them as the compile flies by.</div></td></tr>
<!-- diff cache key kvmwiki-kvmwiki_:diff::1.12:old-1829:rev-3467 -->
</table>Pimhttps://linux-kvm.org/index.php?title=HOWTO_VMGL&diff=1829&oldid=prevWikiSysop at 13:08, 4 February 20092009-02-04T13:08:03Z<p></p>
<p><b>New page</b></p><div>= VMGL =<br />
Most of these steps are covered in the README file in the vmgl tar ball<br />
<br />
Download VMGL from [http://www.cs.toronto.edu/~andreslc/xen-gl/ here]<br />
<br />
install libXaw, libXext, libjpeg, libXmu devel files for your distro. '''Warning:''' compile problems from missing libraries do not stop the Makefile and so keep an eye of out for them as the compile flies by.<br />
<br />
On 64-bit, I had to download and patch tightvnc with the patches provided in ''extra/patches/Xvnc.patch'' and ''extra/patches/vncviewer.patch'' as the provided code would not compile. Everything went smoothly on 32-bit (Ubuntu).<br />
<br />
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.<br />
<br />
On the host, run '''make''' and '''make install-host''', on the guest run '''make''' and '''make install-guest'''. Requires sudo to install (if in a system path) and to change ldconfig to look for VMGL loadable modules.<br />
<br />
'''Warning: Usermode network stack cripples performance, use Tap for now.'''<br />
<br />
== Using VNC ==<br />
add<br />
<br />
Section "Module"<br />
Load "vmglext"<br />
EndSection<br />
<br />
to your ''/etc/X11/xorg.conf''<br />
<br />
Once you start kvm with the -vnc option, point your ''patched'' vncviewer to the appropriate display.<br />
<br />
When you start vncviewer you will see something in the output like this: ''Set GLSTUB var in guest to point to port 7001''<br />
<br />
If you don't see the above message (or vncviewer fails to start) you are probably using an unpatched vncviewer.<br />
<br />
In the guest then run: ''export GLSTUB=<host ip>:7001''<br />
<br />
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 ''CR Error(3458): Need to know glStub environment variable'', then you haven't set your GLSTUB environment variable properly.<br />
<br />
== Using X forwarding ==<br />
Login in to the guest from the host with ssh using either the -X or -Y options to allow X forwarding. <br />
<br />
'''On the guest:''' run the ''stub-daemon'' program and then look in the file ''~/.stub-daemon'' to find out what to set your GLSTUB environment variable to. <br />
<br />
'''On the host:''' Set the GLSTUB variable appropriately and then run glxinfo or glxgears to test. See the VNC section above if you encounter errors.<br />
<br />
== Using SDL ==<br />
<br />
Currently, the QEMU/KVM standard SDL viewer does not work with VMGL.</div>WikiSysop