Page MenuHome

Box selection not working with Intel HD Graphics 620
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) HD Graphics 620 Intel 4.5.0 - Build

Blender Version
Broken: version: 2.80 (sub 51), branch: blender2.7, commit date: 2019-03-22 21:47, hash: rBfaecac0b5e14
Worked: (optional)

Short description of error
Selection box doesn't seem to work

Exact steps for others to reproduce the error
I'm doing the following:

  • Starting Blender 2.8 (using the default blend file - also deleted the default settings to let blender create a new one)
  • I make a duplicate of the default Cube (shift+d) and put it to an other place.
  • I click with the mouse inside the 3D view and draw a selection box

Result: only the last selected object + the light will be selected. If I click to the camera (to select it), deselect all and try to select all using the selection box, only the camera and the light will be selected. Even if the two cubes are inside the box. If I select on of the cubes (by clicking on it), deselect all and draw a box, only that cube and the light will be selected, even if the camera and the other cube had been sorrunded by the selection box.

It doesn't matter whether I'm in the projection or orthogal view. But now comes the funny part: The lasso selection works fine. And, If I test it on another system than the one printed below, I works fine, too.

What can I do to help you find that problem?

Revisions and Commits

Event Timeline

This comment was removed by Marco (nacioss).
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.Mar 26 2019, 3:53 PM

Does this still happen with the latest GPU drivers?

I've made a simple recording showing what I'm doing. As you can see, I deleted the properties to have a clean setup. And the only thing always selected is the light. For the rest, only the last active item (one of the boxes or the camera) will be selected. When changing to lasso mode, every thing works fine.

About the video driver - well, I'v the latest my laptop manufactor offers to me (which sadly isn't the realy up-to-date from intel). Don't know if this makes a difference. I also deselected the open "OpenGL Depth Picking" for Viewport - Selection in the settings. Don't know if that has something to do with workarround for driver related problems here.

This comment was removed by Brecht Van Lommel (brecht).
This comment was removed by Brecht Van Lommel (brecht).
This comment was removed by Brecht Van Lommel (brecht).

@-- (zgorg), if you can't behave professionally your account will be suspended, this is your last warning.

No one closed your report, all we did was deduplicate reports since you reported the same bug 3 times while the first report was still open.

@Marc (SchodMC) usually drivers from the OEM is outdated and you should use the official drivers from Intel/AMD/Nvidia.

Can you see if the latest drivers from intels website fixes this?

I cannot install the driver from intels page. They don't offer a download and when I'm using the Intel Driver Support Assistant, that tool sends me to the Dell hompage. However, I installed (again) the latest driver from Dell for my system. That driver there is from Feb. 1st, 2019. So it isn't that outdated. And that's the newest one I can install (while the newest on the intel homepage is from March, 20th 2019). That's all I can tell.

But I don't get the relation to the driver here. Because box selection won't work, while using the lasso works fine.

I don't know either why the lasso works fine. The objects are select by performing queries to the GPU. So for some reason, the box select operation fails with your GPU/driver.

Sebastian Parborg (zeddb) raised the priority of this task from 30 to 90.Mar 28 2019, 4:04 PM

OK I will imagine that I was wrong. I explained better with a video the last time (and the subject was "opened"). and the first one was not well explained and I can't find it. and it was since a long time as need triage, even with new elements. 3 months. I show in the last video the lasso works fine. the select box when all origins visible, too. but, not when they are not all visible (even with factory settings). [and now in the last update I can't select with the left clic and drag an object. but it's a problem of shortcuts because it doesn't do it with factory settings.]

Brecht Van Lommel (brecht) renamed this task from Selection Box not working to Box selection not working with Intel HD Graphics 620.Apr 4 2019, 5:44 AM
Brecht Van Lommel (brecht) lowered the priority of this task from 90 to Normal.
Brecht Van Lommel (brecht) triaged this task as High priority.Apr 25 2019, 5:57 PM

@Sebastian Parborg (zeddb) Thanks for merging me, sorry I failed to find this as duplicate.

Just to add my own relevant bits from my task: I'm having the same issue with similar hardware and OS. Also I generated a gif:

