[ Main Page ]

°Ê²¼¤ÎÆâÍÆ¤Ï¡¢¸Å¤¤¤â¤Î¤Ç¤¹¡£¤¯¤ï¤·¤¤¤³¤È¤Ï¡¢Freedesktop.org ¤äDRI@sourceforge¤Ê¤É¤ò»²¾È¤·¤Æ²¼¤µ¤¤¡£


Linux 2.6 ¤Î¤¿¤á¤ÎATI Mach64 XFree86 4.3.0 GLX/Xvideo ¥É¥é¥¤¥Ð

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¤Ê¤É¤Ç¤Ï¤½¤Î¤Þ¤Þ»È¤¨¤Þ¤·¤¿¤¬¡¢ ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï£±¤«¤é¥³¥ó¥Ñ¥¤¥ë¤¹¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¡ÊX¤òΩ¤Á¾å¤²¤é¤ì¤Ê¤±¤ì¤Ð¤â¤Á¤í¤ó¤À¤¬¡¢Î©¤Á¾å¤²¤Æglxinfo¤È¥¿¡¼¥ß¥Ê¥ë¤«¤éÆþÎϤ·¤¿»þ¤Ë

teru@server:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
...

¤È¤¤¤¦É½¼¨¤¬¤µ¤ì¤º

teru@server:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
...

¤Ç¤¢¤ì¤ÐΩ¤Á¾å¤¬¤Ã¤Æ¤¤¤Æ¤âDRI¤Ï¤Ç¤­¤Æ¤¤¤Þ¤»¤ó¡£ ¡Ë
¤½¤Î¾ì¹ç¤Î¼ê½ç¤òÀâÌÀ¤·¤Þ¤¹¡£ ¤Þ¤ºX¤Î¥½¡¼¥¹¤ò¤¹¤Ù¤Æ¼ê¤ËÆþ¤ì¤Þ¤¹¡£¡Ê¤â¤·¤«¤·¤¿¤éɬÍפʤ¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ distribution¤Î¾õÂ֤ˤè¤Ã¤Æ°Û¤ë¤è¤¦¤Ç¤¹¡£¡Ë
¼¡¤Ë¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ÇCVS¤«¤é¥Õ¥¡¥¤¥ë¤ò¤È¤Ã¤Æ¤­¤Þ¤¹¡£ ¤Þ¤ºlogon¤·¤Þ¤¹¡£

teru@server:~$ cd /tmp ¡ÊDownload¤·¤¿¤¤DIR¤Ë°Üư¡Ë
teru@server:/tmp$ cvs -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri login
Logging in to :pserver:anonymous@cvs.dri.sourceforge.net:2401/cvsroot/dri
CVS password: ¡Ê¤½¤Î¤Þ¤ÞEnter¡Ë

¼¡¤Ë¥Õ¥¡¥¤¥ë¤ò¼è¤ê¤Þ¤¹¡£

teru@server:~$ cvs -z3 -d:pserver:anonymous@cvs.dri.sourceforge.net:/cvsroot/dri co -r mach64-0-0-5-branch xc

¤³¤ì¤Ç¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë./xc/xc¤È¤·¤Æ¥À¥¦¥ó¥í¡¼¥É¤µ¤ì¤Þ¤¹¡£
¼¡¤Ëpatch¤òdownload¤·¤Þ¤¹¡£ Unified DRI and XVideo Support for Mach64 ¤Ç¡¢²¼¤Î¤Û¤¦¤Î

Patch and Binaries for mach64-0-0-6-branch (XFree86 4.3.0)
Source patch: mach64-dri-xv-20030331.diff.gz

Patch and Binaries for mach64-0-0-5-branch (XFree86 4.2.0):
Source patch: mach64-dri-xv-20020917.diff.gz

¤«¤édownload¤·¤Þ¤¹¡£¼¡¤Ë ./xc/programs/Xserver/hw/xfree86/drivers/ati¤Ë°Üư¤·¤Æ

teru@server:/tmp/xc/xc/programs/Xserver/hw/xfree86/drivers/ati$ zcat (patch filename)|patch -p1

¤Ê¤ê¤·¤Þ¤¹¡£ ¤¢¤È¤Ï./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

So far, all is well. We have a de-facto standard for headphone jacks here. The
written spec is not complete and not adequate, but anybody who wants to make a
compatible headphone just has to plug it into your personal stereo device and
test it, and if it works, all is well, they can sell it, and it will work.

Until you decide to make a new version, the Qxyzrhjjjjukltk 2.0.

The Qxyzrhjjjjukltk 2.0 is going to include a telephone (turns out Marslings
didn’t figure out cell phones on their own, either) and the headphone is going
to have to have a built-in microphone, which requires one more conductor, so
you rework the connector into something totally incompatible and kind of ugly,
with all kinds of room for expansion: Completely different 25-conductor
connectorAnd the Qxyzrhjjjjukltk 2.0 is a complete and utter failure in the
market. Yes, it has a nice telephone thing, but nobody cared about that. They
cared about their large collections of headphones. It turns out that when I
said Marslings are very particular about the color of things that they stick
in their ears, I meant it. Most trendy Marslings at this point have a whole
closet full of nice headphones. They all look the same to you (red), but
Marslings are very, very finicky about shades of red in a way that you never
imagined. The newest high-end apartments on Mars are being marketed with a
headphone closet. I kid you not.

    -- Joel Spolsky
    -- Martian Headsets ( http://www.joelonsoftware.com/items/2008/03/17.html )

 <sussman>  you need to use gdb in a real IDE, like emacs, or ddd.
 <sussman>  something that shows a pointer moving down your code.
 <rindolf>  sussman: IDEs are for wimps... ;-)
 <rindolf>  Seriously, sometimes invoking gdb is very quick and I'm
            accustomed to it.
 <rindolf>  ddd is quite on the heavy side.
 <rindolf>  "Programming happens in the mind, not in the IDE" --- Gil'ad
            Ben-Yossef
 <rindolf>  So does debugging.
 <sussman>  sure.
 <sussman>  why would you possibly want to see all your code at once?
 <sussman>  it's much easier to see single lines printed out and try to
            remember what the function looks like. :-)
 <rindolf>  ed, anyone? ;-)
 <rindolf>  "I wanna use ex and I wanna use vee (=vi). Ed is dead, ed is
            dead, baby!"
 <sussman>  "Ed is for people who can *remember* what they're working on."
         *  jackr remembers when he could remember what he was working on.
            Sometimes.

    -- #svn, Freenode


Powered by UNIX fortune(6)
[ Main Page ]