On Mon, 16 Jun 2008 08:02:18 +0200 Brice Goglin wrote:

> Francesco, the upstream developer wants you to try one patch. It has
> been applied to the upstream mesa_7_0_branch after I released Debian
> 7.0.3-2. So you can either checkout this branch from this upstream git
> repo, or get the Debian source (apt-get source mesa) and apply it (from
> [1]).
> 
> Once you have the source, you need to get the build dependencies:
>   apt-get build-dep mesa
> And then build the DRI driver with
>   make linux-dri DRI_DIRS=i965

I followed the described steps and got the following make errors:

  $ make linux-dri DRI_DIRS=i965
  [...]
  gcc -c -I../../../include -I/usr/X11R6/include -Wall -Wmissing-prototypes 
-std=c99 -ffast-math -O -g -fPIC  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L 
-D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS 
-DHAVE_POSIX_MEMALIGN  -fno-strict-aliasing -fexceptions glut_cindex.c
  gcc -c -I../../../include -I/usr/X11R6/include -Wall -Wmissing-prototypes 
-std=c99 -ffast-math -O -g -fPIC  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L 
-D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS 
-DHAVE_POSIX_MEMALIGN  -fno-strict-aliasing -fexceptions glut_cmap.c
  glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory
  glut_cmap.c: In function ‘__glutSetupColormap’:
  glut_cmap.c:230: warning: implicit declaration of function 
‘XmuLookupStandardColormap’
  make[3]: *** [glut_cmap.o] Error 1
  make[3]: Leaving directory `/home/frx/tmp/TEMP/mesa-7.0.3/src/glut/glx'
  make[2]: *** [subdirs] Error 1
  make[2]: Leaving directory `/home/frx/tmp/TEMP/mesa-7.0.3/src'
  make[1]: *** [default] Error 1
  make[1]: Leaving directory `/home/frx/tmp/TEMP/mesa-7.0.3'
  make: *** [linux-dri] Error 2

> 
> Then you should have i965_dri.so in
>   src/mesa/drivers/dri/i965/i965_dri.so

Anyway, this file was successfully generated.
So I did test stonerview with this library.

> 
> You can test it with
>   LIBGL_DRIVERS_PATH=$PWD/src/mesa/drivers/dri/i965/ <yourprogram>
> Adding LIBGL_DEBUG=verbose will also display some debugging messages if
> you want to check that the right i965_dri.so is being used.

  $ LIBGL_DRIVERS_PATH=$PWD/src/mesa/drivers/dri/i965/ LIBGL_DEBUG=verbose 
/usr/lib/xscreensaver/stonerview > ../stoner.out 2> ../stoner.err

And I was *not* able to reproduce the bug.
No crash at all, even after about 30 min of stress tests (with huge
amount of xterm windows opened in front of the stonerview window and
then closed).

stoner.out is empty, stoner.err is attached to this message.

So, yes, it really seems that mesa/7.0.3-2 Debian package with the
patch [1] applied fixes the bug!

Thanks to all involved people for fixing this issue.
Now, I am really looking forward to seeing this bugfix in Debian!


> [1]
> http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=commitdiff_plain;h=82a0e82232d61a75fee39d50333016d78938450f;hp=03447de338158cca962880fd04d7d3ecf4bd9c5b
> 
> -------- Original Message --------
> Subject:      [Bug 15057] lockup with i915_wait_irq ERROR
> Date:         Sun, 15 Jun 2008 19:33:25 -0700 (PDT)
> From:         [EMAIL PROTECTED]
> To:   [EMAIL PROTECTED]
> 
> 
> 
> http://bugs.freedesktop.org/show_bug.cgi?id=15057
> 
> 
> 
> 
> 
> --- Comment #6 from haihao <[EMAIL PROTECTED]>  2008-06-15 19:33:25 PST ---
> Could you try the commit 82a0e82232d61a75fee39d50333016d78938450f?
> So far I can't reproduce it.



-- 
 http://frx.netsons.org/doc/index.html#nanodocs
 The nano-document series is here!
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

libGL: XF86DRIGetClientDriverName: 1.9.0 i965 (screen 0)
libGL: OpenDriver: trying 
/home/frx/tmp/TEMP/mesa-7.0.3/src/mesa/drivers/dri/i965//i965_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error: 
Can't open configuration file /etc/drirc: No such file or directory.
libGL error: 
Can't open configuration file /home/frx/.drirc: No such file or directory.
stonerview: warning: blocked event processing for 2.5 secs!
stonerview: warning: blocked event processing for 2.3 secs!
stonerview: warning: blocked event processing for 1.7 secs!
stonerview: warning: blocked event processing for 2.3 secs!
stonerview: warning: blocked event processing for 3.7 secs!
stonerview: warning: only 2% idle over the last 10 secs (at 0.9 FPS)
stonerview: warning: blocked event processing for 3.4 secs!
stonerview: warning: blocked event processing for 2.2 secs!
stonerview: warning: only 2% idle over the last 10 secs (at 1.1 FPS)
stonerview: warning: blocked event processing for 1.6 secs!
stonerview: warning: blocked event processing for 2.4 secs!
stonerview: warning: blocked event processing for 3.4 secs!
stonerview: warning: blocked event processing for 3.4 secs!
stonerview: warning: only 2% idle over the last 13 secs (at 1.2 FPS)
stonerview: warning: blocked event processing for 5.2 secs!
stonerview: warning: blocked event processing for 2.7 secs!
stonerview: warning: blocked event processing for 9.9 secs!
stonerview: warning: only 3% idle over the last 18 secs (at 1.5 FPS)
stonerview: warning: blocked event processing for 6.9 secs!
stonerview: warning: blocked event processing for 3.4 secs!
stonerview: warning: only 6% idle over the last 13 secs (at 2.8 FPS)
stonerview: warning: blocked event processing for 14.9 secs!
stonerview: warning: only 1% idle over the last 16 secs (at 0.3 FPS)
stonerview: warning: blocked event processing for 18.3 secs!
stonerview: warning: only 0% idle over the last 18 secs (at 0.1 FPS)
stonerview: warning: blocked event processing for 14.5 secs!
stonerview: warning: only 0% idle over the last 15 secs (at 0.1 FPS)
stonerview: warning: blocked event processing for 3.6 secs!
stonerview: warning: blocked event processing for 12.1 secs!
stonerview: warning: only 6% idle over the last 14 secs (at 3.2 FPS)
stonerview: warning: blocked event processing for 1.6 secs!
stonerview: warning: blocked event processing for 2.6 secs!
stonerview: warning: only 10% idle over the last 10 secs (at 5.0 FPS)
stonerview: warning: blocked event processing for 1.6 secs!
stonerview: warning: blocked event processing for 1.8 secs!
stonerview: warning: blocked event processing for 2.0 secs!
stonerview: warning: blocked event processing for 1.7 secs!
stonerview: warning: blocked event processing for 2.1 secs!
stonerview: warning: blocked event processing for 1.9 secs!
stonerview: warning: blocked event processing for 2.6 secs!
stonerview: warning: blocked event processing for 1.6 secs!
stonerview: warning: blocked event processing for 2.6 secs!

Attachment: pgpFzT2o6UT0t.pgp
Description: PGP signature

Reply via email to