On 23-03-2017 18:19, Mauro Santos wrote:
> On 23-03-2017 17:50, T. Modes wrote:
>>  Hi Mauro,
>>
>>      I've called it with:
>>      nona -d -g -o out hugin_project.pto
>>
>>
>> that's sufficient.
>> (If you want the exact command line as used by hugin run "hugin_executor
>> --stitching --dry-run project.pto". This will print all commands invoked
>> by the stitching engine.)
>>
>>     maxTextureSize=16384
>>     Source chunks:
>>         [(0, 0) to (5184, 3456) = (5184x3456)]
>>     Dest chunks:
>>         [(0, 0) to (2456, 2870) = (2456x2870)]
>>         [(2456, 0) to (4912, 2870) = (2456x2870)]
>>     Total GPU memory used: 435555008
>>
>>
>> I think the problem is here. The driver reports a maximum texture size
>> of 16384 (pixel), but fails to reserve about 420 MB GPU memory.
>> How much memory have your graphic card? (For AMD/ATI and NVIDIA graphic
>> cards Hugin can retrieve the memory size, but not for Intel cards. For
>> these a fixed memory size of 512 MB is assumed.)
> 
> The intel card is an integrated GPU so the memory is shared with the
> system (which has 16GiB of ram).
> 
>>From the dmesg output the intel card should be able to use up to 4GiB of
> ram ("[drm] Memory usable by graphics device = 4096M") but I don't know
> of any way to actually test if this is true.
> 
> I have tested smaller images, which works fine with both cards as I've
> said in my original post, and the allocated memory is the same for both
> cards, but there is only one "Dest chunks" for both cases, as opposed to
> two for the intel card when it fails (I don't know if that matters).
> 
> Logs for a working case are attached just in case it helps in any way.
> 

I have been doing some digging and some tests, here's what I have found.

Regarding not being able to allocate memory, shouldn't the error be
0x505? See [1,2].

I have tried running a benchmark (unigine valley) with both the amd and
intel cards. For the amd card I can easily monitor the vram usage, and
with the settings I've used the vram usage was around 1GB.

I have used the same settings for the intel card and the benchmark ran
just without problems, I did not get errors about not enough memory if
that means anything.

[1] https://www.khronos.org/opengl/wiki/OpenGL_Error
[2] https://www.khronos.org/opengl/wiki/GLAPI/glGetError

-- 
Mauro Santos

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/21b9e656-c7d2-0b6a-28d0-44821759f717%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to