Blender 3.6.5 starting very slow #114247

Closed
opened 2023-10-29 12:29:57 +01:00 by Lenio Crameri · 35 comments

System Information
Operating system: Windows-11-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 545.84

Blender Version
Broken: version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b7e
Worked: 3.5.1

Short description of error
Overtime I start Blender 3.6.5 it takes at least more that 40 seconds to display the viewport and being ready to start. When I quit Blender and start it again it's fast and acceptable. When I reboot my PC and start again Blender, it's slow again.
I tried a virgin version, with no configuration as well as no add-on's installed and I get the same results.

Exact steps for others to reproduce the error

  1. Reboot the PC
  2. Start Blender and look at the CMD Window that appear
  3. It takes 30 to 40 seconds until the word "register" appear.
  4. After that it registers all add-on pretty fast and Blender is ready
**System Information** Operating system: Windows-11-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 545.84 **Blender Version** Broken: version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: `cf1e1ed46b7e` Worked: 3.5.1 **Short description of error** Overtime I start Blender 3.6.5 it takes at least more that 40 seconds to display the viewport and being ready to start. When I quit Blender and start it again it's fast and acceptable. When I reboot my PC and start again Blender, it's slow again. I tried a virgin version, with no configuration as well as no add-on's installed and I get the same results. <video src="/attachments/9599b46a-478c-437f-af66-dc60a47aee2b" controls></video> **Exact steps for others to reproduce the error** 1. Reboot the PC 2. Start Blender and look at the CMD Window that appear 3. It takes 30 to 40 seconds until the word "register" appear. 4. After that it registers all add-on pretty fast and Blender is ready
Lenio Crameri added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-10-29 12:29:57 +01:00

Thanks for the report, @LenioCrameri. 40 seconds is really a lot. But as far as I know this word "register" is not displayed in any Blender startup log.. Does it come from an addon or some other software (like antivirus)?

Here are a few suggestions you can try to improve the startup time:

  1. Update your graphics card drivers to the latest version from the NVIDIA website.
  2. Check if there are any background processes or applications that might be consuming system resources and causing the delay. You can use the Task Manager to monitor resource usage.
  3. Try running Blender as an administrator to see if it makes any difference.
  4. Reset Blender's preferences by going to File → Defaults → Load Factory Settings and then saving the Preferences
Thanks for the report, @LenioCrameri. 40 seconds is really a lot. But as far as I know this word "register" is not displayed in any Blender startup log.. Does it come from an addon or some other software (like antivirus)? Here are a few suggestions you can try to improve the startup time: 1. Update your graphics card drivers to the latest version from the NVIDIA website. 2. Check if there are any background processes or applications that might be consuming system resources and causing the delay. You can use the Task Manager to monitor resource usage. 3. Try running Blender as an administrator to see if it makes any difference. 4. Reset Blender's preferences by going to File → Defaults → Load Factory Settings and then saving the Preferences
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-10-30 20:09:20 +01:00
Author

Hi Germano, thanks for your reply.
As i said, I deleted the whole branch in the Appdata path, so there is no configuration, no addons, like virgin. It doesn't matter. Same slow start. This is happening to me with 3.6.5, 3.6.1 and 4.0.0 beta. With 3.5.1 I have no issues. I excluded the whole Blender directory from my Kaspersky antivirus. No impact.
Geforce is already at the newest version. I will try the tip with administrator rights.

