Slow shape key updates with GPU Subdivision #96583

Closed
opened 2022-03-18 06:07:23 +01:00 by Mikhail Vigovskiy · 21 comments

System Information
Operating system: Ubuntu 21.10
Graphics card: NVIDIA GeForce GTX 670

Blender Version
Broken: 3.1.0
Worked: 3.0.1

Short description of error
GPU subdivision works fast for pose updates, but it runs slower than CPU subdivision when changing shape key values

Exact steps for others to reproduce the error
In attached blend file try to change value of "charmorph_final" shape key. When GPU subdivision if off it works ok, but when it is on, it runs very slowly
subdiv.blend

**System Information** Operating system: Ubuntu 21.10 Graphics card: NVIDIA GeForce GTX 670 **Blender Version** Broken: 3.1.0 Worked: 3.0.1 **Short description of error** GPU subdivision works fast for pose updates, but it runs slower than CPU subdivision when changing shape key values **Exact steps for others to reproduce the error** In attached blend file try to change value of "charmorph_final" shape key. When GPU subdivision if off it works ok, but when it is on, it runs very slowly [subdiv.blend](https://archive.blender.org/developer/F12932756/subdiv.blend)

Added subscriber: @upliner

Added subscriber: @upliner
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Thanks for the report. Compared both GPU subdiv on and off, I don't see any difference in shape key update.
Tested on 3.1 release

Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 26.20.100.7323```
Thanks for the report. Compared both GPU subdiv on and off, I don't see any difference in shape key update. Tested on 3.1 release ```System Information Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 26.20.100.7323```

In #96583#1325182, @PratikPB2123 wrote:
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 26.20.100.7323```

Does Integrated Intel graphics support hardware subdivision? Is there any difference in any other cases (armature deform, edit mode)? For me, shape key update is slower with GPU subdivision, but in all other cases GPU performs faster.

> In #96583#1325182, @PratikPB2123 wrote: > Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 26.20.100.7323``` Does Integrated Intel graphics support hardware subdivision? Is there any difference in any other cases (armature deform, edit mode)? For me, shape key update is slower with GPU subdivision, but in all other cases GPU performs faster.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

It might be the same problem described in #96434 (GPU subdivision: Bad performance with viewport statistics) since shape keys is a kind of internal modifier.

It might be the same problem described in #96434 (GPU subdivision: Bad performance with viewport statistics) since shape keys is a kind of internal modifier.

Added subscriber: @kevindietrich

Added subscriber: @kevindietrich

I cannot reproduce the performance problem. Looking into a profile build, only the GPU code is executed, so it is not the same as #96434 (GPU subdivision: Bad performance with viewport statistics). I may try on a different card, it might be because memory access on the GPU is not coherent enough.

I cannot reproduce the performance problem. Looking into a profile build, only the GPU code is executed, so it is not the same as #96434 (GPU subdivision: Bad performance with viewport statistics). I may try on a different card, it might be because memory access on the GPU is not coherent enough.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Also cannot reproduce here (in fact, for me GPU subdiv is quite a bit faster

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44
version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `rBc77597cd0e15`

Not sure if this could also be influenced by the driver version? Are these up-to-date?
@upliner : Please share your System Info (Help > Save System Info)

Also cannot reproduce here (in fact, for me GPU subdiv is quite a bit faster ``` **System Information** Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44 version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `rBc77597cd0e15` ``` Not sure if this could also be influenced by the driver version? Are these up-to-date? @upliner : Please share your System Info (`Help` > `Save System Info`)

Not sure if this could also be influenced by the driver version? Are these up-to-date?
@upliner : Please share your System Info (Help > Save System Info)

I currently use 470 drivers. OK, I can try to update them and see if it helps.
Attaching system info. system-info.txt

> Not sure if this could also be influenced by the driver version? Are these up-to-date? > @upliner : Please share your System Info (`Help` > `Save System Info`) I currently use 470 drivers. OK, I can try to update them and see if it helps. Attaching system info. [system-info.txt](https://archive.blender.org/developer/F12954696/system-info.txt)

UPD: NVIDIA drivers newer than 470 don't work on my current system. Maybe they will work after updating Ubuntu to 22.04.

UPD: NVIDIA drivers newer than 470 don't work on my current system. Maybe they will work after updating Ubuntu to 22.04.
Member

In #96583#1331747, @upliner wrote:
UPD: NVIDIA drivers newer than 470 don't work on my current system. Maybe they will work after updating Ubuntu to 22.04.

was there any success upgrading?

> In #96583#1331747, @upliner wrote: > UPD: NVIDIA drivers newer than 470 don't work on my current system. Maybe they will work after updating Ubuntu to 22.04. was there any success upgrading?

No, Ubuntu version appeared to have nothing to do with this. It's just because of my old GPU. NVidia only provides for it 470 driver as production branch and 465 as new-feature branch. Should I try 465?

No, Ubuntu version appeared to have nothing to do with this. It's just because of my old GPU. NVidia only provides for it 470 driver as production branch and 465 as new-feature branch. Should I try 465?

In #96583#1346612, @lichtwerk wrote:
was there any success upgrading?

I've tried it on another machine that has RTX 3050 GPU and uses 510 NVidia drivers. The problem happens there too. Here is new system-info file
system-info.txt

> In #96583#1346612, @lichtwerk wrote: > was there any success upgrading? I've tried it on another machine that has RTX 3050 GPU and uses 510 NVidia drivers. The problem happens there too. Here is new system-info file [system-info.txt](https://archive.blender.org/developer/F13030369/system-info.txt)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

@upliner hi, any improvements on you side in latest 3.3 builds?: https://builder.blender.org/download/daily

I've tried it on another machine that has RTX 3050 GPU and uses 510 NVidia drivers

System-info file shows different GPU: AMD RENOIR (DRM 3.44.0, 5.17.1-3-MANJARO, LLVM 13.0.1)


Still not able to confirm the performance drop

Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78```
@upliner hi, any improvements on you side in latest 3.3 builds?: https://builder.blender.org/download/daily > I've tried it on another machine that has RTX 3050 GPU and uses 510 NVidia drivers System-info file shows different GPU: `AMD RENOIR (DRM 3.44.0, 5.17.1-3-MANJARO, LLVM 13.0.1)` - - - Still not able to confirm the performance drop ```**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78```

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Mikhail Vigovskiy self-assigned this 2022-08-16 09:11:56 +02:00

The problem seems to be fixed in Blender 3.2.2 so I think it can be closed.

The problem seems to be fixed in Blender 3.2.2 so I think it can be closed.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
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, Assets & 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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#96583
No description provided.