<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=VirtualGL</id>
	<title>VirtualGL - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=VirtualGL"/>
	<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;action=history"/>
	<updated>2026-05-02T23:54:36Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;diff=38847&amp;oldid=prev</id>
		<title>Kusanaginoturugi: カテゴリを修正</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;diff=38847&amp;oldid=prev"/>
		<updated>2024-09-03T13:41:53Z</updated>

		<summary type="html">&lt;p&gt;カテゴリを修正&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;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年9月3日 (火) 22:41時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&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;[[Category:グラフィック]]&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;[[Category:グラフィック&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 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;[[Category:リモートデスクトップ]]&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;[[Category:リモートデスクトップ]]&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;div&gt;[[en:VirtualGL]]&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;[[en:VirtualGL]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key bnbest_wiki:diff:1.41:old-12607:rev-38847:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Kusanaginoturugi</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;diff=12607&amp;oldid=prev</id>
		<title>Kusakata: 翻訳</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;diff=12607&amp;oldid=prev"/>
		<updated>2018-03-07T12:52:43Z</updated>

		<summary type="html">&lt;p&gt;翻訳&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;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2018年3月7日 (水) 21:52時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;173行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;173行目:&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;===vglrun が ld.so のエラーで終了する===&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;===vglrun が ld.so のエラーで終了する===&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 colspan=&quot;2&quot; class=&quot;diff-empty 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;VirtualGL による 3D レンダリングが機能せず、以下のようなエラーメッセージが表示される場合:&lt;/div&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;If VirtualGL-accelerated 3D rendering does not work (like with the previous section), but in addition you see error messages like...&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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; ERROR: ld.so: object &#039;libdlfaker.so&#039; from LD_PRELOAD cannot be preloaded: ignored.&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; ERROR: ld.so: object &#039;libdlfaker.so&#039; from LD_PRELOAD cannot be preloaded: ignored.&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;div&gt; ERROR: ld.so: object &#039;librrfaker.so&#039; from LD_PRELOAD cannot be preloaded: ignored.&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; ERROR: ld.so: object &#039;librrfaker.so&#039; from LD_PRELOAD cannot be preloaded: ignored.&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 colspan=&quot;2&quot; class=&quot;diff-empty 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;動的リンカが VirtualGL バイナリをアプリケーションにプリロードする指示を正しく受けているのに、何らかの理由でロードができていません。2つの原因が考えられます:&lt;/div&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;...in the shell output, then the dynamic linker is correctly receiving instructions to preload the VirtualGL libraries into the application, but something prevents it from successfully performing this task. Two possible causes are:&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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 colspan=&quot;2&quot; class=&quot;diff-empty 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;* 適切なアーキテクチャの VirtualGL ライブラリがインストールされていない。&lt;/div&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;* &#039;&#039;&#039;The VirtualGL libraries for the correct architecture are not installed&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;To run a&lt;/del&gt; 32&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-bit application&lt;/del&gt; (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;like &lt;/del&gt;[[Wine]]) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VirtualGL, you need to install&lt;/del&gt; {{Pkg|lib32-virtualgl}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;from the [[Multilib]] repository.&lt;/del&gt;&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;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VirtualGL&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;で&lt;/ins&gt;32&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ビットのアプリケーション&lt;/ins&gt; ([[Wine]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; など&lt;/ins&gt;) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;を実行したい場合、[[Multilib]]&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;リポジトリから&lt;/ins&gt; {{Pkg|lib32-virtualgl}} &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 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 colspan=&quot;2&quot; class=&quot;diff-empty 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;* アプリケーションの実行ファイルに setuid/setgid フラグが設定されている。&lt;/div&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;* &#039;&#039;&#039;The application executable has the setuid/setgid flag set&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;: {{ic|ls -l}} を使って実行ファイルのパーミッションを確認してみてください: setuid が設定されている場合、ユーザーの実行可能ビットのところに {{ic|s}} が表示され (例: {{ic|-rw&#039;&#039;&#039;s&#039;&#039;&#039;r-xr-x}})、setgid が設定されている場合、グループの実行可能ビットのところに {{ic|s}} が表示されます。そのような場合、プリロードされるライブラリも setuid フラグが設定されていないかぎり、かならずプリロードは失敗します。以下のコマンドを root で実行することで VirtualGL ライブラリにフラグを設定することができます:&lt;/div&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;: You can confirm whether this is the case by inspecting the executable&#039;s file permissions using {{ic|ls -l}}: It will show the letter {{ic|s}} in place of the &#039;&#039;user executable&#039;&#039; bit if setuid is set (for example {{ic|-rw&#039;&#039;&#039;s&#039;&#039;&#039;r-xr-x}}), and in place of the &#039;&#039;group executable&#039;&#039; bit if setgid is set. For such an application any preloading attempts will fail, unless the libraries to be preloaded have the setuid flag set as well. You can set this flag for the VirtualGL libraries in question by executing the following as root:&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;:{{bc|&amp;lt;nowiki&amp;gt;&lt;/div&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;&amp;lt;div style=&quot;margin-left:1em;&quot;&amp;gt;{{bc|&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;$ chmod u+s /usr/lib/lib{rr,dl}faker.so    # for the native-architecture versions provided by &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Pkg|&lt;/del&gt;virtualgl&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/del&gt;&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;$ chmod u+s /usr/lib/lib{rr,dl}faker.so    # for the native-architecture versions provided by virtualgl&lt;/div&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;$ chmod u+s /usr/lib32/lib{rr,dl}faker.so  # for the multilib versions provided by &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Pkg|&lt;/del&gt;lib32-virtualgl&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/del&gt;&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;$ chmod u+s /usr/lib32/lib{rr,dl}faker.so  # for the multilib versions provided by lib32-virtualgl&lt;/div&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/del&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div&lt;/del&gt;&amp;gt;&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;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nowiki&lt;/ins&gt;&amp;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-empty 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;: セキュリティが重要なサーバー環境で [[Wikipedia:Setuid|setuid]] を設定することによるセキュリティ上の影響に注意してください。&lt;/div&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;: However, make sure you fully understand the security implications of [[Wikipedia:Setuid|setuid]] before deciding to do this in a server environment where security is critical.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;===vglrun で ERROR: Could not connect to VGL client. で終了する===&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;===vglrun で ERROR: Could not connect to VGL client. で終了する===&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;同一のサーバー上でクライアントプログラムを実行している場合 (VirtualGL を VNC のために使っている場合など)、{{ic|vglrun -c proxy}} を使ってみてください。&lt;/div&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;If your &#039;client&#039; program is running on the same server as virtualGL (e.g. if you&#039;re using virtualGL for VNC), try using {{ic|vglrun -c proxy}}.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;===/etc/opt/VirtualGL/vgl_xauth_key が存在しないというエラー ===&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;===/etc/opt/VirtualGL/vgl_xauth_key が存在しないというエラー ===&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;virtualGL X サーバーで {{ic|vglgenkey}} が動作していないか、あるいは別の X サーバーで実行中のどちらかです。{{ic|vglserver_config}} によって以下が追加されたために LightDM が間違った (vnc remote) X サーバーで {{ic|vglgenkey}} を実行するようになったのが原因かもしれません:&lt;/div&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;This means that {{ic|vglgenkey}} is either not being run at all for your virtualGL X server, or that it is being run again by another X server. For me, lightdm was running {{ic|vglgenkey}} on the wrong (vnc remote) X servers, because {{ic|vglserver_config}} adds the following:&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;{{hc|/etc/lightdm/lightdm.conf|&amp;lt;nowiki&amp;gt;...&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;{{hc|/etc/lightdm/lightdm.conf|&amp;lt;nowiki&amp;gt;...&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;div&gt;[Seat:*]&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;[Seat:*]&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;div&gt;display-setup-script=/usr/bin/vglgenkey&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;display-setup-script=/usr/bin/vglgenkey&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;div&gt;&amp;lt;/nowiki&amp;gt;}}&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;&amp;lt;/nowiki&amp;gt;}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;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;Changing it to&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;/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;div&gt;{{hc|/etc/lightdm/lightdm.conf|&amp;lt;nowiki&amp;gt;...&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;{{hc|/etc/lightdm/lightdm.conf|&amp;lt;nowiki&amp;gt;...&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;div&gt;[Seat:seat0]&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;[Seat:seat0]&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;div&gt;display-setup-script=/usr/bin/vglgenkey&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;display-setup-script=/usr/bin/vglgenkey&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;div&gt;&amp;lt;/nowiki&amp;gt;}}&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;&amp;lt;/nowiki&amp;gt;}}&lt;/div&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;so it only runs on the first X server fixed my problem.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;===vglrun が ERROR: VirtualGL attempted to load the real glXCreatePbuffer function and got the fake one instead. で終了する===&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;===vglrun が ERROR: VirtualGL attempted to load the real glXCreatePbuffer function and got the fake one instead. で終了する===&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This means that &lt;/del&gt;VirtualGL &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is trying to load a function from the wrong library. You can specify which OpenGL library to use by setting &lt;/del&gt;{{ic|LD_PRELOAD}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;path of the library.&lt;/del&gt; {{ic|/usr/lib/libGL.so}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;appears to work for 64-bit applications. Keep in mind that 32-bit applications &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;like &lt;/del&gt;Steam &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or&lt;/del&gt; Wine) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will require &lt;/del&gt;32&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-bit&lt;/del&gt; OpenGL&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If you need to use both&lt;/del&gt; 32&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-bit and &lt;/del&gt;64&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-bit libraries, you can load them both with &lt;/del&gt;{{ic|LD_PRELOAD&amp;amp;#61;&quot;/path/to/libGL.so /path/to/lib32/libGL.so&quot;}}&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&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;VirtualGL &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;が間違ったライブラリから関数をロードしようとしています。&lt;/ins&gt;{{ic|LD_PRELOAD}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;を設定して使用する&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;OpenGL&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ライブラリのパスを指定してください。64ビットアプリケーションなら&lt;/ins&gt; {{ic|/usr/lib/libGL.so}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;で動作するようです。&lt;/ins&gt;(Steam &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;や&lt;/ins&gt; Wine) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;など32ビットのアプリケーションは&lt;/ins&gt;32&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ビットの&lt;/ins&gt; OpenGL &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;を必要とします。&lt;/ins&gt;32&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ビットと&lt;/ins&gt;64&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ビットの両方のライブラリを使用する必要がある場合、&lt;/ins&gt;{{ic|LD_PRELOAD&amp;amp;#61;&quot;/path/to/libGL.so /path/to/lib32/libGL.so&quot;}}&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 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;===レンダリングがおかしい、パフォーマンスが低い、アプリケーションエラー===&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;===レンダリングがおかしい、パフォーマンスが低い、アプリケーションエラー===&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 colspan=&quot;2&quot; class=&quot;diff-empty 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;OpenGL は低水準で柔軟な API を用意しており、OpenGL アプリケーションは様々なレンダリング技術を使用します。VirtualGL のデフォルトのレンダリングのリダイレクト手法はインタラクティブな 3D プログラムでは上手く機能しますが、一部のアプリケーションでは問題が起こる可能性があります。{{ic|vglrun}} でアプリケーションを起動する前に環境変数を設定することで VirtualGL の実行モードを調整できます。以下のような環境変数が使えます (ひとつずつ試してみてください、変数によってはさらに問題が深刻になる可能性もあります):&lt;/div&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;OpenGL has a really low-level and flexible API, which means that different OpenGL applications may come up with very different rendering techniques. VirtualGL&#039;s default strategy for how to redirect rendering and how/when to capture a new frame works well with most interactive 3D programs, but may prove inefficient or even problematic for &#039;&#039;some&#039;&#039; applications. If you suspect that this may be the case, you can tweak VirtualGL&#039;s mode of operation by setting certain environment variables before starting your application with {{ic|vglrun}}. For example you could try setting some of the following values &#039;&#039;(try them one at a time, and be aware that each of them could also make things worse!)&#039;&#039;:&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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; VGL_ALLOWINDIRECT=1&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; VGL_ALLOWINDIRECT=1&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;222行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;222行目:&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; VGL_SYNC=1  # use VNC with this one, it is very slow with X11 forwarding&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; VGL_SYNC=1  # use VNC with this one, it is very slow with X11 forwarding&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A few &lt;/del&gt;OpenGL &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;applications also make strong assumptions about their&lt;/del&gt; X &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;server environment or loaded libraries, that may not be fulfilled by a &lt;/del&gt;VirtualGL &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;set-up - thus causing those applications to fail. The environment variables&lt;/del&gt; {{ic|VGL_DEFAULTFBCONFIG}}, {{ic|VGL_GLLIB}}, {{ic|VGL_TRAPX11}}, {{ic|VGL_X11LIB}}, {{ic|VGL_XVENDOR}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;can be used to fix this in some cases.&lt;/del&gt;&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;OpenGL &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;アプリケーションの中には少数ながら&lt;/ins&gt; X &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;サーバー環境やロードされるライブラリを決め打ちしているものがあり、&lt;/ins&gt;VirtualGL &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;で上手く動かないことがあります。そのようなときは&lt;/ins&gt; {{ic|VGL_DEFAULTFBCONFIG}}, {{ic|VGL_GLLIB}}, {{ic|VGL_TRAPX11}}, {{ic|VGL_X11LIB}}, {{ic|VGL_XVENDOR}} &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 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 colspan=&quot;2&quot; class=&quot;diff-empty 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;利用可能な環境変数についてはユーザーマニュアルの &quot;Advanced Configuration&quot; セクションを参照してください。また、&quot;Application Recipes&quot; セクションには VirtualGL で動かすときに設定が必要なアプリケーションの情報が載っています。&lt;/div&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;See the &quot;Advanced Configuration&quot; section in the user manual for a proper explanation of all supported environment variables, and the &quot;Application Recipes&quot; section for info on some specific applications that are known to require tweaking to work well with VirtualGL.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&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;==参照==&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;==参照==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kusakata</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;diff=12604&amp;oldid=prev</id>
		<title>Kusakata: ページの作成:「Category:グラフィック Category:リモートデスクトップ en:VirtualGL VirtualGL はアプリケーションの OpenGL/GLX コマンドを (3D グ...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=VirtualGL&amp;diff=12604&amp;oldid=prev"/>
		<updated>2018-03-06T13:27:37Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「&lt;a href=&quot;/index.php/%E3%82%AB%E3%83%86%E3%82%B4%E3%83%AA:%E3%82%B0%E3%83%A9%E3%83%95%E3%82%A3%E3%83%83%E3%82%AF&quot; class=&quot;mw-redirect&quot; title=&quot;カテゴリ:グラフィック&quot;&gt;Category:グラフィック&lt;/a&gt; &lt;a href=&quot;/index.php/%E3%82%AB%E3%83%86%E3%82%B4%E3%83%AA:%E3%83%AA%E3%83%A2%E3%83%BC%E3%83%88%E3%83%87%E3%82%B9%E3%82%AF%E3%83%88%E3%83%83%E3%83%97&quot; title=&quot;カテゴリ:リモートデスクトップ&quot;&gt;Category:リモートデスクトップ&lt;/a&gt; &lt;a href=&quot;https://wiki.archlinux.org/title/VirtualGL&quot; class=&quot;extiw&quot; title=&quot;en:VirtualGL&quot;&gt;en:VirtualGL&lt;/a&gt; VirtualGL はアプリケーションの OpenGL/GLX コマンドを (3D グ...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:グラフィック]]&lt;br /&gt;
[[Category:リモートデスクトップ]]&lt;br /&gt;
[[en:VirtualGL]]&lt;br /&gt;
VirtualGL はアプリケーションの OpenGL/GLX コマンドを (3D グラフィックカードにアクセスできる) 別の X サーバーにリダイレクトして、レンダリングされた画像をキャプチャして、アプリケーションを実行している X サーバーに流し込みます。&lt;br /&gt;
&lt;br /&gt;
リモートデスクトップ環境で、サーバー側のハードウェア支援による 3D レンダリングをできるようにするのが VirtualGL の主な用途です。&lt;br /&gt;
&lt;br /&gt;
==インストールとセットアップ==&lt;br /&gt;
&lt;br /&gt;
{{Pkg|virtualgl}} パッケージをインストールして [https://cdn.rawgit.com/VirtualGL/virtualgl/2.5/doc/index.html#hd006 こちら] の手順に従って設定してください。Arch では {{ic|/opt/VirtualGL/bin/vglserver_config}} と {{ic|/opt/VirtualGL/bin/glxinfo}} はただの vglserver_config と vglxinfo です。&lt;br /&gt;
&lt;br /&gt;
==X11 フォワーディングで VirtualGL を使う==&lt;br /&gt;
&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;server:                                              client:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 ······································               ·················&lt;br /&gt;
 : ┌───────────┐ &amp;#039;&amp;#039;X11 commands&amp;#039;&amp;#039;         :               : ┌───────────┐ :&lt;br /&gt;
 : │application│━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━▶│&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;X server&amp;lt;/font&amp;gt;   │ :&lt;br /&gt;
 : │           │        ┌───────────┐ :               : │           │ :&lt;br /&gt;
 : │           │        │&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;X server&amp;lt;/font&amp;gt;   │ :               : ├┈┈┈┈┈┈┈┈┈╮ │ :&lt;br /&gt;
 : │ ╭┈┈┈┈┈┈┈┈┈┤ &amp;#039;&amp;#039;OpenGL&amp;#039;&amp;#039; │ ╭┈┈┈┈┈┈┈┈┈┤ : &amp;#039;&amp;#039;image stream&amp;#039;&amp;#039;  : │VirtualGL┊ │ :&lt;br /&gt;
 : │ ┊VirtualGL│━━━━━━━▶│ ┊VirtualGL│━━━━━━━━━━━━━━━━━━▶│client   ┊ │ :     &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;⬛&amp;lt;/font&amp;gt; = &amp;quot;2D&amp;quot; rendering happens here&lt;br /&gt;
 : └─┴─────────┘        └─┴─────────┘ :               : └─────────┴─┘ :     &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;⬛&amp;lt;/font&amp;gt; = &amp;quot;3D&amp;quot; rendering happens here&lt;br /&gt;
 ······································               ·················&lt;br /&gt;
&lt;br /&gt;
[[#VNC で VirtualGL を使う|VNC で VirtualGL を使う]]のに対して以下のメリットがあります:&lt;br /&gt;
* シームレスなウィンドウ&lt;br /&gt;
* サーバー側の CPU 使用量が減ります&lt;br /&gt;
* ステレオレンダリング (3D メガネを使用) をサポート&lt;br /&gt;
&lt;br /&gt;
=== 準備 ===&lt;br /&gt;
&lt;br /&gt;
リモートサーバーで VirtualGL をセットアップするには、以下が必要です:&lt;br /&gt;
&lt;br /&gt;
* クライアント側にも {{Pkg|virtualgl}} パッケージをインストール (ただし、サーバーと同じように設定する必要はありません。必要なのは {{ic|vglconnect}} と {{ic|vglclient}} のバイナリだけです)。&lt;br /&gt;
* [[SSH#X11_フォワーディング|SSH で X11 フォワーディング]]を設定 ({{ic|ssh -X user@server}} でクライアントからサーバーに接続してシェルから GUI アプリケーションが実行できるか確認してください)。&lt;br /&gt;
&lt;br /&gt;
=== 接続 ===&lt;br /&gt;
&lt;br /&gt;
クライアント側で {{ic|vglconnect}} を使うことでサーバーに接続できます:&lt;br /&gt;
&lt;br /&gt;
 $ vglconnect user@server     &amp;#039;&amp;#039;# X11 traffic encrypted, VGL image stream unencrypted&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 $ vglconnect -s user@server  &amp;#039;&amp;#039;# both X11 traffic and VGL image stream encrypted&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
上記のコマンドで {{ic|ssh -X}} と同じように X11 フォワーディングの SSH セッションが開き、適切なパラメータを使ってバックグラウンドデーモンとして VirtualGL クライアント ({{ic|vglclient}}) が自動的に起動します。デーモンはサーバーからの VirtualGL 画像ストリームを処理して、SSH シェルを閉じた後もバックグラウンドで動作し続けます。終了するには {{ic|vglclient -kill}} を実行してください。&lt;br /&gt;
&lt;br /&gt;
=== アプリケーションの実行 ===&lt;br /&gt;
&lt;br /&gt;
SSH シェルの中から {{ic|vglrun}} でアプリケーションを実行することで、OpenGL で VirtualGL レンダリングを有効にしてリモートのアプリケーションを実行できます。&lt;br /&gt;
&lt;br /&gt;
{{ic|vglconnect}} によって開かれたシェルに閉じこもる必要はありません。同一の X セッションから {{ic|ssh -X}} または {{ic|ssh -Y}} シェルを同一の &amp;#039;&amp;#039;user&amp;#039;&amp;#039;@&amp;#039;&amp;#039;server&amp;#039;&amp;#039; で開くことができます。{{ic|vglrun}} は SSH シェルを認識して、VGL 画像ストリームがネットワークを介して送信されます (実行中の {{ic|vglclient}} インスタンスによって受信・処理されます)。&lt;br /&gt;
&lt;br /&gt;
== VNC で VirtualGL を使う ==&lt;br /&gt;
&lt;br /&gt;
  &amp;#039;&amp;#039;&amp;#039;server:                                                           client:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 ···················································               ················&lt;br /&gt;
 : ┌───────────┐ &amp;#039;&amp;#039;X11 commands&amp;#039;&amp;#039;         ┌──────────┐ : &amp;#039;&amp;#039;image stream&amp;#039;&amp;#039;  : ┌──────────┐ :&lt;br /&gt;
 : │application│━━━━━━━━━━━━━━━━━━━━━▶│&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;VNC server&amp;lt;/font&amp;gt;│━━━━━━━━━━━━━━━━━━▶│VNC viewer│ :&lt;br /&gt;
 : │           │        ┌───────────┐ └──────────┘ :               : └──────────┘ :&lt;br /&gt;
 : │           │        │&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;X server&amp;lt;/font&amp;gt;   │        ▲     :               :              :&lt;br /&gt;
 : │ ╭┈┈┈┈┈┈┈┈┈┤ &amp;#039;&amp;#039;OpenGL&amp;#039;&amp;#039; │ ╭┈┈┈┈┈┈┈┈┈┤ &amp;#039;&amp;#039;images&amp;#039;&amp;#039; ┃     :               :              :&lt;br /&gt;
 : │ ┊VirtualGL│━━━━━━━▶│ ┊VirtualGL│━━━━━━━━┛     :               :              :     &amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;⬛&amp;lt;/font&amp;gt; = &amp;quot;2D&amp;quot; rendering happens here&lt;br /&gt;
 : └─┴─────────┘        └─┴─────────┘              :               :              :     &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;⬛&amp;lt;/font&amp;gt; = &amp;quot;3D&amp;quot; rendering happens here&lt;br /&gt;
 ···················································               ················&lt;br /&gt;
&lt;br /&gt;
[[#X11 フォワーディングで VirtualGL を使う|X11 フォワーディングで VirtualGL を使う]]のに対して以下のメリットがあります:&lt;br /&gt;
* ネットワークの速度が遅かったり遅延が著しい場合でもパフォーマンスを維持できます。&lt;br /&gt;
* 複数のクライアントに同一の画像ストリームを送信できます (&amp;quot;デスクトップ共有&amp;quot;)。&lt;br /&gt;
* ネットワークの接続が途絶えてもリモートアプリケーションを実行し続けることができます。&lt;br /&gt;
* アーキテクチャはクライアント側の X サーバーに依存しないため、Linux 以外のサポートが充実しています。&lt;br /&gt;
&lt;br /&gt;
===手順===&lt;br /&gt;
&lt;br /&gt;
リモートサーバーに VirtualGL をセットアップした後、適当な [[Vncserver|VNC クライアント・サーバー]]を使ってリモートデスクトップ接続を確立してください。特に設定は必要ありません。&lt;br /&gt;
&lt;br /&gt;
VNC セッションの中で (例: VNC デスクトップのターミナルエミュレータ、あるいは {{ic|~/.vnc/xstartup}} に直接)、{{ic|vglrun}} で動かしたいアプリケーションを実行してください。&lt;br /&gt;
&lt;br /&gt;
{{ic|vglrun}} でセッション全体を動作させて、全ての OpenGL アプリケーションをデフォルトで動かすこともできます。例えば、Xfce を使用する場合、X のスタートアップスクリプト ({{ic|~/.vnc/xstartup}} や {{ic|.xinitrc}}) で {{ic|startxfce4}} の代わりに {{ic|vglrun startxfce4}} を実行するか、ディスプレイマネージャを使用するのであれば {{ic|/usr/share/xsessions}} の[[デスクトップファイル]]をコピー・編集します。&lt;br /&gt;
&lt;br /&gt;
===適切な VNC パッケージの選択===&lt;br /&gt;
&lt;br /&gt;
VirtualGL はあらゆる [[VNC]] サーバー実装 (例: TightVNC, RealVNC, ...) に対して 3D レンダリングを提供することができます。&lt;br /&gt;
&lt;br /&gt;
しかしながら、性能を引き出したい場合、特別に最適化された VNC 実装を使うと良いでしょう:&lt;br /&gt;
&lt;br /&gt;
* {{AUR|turbovnc}}: VirtualGL と同じチームによって開発されており、VirtualGL と組み合わせて使うことで最高のパフォーマンスを発揮します。ただし、通常の Xorg サーバーが提供している機能を全てサポートしているわけではないため、一部のアプリケーションが遅くなったり全く動作しなかったりします。&lt;br /&gt;
* [[TigerVNC]]: VirtualGL を念頭に開発されており素晴らしいパフォーマンスを出すことができます。さらに、TurboVNC よりも Xorg の互換性が高くなっています。&lt;br /&gt;
&lt;br /&gt;
==アプリケーションの実行==&lt;br /&gt;
&lt;br /&gt;
VirtualGL に対応したリモートデスクトップ接続をセットアップできたら、OpenGL を VirtualGL でレンダリングするために {{ic|vglrun}} を使ってアプリケーションを実行します:&lt;br /&gt;
&lt;br /&gt;
 $ vglrun glxgears&lt;br /&gt;
&lt;br /&gt;
もちろん上記のコマンドはリモートコンピュータ (SSH または VNC セッション) で実行する必要があります。使用する X サーバーは以下の環境変数で決定されます:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| {{ic|1=&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;DISPLAY&amp;lt;/font&amp;gt;}} || アプリケーションを処理し、OpenGL 以外の部分をレンダリングする X サーバー。&lt;br /&gt;
&lt;br /&gt;
VNC を使用する場合、VNC サーバーが参照されます。SSH フォワーディングの場合、SSH によって内部的にマッピングされた実際の X サーバーの仮想 X サーバー番号になります。VirtualGL 特有のことは何もなく、SSH または VNC セッションの中で適当な値に設定されます。&lt;br /&gt;
|-&lt;br /&gt;
| {{ic|1=&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;VGL_DISPLAY&amp;lt;/font&amp;gt;}} || VirtualGL によって OpenGL のレンダリングがリダイレクトされる X サーバー。&lt;br /&gt;
&lt;br /&gt;
設定していない場合、{{ic|:0.0}} が使われます。ドットの後ろの番号を使ってグラフィックカードを選択することができます。&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
他にも様々な環境変数やコマンドラインパラメータで {{ic|vglrun}} を設定できます。詳しくはユーザーマニュアルや {{ic|vglrun -help}} を参照してください。VirtualGL の挙動はさらに以下のどちらのモードが使われているかによって左右されます ({{ic|vglrun}} によって環境に応じて自動的に選択されます):&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;VGL Transport&amp;#039;&amp;#039;&amp;#039; - [[#X11 フォワーディングで VirtualGL を使う|X11 フォワーディング]]を使用する場合のデフォルト&lt;br /&gt;
&lt;br /&gt;
: このモードでは特別なネットワークプロトコルを使ってレンダリングされた OpenGL シーンが圧縮済みの画像ストリームとして {{ic|vglclient}} インスタンスに送信されます。デフォルトでは 90% 品質の JPEG 圧縮が使われますが、カスタマイズすることもできます。例:&lt;br /&gt;
&lt;br /&gt;
:{{bc|$ vglrun -q 30 -samp 4x glxgears              &amp;#039;&amp;#039;# use aggressive compression (to reduce bandwidth demand)&amp;#039;&amp;#039;}}&lt;br /&gt;
:{{bc|1=$ VGL_QUAL=30 VGL_SUBSAMP=4x vglrun glxgears  &amp;#039;&amp;#039;# same as above, using environment variables&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
: {{ic|vglrun}} で起動した後にアプリケーションの VirtualGL のレンダリング・圧縮オプションを変更できる GUI ダイアログも存在します。アプリケーションにキーボードのフォーカスがあたっているときに {{ic|Ctrl+Shift+F9}} を押すことでダイアログが開きます。&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;X11 Transport&amp;#039;&amp;#039;&amp;#039; - [[#VNC で VirtualGL を使う|VNC]] を使用する場合のデフォルト&lt;br /&gt;
&lt;br /&gt;
: このモードでは VirtualGL は生の (圧縮されていない) 画像を通常の X11 プロトコルで直接 X サーバー (例: 同一マシンで動作する VNC サーバー) に送信します。{{ic|vglrun}} のコマンドラインオプションのほとんどが使用できません (画像ストリーム圧縮やステレオレンダリングに関するオプションなど)。クライアント側で {{ic|vglclient}} が動作していないためです。VNC サーバーが画像ストリームの最適化や圧縮を全て扱うようになるため、あなた自身で設定を行う必要があります。&lt;br /&gt;
&lt;br /&gt;
{{Tip|{{ic|vglrun}} is actually just a shell script that (temporarily) sets some environment variables before running the requested application - most importantly it adds the libraries that provide all the VirtualGL functionality to {{ic|LD_PRELOAD}}. If it better suits your workflow, you could just set those variables yourself instead. The following command lists all environment variables that vglrun would set for your particular set-up:&lt;br /&gt;
{{bc|&amp;lt;nowiki&amp;gt;comm -1 -3 &amp;lt;(env | sort) &amp;lt;(vglrun env | grep -v &amp;#039;^\[&amp;#039; | sort)&amp;lt;/nowiki&amp;gt;}}}}&lt;br /&gt;
&lt;br /&gt;
=== VirtualGL のレンダリングが有効になっていることを確認 ===&lt;br /&gt;
&lt;br /&gt;
アプリケーションを起動する前に {{ic|VGL_LOGO}} 環境変数を設定すると、VirtualGL でアプリケーションがレンダリングされたときに OpenGL シーンの右下隅に &amp;quot;VGL&amp;quot; と書かれた小さなロゴが表示されます:&lt;br /&gt;
&lt;br /&gt;
 $ VGL_LOGO=1 vglrun glxgears&lt;br /&gt;
&lt;br /&gt;
アプリケーションを実行してもロゴが表示されない場合、VirtualGL が使われておらずアプリケーションはソフトウェアレンダリングで実行されています (下の[[#トラブルシューティング]]を参照)。&lt;br /&gt;
&lt;br /&gt;
=== パフォーマンスの測定 ===&lt;br /&gt;
&lt;br /&gt;
FPS カウンタを表示できる OpenGL プログラムは多数存在しますが、VirtualGL を使う場合、その値はあまり意味を持ちません。あくまでサーバー側でレンダリングしたときのフレームレートを計測するためです。実際にクライアント側に表示されるフレームレートは考慮されません。&lt;br /&gt;
&lt;br /&gt;
ユーザーマニュアルの &amp;quot;Performance Measurement&amp;quot; の章には VirtualGL の画像パイプラインのスループットを計測する方法や、ボトルネック (特に X11 フォワーディングを使用する場合) を見つけ出す方法が載っています。VNC を使用する場合であれば VNC クライアントでフレームレートを確認できるはずです。&lt;br /&gt;
&lt;br /&gt;
==トラブルシューティング==&lt;br /&gt;
&lt;br /&gt;
{{Tip|Running {{ic|vglrun}} with the {{ic|+v}} command-line switch (or environment variable {{ic|VGL_VERBOSE&amp;amp;#61;1}}) makes VirtualGL print out some details about its attempt to initialize rendering for the application in question. The {{ic|+tr}} switch (or variable {{ic|VGL_TRACE&amp;amp;#61;1}}) will make it print out lots of live info on intercepted OpenGL function calls during the actual rendering.&lt;br /&gt;
&lt;br /&gt;
By default VirtualGL prints all its debug output to the shell - if you want to separate it from the application&amp;#039;s own STDERR output you can set {{ic|VGL_LOG&amp;amp;#61;/tmp/virtualgl-$USER.log}}.}}&lt;br /&gt;
&lt;br /&gt;
=== vglrun が &amp;quot;Could not open display&amp;quot; で停止する===&lt;br /&gt;
&lt;br /&gt;
{{ic|vglrun}} が以下のエラーメッセージで終了してしまう場合:&lt;br /&gt;
&lt;br /&gt;
 [VGL] ERROR: Could not open display :0.&lt;br /&gt;
&lt;br /&gt;
サーバー側で 3D が利用できる X サーバーが実行されていないか、VirtualGL が正しくセットアップされていないか、あるいは {{ic|VGL_DISPLAY}} が正しく設定されていません。パッケージのアップグレードによって {{ic|vglserver_config}} で書き換えたファイルが上書きされてしまったのかもしれません。スクリプトをもう一度実行してサーバー側の X サーバーを再起動してみてください。&lt;br /&gt;
&lt;br /&gt;
===vglrun が全く機能しない===&lt;br /&gt;
&lt;br /&gt;
以下のような場合:&lt;br /&gt;
* VirtualGL で 3D レンダリングが支援されない。プログラムが停止したりソフトウェアレンダリングにフォールバックする ([[#VirtualGL のレンダリングが有効になっていることを確認|確認方法]])。&lt;br /&gt;
* 同時に、VirtualGL 関連のエラーメッセージがシェルに出力されていない。&lt;br /&gt;
&lt;br /&gt;
アプリケーションの実行ファイルへの VirtualGL のプリロードが何らかの理由でブロックされている可能性があります。アプリケーションを起動するコマンドを実行する前に {{ic|vglrun}} は VirtualGL ライブラリの名前を {{ic|LD_PRELOAD}} 環境変数に追加し、アプリケーションの実行時に Linux カーネルは動的リンカをロードして {{ic|LD_PRELOAD}} 変数を認識して指定されたライブラリをアプリケーションのメモリ内コピーにリンクします。環境変数が動的リンクに渡されないと、プリロードは上手くいきません:&lt;br /&gt;
&lt;br /&gt;
* アプリケーションを実行するスクリプトで LD_PRELOAD の設定が解除、あるいは上書きされている。&lt;br /&gt;
: スクリプトを編集して問題の行をコメントアウト・修正してください (スクリプトを {{ic|/usr/local/bin/}} に配置することでパッケージのアップグレードで上書きされることを防げます)。&lt;br /&gt;
&lt;br /&gt;
* アプリケーションが複数のスクリプトで起動するため、環境変数がその中のどこかで消える。&lt;br /&gt;
: アプリケーションを実行する最終的なスクリプトを編集して {{ic|vglrun}} でアプリケーションを実行するようにしてください。&lt;br /&gt;
&lt;br /&gt;
* アプリケーションがローダーバイナリで実行されるため、LD_PRELOAD が利用されない。&lt;br /&gt;
: 可能であれば、ローダーバイナリを迂回して {{ic|vglrun}} で直接 OpenGL アプリケーションを実行してください。例えば VirtualBox の場合、VirtualBox の GUI を使うのではなく仮想マシンのセッションを {{ic|vglrun VirtualBox -startvm &amp;quot;Name of the VM&amp;quot;}} で直接起動する必要があります。バイナリの中で LD_PRELOAD が解除されるときは、{{ic|vglrun}} の {{ic|-ge}} コマンドラインスイッチを使うことで解決できる場合があります。&lt;br /&gt;
&lt;br /&gt;
上記のような対策が必要なアプリケーションのリストがユーザーマニュアルの &amp;quot;Application Recipes&amp;quot; に載っています。&lt;br /&gt;
&lt;br /&gt;
===vglrun が ld.so のエラーで終了する===&lt;br /&gt;
&lt;br /&gt;
If VirtualGL-accelerated 3D rendering does not work (like with the previous section), but in addition you see error messages like...&lt;br /&gt;
&lt;br /&gt;
 ERROR: ld.so: object &amp;#039;libdlfaker.so&amp;#039; from LD_PRELOAD cannot be preloaded: ignored.&lt;br /&gt;
 ERROR: ld.so: object &amp;#039;librrfaker.so&amp;#039; from LD_PRELOAD cannot be preloaded: ignored.&lt;br /&gt;
&lt;br /&gt;
...in the shell output, then the dynamic linker is correctly receiving instructions to preload the VirtualGL libraries into the application, but something prevents it from successfully performing this task. Two possible causes are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The VirtualGL libraries for the correct architecture are not installed&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: To run a 32-bit application (like [[Wine]]) with VirtualGL, you need to install {{Pkg|lib32-virtualgl}} from the [[Multilib]] repository.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The application executable has the setuid/setgid flag set&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: You can confirm whether this is the case by inspecting the executable&amp;#039;s file permissions using {{ic|ls -l}}: It will show the letter {{ic|s}} in place of the &amp;#039;&amp;#039;user executable&amp;#039;&amp;#039; bit if setuid is set (for example {{ic|-rw&amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039;r-xr-x}}), and in place of the &amp;#039;&amp;#039;group executable&amp;#039;&amp;#039; bit if setgid is set. For such an application any preloading attempts will fail, unless the libraries to be preloaded have the setuid flag set as well. You can set this flag for the VirtualGL libraries in question by executing the following as root:&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1em;&amp;quot;&amp;gt;{{bc|&lt;br /&gt;
$ chmod u+s /usr/lib/lib{rr,dl}faker.so    # for the native-architecture versions provided by {{Pkg|virtualgl}}&lt;br /&gt;
$ chmod u+s /usr/lib32/lib{rr,dl}faker.so  # for the multilib versions provided by {{Pkg|lib32-virtualgl}}&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
: However, make sure you fully understand the security implications of [[Wikipedia:Setuid|setuid]] before deciding to do this in a server environment where security is critical.&lt;br /&gt;
&lt;br /&gt;
===vglrun で ERROR: Could not connect to VGL client. で終了する===&lt;br /&gt;
If your &amp;#039;client&amp;#039; program is running on the same server as virtualGL (e.g. if you&amp;#039;re using virtualGL for VNC), try using {{ic|vglrun -c proxy}}.&lt;br /&gt;
&lt;br /&gt;
===/etc/opt/VirtualGL/vgl_xauth_key が存在しないというエラー ===&lt;br /&gt;
This means that {{ic|vglgenkey}} is either not being run at all for your virtualGL X server, or that it is being run again by another X server. For me, lightdm was running {{ic|vglgenkey}} on the wrong (vnc remote) X servers, because {{ic|vglserver_config}} adds the following:&lt;br /&gt;
{{hc|/etc/lightdm/lightdm.conf|&amp;lt;nowiki&amp;gt;...&lt;br /&gt;
[Seat:*]&lt;br /&gt;
display-setup-script=/usr/bin/vglgenkey&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
Changing it to&lt;br /&gt;
{{hc|/etc/lightdm/lightdm.conf|&amp;lt;nowiki&amp;gt;...&lt;br /&gt;
[Seat:seat0]&lt;br /&gt;
display-setup-script=/usr/bin/vglgenkey&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
so it only runs on the first X server fixed my problem.&lt;br /&gt;
&lt;br /&gt;
===vglrun が ERROR: VirtualGL attempted to load the real glXCreatePbuffer function and got the fake one instead. で終了する===&lt;br /&gt;
&lt;br /&gt;
This means that VirtualGL is trying to load a function from the wrong library. You can specify which OpenGL library to use by setting {{ic|LD_PRELOAD}} to the path of the library. {{ic|/usr/lib/libGL.so}} appears to work for 64-bit applications. Keep in mind that 32-bit applications (like Steam or Wine) will require 32-bit OpenGL. If you need to use both 32-bit and 64-bit libraries, you can load them both with {{ic|LD_PRELOAD&amp;amp;#61;&amp;quot;/path/to/libGL.so /path/to/lib32/libGL.so&amp;quot;}}.&lt;br /&gt;
&lt;br /&gt;
===レンダリングがおかしい、パフォーマンスが低い、アプリケーションエラー===&lt;br /&gt;
&lt;br /&gt;
OpenGL has a really low-level and flexible API, which means that different OpenGL applications may come up with very different rendering techniques. VirtualGL&amp;#039;s default strategy for how to redirect rendering and how/when to capture a new frame works well with most interactive 3D programs, but may prove inefficient or even problematic for &amp;#039;&amp;#039;some&amp;#039;&amp;#039; applications. If you suspect that this may be the case, you can tweak VirtualGL&amp;#039;s mode of operation by setting certain environment variables before starting your application with {{ic|vglrun}}. For example you could try setting some of the following values &amp;#039;&amp;#039;(try them one at a time, and be aware that each of them could also make things worse!)&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
 VGL_ALLOWINDIRECT=1&lt;br /&gt;
 VGL_FORCEALPHA=1&lt;br /&gt;
 VGL_GLFLUSHTRIGGER=0&lt;br /&gt;
 VGL_READBACK=pbo&lt;br /&gt;
 VGL_SPOILLAST=0&lt;br /&gt;
 VGL_SYNC=1  # use VNC with this one, it is very slow with X11 forwarding&lt;br /&gt;
&lt;br /&gt;
A few OpenGL applications also make strong assumptions about their X server environment or loaded libraries, that may not be fulfilled by a VirtualGL set-up - thus causing those applications to fail. The environment variables {{ic|VGL_DEFAULTFBCONFIG}}, {{ic|VGL_GLLIB}}, {{ic|VGL_TRAPX11}}, {{ic|VGL_X11LIB}}, {{ic|VGL_XVENDOR}} can be used to fix this in some cases.&lt;br /&gt;
&lt;br /&gt;
See the &amp;quot;Advanced Configuration&amp;quot; section in the user manual for a proper explanation of all supported environment variables, and the &amp;quot;Application Recipes&amp;quot; section for info on some specific applications that are known to require tweaking to work well with VirtualGL.&lt;br /&gt;
&lt;br /&gt;
==参照==&lt;br /&gt;
* [http://www.virtualgl.org/Documentation/Documentation VirtualGL Online Documentation]  ({{Pkg|virtualgl}} パッケージをインストールしている場合 {{ic|/usr/share/doc/virtualgl/index.html}} からも確認できます)&lt;/div&gt;</summary>
		<author><name>Kusakata</name></author>
	</entry>
</feed>