[Bug 6207] 3dmark crash ...

Wine Bugs wine-bugs at winehq.org
Tue Sep 19 07:53:56 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=6207


er123 at interia.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From er123 at interia.pl  2006-19-09 07:53 -------
i had found solution , driver module from intel website no longer work with 
mesa and drm ...

i found that in drm what i have download is linux-core directory like in intel 
drivers so i was try make in it (cause i see taht nothing was in doing) i get 
i915.ko and drm.ko (like from intel drivers) and overwrite in /lib/modules/
2.6.17/kernel/drivers/char ... and now wine with this 2 patch is working like 
old wine ..

so solutions for debian users with KDE and 915gm integrated graphic card who 
wants lastest working drivers for linux: (sorry for my bad english and mistakes 
and that i'm newbie)

0) You have to have debian unstable with all dist-upgrades ;-) KDE , xserver-
xorg , gcc 4.1.2, automake, kernel 2.6.17 compiled and drm and 915 810 830 
drivers in module and others things nessesery like all devel packages to 
compile and you have to have root password ;-) (i do not remember what i have)

you have to have in xorg.conf load all modules (like dri and others)
and in section Device 
   VideoRam 65535
and at end of xorg.conf
Section "DRI"
 Mode 0666
EndSection

all steps I was do from root account

1) first download all agpgart , drm , mesa , and xf86-video-intel 
   from http://intellinuxgraphics.org/download.html:
 so in /usr/src folder

  wget http://intellinuxgraphics.org/agpgart-2.0-git-master-08092006.tgz
  git-clone git://anongit.freedesktop.org/git/mesa/drm
  cvs -d :pserver:anoncvs at anoncvs.freedesktop.org:/cvs/mesa checkout Mesa
  git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel

2) export CFLAGS="-O2 -m32 -march=(something,i have here pentium-m) -
mtune=(like in march) -mmmx (-msse , -msse2 i know that this it not nessesery 
but ive put for sure) -mfpmath=387,sse -fomit-frame-pointer (to make trouble 
developers read logs ;-) -funroll-loops -pipe"
   export CXXFLAGS=$CFLAGS

3) tar -xvf agpgart-2.0-git-master-08092006.tgz
   go in agpgart-2.0
   make 
   make install
   (should install agpgart.ko and intel-agp to /lib/modules/2.6.17/kernel/
drivers/char/agp)

4) go to drm folder
   ./autogen.sh
   make
   make install

5) copy with mc all what is in /usr/local to /usr 
    and from /usr/local/include/drm to /usr/include/xorg 

6) This is nessesery cause with drivers from intel website mesa wont work good
   cd linux-core (linux-core is in drm folder)
   make
   copy with mc (i like this commander) drm.ko and i915.ko to /lib/modules/
2.6.17/kernel/drivers/char/drm

7)  go to Mesa folder
    and copy with mc from /lib/gcc/i486-linux-gnu/4.1.2/include all to include 
in Mesa 
    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 

8) modyfy in Mesa/configs linux-dri file OPT_FLAGS=-O3 -march ..... and all 
what we have in CFLAGS at beggin

9) go to Mesa root and do make linux-dri-x86
   and after this do make install

10) copy all from /usr/local to /usr and from /usr/X11R6/lib/modules/dri all to 
/usr/lib/dri and i915_dri.so to /usr/lib/xorg/modules/dri

11) go to xf86-video-intel folder
    ./autogen.sh
    make
    make install
    exit all X's go to console only without any X and 
          copy from /usr/local to /usr all

12) reboot computer

13) if you will have lucky Kde will start and glxinfo will show you that you 
have direct rendering

14) download wine 0.9.21 and 2 patch's from bug 6223 , ./compile --prefix=... --
enable-opengl , apply patch to right files and make depend && make , and you 
have wine with hardware acceleration

 that way i can run 3dmark2001 , in winecfg better is vertex shader set to 
hardware (emulate is faster but do not render dragon or some characters in 
3dmark2001) , do not run advanced pixel shader test cause it will crash , but 
all without this is running and maybe nature test are broken and performance is 
1/5 performance in windows ....

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list