Opened 9 years ago

Closed 9 years ago

#3042 closed defect (fixed)

ERROR: Failed to allocate VBO for vertex array

Reported by: brian Owned by: philip
Priority: Must Have Milestone: Alpha 18
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by Stan)

r16295

It seemed that the crash occurred when I clicked on an icon to build a structure. I did not get the usual error dialog; the game just immediately disappeared/stopped.

ERROR: Failed to create VBOs (64*32827) ERROR: Failed to allocate VBO for vertex array

Attached logs and system info (no dump though)

Mostly cause by http://trac.wildfiregames.com/changeset/16241

Attachments (1)

crash_info.zip (49.2 KB ) - added by brian 9 years ago.

Download all attachments as: .zip

Change History (6)

by brian, 9 years ago

Attachment: crash_info.zip added

comment:1 by brian, 9 years ago

Description: modified (diff)

comment:2 by Stan, 9 years ago

#3026 is related, I asked philip' to review it, but still no update.

comment:3 by brian, 9 years ago

Description: modified (diff)

comment:4 by Stan, 9 years ago

Description: modified (diff)

comment:5 by philip, 9 years ago

Owner: set to philip
Resolution: fixed
Status: newclosed

In 16309:

Increase max VBO size back to 4MB.

Some meshes (e.g. pers_gardens_struct with gentangents enabled) have >32K vertexes, and won't fit in a 2MB VBO. r16241 had reduced them from 4MB to 2MB. So just make the VBOs bigger again, and try not to worry about the waste of memory.

Fixes #3026, #3042.

Note: See TracTickets for help on using tickets.