Snap performance regression at high poll rate #93408
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#93408
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.76
Blender Version
Broken: version: 3.0.0 Release Candidate, branch: master, commit date: 2021-11-25 17:24, hash:
2fb8c6805a
(still broken in 3.17b5a6f452a
).Worked: 2.93.4 release
Short description of error
When using a mouse with a high poll rate, blender 3.0 can't seem to keep up with
mouse movements when snapping is on.
Even just 250Hz instead of 125Hz grinds the snapping to a halt in a trivial scene,
making it almost unusable unless you move the mouse veryslowly.
Exact steps for others to reproduce the error
Example scene created in blender with factory defaults, with two cubes and snapping
set to "face" and "center":
repro.blend
Using a mouse with a polling rate higher than 125Hz (many gaming mice go up to 1000Hz):
Observe the snapped location updating less and less often the faster you drag:
pTazSmLAXx.mp4
Compare with blender 2.93 which doesn't seem to have a problem even at 1000Hz:
GskIXNAhU4.mp4
Workarounds
Added subscriber: @melak47
Added subscriber: @Wovchick
Added subscriber: @mano-wii
As far as I know, the snapping part of the transform code hasn't gone through changes that would justify this lag. This must be a collateral effect of changes in another area.
Does the problem only appear when you press Ctrl? What happens if snapping is already enabled in the scene? And what happens if you change the shortcut to a key other than Ctrl?
If I enable snapping in the menu header, it behaves the same without holding control.
Using the transform gizmo tool with snapping on instead of pressing
g
, too.Changed status from 'Needs Triage' to: 'Confirmed'
I can confirm on a mouse with a polling rate of 500Hz
fba9cd019f
is the first bad commitThis issue was referenced by
b2e15cb19d
This issue was referenced by
586e2face6
Changed status from 'Confirmed' to: 'Resolved'