Displaying/loading of the matcap thumbnails in the UI became a lot slower #81777

Closed
opened 2020-10-16 17:17:39 +02:00 by TheRedWaxPolice · 23 comments

System Information
Operating system: Win 10

Blender Version
Broken: (example: blender-2.91.0-ba8233174cd7-windows64
Worked: 2.81 (probably 2.82 and 2.83 too, but I don't have those versions to test)

Short description of error
The displaying/loading of the matcap thumbnails in the UI became a lot slower in the latest versions of blender, compared to the old versions...

Exact steps for others to reproduce the error
Please check the video comparison (left 2.91, right 2.81)

2020-10-13_19-26-33.mp4

**System Information** Operating system: Win 10 **Blender Version** Broken: (example: blender-2.91.0-ba8233174cd7-windows64 Worked: 2.81 *(probably 2.82 and 2.83 too, but I don't have those versions to test)* **Short description of error** The displaying/loading of the matcap thumbnails in the UI became a lot slower in the latest versions of blender, compared to the old versions... **Exact steps for others to reproduce the error** Please check the video comparison (left 2.91, right 2.81) [2020-10-13_19-26-33.mp4](https://archive.blender.org/developer/F8999967/2020-10-13_19-26-33.mp4)

Added subscriber: @TheRedWaxPolice

Added subscriber: @TheRedWaxPolice

Added subscriber: @iss

Added subscriber: @iss

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

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

I can't reproduce this.

Please click on Help > Report a Bug to report bugs. This report is missing information about your hardware.
Aslo click on Help > Save System Info and upload saved file.

I can't reproduce this. Please click on Help > Report a Bug to report bugs. This report is missing information about your hardware. Aslo click on Help > Save System Info and upload saved file.

@iss Hi, this test was on a laptop...

Here's the file you asked:
system-info.txt
By the way, I downloaded the versions 2.83 LTS and the stable 2.90.1 to do a quick comparison, and yes, 2.83 is still running fine. So this slowdown was definitely introduced in 2.90. And in 2.91 it got a little bit worse, since it seems to be a little more slower than 2.90.1

@iss Hi, this test was on a laptop... Here's the file you asked: [system-info.txt](https://archive.blender.org/developer/F9020799/system-info.txt) By the way, I downloaded the versions **2.83 LTS** and the stable **2.90.1** to do a quick comparison, and yes, **2.83** is still running fine. So this slowdown was definitely introduced in **2.90**. And in **2.91** it got a little bit worse, since it seems to be a little more slower than 2.90.1

I see you are using very old GPU drivers, please download latest and re-check.
Do you have another machine to check this issue?

I see you are using very old GPU drivers, please download latest and re-check. Do you have another machine to check this issue?

I can't test on other machines at the moment, but doesn't seem like a driver issue. I'll see..
Did you made a side by side comparison between 2.83 and 2.91? Also you need a good amount of matcaps installed to be able to notice the slowdown more easily.

I can't test on other machines at the moment, but doesn't seem like a driver issue. I'll see.. Did you made a side by side comparison between 2.83 and 2.91? Also you need a good amount of matcaps installed to be able to notice the slowdown more easily.

Just in case it's not clear, this slow loading only happens once, when you open the matcap panel for the first time after launching blender..

Just in case it's not clear, this slow loading only happens once, when you open the matcap panel for the first time after launching blender..

Added subscriber: @jenkm

Added subscriber: @jenkm

@TheRedWaxPolice - to make the experiment clean, make sure that your MatCaps folders are identical.

Also, check the memory usage, it might be related to #79698 #80463.

@TheRedWaxPolice - to make the experiment clean, make sure that your MatCaps folders are identical. Also, check the memory usage, it might be related to #79698 #80463.

@jenkm

In #81777#1037587, @jenkm wrote:
@TheRedWaxPolice - to make the experiment clean, make sure that your MatCaps folders are identical.

Yeah sure, that's what I did on my last test with 2.83 against 2.90/2.91...

Also, check the memory usage, it might be related to #79698 #80463.

The memory usage definitely needs some serious optimizations, I even asked Harley the other day on blenderchat about this issue https://blender.chat/channel/user-interface-module?msg=rY2p3u3gJ39oND3Ra but this seems to be an entirely separate issue...

@jenkm > In #81777#1037587, @jenkm wrote: > @TheRedWaxPolice - to make the experiment clean, make sure that your MatCaps folders are identical. Yeah sure, that's what I did on my last test with 2.83 against 2.90/2.91... > Also, check the memory usage, it might be related to #79698 #80463. The memory usage definitely needs some serious optimizations, I even asked Harley the other day on blenderchat about this issue https://blender.chat/channel/user-interface-module?msg=rY2p3u3gJ39oND3Ra but this seems to be an entirely separate issue...

I rechecked this and I can see different performance, in my though I see only 1.4ms difference per thumbnail. So I would need to load about 100 matcaps to barely notice any difference when checking in sequence.

I have tested this with default set, perhaps this difference per matcap gets worse with number of matcaps?

I rechecked this and I can see different performance, in my though I see only 1.4ms difference per thumbnail. So I would need to load about 100 matcaps to barely notice any difference when checking in sequence. I have tested this with default set, perhaps this difference **per matcap** gets worse with number of matcaps?

I'm not sure.
I have 92 custom matcaps installed + the default set. If you could duplicate the default set to roughly the same amount that I have, I believe it will be easier to spot the difference. In 2.83 loads pretty fast.

I'm not sure. I have 92 custom matcaps installed + the default set. If you could duplicate the default set to roughly the same amount that I have, I believe it will be easier to spot the difference. In 2.83 loads pretty fast.

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

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

I have tried this again with 50 another matcaps, this time I have got difference that is order of magnitude worse, but still only about 20ms per matcap. That is still not comparable to your result, so I don't think it will be same issue.

I have tried this again with 50 another matcaps, this time I have got difference that is order of magnitude worse, but still only about 20ms per matcap. That is still not comparable to your result, so I don't think it will be same issue.

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

@Jeroen-Bakker Can you check if you can reproduce this issue? I have looked at studiolight.c if there is any smoking gun, but I can't see anything really, but you seem to be familiar with this system so perhaps you know what could be an issue here.

@Jeroen-Bakker Can you check if you can reproduce this issue? I have looked at `studiolight.c` if there is any smoking gun, but I can't see anything really, but you seem to be familiar with this system so perhaps you know what could be an issue here.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@TheRedWaxPolice hi, I tested the described problem. I saw noticeable difference when loading thumbnails on different Blender versions
Loading thumbnails in 3.2 seems much better than 2.92. And as said in the original report it's faster on 2.83 (took ~6s to load all thumbnails)
While 3.2 took ~8s and 2.92 ~12sec
I think performance improvements are usually not considered as bug (unless they are regression)
Will let developers decide about the situation of this report
Test file:
matcaps.rar

@TheRedWaxPolice hi, I tested the described problem. I saw noticeable difference when loading thumbnails on different Blender versions Loading thumbnails in 3.2 seems much better than 2.92. And as said in the original report it's faster on 2.83 (took ~6s to load all thumbnails) While 3.2 took ~8s and 2.92 ~12sec I think performance improvements are usually not considered as bug (unless they are regression) Will let developers decide about the situation of this report Test file: [matcaps.rar](https://archive.blender.org/developer/F12871189/matcaps.rar)

@PratikPB2123 I think we can safely achive this report for now. I did some tests again and it seems that things are not as bad as before in the latest builds...

@PratikPB2123 I think we can safely achive this report for now. I did some tests again and it seems that things are not as bad as before in the latest builds...
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

Ok, will close. Thanks for the report.

Developers: Please reopen the ticket if more improvement is expected.

Ok, will close. Thanks for the report. Developers: Please reopen the ticket if more improvement is expected.
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
4 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#81777
No description provided.