Linux 2.6が出てから結構経ちますが、昔の3Dカードのサポートは段々減ってくるようで、ちょっと寂しいですね。
自分の持っている機械のグラフィックは、ATI 3D Rage Proというもので、まだまだ
現役ですが、GLX/Xvideoのドライバはもう配布されていないようです。
そこで、昔
Unified DRI and XVideo Support for Mach64で手にいれたLinux 2.4用のドライバをちょっと書き直して、
Linux 2.6で使えるようにしました。バグなどがあったら報告いただけると
幸です。
Mach64 Linux 2.2.x/2.4.x
Mach64 Linux 2.6.0-testx
上のドライバはXFree86のバージョンが4.3.0のためのものです。自分の使っているSlackware-9.0などではそのまま使えましたが、 それ以外の場合は1からコンパイルする必要があるかもしれません。 (Xを立ち上げられなければもちろんだが、立ち上げてglxinfoとターミナルから入力した時に
という表示がされず
であれば立ち上がっていてもDRIはできていません。
)
その場合の手順を説明します。
まずXのソースをすべて手に入れます。(もしかしたら必要ないかもしれません。
distributionの状態によって異るようです。)
次に、以下のコマンドでCVSからファイルをとってきます。
まずlogonします。
次にファイルを取ります。
これでカレントディレクトリに./xc/xcとしてダウンロードされます。
次にpatchをdownloadします。
Unified DRI and XVideo Support for Mach64
で、下のほうの
からdownloadします。次に ./xc/programs/Xserver/hw/xfree86/drivers/atiに移動して
なりします。
あとは./xc/xcに移動して適当にXのソースのパスを設定して
make Worldしてmake installすればいいはずです。設定は
必要ないかもしれません。(もしエラーが起きたなら、make -i
で一通りインストールして後述のパッチつきのモジュールを
組み込めば良いでしょう。)
何か問題があれば、configなどを探して直すしかありません。
distributionによって違うことがあるので一概にはいえません。
どうしてもわからない時はメールを下さればお答え出来るかもしれません。
ところで、先ほどはmach64-0-0-5-branchをダウンロードしましたが、
最新はmach64-0-0-6-branchなので、書き換えれば
最新のが手に入ります。しかし、この2つは似ているようで
DRIマネージャの書き方が大きく違うために同じDRMカーネルモジュールでは
動きません。
附属しているものを基本的には使って下さい。
(make installでinstallされるが念のため
言っておくと./xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
にある。ここでコンパイルされる。)
Linux-2.6.Xでは
最新でもDRMカーネルモジュールはコンパイルできなかったので
そのためにちょっと書換えたファイルを置いておきます。
つかいかたは両方共に、ディレクトリに入ってmake -f Makefile.mach64で
済むようにしてあります。できたmach64.koを
insmodしてやればあとはXを立ち上げるだけです。
directoryには別のcardのdriverもありますがcompileは保証しません。
また、注意点として、mach64-0-0-5では実行できるOpenGLプログラムがmach64-0-0-6では実行できない事があります。
このため前者の使用を推薦しますが、これはおそらくメモリがたりないからなのでしょう。
Linux-2.6.Xのためのmach64-0-0-X-branchのpatched kernel drm driver
for mach64-0-0-5
for mach64-0-0-6
<<<
<<<
4. One of my friends works in a software development house who has an NT
server farm that needs to have close to 100% uptime and operationality.
Needless to say, they have top-of-the-class admins, and also make use of
scripting, the command line, command automation, etc. a lot. Most NT sys
admins don't know anything about the NT command line, much less about
scripting and automation.
>>>
Welcome to the real world with *real* MS sysadmins. Those who script,
automate, write code, know a thing or two about security and the underlying
technology. You know... professionals.
Please, please, do not tag those other "MCSE wannabes" with "Systems
Administrator" title. People that hardly know how to administer couple servers
and dozen workstations in my world are hardly called "operators" (and the same
stands in Linux world)
>>>
"operators". It's been a long time since I saw this word used anywhere. In
fact, I think the first and only time I saw it so far was in the story "The
Bastard Operator from Hell". (which is a highly recommended read).
But we need a common word for both sys-admins and "operators".
-- Shlomi Fish and Guy Teverovsky
-- Linux-IL: "Re: Cost-Efficiency of Unix and Windows Admins" ( http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg41179.html )
<darix> oooooooooooooooooooooh noooooooooooooo
<rindolf> darix: what's wrong?
<rindolf> What's wrooooooooooooooooooooooooooong
<darix> rindolf: sussman is gone.
<rindolf> I can speak whale.
<rindolf> Caaaaaaaaaan yoooooooouuuuuuu speaaaaaaaakkkkkkkk
whaaaaaaaaaaaale?
<edmund> ha ha
-- #svn, Freenode