x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Vertex Buffer 2GB size limit?

There appears to be a 2GB limit per Vertex Buffer object, and as soon as it's reached no primitives belonging to this VB are being rendered. Running stat rhi still shows correct number of primitives drawn, draw calls, VRAM usage of VB and IB, etc. but nothing is actually visible.

This is reproducible even if the VB is not fully populated with the usable data. If you, for example, allocate 100MB to the VB, then populate the whole 100MB of it with data, it renders just fine. But if you then change the allocation size to above 2GB, leaving everything else intact, you get nothing rendered.

Am I missing something?

EDIT: Correction: they all render without material (pure black), cramped on top of each other at [0,0,0], even tho, stat rhi doesn't report them as such, judging by the numbers it shows.

alt text The plane at the bottom is just few polys, used purely as orientation reference

Product Version: Not Selected
Tags:
vb2gb.jpg (231.4 kB)
more ▼

asked Jul 25 '18 at 03:49 PM in Rendering

avatar image

phoboz
1k 38 13 60

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Try running with -d3ddebug. I suspect you're just hitting the limits of what d3d11 allows for buffer sizes. -d3ddebug should dump to the log when you're attached with visual studio and let you know if something is wrong there.

https://docs.microsoft.com/en-us/windows/desktop/direct3d11/overviews-direct3d-11-resources-limits

more ▼

answered Jul 28 '18 at 01:37 AM

avatar image

Waurelius STAFF
21 2 1

avatar image phoboz Jul 28 '18 at 05:39 AM

Thanks for that, will check when I get to the machine. But consulting the link it does indeed look like there's a hard cap of 2048 MB (or 25% of ded VRAM) hard limit per resource. This is going to seriously mess up my plans. Also, I thought it was d3d12, good to know.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question