mach64 - dri2 trouble
Fred Scali <[email protected]> Sun, 24 Feb 2008 11:13:58 +0000 (GMT)
| Newsgroups | gmane.comp.video.dri.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0179137717==
Content-Type: multipart/alternative; boundary="0-1754127061-1203851638=:59712"
--0-1754127061-1203851638=:59712
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,=0A=0Ajust a word to say George is right! (Thank you again, George)=0A=
=0AOn a fresh Ubuntu Gutsy, you just have to get the necessary packages lik=
e this:=0A=0Asudo apt-get install git-core autoconf automake libtool (that =
bring 6 other needed packages with)=0A=0Athen=0A=0Agit clone git://anongit.=
freedesktop.org/git/mesa/drm=0A=0Athen=0A=0Acd drm/linux-core=0A=0Amake DRM=
_MODULES=3D"mach64" (you don't need the others modules and a new drm.ko is =
automatically made)=0A=0Athen=0A=0Asudo cp *.ko /lib/modules/(uname -r)/ker=
nel/drivers/char/drm =0A(that will copy mach64.ko AND the new drm.ko -save =
before the old drm.ko if you are anxious =3D ; )=0A=0Aand at last=0A=0Asudo=
depmod -a=0A=0ANow, save a copy of your xorg.conf and edit it likes this:=
=0A=0A#load the modules=0A=0ASection "Module"=0A Load "glx"=0A Load "=
dri"=0AEndSection=0A=0A#allow all users=0A=0A=0ASection "DRI"=0A Mode 06=
66=0AEndSection=0A=0A#disable AIGLX and Composite (this card CAN'T handle i=
t correctly!!!)=0A=0ASection "ServerFlags"=0A Option "AIGLX" =
"off"=0AEndSection=0A=0ASection "Extensions"=0A Option "Compos=
ite" "Disable"=0AEndSection=0A=0ARestart X et voila: Direct Rendering: Yes=
and glxgears around 300 fps (the best this card can make...) =3D : ) =3D =
: ) =3D : )=0A=0AThis could work for others distributions, if not, one can =
try to found which part is too old / to new or try to make the Mesa part, b=
ut with a version older than the 02/15/2008, when the DRI2 was commited. Or=
wait that the bug is solved...=0A=0ARegards to all the dri-users.=0AFSW=0A=
=0A=0A=0A=0A _________________________________________________________=
____________________ =0ANe gardez plus qu'une seule adresse mail ! Copiez v=
os mails vers Yahoo! Mail http://mail.yahoo.fr
--0-1754127061-1203851638=:59712
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:times new roman,new york,times,serif;fon=
t-size:12pt"><div><pre>Hi,<br><br>just a word to say George is right! (Than=
k you again, George)<br><br>On a fresh Ubuntu Gutsy, you just have to get t=
he necessary packages like this:<br><br>sudo apt-get install git-core autoc=
onf automake libtool (that bring 6 other needed packages with)<br><br>then<=
br><br>git clone git://anongit.freedesktop.org/git/mesa/drm<br><br>then<br>=
<br>cd drm/linux-core<br><br>make DRM_MODULES=3D"mach64" (you don't need th=
e others modules and a new drm.ko is automatically made)<br><br>then<br><br=
>sudo cp *.ko /lib/modules/(uname -r)/kernel/drivers/char/drm <br>(that wil=
l copy mach64.ko AND the new drm.ko -save before the old drm.ko if you are =
anxious =3D ; )<br><br>and at last<br><br>sudo depmod -a<br><br>Now, save a=
copy of your xorg.conf and edit it likes this:<br><br>#load the
modules<br><br>Section "Module"<br> Load "glx"<br> Load "dri"<br>End=
Section<br><br>#allow all users<br></pre><span class=3D"anchor" id=3D"line-=
35"></span><span class=3D"anchor" id=3D"line-36"></span><p class=3D"line867=
">=0A</p>Section "DRI"<span style=3D"font-family: monospace;"><br> &nb=
sp; </span>Mode 0666<span style=3D"font-family: monospace;"><br></spa=
n>EndSection<br><br>#disable AIGLX and Composite (this card CAN'T handle it=
correctly!!!)<br><br>Section "ServerFlags"<br> &nbs=
p; Option "AIGLX" "of=
f"<br>EndSection<br><br>Section "Extensions"<br> &nb=
sp; Option "Composite" =
; "Disable"<br>EndSection<br><br>Restart X et voila: Direct Rendering: Yes =
and glxgears around 300 fps (the best this card can make...) =3D : ) =
=3D : ) =3D : )<br><br>This could work for others distributions, if not, on=
e can try to found which part is too old / to new or try to make the Mesa p=
art, but with a version older than the 02/15/2008, when the DRI2 was commit=
ed. Or wait that the bug is solved...<br><br>Regards to all the
dri-users.<br>FSW<br></div></div><br>=0A=0A=0A=0A <hr size=3D"1"> =0A=
Ne gardez plus qu'une seule adresse mail ! <a href=3D"http://fr.rd.yahoo.co=
m/mail/mail_taglines/trueswitch/SIG=3D11gshn0bu/**http%3A%2F%2Fwww.trueswit=
ch.com%2Fyahoo-fr%2F">Copiez vos mails</a> vers Yahoo! Mail </body></html>
--0-1754127061-1203851638=:59712--
--===============0179137717==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0179137717==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
_______________________________________________
Dri-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-users
--===============0179137717==--