← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 475429] Re: [i945] Intel 82945G/GZ Integrated Graphics Controller Freezes when compiz enabled

 

I don't use Lucid for now. So I build patched libdrm for my karmic.
I still got freeze, but the problem (below) might be fixed I think.
> In Ubuntu 9.04 the screen lock, but back when the mouse is moved.

I tried to find out the cause of freeze.
First, I run the euphoria as ' strace /usr/lib/xscreensaver/euphoria  --badmath 2>./logd 1>logd2'
Next, 'killall euphoria' after freeze.

logd is below.
ioctl(4, 0xc0086457, 0xbfeade88)        = 0
ioctl(4, 0x4020645d, 0xbfeade80)        = 0
ioctl(4, 0xc0086457, 0xbfeade88)        = 0
ioctl(4, 0x4020645d, 0xbfeae030)        = 0
ioctl(4, 0x4020645d, 0xbfeae050)        = 0
ioctl(4, 0x40286454, 0xbfeae058)        = 0
ioctl(4, 0xc0086457, 0xbfeae008)        = 0
ioctl(4, 0x400c645f, 0xbfeadfc4)        = 0
ioctl(4, 0x4020645c, 0xbfe9e000)        = 0
--- SIGTERM (Terminated) @ 0 (0) ---

ioctl 0x4020645c is executed before killed.
ioctl 0x4020645c is DRM_IOCTL_I915_GEM_PREAD.
ioctl DRM_IOCTL_I915_GEM_PREAD is called by drm_intel_gem_bo_get_subdata in intel_bufmgr_gem.c:856.
I wrote check code to find out that the freeze occred in DRM_IOCTL_I915_GEM_PREAD.

check code:(freeze time count)
      struct timeval tv,tv2;
      long lusec;
      gettimeofday( &tv, NULL );
  ret = ioctl (bufmgr_gem->fd, DRM_IOCTL_I915_GEM_PREAD, &pread);
      gettimeofday( &tv2, NULL );
      lusec = (tv2.tv_sec - tv.tv_sec)*1000000L-tv.tv_usec+tv2.tv_usec;
      printf("%ld¥n", lusec);

log by printf is below.
234
230
255
252
236
251
82744282
256
246
238
242
255

The result indicates that, euphoria is freezed (82 sec) until killed.
It seemed that the freeze is caused by  DRM_IOCTL_I915_GEM_PREAD.

-- 
[i945] Intel 82945G/GZ Integrated Graphics Controller Freezes when compiz enabled
https://bugs.launchpad.net/bugs/475429
You received this bug notification because you are a member of Ubuntu-X,
which is the registrant for xf86-video-intel.



References