airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
200 stars 11 forks source link

Error #3672: Buffer creation failed #2054

Closed shaymolho closed 1 year ago

shaymolho commented 2 years ago

Using latest air (929) and emulator

[Starling] Context ready. Display Driver: DirectX11 (Standard Extended)

also running with swf-version=38

I get either Error #3672: Buffer creation failed or even the emulator crashes with only error: out of memory this reproduces every time I click on a popup that works for other people in my team. @ajwfrost please advise, and i'll be happy to give more logs and info

ajwfrost commented 2 years ago

This may be another indication that something's not right with AIR using some recent/updated Direct3D 11 drivers. We'll come back to you to try to find out what's actually going wrong, but can you check that it would work okay if you add a line to your application descriptor file:

    <windows><maxD3D>9</maxD3D></windows>

See #1963

thanks

shaymolho commented 2 years ago

sure I'll give it a try and update under what element should i add this line? @ajwfrost

shaymolho commented 2 years ago

also, in another emulator we see it running with direct 9 [trace] [Starling] Context ready. Display Driver: DirectX9 (Standard Extended)

swf-version=43 and still we get out of memory error

shaymolho commented 2 years ago

@ajwfrost any idea?

ajwfrost commented 2 years ago

@shaymolho sorry for the delay, but this sounds like a different issue from that DirectX 11 one... do you see any hints as to buffer creation sizes or similar, if you run with Adobe Scout?

It sounds like it may be trying to allocate buffers that are too large so if you're able to also trace out the size of the pop-up window before it's created (if that's possible?) it could be handy. Am hoping you're not using Flex, so could you confirm how you're creating this pop-up window? is it a secondary NativeWindow object?

thanks

eyal-katz commented 1 year ago

@ajwfrost what do you mean by “allocate buffers that are too large” ?

We’re only uploading ATF (etc2) textures to GPU… no other special stuff… our textures are 2048 max

We’re running plain AIR, no Flex.

This issue suddenly became more prevalent in the last two days - ADLs that ran perfectly fine suddenly started to crash

shaymolho commented 1 year ago

the problem was solved by running emulator with adl.exe 64 bit rather than adl.exe 32 bit