<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.5450.4" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>(sorry for my bad english and that I'm newbie and 
lame)</FONT></DIV>
<DIV><FONT face=Arial size=2>I have found solutions for problem what i have 
with debian and wine</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>people who can easly configure 
linux DO NOT read this ;-) this is only for lame users like me who 
have debian and 915gm graphic card</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>my solution to work wine with mesa : </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>0) You have to have debian unstable with all 
dist-upgrades ;-) KDE , xserver-<BR>xorg , gcc 4.1.2, automake, kernel 2.6.17 
compiled and drm and i915 drivers in module and others things nessesery like all 
devel packages to <BR>compile and you have to have root password ;-) (i do not 
remember what i have)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>you have to have in xorg.conf load all modules 
(like dri and others)<BR>and in section Device <BR>   VideoRam 
65535<BR>and at end of xorg.conf<BR>Section "DRI"<BR> Mode 
0666<BR>EndSection</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>all steps I was do from root account</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) first download all agpgart , drm , mesa , and 
xf86-video-intel <BR>   from <A 
href="http://intellinuxgraphics.org/download.html">http://intellinuxgraphics.org/download.html</A>:<BR> so 
in /usr/src folder</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>  wget <A 
href="http://intellinuxgraphics.org/agpgart-2.0-git-master-08092006.tgz">http://intellinuxgraphics.org/agpgart-2.0-git-master-08092006.tgz</A><BR>  
git-clone git://anongit.freedesktop.org/git/mesa/drm<BR>  cvs -d 
:pserver:anoncvs@anoncvs.freedesktop.org:/cvs/mesa checkout Mesa<BR>  
git-clone 
git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2) export CFLAGS="-O2 -m32 -march=pentium-m 
-mtune=pentium-m -mmmx -msse -msse2 (i know that this it not nessesery but ive 
put for sure) -mfpmath=387,sse -fomit-frame-pointer (to make troubles read logs 
by developers ;-) ) -funroll-loops -pipe"<BR>   export 
CXXFLAGS=$CFLAGS</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>3) tar -xvf 
agpgart-2.0-git-master-08092006.tgz<BR>   go in 
agpgart-2.0<BR>   make <BR>   make install<BR>   
(should install agpgart.ko and intel-agp to 
/lib/modules/2.6.17/kernel/drivers/char/agp)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>4) go to drm folder<BR>   
./autogen.sh<BR>   make<BR>   make install</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>5) copy with mc all what is in /usr/local to /usr 
<BR>    and from /usr/local/include/drm to /usr/include/xorg 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>6) This is nessesery cause with drivers from intel 
website mesa wont work !!!!!<BR>   cd linux-core (linux-core is 
in drm folder)<BR>   make<BR>   copy with mc (i like this 
commander) drm.ko and i915.ko to 
/lib/modules/2.6.17/kernel/drivers/char/drm</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>7)  go to Mesa folder<BR>    
and copy with mc from /lib/gcc/i486-linux-gnu/4.1.2/include all to include in 
Mesa <BR>    i do not remeber what i do in Mesa/src/mesa/x86 
(make or run ./gen_matypes) but after all copy all to include in Mesa :D 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>8) modyfy in Mesa/configs linux-dri file 
OPT_FLAGS=-O3 -march ..... and all what we have in CFLAGS at beggin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>9) go to Mesa root and do make 
linux-dri-x86<BR>   and after this do make install</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>10) copy all from /usr/local to /usr and from 
/usr/X11R6/lib/modules/dri all to <BR>/usr/lib/dri and i915_dri.so to 
/usr/lib/xorg/modules/dri</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>11) go to xf86-video-intel 
folder<BR>    ./autogen.sh<BR>    
make<BR>    make install<BR>    exit all X's go to 
console only without any X and copy from /usr/local to /usr 
all</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>12) reboot computer</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>13) if you will have lucky Kde will start and 
glxinfo will show you that you <BR>have direct rendering (if you not have lucky 
you will have to reinstall all linux ;-) )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>14) download wine 0.9.21 and 2 patch's from bug 
6223 , ./compile --prefix=... --enable-opengl ,</FONT></DIV>
<DIV><FONT face=Arial size=2> apply patch to right files and make depend 
&& make , and you have wine with hardware acceleration</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> that way i can run 3dmark2001 , in winecfg 
better is vertex shader set to <BR>hardware (emulate is faster but do not render 
dragon or some characters in <BR>3dmark2001) , do not run advanced pixel shader 
test cause it will crash , but <BR>all without this is running and maybe nature 
test are broken and performance is <BR>1/5 performance in windows 
....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Mike </FONT></DIV>
<DIV><FONT face=Arial size=2>(do not laugh from me because im lame :P 
)</FONT></DIV></BODY></HTML>


<TABLE cellPadding="3" bgColor="#ffffff"><TBODY><TR><TD style="font: 12px Courier New, Courier, monotype.com; padding: 3px; background: #ffffff; color: #000000">------------------------------------------------------------------------ <BR>
Szybko i tanio ubezpiecz samochod!  <BR>
Kupno polisy zajmie Ci 15 minut! Kontakt przez telefon albo Internet.  <BR>
Kliknij i sprawdz: <A href="http://link.interia.pl/f19a0">http://link.interia.pl/f19a0</a></TD></TR></TBODY></TABLE>