As I wrote, it is completely strange to me, because this behavior happens only when I have booted my pc and I run Blender the first time. If Blender has started and I quit Blender and start again, then it is pretty fast. When I then reboot my PC and after a while until Windows has loaded everything, my task monitor looks pretty not busy, I start blender and I wait again 30-40 seconds until Blender is ready. It stocks pretty long at the sentence "Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend" then after ca. 30 seconds it write the wort "register", then waiting again and suddenly he start.
I have also to mention, that after clicking the Blender icon, nothing happens for quite a while (4-6 seconds and only then the Blender Terminal window appear. But again, only when I start Blender just after have booted or fired up my PC. Looks like that Blender is starting out of a cache when I fire it up the second time..
My installation since years: portable version of Blender on my D:\ drive and configuration in my AppData path.

Hi Germano, thanks for your reply. As i said, I deleted the whole branch in the Appdata path, so there is no configuration, no addons, like virgin. It doesn't matter. Same slow start. This is happening to me with 3.6.5, 3.6.1 and 4.0.0 beta. With 3.5.1 I have no issues. I excluded the whole Blender directory from my Kaspersky antivirus. No impact. Geforce is already at the newest version. I will try the tip with administrator rights. As I wrote, it is completely strange to me, because this behavior happens only when I have booted my pc and I run Blender the first time. If Blender has started and I quit Blender and start again, then it is pretty fast. When I then reboot my PC and after a while until Windows has loaded everything, my task monitor looks pretty not busy, I start blender and I wait again 30-40 seconds until Blender is ready. It stocks pretty long at the sentence "Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend" then after ca. 30 seconds it write the wort "register", then waiting again and suddenly he start. I have also to mention, that after clicking the Blender icon, nothing happens for quite a while (4-6 seconds and only then the Blender Terminal window appear. But again, only when I start Blender just after have booted or fired up my PC. Looks like that Blender is starting out of a cache when I fire it up the second time.. My installation since years: portable version of Blender on my D:\ drive and configuration in my AppData path.
Germano Cavalcante added
Status
Needs Triage
Platform
Windows
and removed
Status
Needs Information from User
labels 2023-10-30 20:54:05 +01:00

I feel like we need some good debug logging for Windows because without being able to replicate the problem, it doesn't seem like there's much we can do.

By "portable version of Blender" do you mean downloaded from https://builder.blender.org/download ?

Try running blender_debug_gpu.cmd, also blender_factory_startup.cmd from Blender's installation directory. They generate debug logs that maybe can be useful for us to identify the cause.

I feel like we need some good debug logging for Windows because without being able to replicate the problem, it doesn't seem like there's much we can do. By "portable version of Blender" do you mean downloaded from https://builder.blender.org/download ? Try running `blender_debug_gpu.cmd`, also `blender_factory_startup.cmd` from Blender's installation directory. They generate debug logs that maybe can be useful for us to identify the cause.
Author

Hi Germano, I'm always downloading the version from Blender.org. I always get the Windows ZIP version, unpack it in a folder on my D:\Blender Foundation\blender-3.6.5. Running it without any parameter so that the config is then located in the AppData path.
I will try to run the debug files and provide it to you here as attachment.

Hi Germano, I'm always downloading the version from Blender.org. I always get the Windows ZIP version, unpack it in a folder on my D:\Blender Foundation\blender-3.6.5. Running it without any parameter so that the config is then located in the AppData path. I will try to run the debug files and provide it to you here as attachment.
Author

Hi Germano,
Attached you will find the debug logs you have requested. You will find also a screenshot of the performance monitor just before running the logs. As you can see, my system is pretty unemployed right before starting the logs.
Let me know if you need anything.

Hi Germano, Attached you will find the debug logs you have requested. You will find also a screenshot of the performance monitor just before running the logs. As you can see, my system is pretty unemployed right before starting the logs. Let me know if you need anything.

These logs don't seem very informative either :(

I'm out of ideas. Maybe it's worth trying support on the community websites: https://www.blender.org/community/

While this is a real issue, it is only happening to a few people so far. And to troubleshoot it developers needs to have direct access to hardware. And even then it is not clear whether it's a solvable problem from Blender side...

@LazyDodo, as a Windows expert, any idea what might cause it to slow down when opening Blender for the first time on Windows?

These logs don't seem very informative either :( I'm out of ideas. Maybe it's worth trying support on the community websites: https://www.blender.org/community/ While this is a real issue, it is only happening to a few people so far. And to troubleshoot it developers needs to have direct access to hardware. And even then it is not clear whether it's a solvable problem from Blender side... @LazyDodo, as a Windows expert, any idea what might cause it to slow down when opening Blender for the first time on Windows?
Germano Cavalcante added
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-10-31 13:52:51 +01:00

Hi Germano,
Just to inform you, that today I have reinstalled my windows PC from the scratch, formated the system partition and installed a virgin version of Windows 11 Pro. Then I have tested Blender 3.65 and 4.0.0 beta again and I enccountered the same issue as before. 3.5.1 run normally, but 3.6.5 and 4.0.0 are showing the same issue with a very slow start. I would also mention that when I click the Blender icon, I wait around 10-15 second before the blender terminal window appear, then as mentioned before I wait again 30-40 second until the viewport appear.

Hi Germano, Just to inform you, that today I have reinstalled my windows PC from the scratch, formated the system partition and installed a virgin version of Windows 11 Pro. Then I have tested Blender 3.65 and 4.0.0 beta again and I enccountered the same issue as before. 3.5.1 run normally, but 3.6.5 and 4.0.0 are showing the same issue with a very slow start. I would also mention that when I click the Blender icon, I wait around 10-15 second before the blender terminal window appear, then as mentioned before I wait again 30-40 second until the viewport appear.

... then as mentioned before I wait again 30-40 second until the viewport appear.

Does the gray window (without interface) appear before or only after 30 seconds? This could indicate an issue with the GPU shader cache.

> ... then as mentioned before I wait again 30-40 second until the viewport appear. Does the gray window (without interface) appear before or only after 30 seconds? This could indicate an issue with the GPU shader cache.

Hi Germano,
As I said before: I click the Blender icon and for about 6-10 seconds no window appear at all. After that time, the blender terminal window appear. After about 3-4 seconds the terminal window says: "Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend". Then I wait again 15-20 seconds and the the word "register" is displayed. After about 10-15 seconds it begins writing other stuff and then the gray blender window appear. A few seconds later (3-5) the viewport appear and Blender is ready for work.
I will record a short video so that your developers can see what happen.

Hi Germano, As I said before: I click the Blender icon and for about 6-10 seconds no window appear at all. After that time, the blender terminal window appear. After about 3-4 seconds the terminal window says: "Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend". Then I wait again 15-20 seconds and the the word "register" is displayed. After about 10-15 seconds it begins writing other stuff and then the gray blender window appear. A few seconds later (3-5) the viewport appear and Blender is ready for work. I will record a short video so that your developers can see what happen.

Hi Germano,
Attached you will find a video I recorded to show your developers what happens when I click the Blender icon and how long it takes before Blender is ready for work. I hope this helps.

Hi Germano, Attached you will find a video I recorded to show your developers what happens when I click the Blender icon and how long it takes before Blender is ready for work. I hope this helps.

Please try the latest development snapshot of blender (4.1): https://builder.blender.org/download
Many bugs are fixed between the official releases.

I noticed that you clicked the shortcut, but before you mentioned that you use a "portable version of Blender".
In this case, you might want to make sure you are loading the correct executable.

Please try the latest development snapshot of blender (4.1): https://builder.blender.org/download Many bugs are fixed between the official releases. I noticed that you clicked the shortcut, but before you mentioned that you use a "portable version of Blender". In this case, you might want to make sure you are loading the correct executable.

Hi Germano, thank you for your reply. https://builder.blender.org/download is right now down. I will try later.
Believe me, I click the right icon. I know what I'm doing :-)

Have you notided my message, that this was introduced with release 3.6.x? The 3.5.1 version is working as expected. Starting with all 3.6.x releases included 4.0.0 this behavior popped up. Asking around, I have the impression I'm not the only one suffering from this issue.

Hi Germano, thank you for your reply. https://builder.blender.org/download is right now down. I will try later. Believe me, I click the right icon. I know what I'm doing :-) Have you notided my message, that this was introduced with release 3.6.x? The 3.5.1 version is working as expected. Starting with all 3.6.x releases included 4.0.0 this behavior popped up. Asking around, I have the impression I'm not the only one suffering from this issue.

Hi Germano,
here the next update: I have donloaded the latest builds of Blender 3.65, 4.0.0 & 4.1.0 alpha from November 4, and tried all three releases. The exactly same behaviour occure with all three versions.
I moved the portable installation path from my D: directory to my system C: directory to see if this change something and to exlude that there is something with my disk hardware. Unfortunately I have the same behavior as before.

It would be a good hint for your developers, that 3.5.1 is not showing that behavior.
I have also to mention, that when the 3.65 or 4.0.0 finally starts and it is ready to work, I have no any performance issues or crashes. Blender is running fine. My humble opinion is still the one that there is something going wrong with the cache.

Hi Germano, here the next update: I have donloaded the latest builds of Blender 3.65, 4.0.0 & 4.1.0 alpha from November 4, and tried all three releases. The exactly same behaviour occure with all three versions. I moved the portable installation path from my D: directory to my system C: directory to see if this change something and to exlude that there is something with my disk hardware. Unfortunately I have the same behavior as before. It would be a good hint for your developers, that 3.5.1 is not showing that behavior. I have also to mention, that when the 3.65 or 4.0.0 finally starts and it is ready to work, I have no any performance issues or crashes. Blender is running fine. My humble opinion is still the one that there is something going wrong with the cache.
Author

Hi Germano, have you heard anything from development? I see that this ticket is still unassigned.

Hi Germano, have you heard anything from development? I see that this ticket is still unassigned.

Reviewing the video I could see now that there are two addons that may be influencing the loading time.

These are:

MACHIN3tools 1.5.0.DeusEx with 7 tools, 5 pie nenus
MESHnachine 0.13.0 with 2 plug libraries

This even justifies where the aforementioned "register" comes from.
Please uninstall these addons and make sure to test with Factory Settings. (File → Defaults → Load Factory Settings then salve the preferences).

Reviewing the video I could see now that there are two addons that may be influencing the loading time. These are: ``` MACHIN3tools 1.5.0.DeusEx with 7 tools, 5 pie nenus MESHnachine 0.13.0 with 2 plug libraries ``` This even justifies where the aforementioned "register" comes from. Please uninstall these addons and make sure to test with Factory Settings. (File → Defaults → Load Factory Settings then salve the preferences).

Hi Germano,
thanks for your reply. Unfortunately the behavior happens also, as I wrote previously, with a virgin Blender installation with no addon-on's installed and a fresh config. I have deleted the whole Blender directory C:\Users\XXX\AppData\Roaming\Blender\3.6. Every time a boot my PC and start Blender, the behavior shown in the video happens. Said that, id does not matter wathever configuration I have.
My question is still: why this behaviour was introduced with release 3.6.1? With 3.5.1 I have absolutely no issues! 3.6.1, 3.6.5, 4.0.0 and 4.1.0 shows exacly the same behaviour.

Hi Germano, thanks for your reply. Unfortunately the behavior happens also, as I wrote previously, with a virgin Blender installation with no addon-on's installed and a fresh config. I have deleted the whole Blender directory C:\Users\XXX\AppData\Roaming\Blender\3.6. Every time a boot my PC and start Blender, the behavior shown in the video happens. Said that, id does not matter wathever configuration I have. My question is still: why this behaviour was introduced with release 3.6.1? With 3.5.1 I have absolutely no issues! 3.6.1, 3.6.5, 4.0.0 and 4.1.0 shows exacly the same behaviour.

Hi Germano,
I haven't heard anything from your side on my reply last week. I know that the release of Blender 4.0.0 took all your attention and I understand this well. Now that the stress has released a bit, I would like to put back your attention to this behavior again. I downloaded the official 4.0.0 release and installed. Started with a virgin installation of blender, without settings, without addons enabled, without themes and keymaps. Really virgin. The behavior is still here and nothing has changed. I tried to configure blender as I like from the scratch, added my addons which were fixed for Blender 4.0.0, rebooted and started Blender again. Same behaviour and the start was a bit longer (~5 seconds) as without settings and addons.
Again, no issues starting Blender when I not reboot my PC. Seems really that when Blender is in cache it runs faster. Is Blender deleting the cache when it exit?
As said, I'm available for the developers when they want to remote log in and see what happens. Let me know.

Hi Germano, I haven't heard anything from your side on my reply last week. I know that the release of Blender 4.0.0 took all your attention and I understand this well. Now that the stress has released a bit, I would like to put back your attention to this behavior again. I downloaded the official 4.0.0 release and installed. Started with a virgin installation of blender, without settings, without addons enabled, without themes and keymaps. Really virgin. The behavior is still here and nothing has changed. I tried to configure blender as I like from the scratch, added my addons which were fixed for Blender 4.0.0, rebooted and started Blender again. Same behaviour and the start was a bit longer (~5 seconds) as without settings and addons. Again, no issues starting Blender when I not reboot my PC. Seems really that when Blender is in cache it runs faster. Is Blender deleting the cache when it exit? As said, I'm available for the developers when they want to remote log in and see what happens. Let me know.

Sad to see this slow startup issue is persisting despite various troubleshooting efforts and fresh Windows installations. While I am not directly in contact with the Blender development team, I can provide you with some additional suggestions and steps that may help resolve or narrow down the issue further:

  1. If reset factory setting didn't help, try to delete the entire file C:\Users\<YourUserName>\AppData\Roaming\Blender Foundation\Blender\4.0. Some addons, even unregistered ones, may incorrectly leave startup Python files that load as soon as you open Blender. (Do not import preferences from the previous version!)

  2. Check for OS and Driver Updates: Ensure that both your operating system and GPU drivers are up-to-date, which you've likely already done given your thorough testing.

  3. Try Running Blender as Administrator: Sometimes, permissions can affect loading times. Running the program as an administrator may bypass certain restrictions that could potentially cause delays.

  4. Examine Windows Event Viewer: After experiencing the slow startup, check the Windows Event Viewer for any warnings or errors that might indicate what’s holding up the process.

  5. Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring.

  6. Graphics Card Shader Cache: Given that the issue may be related to the GPU shader cache, you might want to explore clearing or controlling the shader cache through your NVIDIA control panel.

  7. Diagnostics Startup: Perform a diagnostic startup (using msconfig.exe) to ensure that no other services or startup programs are interfering with Blender's startup.

  8. Network Drive Checks: If Blender or any of its resources are on network drives, this can sometimes lead to slowdowns. Ensure everything is local and the system isn’t waiting on network communication during startup.

I understand that this continues to be frustrating and time-consuming, but realistically, not much we can do here apart from suggest reinstalling blender, updating drivers and providing diagnostic logs.
​While this is a real issue, it is only happening to a few people so far. And to troubleshoot it developers needs to have direct access to hardware. And even then it is not clear whether it's a solvable problem from Blender side...

It's difficult to investigate problems like this without physical access to the computer. The lack of debuggers and the amount of software a developer need to install to investigate Blender it is hard to do and can take a day.

Providing specialized support for technical problems that cannot be replicated is beyond the scope of this Bug Tracker. So I recommend you to continue to seek out advice from the Blender community or the developers through the community forums to obtain more direct and specific assistance.

Sad to see this slow startup issue is persisting despite various troubleshooting efforts and fresh Windows installations. While I am not directly in contact with the Blender development team, I can provide you with some additional suggestions and steps that may help resolve or narrow down the issue further: 1. If reset factory setting didn't help, try to delete the entire file `C:\Users\<YourUserName>\AppData\Roaming\Blender Foundation\Blender\4.0`. Some addons, even unregistered ones, may incorrectly leave startup Python files that load as soon as you open Blender. (Do not import preferences from the previous version!) 2. **Check for OS and Driver Updates:** Ensure that both your operating system and GPU drivers are up-to-date, which you've likely already done given your thorough testing. 3. **Try Running Blender as Administrator:** Sometimes, permissions can affect loading times. Running the program as an administrator may bypass certain restrictions that could potentially cause delays. 4. **Examine Windows Event Viewer:** After experiencing the slow startup, check the Windows Event Viewer for any warnings or errors that might indicate what’s holding up the process. 5. **Monitor Startup Processes:** You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring. 6. **Graphics Card Shader Cache:** Given that the issue may be related to the GPU shader cache, you might want to explore clearing or controlling the shader cache through your NVIDIA control panel. 7. **Diagnostics Startup:** Perform a diagnostic startup (using `msconfig.exe`) to ensure that no other services or startup programs are interfering with Blender's startup. 8. **Network Drive Checks:** If Blender or any of its resources are on network drives, this can sometimes lead to slowdowns. Ensure everything is local and the system isn’t waiting on network communication during startup. I understand that this continues to be frustrating and time-consuming, but realistically, not much we can do here apart from suggest reinstalling blender, updating drivers and providing diagnostic logs. ​While this is a real issue, it is only happening to a few people so far. And to troubleshoot it developers needs to have direct access to hardware. And even then it is not clear whether it's a solvable problem from Blender side... It's difficult to investigate problems like this without physical access to the computer. The lack of debuggers and the amount of software a developer need to install to investigate Blender it is hard to do and can take a day. Providing specialized support for technical problems that cannot be replicated is beyond the scope of this Bug Tracker. So I recommend you to continue to seek out advice from the Blender community or the developers through the community forums to obtain more direct and specific assistance.

Hi Germano,

Sorry to say again, but I have the impression that Blender support is not reading my answers attently. Below you will find the answer to your steps again:

If reset factory setting didn't help, try to delete the entire file C:\Users<YourUserName>\AppData\Roaming\Blender Foundation\Blender\4.0. Some addons, even unregistered ones, may incorrectly leave startup Python files that load as soon as you open Blender. (Do not import preferences from the previous version!)

This I did it many times. I wrote here in the ticket, that I started with a "virgin version" of Blender, this means with no config in the AppData path.

Check for OS and Driver Updates: Ensure that both your operating system and GPU drivers are up-to-date, which you've likely already done given your thorough testing.

As I mentioned, I did a fresh install of Windows 11 from the scratch, deleting the OS partition, installing windows with all updates as well as NVIDIA drivers to the latest release.

Try Running Blender as Administrator: Sometimes, permissions can affect loading times. Running the program as an administrator may bypass certain restrictions that could potentially cause delays.
Started Blender as Administrator. Same behavior.

Examine Windows Event Viewer: After experiencing the slow startup, check the Windows Event Viewer for any warnings or errors that might indicate what’s holding up the process.

I went through all the Windows event logs but I haven't find any indications related to Blender or other anomalities.

Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring.

This I will do today or tomorrow.

Graphics Card Shader Cache: Given that the issue may be related to the GPU shader cache, you might want to explore clearing or controlling the shader cache through your NVIDIA control panel.

This I have done many times in the NVIDIA control panel.

Diagnostics Startup: Perform a diagnostic startup (using msconfig.exe) to ensure that no other services or startup programs are interfering with Blender's startup.

I did this many times without success.

Network Drive Checks: If Blender or any of its resources are on network drives, this can sometimes lead to slowdowns. Ensure everything is local and the system isn’t waiting on network communication during startup.

As written many times, my installtion of Blender is running local on disk D:. No resources of Blender on a network drive nor on a USB drive. Everything on a fast local SSD.

And as I wrote to you many times, how do you (or development) explain the fact, that Blender release prior to 3.6.5 are running at normal speed and after 3.6.1 they are showing the behavior mentioned? All releases starting at 3.6.3 until 4.1.0 alpha are affected by the same issue.
I did really everything possible to provide a clean Windows environment as well as an environment which is not "contaminated" with applications and other apps. After have installed Windows from the scratch, I ran Blender without virus scanner or other intrusive applications. Same behavior on all releases after 3.6.1. I tried three releases prior to 3.6.3 and all three were running fine!
My question in regards to the cache was never answered from Blender support. Come on, with all the details provided, Blender support is only recommending to update OS and graphic card driver? Very strange to me.

As mentioned in my previous post, I'm ready and willing to try other things and provide more details to development. Just ask.

Hi Germano, Sorry to say again, but I have the impression that Blender support is not reading my answers attently. Below you will find the answer to your steps again: > If reset factory setting didn't help, try to delete the entire file C:\Users\<YourUserName>\AppData\Roaming\Blender Foundation\Blender\4.0. Some addons, even unregistered ones, may incorrectly leave startup Python files that load as soon as you open Blender. (Do not import preferences from the previous version!) **This I did it many times. I wrote here in the ticket, that I started with a "virgin version" of Blender, this means with no config in the AppData path.** > Check for OS and Driver Updates: Ensure that both your operating system and GPU drivers are up-to-date, which you've likely already done given your thorough testing. **As I mentioned, I did a fresh install of Windows 11 from the scratch, deleting the OS partition, installing windows with all updates as well as NVIDIA drivers to the latest release.** > Try Running Blender as Administrator: Sometimes, permissions can affect loading times. Running the program as an administrator may bypass certain restrictions that could potentially cause delays. **Started Blender as Administrator. Same behavior.** > Examine Windows Event Viewer: After experiencing the slow startup, check the Windows Event Viewer for any warnings or errors that might indicate what’s holding up the process. **I went through all the Windows event logs but I haven't find any indications related to Blender or other anomalities.** > Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring. **This I will do today or tomorrow.** > Graphics Card Shader Cache: Given that the issue may be related to the GPU shader cache, you might want to explore clearing or controlling the shader cache through your NVIDIA control panel. **This I have done many times in the NVIDIA control panel.** > Diagnostics Startup: Perform a diagnostic startup (using msconfig.exe) to ensure that no other services or startup programs are interfering with Blender's startup. **I did this many times without success.** > Network Drive Checks: If Blender or any of its resources are on network drives, this can sometimes lead to slowdowns. Ensure everything is local and the system isn’t waiting on network communication during startup. **As written many times, my installtion of Blender is running local on disk D:\. No resources of Blender on a network drive nor on a USB drive. Everything on a fast local SSD.** And as I wrote to you many times, how do you (or development) explain the fact, that Blender release prior to 3.6.5 are running at normal speed and after 3.6.1 they are showing the behavior mentioned? All releases starting at 3.6.3 until 4.1.0 alpha are affected by the same issue. I did really everything possible to provide a clean Windows environment as well as an environment which is not "contaminated" with applications and other apps. After have installed Windows from the scratch, I ran Blender without virus scanner or other intrusive applications. Same behavior on all releases after 3.6.1. I tried three releases prior to 3.6.3 and all three were running fine! My question in regards to the cache was never answered from Blender support. Come on, with all the details provided, Blender support is only recommending to update OS and graphic card driver? Very strange to me. As mentioned in my previous post, I'm ready and willing to try other things and provide more details to development. Just ask.

This is a random guess, but I've had similar problems on a work device with Windows Defender causing a 60-second initial start time for MS SQL Server Management Studio. I realized this from seeing that its exe "MsMpEng" was taking up a whole CPU thread during this process. (It was easier to see this effect on a VM with only 4 cores, where one thread makes 25% usage). Please try adding the Blender folder to the exclusions of Windows Defender and see if that improves your situation.
https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26
As you can see, it does quite a bit of scanning, reading 300GB on my personal system that's only been up for 24h:
image

This is a random guess, but I've had similar problems on a work device with Windows Defender causing a 60-second initial start time for MS SQL Server Management Studio. I realized this from seeing that its exe "MsMpEng" was taking up a whole CPU thread during this process. (It was easier to see this effect on a VM with only 4 cores, where one thread makes 25% usage). Please try adding the Blender folder to the exclusions of Windows Defender and see if that improves your situation. https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26 As you can see, it does quite a bit of scanning, reading 300GB on my personal system that's only been up for 24h: ![image](/attachments/b43bbea0-9935-41c5-a566-8706e58845ba)

Exclusion in Windows Defender not helping in my case. I noticed a strange thing, if I launch Blender first time it takes time. Then if I quickly close it and relaunch it launches rapidly in about 1 minute since first click on icon, then Blender launch slows down again.
Btw I have issue with Blender 4.0 an beyond. Latest 3.6.6 and earlier works fine on my machine (Windows 11)

Exclusion in Windows Defender not helping in my case. I noticed a strange thing, if I launch Blender first time it takes time. Then if I quickly close it and relaunch it launches rapidly in about 1 minute since first click on icon, then Blender launch slows down again. Btw I have issue with Blender 4.0 an beyond. Latest 3.6.6 and earlier works fine on my machine (Windows 11)

Hi Ian,
Thank you for your reply. I checked the article you have provided. My Windows Defender is turned off because I use Kaspersky Antivirus. I have excluded the file as well as the config folder, I have quitted Antivirus but nothing helps. I would like to have a monitor which shows me what is going on during the start of Blender but I do not know how to use it.
As Konstantin Kharkovschenko wrote in the previous post, this behavior shows up only when I start Blender just after I have started up my PC or after a reboot of the PC. When Blender starts so slow as described from the beginning of this thread and I quit Blender and start again, it is starting very fast, as Blender would run out of a cache.
I have uninstalled clean the NVIDIA RTX 3090 driver as well as the PhysX Software and reinstalled again but unfortunately the behavior still shows up.
And again, I'm asking development: why are all the releases prior to 3.6.3 working like a charm (up and ready in about 5-8 seconds) and from that release onwards till 4.1.0 alpha every release is starting so slow.

Hi Ian, Thank you for your reply. I checked the article you have provided. My Windows Defender is turned off because I use Kaspersky Antivirus. I have excluded the file as well as the config folder, I have quitted Antivirus but nothing helps. I would like to have a monitor which shows me what is going on during the start of Blender but I do not know how to use it. As Konstantin Kharkovschenko wrote in the previous post, this behavior shows up only when I start Blender just after I have started up my PC or after a reboot of the PC. When Blender starts so slow as described from the beginning of this thread and I quit Blender and start again, it is starting very fast, as Blender would run out of a cache. I have uninstalled clean the NVIDIA RTX 3090 driver as well as the PhysX Software and reinstalled again but unfortunately the behavior still shows up. And again, I'm asking development: why are all the releases prior to 3.6.3 working like a charm (up and ready in about 5-8 seconds) and from that release onwards till 4.1.0 alpha every release is starting so slow.
Member

Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring.

This I will do today or tomorrow

did this ever happen? Can you post the trace log file?

>> Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring. > > This I will do today or tomorrow did this ever happen? Can you post the trace log file?

Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring.

This I will do today or tomorrow

did this ever happen? Can you post the trace log file?

Hi Ray, I have tried it but I am a bit overwhelmed with this program. I need some help to set up the Project Monitor so that it provides the information I need. If you can help me, I can set it up so that you get the data as quickly as possible.

I was posting this behavior in some community boards and I got answers from user suffering from the same behavior as me.

Today I ran Windows Resource Monitor and I did the same tests as already did in the past. Attached you will find a short clip which I recorded during startup of Blender. I know, there are some addons enabled, but it doesn't matter. The effect is the same, just that Blender need some other 4 seconds to start. Compared to the long time it takes Blender to start up, this is a no-brainer.
I'm also looking to the file MsMpEng.exe which is creating a lot of overhead during the start.
BTW, my Antivirus Software (Kaspersky) was not running as well as not Microsoft Defender.

I hope this helps you further.

> >> Monitor Startup Processes: You can use a more detailed monitoring tool like Process Monitor from Microsoft Sysinternals to observe precisely what Blender and your system are doing during startup. This might give clues as to where the delay is occurring. > > > > This I will do today or tomorrow > > did this ever happen? Can you post the trace log file? Hi Ray, I have tried it but I am a bit overwhelmed with this program. I need some help to set up the Project Monitor so that it provides the information I need. If you can help me, I can set it up so that you get the data as quickly as possible. I was posting this behavior in some community boards and I got answers from user suffering from the same behavior as me. Today I ran Windows Resource Monitor and I did the same tests as already did in the past. Attached you will find a short clip which I recorded during startup of Blender. I know, there are some addons enabled, but it doesn't matter. The effect is the same, just that Blender need some other 4 seconds to start. Compared to the long time it takes Blender to start up, this is a no-brainer. I'm also looking to the file MsMpEng.exe which is creating a lot of overhead during the start. BTW, my Antivirus Software (Kaspersky) was not running as well as not Microsoft Defender. I hope this helps you further.
Member
  • Start proc mon
  • Validate events start coming into the main window
  • Start blender
  • Wait for blender be functional
  • In procmon, File -> Save
  • This file will be large, zip it, attach it to this ticket
- Start proc mon - Validate events start coming into the main window - Start blender - Wait for blender be functional - In procmon, File -> Save - This file will be large, zip it, attach it to this ticket

Hi Ray,
attached you will find the log file out of Process Monitor. I hope this helps you.

Hi Ray, attached you will find the log file out of Process Monitor. I hope this helps you.
Member

A good 20ish seconds is spend loading 3rd party addons, what is the startup speed like when you launch blender using the blender_factory_startup.cmd batch file located in the blender folder? Are these same addons loaded in your older blender versions?

A good 20ish seconds is spend loading 3rd party addons, what is the startup speed like when you launch blender using the `blender_factory_startup.cmd` batch file located in the blender folder? Are these same addons loaded in your older blender versions?

After more than one comments requesting to reset factory settings, delete the 4.0 folder and, to be sure, also uninstall Blender, I wonder how there can still be addons running.

After more than one comments requesting to reset factory settings, delete the `4.0` folder and, to be sure, also uninstall Blender, I wonder how there can still be addons running.
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Info from Developers
labels 2023-11-27 22:53:57 +01:00

Hi gentlemens, I'm pissed off now about Germano answer! In post 3 and 17 I clearly wrote, that I have delete the whole branch in the AppData path! It seams really that support is not reading attently what user posts. Very bad !

Once again, I have now deleted the whole branch again in AppData and I provide attached a new ProcMon log file as well as the prove that my branch is empty. Blender is starting slightly faster. Ian, can you see which addon causing the highest delay so that I can contact their developers?

Hi gentlemens, I'm pissed off now about Germano answer! In post 3 and 17 I clearly wrote, that I have delete the whole branch in the AppData path! It seams really that support is not reading attently what user posts. Very bad ! Once again, I have now deleted the whole branch again in AppData and I provide attached a new ProcMon log file as well as the prove that my branch is empty. Blender is starting slightly faster. Ian, can you see which addon causing the highest delay so that I can contact their developers?

I encountered a similar problem with blender version 4.0 and higher taking a long time to startup.
However, in my case, version 3.6.5 LTS runs absolutely fine.
I have nvidia quadro T1000 (4gb) and the problem occurs only on a computer with this video card.
Another computer with an Nvidia 3080 runs Blender 4 quickly, just like previous versions. Windows 10 on both of them.

I encountered a similar problem with blender version 4.0 and higher taking a long time to startup. However, in my case, version 3.6.5 LTS runs absolutely fine. I have nvidia quadro T1000 (4gb) and the problem occurs only on a computer with this video card. Another computer with an Nvidia 3080 runs Blender 4 quickly, just like previous versions. Windows 10 on both of them.

I encountered a similar problem with blender version 4.0 and higher taking a long time to startup.
However, in my case, version 3.6.5 LTS runs absolutely fine.
I have nvidia quadro T1000 (4gb) and the problem occurs only on a computer with this video card.
Another computer with an Nvidia 3080 runs Blender 4 quickly, just like previous versions. Windows 10 on both of them.

Hi gasan, thank you to report this. It looks like Blender support & development is not interested to investigate to this issue as they are not replying anymore. Unfortunately I get more & more answers in the community that this is not only happening to a few people.

> I encountered a similar problem with blender version 4.0 and higher taking a long time to startup. > However, in my case, version 3.6.5 LTS runs absolutely fine. > I have nvidia quadro T1000 (4gb) and the problem occurs only on a computer with this video card. > Another computer with an Nvidia 3080 runs Blender 4 quickly, just like previous versions. Windows 10 on both of them. Hi gasan, thank you to report this. It looks like Blender support & development is not interested to investigate to this issue as they are not replying anymore. Unfortunately I get more & more answers in the community that this is not only happening to a few people.
Member

Hi, taking few points from #115935
Do you have any network drive? Could it be that blender takes long time when network drive is present at side panels (likely system/windows quick access) of file browser
Does this happen when you disconnect the internet?

Hi, taking few points from #115935 Do you have any network drive? Could it be that blender takes long time when network drive is present at [side panels (likely system/windows quick access) of file browser](/attachments/783e1373-1c7b-4f95-afbf-6c1347ebea4f) Does this happen when you disconnect the internet?

Hi, taking few points from #115935
Do you have any network drive? Could it be that blender takes long time when network drive is present at side panels (likely system/windows quick access) of file browser
Does this happen when you disconnect the internet?

Hi Patrick, nope, no network drive attached. Not in Blender and neither in Windows.

> Hi, taking few points from #115935 > Do you have any network drive? Could it be that blender takes long time when network drive is present at [side panels (likely system/windows quick access) of file browser](/attachments/783e1373-1c7b-4f95-afbf-6c1347ebea4f) > Does this happen when you disconnect the internet? > Hi Patrick, nope, no network drive attached. Not in Blender and neither in Windows.

All, I have disconnected my ethernet connection to the internet. Now Blender 4.0.2 is starting normally and with no delay. Enabling the ethernet device again, boot the PC and start Blender shows me the same behavior again. It really looks like Blender is searching something over the internet during startup.

All, I have disconnected my ethernet connection to the internet. Now Blender 4.0.2 is starting normally and with no delay. Enabling the ethernet device again, boot the PC and start Blender shows me the same behavior again. It really looks like Blender is searching something over the internet during startup.
Member

Thanks. It is likely same as #115935 (there must be some link to network drive (even if it's disconnected) in file/asset browser that takes long before starting the blender.
Closing this for now to keep discussion in same thread.

Thanks. It is likely same as #115935 (there must be some link to network drive (even if it's disconnected) in file/asset browser that takes long before starting the blender. Closing this for now to keep discussion in same thread.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-12-15 06:19:54 +01:00
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
8 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#114247
No description provided.