blender3.3 HIP performance down 30% on Windows #100891
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
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
Core
Module
Development Management
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
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
10 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#100891
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:windows10 21h2
Graphics card:rx6800xt
Blender Version:3.3 Long-term support version
Broken: Version :3.2 has no problems
Worked: no
Short description of error3.2
3.2 version of the classroom scene only needs 32s, 3.3lts need 44s
Standard classroom, no need for me to provide it.
Added subscriber: @2905710881
#101151 was marked as duplicate of this issue
Added subscriber: @mano-wii
It must be a problem only with AMD GPUs as I didn't notice any difference using an RTX 3060.
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94
blender3.3 hpi performance down 30%to blender3.3 HIP performance down 30%Added subscribers: @BrianSavery, @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
@BrianSavery Are you aware about any slow downs in 3.3? It seem Open Data queries seems to confirm some slow down, see:
blender3.3 HIP performance down 30%to blender3.3 HIP performance down 30% on WindowsAdded subscriber: @Sayak-Biswas
@Sayak-Biswas is taking a look.
Added subscriber: @sayakbiswas
@2905710881 Are those two numbers on the same driver or different?
Similarly, I tested several drivers with the same result, including 7.1,8.1,8.2,5.2 22q2, each time using Display Driver Uninstaller to uninstall
I purposely downloaded version 3.22 to compare the run, the current driver is 22Q2 (I tested multiple versions of the driver, each time using the duu tool to uninstall)
Added subscriber: @Pionpouage
Added subscriber: @deadpin
Additional data from the merged report:
Benchmark using 3.2.1:
https://opendata.blender.org/benchmarks/4b575db1-e191-401a-898d-e4e33b3820a8/
Benchmark using 3.3.0:
https://opendata.blender.org/benchmarks/28b80b4a-fb76-4af8-8b8c-c4599b01c6e2/
Okay it seems this commit is causing the performance differential:
023eb2ea7c
On my W6800, the classroom scene renders in about 59s on a build from this commit. However the previous commit (
d567785658
) the scene renders in ~44s. I'm not entirely sure yet which change is exactly causing the issue, maybe the new transform_inverse?https://devtalk.blender.org/t/cycles-amd-hip-device-feedback/21400/405
There is a tested linux without performance degradation problem
I can also confirm this behavior with my RX 6800XT.
With version "3.3.0 Alpha, branch: master, commit date: 2022-07-25 22:17, hash:
4cf6524731
", the scene takes 44s to render.With version "3.3.0 Alpha, branch: master, commit date: 2022-07-24 19:33, hash:
6db059e3d7
", the build just before the commit in question, the scene takes 33s to render.This issue was referenced by
d20be55c1a
Added subscriber: @brecht
I committed a change that may help but I don't really expect it to.
@Sayak-Biswas are you looking into this? The way I suggest to approach it is to effectively bisect that commit, step by step undo changes by that commit until you hit the change(s) that caused the performance difference.
Like, revert changes in ray_triangle_intersect, revert changes to use cross(), revert division by det to be done once in advance, etc.
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
@brecht thanks, will try the change. We have the compiler team looking into the issue as well.
Can you restore the performance when 3.4 is released?
The current status is that we expect to get a new HIP compiler version in the coming weeks that will fix this regression. This should then fix the issue in time for the 3.4 release, and also 3.3.2 or 3.3.3 LTS depending on the timing.
This issue was referenced by
3e41332798
This issue was referenced by
c94583cd64
Changed status from 'Confirmed' to: 'Resolved'
This comment was removed by @2905710881
This comment was removed by @2905710881