ksaitoの日記

日々試したことの覚え書き

Ubuntu 6.1.0 とXGL

移転しました。

自動的にリダイレクトします。

UbuntuのXGLとBerylを試してみました。
要件を満たしていない環境だったので結果的にはうまく動かせませんでした。
(使った環境は、VMWare上のUbuntu 6.1.0、VMWare toolのインストールがうまくいっていません)

下記は、後日、リトライのための記録です。



ここのURLを参考にしてセットアップしました。
http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/XGL

グラフィックアクセラレータが使えることが要件となっていてglxinfoコマンドで確認するための方法がありましたが、VMWare上のUbuntu 6.1.0 上では下記の通り確認できませんでした。

$ glxinfo | grep direct
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  16
  Current serial number in output stream:  17

とりあえず、インストールしてみます。

/etc/apt/sources.listに下記を追加してaptを更新します。

deb http://ubuntu.beryl-project.org/ edgy main-edgy
$ sudo aptitude update
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
Reading state information... 完了            
Reading extended state information      
Initialising package states... 完了
Building tag database... 完了        

...省略...

パッケージリストを読み込んでいます... 完了
W: GPG error: http://ubuntu.beryl-project.org edgy Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 31A5F97FED8A569E
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません

署名を検証するためにPGPキーをダウンロードします。

$ sudo echo && wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -

--10:48:07--  http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg
           => `-'
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 2,415 (2.4K) [application/octet-stream]
100%[====================================>] 2,415         --.--K/s 
10:48:08 (255.90 MB/s) - `-' を保存しました [2415/2415]
OK
$ sudo aptitude update
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
Reading state information... 完了            
Reading extended state information      
Initialising package states... 完了
Building tag database... 完了        

...省略...

Fetched 195B in 6s (31B/s)                                                      
パッケージリストを読み込んでいます... 完了

XGLをインストール

$ sudo aptitude install xserver-xgl
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
Reading state information... 完了            
Reading extended state information       
Initialising package states... 完了
Building tag database... 完了        
The following NEW packages will be automatically installed:
  libglitz-glx1 libglitz1 
The following NEW packages will be installed:
  libglitz-glx1 libglitz1 xserver-xgl 
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1691kB of archives. After unpacking 4567kB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... 完了
Get:1 http://jp.archive.ubuntu.com edgy/main libglitz1 0.5.6-1 [76.6kB]
Get:2 http://jp.archive.ubuntu.com edgy/main libglitz-glx1 0.5.6-1 [29.6kB]
Get:3 http://jp.archive.ubuntu.com edgy/universe xserver-xgl 7.0.0.git.20060725-0ubuntu2 [1585kB]
Fetched 1691kB in 2s (803kB/s)        
未選択パッケージ libglitz1 を選択しています。
(データベースを読み込んでいます ... 現在 89676 個のファイルとディレクトリがインストールされています。)
(.../libglitz1_0.5.6-1_i386.deb から) libglitz1 を展開しています...
未選択パッケージ libglitz-glx1 を選択しています。
(.../libglitz-glx1_0.5.6-1_i386.deb から) libglitz-glx1 を展開しています...
未選択パッケージ xserver-xgl を選択しています。
(.../xserver-xgl_7.0.0.git.20060725-0ubuntu2_i386.deb から) xserver-xgl を展開しています...
libglitz1 (0.5.6-1) を設定しています ...

libglitz-glx1 (0.5.6-1) を設定しています ...

xserver-xgl (7.0.0.git.20060725-0ubuntu2) を設定しています ...
$ 

続いてberylもインストール

$ sudo apt-get install beryl emerald-themes 
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
Reading state information... 完了            
以下の特別パッケージがインストールされます:
  beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings
  emerald libxcomposite1
以下のパッケージが新たにインストールされます:
  beryl beryl-core beryl-manager beryl-plugins beryl-plugins-data
  beryl-settings emerald emerald-themes libxcomposite1
アップグレード: 0 個、新規インストール: 9 個、削除: 0 個、保留: 3 個。
6601kB のアーカイブを取得する必要があります。
展開後に追加で 16.7MB のディスク容量が消費されます。
続行しますか [Y/n]? 

...省略...

beryl-settings (0.1.1-0ubuntu1) を設定しています ...
beryl-manager (0.1.1-0ubuntu2) を設定しています ...
beryl (0.1.1-0ubuntu1) を設定しています ...
emerald-themes (0.1.1-0ubuntu1) を設定しています ...
$ 

beryl-managerを実行すると... 起動に失敗します。(残念)

$ beryl-manager
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  16
  Current serial number in output stream:  17
The application 'emerald' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
beryl-manager: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
$


はてなパーカー欲しい!