The gif is from the blender beta build a few weeks ago, although I have been building from source on my machine everyday, and the issue is still present. Please let me know if I can provide any other details to assist.

I think we'll need a developer to reproduce this on a computer and then investigate, it's difficult to figure out the cause from just debug logs.

I'm having the same problem. You can only box select the last object created it doesn't only apply to duplicating and cubes.

@Brecht Van Lommel (brecht) I cloned the repo last week hoping to try to diagnose the issue a little better and maybe come up with a patch myself, however I couldn't get the build working in VS2017. However I just tried again and it works. I'll try to play around with it tonight after work, however if you feel it'll help I'm happy to peer this together if that's doable. I'm a newbie to the blender codebase and I don't really know what I'm looking for in all honesty.

I tried to reproduce it using yesterday's buildbot Windows 64-bit version 2019-04-24 d966c2f0c2ad on a laptop with Windows 10 64-bit 1803 (10.0.17134) and HD-620 graphics (i3-7100U CPU) and Intel Graphics driver version

This system had not previously had Blender installed in any form.

I could not get the problem to reproduce in that environment, and box selection worked perfectly in every scenario I could come up with.

After upgrading the Intel Graphics driver to I can now reproduce the problem exactly as demonstrated by the original submitter.

Some observations / clues:

Edit mode is not affected. You can select multiple objects and tab into edit mode and box selection works perfectly with different component types etc. across separated geometry or whatever you like. In face component mode you can box select the middle of a face (no vertices in the box) without issue.

Display mode does not seem to make a difference (wireframe/solid/etc.)

The only thing that's able to be box-selected in Object mode is point-like objects, Lights and Object Centers. If you just have a bunch of Lights then things work fine and they're always box selectable. No other object can be selected unless its Object Center is displayed, which is why by default it only selects the last selected object (which continues to show its object center after being deselected which is something that has always bugged me). If you turn on Object Centers (all) then everything can be selected but the selection box has to include the object center.

I played with all the Intel Driver settings without affecting the problem.

This affects Meshes,curves,surfaces, metaballs (only part gets selected),light probes,force fields,cameras,empties,text,and lattices.

This is probably obvious, but reading T64281 points out why lasso select appears to work fine (because it's based only on the object centers rather than geometry).

I installed windows with the latest drivers ( and was able to reproduce it with the latest buildbot build. Will try to setup a build environment and see if I can tackle the issue.

Current observaties are that the neerstortte Intel drivers might have implemented the OpenGL standard more strict. We see that when we draw the selection buffer the depth checking is disabled completely and Write depth is disabled. This results in that glQueries that only work on depth buffer give incorrect results.

Another observation is that the object centres overlay updates the deptbuffer hence the active object is selected. When all object centres are shown you will be able to select objects. But this is not the intended behaviour.

We expect the drawmanager lock state being faulty implemented. Together with the more strict OpenGL implementation leads to this ticket.

I'm having the same problem. The box selection only works when "all origins" option is turned on in viewport overlays. The box selection only seems to be selecting the origin and not the geometry.

I have detected that when when the depth state is disabled that the glQueries are not working for this driver platform combination. A quick hack is to enable the depth state just before drawing the depth-pass.
I have not figured out what driver-call disables the depth state. the next code snippit is working.

diff --git a/source/blender/draw/engines/basic/basic_engine.c b/source/blender/draw/engines/basic/basic_engine.c
index 360d1d30736..264df21d94f 100644
--- a/source/blender/draw/engines/basic/basic_engine.c
+++ b/source/blender/draw/engines/basic/basic_engine.c
@@ -181,10 +181,11 @@ static void basic_cache_finish(void *vedata)
+#include "GPU_glew.h"
 static void basic_draw_scene(void *vedata)
   BASIC_PassList *psl = ((BASIC_Data *)vedata)->psl;
+  glEnable(GL_DEPTH_TEST);

@Clément Foucault (fclem): of course we won't accept this hack :-)

Jeroen Bakker (jbakker) changed the task status from Unknown Status to Resolved.May 14 2019, 2:56 PM