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"

"RenderQuery Result" What is it?

This is under Render Thread, FDrawscenecommand, RenderViewFamily, InitViews, View Visibility, Occlusion Cull, Fetch Visibility for primitives, and there it is "RenderQuery Result" and it's costing me 8ms.

What is it, and how do I go about optimizing the problem? My scene is fairly simple and consists of a small landscape with a material and grass as Foliage, I assume it has something to do with the grass.

alt text

HZBOcclusion is turned off, when enabled my FPS/GPU performance is reduced but DRAW no longer matches GPU times. GPU bottleneck instead?

[Specs i7 4790k, 16gb RAM, FuryX]

Product Version: UE 4.14
more ▼

asked Feb 02 '17 at 07:35 PM in Rendering

avatar image

83 8 10 14

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

3 answers: sort voted first

Did you ever find a solution? I have a similar issue with my game on lower end PCs, RenderQuery Result is costing a wopping 28-30ms.

more ▼

answered Nov 08 '17 at 07:01 PM

avatar image

48 7 10 19

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

When you disable HZB occlusion, the engine falls back to the GPU occlusion query, which "renders“ the bounding box of each primitive in scene to the GPU pipeline to see how many pixels of the primitive will end up on the scene. If the pixel count is 0, the primitive is treated as occluded. There might be some stalls related to the queries.

HZB is GHZBOcclusion and the platform by this line bool bHZBOcclusion = (!IsOpenGLPlatform(GShaderPlatformForFeatureLevel[Scene->GetFeatureLevel()]) && GHZBOcclusion) || (GHZBOcclusion == 2); in the function static int32 OcclusionCull(FRHICommandListImmediate& RHICmdList, const FScene* Scene, FViewInfo& View) located in SceneVisibility.cpp

For more information on GPU occlusion, you can check out this page http://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch29.html

more ▼

answered Jan 24 '18 at 09:34 AM

avatar image

Zhao Qingyou
21 1 1

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

RenderQuery Result is when the render thread stalls waiting for the GPU to finish the Occlusion Query, and return the results to the render thread, so that it knows what to render.

At the same time, the game thread is stalled waiting for the render thread.

This can be turned on or off with the console command


0 - off 1 - on

more ▼

answered Dec 12 '18 at 06:48 PM

avatar image

29 1 5

(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