Re: [Gimp-developer] GIMP 2.10 Unable to read tile data from swap

On Wed, 2 May 2018 15:04:01 -0400
Partha Bagchi <partha1b gmail com> wrote:

On Wed, May 2, 2018 at 2:18 PM, Øyvind Kolås <pippin gimp org> wrote:

GEGL has stopped enabling opencl by defult now, since GEGL-0.3.24 of
2017-11-24 it no longer being enabled by default since it relies on
good results from the varying quality different opencl
implementations,.. may also have generic race conditions resulting
from new code not manifest during regular testing either, so trying
without OpenCL enabled.

I removed the above environment variable but no change with my 36MP
image. The moment I put the brush on the screen, I get the error
messages above.

Then I experimented with some more pictures and it seems to be
related to the size of the image.

I open a 1 megabyte (MB), and 4MB image and no error. Then I open a
74MB image without error. But when I opened an 300 MB Tiff, I started
getting the error.

I repeated the experiment with GEGL_CACHE_SIZE = 2048 with the same

For all all images, I first fit to window > duplicate layer > paint on
duplicate layer.

My guess is that this is related to the zoom level (being <= 50%),
rather than to the size of the image per se.  There were some changes
to the mipmapped tiles code recently, and there was indeed a subtle bug
there.  GEGL commit 3557811a5527bccbfef2006046a05047b6edd480 should fix

Note that the actual bug was the swap being used in the first place.
I'm still not sure why you're getting read errors, though.  Since the
swap shouldn't be used anymore (in this particular case) after the
above commit, the errors will probably go away, but the issue causing
them might still be there.  I'd try to set a very low cache size, in
order to force the swap to become very active, and see if you're
getting any more errors.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]