Based on Eric Anholt's findings about freezes due to prefetching beyond
end of aperture (b.fd.o 21488), I have done some testing.

With Eric's patch applied in kernel 2.6.30-rc6 I still got the freeze. That 
seemed to make sense: we are using EXA, and the exa offscreen buffer is using 
the last page in aperture. So BO's wouldn't use the last page in our case 
anyways.
Then I patched -intel and pushed back the exa offscreen buffer 4 kB below end 
of aperture (0x0ed3f000-0x0fffefff: exa offscreen). That still gave the freeze.
Then I pushed a bit harder, now by 32MB (0x0cd40000-0x0dffffff: exa offscreen) 
--> No freeze anymore.

The 32MB was not a random choice: it matches the 32 MB classic texture
buffer we had until beginning of April, which was sitting between exa
offscreen and end of aperture. Dropping patch 118_drop_legacy3d.patch,
which removed the (unused) classic texture buffer, also solves the
freeze issue for me. So maybe that patch (dated 1 April) has been the
trigger for this bug?

Now the question is: Is something writing or reading beyond the end of
the exa offscreen buffer? Without the 32 MB unused memory after the exa
offscreen buffer, that would be beyond end of aperture. How can I find
what is doing that?

-- 
[i965] X freezes starting on April 3rd
https://bugs.launchpad.net/bugs/359392
You received this bug notification because you are a member of Ubuntu-X,
which is the registrant for xf86-video-intel.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to