<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 3, 2014 at 8:59 PM, Vasily Khoruzhick <span dir="ltr"><<a href="mailto:anarsoul@gmail.com" target="_blank">anarsoul@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to use beignet with darktable, but darktable complains like that:<br>
<br>
[opencl_init] discarding device 0 `Intel(R) HD Graphics IvyBridge GT1'<br>
due to insufficient global memory (128MB).<br>
<br>
AFAIK it requires at least 768MB.<br>
<br>
I tried to rise max_mem_alloc_size and global_mem_size from<br>
cl_gt_device.h to 768mb, but it won't help much, with beignet-0.8 it<br>
fails to spill registers, and with git master darktable just crashes<br>
(I didn't check why, I'm not familiar neither with darktable source<br>
code nor beignet source code).<br>
<br>
Are there any reason to keep memory limits at so low rate?<br></blockquote><div> No special reason to keep it that low. We will increase it latter. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Are beignet devs interested in making darktable work with beignet?<br></blockquote><div> Sure, I just installed darktable 1.2.3 on my ubuntu 13.10 x64 system.</div><div> And I increased the max_mem_alloc_size/global_mem_size to 1GB</div>
<div> memory. Then I started the darktable as below:</div><div> # darktable -d opencl</div><div> From the log, I found the opencl is loaded successfully and it works well.</div><div> The only big difference from your environment is that you are using a GT1 device,</div>
<div> but I am using a GT1. I will try to find a GT1 device to check whether it has</div><div> the same issue you met.</div><div> And if you could provide a back trace of the crash, it may helpful to identify what's</div>
<div> going wrong there.</div><div><br></div><div> Thanks for reporting this issue.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks!<br>
<br>
Regards<br>
Vasily<br>
_______________________________________________<br>
Beignet mailing list<br>
<a href="mailto:Beignet@lists.freedesktop.org">Beignet@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/beignet" target="_blank">http://lists.freedesktop.org/mailman/listinfo/beignet</a><br>
</blockquote></div><br></div></div>